Changeset 798 for trunk/modules
- Timestamp:
- 05/17/11 09:42:02 (12 months ago)
- Location:
- trunk/modules/mod_latest
- Files:
-
- 2 edited
-
ajax/latest.php (modified) (1 diff)
-
module.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/mod_latest/ajax/latest.php
r782 r798 131 131 $smarty->assign('is_con', $is_con); 132 132 $smarty->assign('module_id', $module_id); 133 $smarty->assign('pagebar ', cmsPage::getPagebar($total_page, $page, $perpage, 'javascript:conPage(%page%, '.$module_id.')'));133 $smarty->assign('pagebar_module', cmsPage::getPagebar($total_page, $page, $perpage, 'javascript:conPage(%page%, '.$module_id.')')); 134 134 $smarty->display('mod_latest.tpl'); 135 135 $html = ob_get_clean(); -
trunk/modules/mod_latest/module.php
r782 r798 95 95 } 96 96 97 $smarty = $inCore->initSmarty('modules', 'mod_latest.tpl'); 98 $smarty->assign('articles', $articles); 99 $smarty->assign('rssid', $rssid); 97 $smarty = $inCore->initSmarty('modules', 'mod_latest.tpl'); 98 $smarty->assign('articles', $articles); 99 $smarty->assign('rssid', $rssid); 100 100 101 if ($cfg['is_pag']) { 101 $smarty->assign('pagebar ', cmsPage::getPagebar($total_page, $page, $perpage, 'javascript:conPage(%page%, '.$module_id.')'));102 $smarty->assign('pagebar_module', cmsPage::getPagebar($total_page, $page, $perpage, 'javascript:conPage(%page%, '.$module_id.')')); 102 103 } 104 103 105 $smarty->assign('is_ajax', false); 104 106 $smarty->assign('is_con', $is_con); 105 107 $smarty->assign('module_id', $module_id); 106 $smarty->assign('cfg', $cfg);107 $smarty->display('mod_latest.tpl'); 108 $smarty->assign('cfg', $cfg); 109 $smarty->display('mod_latest.tpl'); 108 110 109 111 return true;
Note: See TracChangeset
for help on using the changeset viewer.
