Skip to content
Snippets Groups Projects
Commit 0d5653c6 authored by Raghu Nayyar's avatar Raghu Nayyar
Browse files

Takes nametext inside the anchor tag to fix the issue completely.

parent 4a5f3442
No related branches found
No related tags found
No related merge requests found
......@@ -30,18 +30,15 @@ $totalsize = 0; ?>
<?php endif; ?>
<?php if($file['type'] == 'dir'): ?>
<a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
<span class="nametext">
<?php print_unescaped(htmlspecialchars($file['name']));?>
</span>
<?php else: ?>
<a class="name">
<a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>">
<label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
<span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
</a>
<?php endif; ?>
<span class="nametext">
<?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'):?>
<span class="uploadtext" currentUploads="0">
</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment