Changeset 892731
- Timestamp:
- 04/14/2014 08:12:21 AM (12 years ago)
- File:
-
- 1 edited
-
odlinks/trunk/odl_main.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
odlinks/trunk/odl_main.php
r868483 r892731 41 41 $results=$wpdb->get_results($sql); 42 42 list ($links,$page_navigation, $counter) = getOdlinks($results, $tpl, $page); 43 $page_navigation->all=$counter; 43 44 if(isset($page_navigation)) 45 $page_navigation->all=$counter; 44 46 if ($counter > $page_navigation->nr_rows) { 45 47 $page_navigation->params="_action=main&id=".$_GET['id']."&parent=".$_GET['parent']; … … 48 50 $p = '<span class="title">Page '. $current_page. ' of '. $c . '</span>' . $navi; 49 51 } 52 50 53 if (count($results) > 0) { 51 54 $tpl->assign('links', $links);
Note: See TracChangeset
for help on using the changeset viewer.