diff options
author | Jan-Christoph Borchardt <jan@unhosted.org> | 2011-10-23 21:51:56 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <jan@unhosted.org> | 2011-10-23 21:51:56 +0200 |
commit | 0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d (patch) | |
tree | 2effb35a68041a2653e4053d693d66afaacbe47f /files/templates | |
parent | d46288b0abea28a4e0184f6720e990a05d5f19a9 (diff) | |
download | nextcloud-server-0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d.tar.gz nextcloud-server-0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d.zip |
upgraded the new new button. Didn't and doesn't work in Firefox though
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/templates/index.php b/files/templates/index.php index 902c5cfa140..cb1ab688084 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -7,9 +7,9 @@ <?php echo $l->t('New');?> </a> <ul class="popup popupTop"> - <li style="background:url('<?php echo mimetype_icon('text/plain') ?>')" data-type='file'><p><?php echo $l->t('File');?></p></li> - <li style="background:url('<?php echo mimetype_icon('dir') ?>')" data-type='folder'><p><?php echo $l->t('Folder');?></p></li> -<!-- <li style="background:url('<?php echo mimetype_icon('dir') ?>')" data-type='web'><p><?php echo $l->t('From the web');?></p></li> --> + <li style="background-image:url('<?php echo mimetype_icon('text/plain') ?>')" data-type='file'><p><?php echo $l->t('Text file');?></p></li> + <li style="background-image:url('<?php echo mimetype_icon('dir') ?>')" data-type='folder'><p><?php echo $l->t('Folder');?></p></li> +<!-- <li style="background-image:url('<?php echo mimetype_icon('dir') ?>')" data-type='web'><p><?php echo $l->t('From the web');?></p></li> --> </ul> </button> <div class="file_upload_wrapper svg"> @@ -17,9 +17,9 @@ <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload"> <input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)"> <input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir"> - <input type="submit" class="file_upload_filename" value="^"/> + <button class="file_upload_filename"><img class='svg action' alt="Upload" src="<?php echo image_path("core", "actions/upload.svg"); ?>" /></button> <input class="file_upload_start" type="file" name='files[]'/> - <a href="#" class="file_upload_button_wrapper" onclick="return false;" title="Upload. <?php echo 'max. '.$_['uploadMaxHumanFilesize'] ?>"></a> + <a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a> <iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe> </form> </div> |