diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
commit | d9aae20003eb670b7bf86708016473969088066a (patch) | |
tree | e51450959802c1d32ecbcdeb0036efdc0842c2d1 /files/templates | |
parent | c2f0fe51c427374e918b72c28c521df27e614cae (diff) | |
download | nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.tar.gz nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.zip |
more valid HTML, alt attributes, refactored pagenavi etc.
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/index.php | 12 | ||||
-rw-r--r-- | files/templates/part.list.php | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/files/templates/index.php b/files/templates/index.php index f5a212add48..4e105811f05 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -5,9 +5,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"> - <div class="file_upload_wrapper" class="svg"> + <div class="file_upload_wrapper svg"> <input type="submit" class="file_upload_filename" value="<?php echo $l->t('Upload'); ?>"/> - <input class="file_upload_start" class="file_upload_start" type="file" name='files[]'/> + <input class="file_upload_start" type="file" name='files[]'/> <a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo 'max. '.$_['uploadMaxHumanFilesize'] ?>"></a> </div> <iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe> @@ -21,7 +21,9 @@ </div> <div id='notification'></div> -<table cellspacing="0"> +<div id="emptyfolder" <?php if(count($_['files'])) echo 'style="display:none;"';?>><?php echo $l->t('Nothing in here. Upload something!')?></div> + +<table> <thead> <tr> <th id='headerName'> @@ -43,8 +45,6 @@ <div id="uploadsize-message" title="<?php echo $l->t('Upload too large')?>"> <p> - <?php echo $l->t( 'The files you are trying to upload exceed the maximum size for file uploads on this server.' ); ?> + <?php echo $l->t('The files you are trying to upload exceed the maximum size for file uploads on this server.');?> </p> </div> - -<span id="file_menu"/> diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 0484f90c268..5995976f73a 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,4 +1,3 @@ - <span id="emptyfolder" <?php if(count($_['files'])) echo 'style="display:none;"';?>><?php echo $l->t('Nothing in here. Upload something!')?></span> <?php foreach($_['files'] as $file): $simple_file_size = simple_file_size($file['size']); $simple_size_color = intval(200-$file['size']/(1024*1024)*2); // the bigger the file, the darker the shade of grey; megabytes*2 |