diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-11 20:35:20 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-11 20:36:31 +0200 |
commit | dfb923f34e71075ad06588ae4fabb3c51366e469 (patch) | |
tree | 7f6aa3c2f897f3306d89b3b3ccaab6dbd7a27db3 /files | |
parent | 8aac43c12b409ebfa53ca74aea1f2091cba348ea (diff) | |
download | nextcloud-server-dfb923f34e71075ad06588ae4fabb3c51366e469.tar.gz nextcloud-server-dfb923f34e71075ad06588ae4fabb3c51366e469.zip |
automatically set background images to png when needed
Diffstat (limited to 'files')
-rw-r--r-- | files/templates/index.php | 4 | ||||
-rw-r--r-- | files/templates/part.list.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/files/templates/index.php b/files/templates/index.php index 3951787a25d..083322174e7 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -5,14 +5,14 @@ <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"> + <div class="file_upload_wrapper" class="svg"> <input type="submit" class="file_upload_filename" value="<?php echo $l->t('Upload');?> (max. <?php echo $_['uploadMaxHumanFilesize'];?>)"/> <input class="file_upload_start" type="file" name='files[]'/> </div> <iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe> </form> <form id="file_newfolder_form"> - <input type="text" name="file_newfolder_name" id="file_newfolder_name" value="" placeholder="<?php echo $l->t('New Folder')?>" /> + <input class="svg" type="text" name="file_newfolder_name" id="file_newfolder_name" value="" placeholder="<?php echo $l->t('New Folder')?>" /> </form> </div> <div id="file_action_panel"> diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 34d727dde2f..942f749c828 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -7,9 +7,9 @@ $relative_date_color = round((time()-$file['mtime'])/60/60/24*14); // the older the file, the brighter the shade of grey; days*14 if($relative_date_color>200) $relative_date_color = 200; ?> <tr data-file="<?php echo $file['name'];?>" data-type="<?php echo ($file['type'] == 'dir')?'dir':'file'?>" data-mime="<?php echo $file['mime']?>" data-size='<?php echo $file['size'];?>'> - <td class="filename" style="background-image:url(<?php if($file['type'] == 'dir') echo mimetype_icon('dir'); else echo mimetype_icon($file['mime']); ?>)"> + <td class="filename svg" style="background-image:url(<?php if($file['type'] == 'dir') echo mimetype_icon('dir'); else echo mimetype_icon($file['mime']); ?>)"> <input type="checkbox" /> - <a class="name svg" href="<?php if($file['type'] == 'dir') echo link_to('files', 'index.php?dir='.$file['directory'].'/'.$file['name']); else echo link_to('files', 'download.php?file='.$file['directory'].'/'.$file['name']); ?>" title=""> + <a class="name" href="<?php if($file['type'] == 'dir') echo link_to('files', 'index.php?dir='.$file['directory'].'/'.$file['name']); else echo link_to('files', 'download.php?file='.$file['directory'].'/'.$file['name']); ?>" title=""> <span class="nametext"> <?php if($file['type'] == 'dir'):?> <?php echo htmlspecialchars($file['name']);?> |