equal
deleted
inserted
replaced
2056 $out = ''; |
2056 $out = ''; |
2057 $i = 0; |
2057 $i = 0; |
2058 $this_page = ceil ( $start / $perpage ); |
2058 $this_page = ceil ( $start / $perpage ); |
2059 |
2059 |
2060 // Build paginator |
2060 // Build paginator |
2061 $begin = '<div class="tblholder" style="display: table; margin: 10px 0 0 auto;"> |
2061 $pg_css = ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) ? |
|
2062 // IE-specific hack |
|
2063 'display: block; width: 1px;': |
|
2064 // Other browsers |
|
2065 'display: table; margin: 10px 0 0 auto;'; |
|
2066 $begin = '<div class="tblholder" style="'. $pg_css . '"> |
2062 <table border="0" cellspacing="1" cellpadding="4"> |
2067 <table border="0" cellspacing="1" cellpadding="4"> |
2063 <tr><th>Page:</th>'; |
2068 <tr><th>Page:</th>'; |
2064 $block = '<td class="row1" style="text-align: center;">{LINK}</td>'; |
2069 $block = '<td class="row1" style="text-align: center;">{LINK}</td>'; |
2065 $end = '</tr></table></div>'; |
2070 $end = '</tr></table></div>'; |
2066 $blk = $template->makeParserText($block); |
2071 $blk = $template->makeParserText($block); |