mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Change layout of search form.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
36b44f371b
commit
07e4d397ba
2 changed files with 21 additions and 32 deletions
|
@ -452,15 +452,12 @@ textarea.vLargeTextField {
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border-spacing: 0 15px;
|
border-spacing: 0 15px;
|
||||||
}
|
}
|
||||||
#search_box {
|
|
||||||
margin: 5px;
|
#advanced-search li {
|
||||||
text-align: center;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
|
||||||
#advanced li {
|
|
||||||
background-color: #f3f3f3;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: inline;
|
display: inline;
|
||||||
padding: 15px;
|
padding-right: 15px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,21 @@
|
||||||
<?php include_once('pkgfuncs.inc') ?>
|
<?php include_once('pkgfuncs.inc') ?>
|
||||||
|
|
||||||
|
<div class='pgbox'>
|
||||||
<form action='packages.php' method='get'>
|
<form action='packages.php' method='get'>
|
||||||
<input type='hidden' name='O' value='0'>
|
<div class='pgboxtitle' align='right'>
|
||||||
<center>
|
|
||||||
<table cellspacing='3' class='boxSoft'>
|
|
||||||
<tr>
|
|
||||||
<td class='boxSoftTitle' align='right'>
|
|
||||||
<span class='f3'><?php print __("Search Criteria"); ?></span>
|
<span class='f3'><?php print __("Search Criteria"); ?></span>
|
||||||
</td>
|
<input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' />
|
||||||
</tr>
|
<input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
|
||||||
<tr>
|
<?php if (!empty($_GET['detail'])): ?>
|
||||||
<td class='boxSoft'>
|
<input type='submit' style='width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' />
|
||||||
<div id="search_box" class="blue">
|
|
||||||
<label><?php print __("Keywords"); ?></label>
|
<?php endif; ?>
|
||||||
<input type='text' name='K' size='20' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' />
|
<a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>">Advanced</a>
|
||||||
<?php if (!$_GET['detail']): ?><input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' /><?php endif; ?>
|
</div>
|
||||||
<a href="?<?php print mkurl('detail=' . (($_GET['detail']) ? 0 : 1) ) ?>">Advanced</a>
|
|
||||||
<?php if ($_GET['detail']): ?>
|
<input type='hidden' name='O' value='0' />
|
||||||
<div id="advanced">
|
<?php if (!empty($_GET['detail'])): ?>
|
||||||
|
<div id="advanced-search" class="blue">
|
||||||
<input type="hidden" name="detail" value="1" />
|
<input type="hidden" name="detail" value="1" />
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
@ -123,14 +121,8 @@
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
|
|
||||||
<input type='submit' style='width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' />
|
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</center>
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Add table
Reference in a new issue