summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r--web/template/pkg_search_form.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 53d34fe3..8b4191a0 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -3,14 +3,14 @@
<div class='pgbox'>
<form action='packages.php' method='get'>
<div class='pgboxtitle'>
- <span class='f3'><?php print __("Search Criteria"); ?></span>
+ <span class='f3'><?php print _("Search Criteria"); ?></span>
<input type='hidden' name='O' value='0' />
<input type='text' name='K' size='30' value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength='35' />
- <input type='submit' style='min-width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
+ <input type='submit' style='min-width:80px' class='button' name='do_Search' value='<?php print _("Go"); ?>' />
<?php if (!empty($_GET['detail'])): ?>
- <input type='submit' style='min-width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' />
+ <input type='submit' style='min-width:80px' class='button' name='do_Orphans' value='<?php print _("Orphans"); ?>' />
<?php endif; ?>
- <a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>"><?php print __("Advanced"); ?></a>
+ <a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>"><?php print _("Advanced"); ?></a>
</div>
<?php if (!empty($_GET['detail'])): ?>
@@ -18,9 +18,9 @@
<input type="hidden" name="detail" value="1" />
<ul>
<li>
- <label><?php print __("Category"); ?></label>
+ <label><?php print _("Category"); ?></label>
<select name='C'>
- <option value='0'><?php print __("Any"); ?></option>
+ <option value='0'><?php print _("Any"); ?></option>
<?php
foreach (pkgCategories() as $id => $cat):
if (isset($_REQUEST['C']) && $_REQUEST['C'] == $id):
@@ -35,10 +35,10 @@
</select>
</li>
<li>
- <label><?php print __("Search by"); ?></label>
+ <label><?php print _("Search by"); ?></label>
<select name='SeB'>
<?php
- $searchby = array('nd' => __('Name, Description'), 'n' => __('Name Only'), 'x' => __('Exact name'), 'm' => __('Maintainer'), 's' => __('Submitter'));
+ $searchby = array('nd' => _('Name, Description'), 'n' => _('Name Only'), 'x' => _('Exact name'), 'm' => _('Maintainer'), 's' => _('Submitter'));
foreach ($searchby as $k => $v):
if (isset($_REQUEST['SeB']) && $_REQUEST['SeB'] == $k):
?>
@@ -52,10 +52,10 @@
</select>
</li>
<li>
- <label><?php print __("Sort by"); ?></label>
+ <label><?php print _("Sort by"); ?></label>
<select name='SB'>
<?php
- $sortby = array('n' => __('Name'), 'c' => __('Category'), 'v' => __('Votes'), 'w' => __('Voted'), 'o' => __('Notify'), 'm' => __('Maintainer'), 'a' => __('Age'));
+ $sortby = array('n' => _('Name'), 'c' => _('Category'), 'v' => _('Votes'), 'w' => _('Voted'), 'o' => _('Notify'), 'm' => _('Maintainer'), 'a' => _('Age'));
foreach ($sortby as $k => $v):
if (isset($_REQUEST['SB']) && $_REQUEST['SB'] == $k):
?>
@@ -69,10 +69,10 @@
</select>
</li>
<li>
- <label><?php print __("Sort order"); ?></label>
+ <label><?php print _("Sort order"); ?></label>
<select name='SO'>
<?php
- $orderby = array('a' => __('Ascending'), 'd' => __('Descending'));
+ $orderby = array('a' => _('Ascending'), 'd' => _('Descending'));
foreach ($orderby as $k => $v):
if (isset($_REQUEST['SO']) && $_REQUEST['SO'] == $k):
?>
@@ -86,7 +86,7 @@
</select>
</li>
<li>
- <label><?php print __("Per page"); ?></label>
+ <label><?php print _("Per page"); ?></label>
<select name='PP'>
<?php
$pages = array(50, 100, 250);
@@ -103,10 +103,10 @@
</select>
</li>
<li>
- <label><?php echo __('Out of Date'); ?></label>
+ <label><?php echo _('Out of Date'); ?></label>
<select name='outdated'>
<?php
- $outdated_flags = array('' => __('All'), 'on' => __('Flagged'), 'off' => __('Not Flagged'));
+ $outdated_flags = array('' => _('All'), 'on' => _('Flagged'), 'off' => _('Not Flagged'));
foreach ($outdated_flags as $k => $v):
if (isset($_REQUEST['outdated']) && $_REQUEST['outdated'] == $k):
?>