diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-02 03:14:24 -0700 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-02 03:14:24 -0700 |
commit | 895d9ba1b9529f0ef7dbb47402324f2f8436fcdb (patch) | |
tree | 7b8f47a1762d841ba3f84e3de9550c29a9a12b14 /apps/files_trashbin/templates/part.list.php | |
parent | 41739ff83f24d3ed62d4a3f3649375aec11c7dda (diff) | |
parent | 70b4f85911c0d1a774c6a446c44e4ec464abaee4 (diff) | |
download | nextcloud-server-895d9ba1b9529f0ef7dbb47402324f2f8436fcdb.tar.gz nextcloud-server-895d9ba1b9529f0ef7dbb47402324f2f8436fcdb.zip |
Merge pull request #3006 from owncloud/===_and_!==_in_files_trashbin-app
Use !== and === in files_trashbin app
Diffstat (limited to 'apps/files_trashbin/templates/part.list.php')
-rw-r--r-- | apps/files_trashbin/templates/part.list.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php index 94a8eec9515..254b08dd36a 100644 --- a/apps/files_trashbin/templates/part.list.php +++ b/apps/files_trashbin/templates/part.list.php @@ -7,7 +7,7 @@ $name = \OCP\Util::encodePath($file['name']); $directory = \OCP\Util::encodePath($file['directory']); ?> <tr data-filename="<?php p($file['name']);?>" - data-type="<?php ($file['type'] == 'dir')?p('dir'):p('file')?>" + data-type="<?php ($file['type'] === 'dir')?p('dir'):p('file')?>" data-mime="<?php p($file['mimetype'])?>" data-permissions='<?php p($file['permissions']); ?>' <?php if ( $_['dirlisting'] ): ?> @@ -22,14 +22,14 @@ data-dirlisting=0 <?php endif; ?>> <td class="filename svg" - <?php if($file['type'] == 'dir'): ?> + <?php if($file['type'] === 'dir'): ?> style="background-image:url(<?php print_unescaped(OCP\mimetype_icon('dir')); ?>)" <?php else: ?> style="background-image:url(<?php print_unescaped(OCP\mimetype_icon($file['mimetype'])); ?>)" <?php endif; ?> > <?php if(!isset($_['readonly']) || !$_['readonly']): ?><input type="checkbox" /><?php endif; ?> - <?php if($file['type'] == 'dir'): ?> + <?php if($file['type'] === 'dir'): ?> <?php if( $_['dirlisting'] ): ?> <a class="name" href="<?php p($_['baseURL'].'/'.$name); ?>" title=""> <?php else: ?> @@ -43,14 +43,14 @@ <?php endif; ?> <?php endif; ?> <span class="nametext"> - <?php if($file['type'] == 'dir'):?> + <?php if($file['type'] === 'dir'):?> <?php print_unescaped(htmlspecialchars($file['name']));?> <?php else:?> <?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span> <?php endif;?> </span> - <?php if($file['type'] == 'dir'):?> + <?php if($file['type'] === 'dir'):?> <span class="uploadtext" currentUploads="0"> </span> <?php endif;?> |