예제 #1
0
    ?>
				</tbody>
			</table>
			<?php 
    $totalSize = sizeReadable(totalSize());
    ?>
			<?php 
    $term = searchTag() ? _('Found %s element(s) totalling %s %s in size.') : _('This directory contains %s element(s) totalling %s %s in size.');
    ?>
		<?php 
} else {
    ?>
			<div id="nothing">
				<p>
				<?php 
    if (searchTag()) {
        ?>
					<?php 
        echo _('No search result.');
        ?>
				<?php 
    } else {
        ?>
					<?php 
        echo _('This directory contains no files.');
        ?>
				<?php 
    }
    ?>
				- <a href="javascript:history.back()" onclick="history.back()"><?php 
    echo _('Back');
예제 #2
0
function searchInput()
{
    if (searchTag()) {
        return searchTag();
    } else {
        return _('Search...');
    }
}