Merge pull request #2015 from owncloud/fixing-2001-master

in case the user has no permissions to upload/create files...
This commit is contained in:
Bernhard Posselt 2013-03-01 12:52:36 -08:00
commit 5036e316a6
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
</div> </div>
<div id="file_action_panel"></div> <div id="file_action_panel"></div>
<?php else: ?> <?php else: ?>
<div class="crumb last"><?php p($l->t('You dont have write permissions here.'))?></div>
<input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir"> <input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<?php endif;?> <?php endif;?>
<input type="hidden" name="permissions" value="<?php echo $_['permissions']; ?>" id="permissions"> <input type="hidden" name="permissions" value="<?php echo $_['permissions']; ?>" id="permissions">