diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 15:07:52 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 15:07:52 +0100 |
commit | ce231c406dfafdedbe97baa5a3c3612b4428b79d (patch) | |
tree | b7e9a382007260607720e880f415852dec5b2760 /apps | |
parent | 6c76b4ba1253a37316f7de964494b05099c66e21 (diff) | |
download | nextcloud-server-ce231c406dfafdedbe97baa5a3c3612b4428b79d.tar.gz nextcloud-server-ce231c406dfafdedbe97baa5a3c3612b4428b79d.zip |
no new menu on public upload
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index d7f479b504f..a69407805d8 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -1,6 +1,7 @@ <div id="controls"> <?php print_unescaped($_['breadcrumb']); ?> <div class="actions creatable <?php if (!$_['isCreatable']):?>hidden<?php endif; ?>"> + <?php if(!isset($_['dirToken'])):?> <div id="new" class="button"> <a><?php p($l->t('New'));?></a> <ul> @@ -12,6 +13,7 @@ data-type='web'><p><?php p($l->t('From link'));?></p></li> </ul> </div> + <?php endif;?> <div id="upload" class="button" title="<?php p($l->t('Upload') . ' max. '.$_['uploadMaxHumanFilesize']) ?>"> <?php if($_['uploadMaxFilesize'] >= 0):?> |