Removed useless div around pagesel
This commit is contained in:
parent
48fd1ee315
commit
769e0d6722
1 changed files with 0 additions and 2 deletions
|
@ -424,7 +424,6 @@ $il=$if+$ipp;
|
|||
$ptot=ceil($itot/$ipp);
|
||||
//echo('ptot: '.$ptot.'<br>'.N);
|
||||
if ($ptot>1) {
|
||||
$out='<div>'.N;
|
||||
$out.='<select id="pagesel" onchange="document.getElementById(\'p\').value=this.value; document.getElementById(\'searchf\').submit();">'.N;
|
||||
for ($i=1; $i<=$ptot; $i++) {
|
||||
($i!=$p) ? $selected='' : $selected=' selected';
|
||||
|
@ -434,7 +433,6 @@ if ($ptot>1) {
|
|||
$out.='<option value="'.$i.'"'.$selected.'>'._('Page').' '.$i.' '._('of').' '.$ptot.' ('._('instances').': '.(($i-1)*$ipp+1).'-'.$li.'/'.$itot.')</option>'.N;
|
||||
}
|
||||
$out.='</select>'.N;
|
||||
$out.='</div>'.N;
|
||||
echo($out);
|
||||
} else {
|
||||
echo('<script language="JavaScript">document.getElementById(\'bmenu\').style.display=\'none\';</script>'.N);
|
||||
|
|
Loading…
Reference in a new issue