Update number_translations.php
This commit is contained in:
@@ -93,9 +93,6 @@
|
|||||||
//prepare to page the results
|
//prepare to page the results
|
||||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||||
$param = "&search=".$search;
|
$param = "&search=".$search;
|
||||||
if ($_GET['show'] == "all" && permission_exists('number_translation_all')) {
|
|
||||||
$param .= "&show=all";
|
|
||||||
}
|
|
||||||
$page = $_GET['page'];
|
$page = $_GET['page'];
|
||||||
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
||||||
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
||||||
@@ -141,16 +138,6 @@
|
|||||||
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-number_translations']."</b></td>\n";
|
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-number_translations']."</b></td>\n";
|
||||||
echo " <form method='get' action=''>\n";
|
echo " <form method='get' action=''>\n";
|
||||||
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
|
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
|
||||||
|
|
||||||
if (permission_exists('number_translation_all')) {
|
|
||||||
if ($_GET['show'] == 'all') {
|
|
||||||
echo " <input type='hidden' name='show' value='all'>";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo " <input type='button' class='btn' value='".$text['button-show_all']."' onclick=\"window.location='number_translations.php?show=all';\">\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
|
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
|
||||||
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
|
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user