Blame view
sources/apps/search/templates/index.php
1.75 KB
|
42e4f8d60
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
<!--[if IE 8]><style>input[type="checkbox"]{padding:0;}table td{position:static !important;}</style><![endif]-->
<!-- search form -->
<div id="controls">
<form id="search-form" action="<?php print_unescaped(OCP\Util::linkTo('search', 'index.php')); ?>" method="get">
<input type="text" name="query" id="search_query" value="<?php p($_['breadcrumb']); ?>">
<button class="button search_button">Search</button>
</form>
</div>
<div id="file_action_panel"></div>
<div id='notification'></div>
<?php if (empty($_['files'])): ?>
<div id="emptyfolder"><?php p($l->t('Nothing found.')) ?></div>
<?php endif; ?>
<!-- results list -->
<table class="resultsList">
<thead>
<tr>
<th id='headerName'>
<input type="checkbox" id="select_all" />
<span class='name'><?php p($l->t('Name')); ?></span>
<span class='selectedActions'>
<?php if ($_['allowZipDownload']) : ?>
<a href="" class="download"><img class='svg' alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" /> <?php p($l->t('Download')) ?></a>
<?php endif; ?>
</span>
</th>
<th id="headerSize"><?php p($l->t('Size')); ?></th>
<th id="headerDate">
<span id="modified"><?php p($l->t('Modified')); ?></span>
</th>
</tr>
</thead>
<tbody id="fileList">
<?php print_unescaped($_['fileList']); ?>
</tbody>
</table>
<div id="editor"></div>
<!-- config hints for javascript -->
<input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php p($_['allowZipDownload']); ?>" />
|