Changeset 798
- Timestamp:
- 05/17/11 09:42:02 (12 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
modules/mod_latest/ajax/latest.php (modified) (1 diff)
-
modules/mod_latest/module.php (modified) (1 diff)
-
templates/_default_/modules/mod_latest.tpl (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; -
trunk/templates/_default_/modules/mod_latest.tpl
r539 r798 32 32 </div> 33 33 {/if} 34 {if $pagebar }35 <div class="mod_latest_pagebar">{$pagebar }</div>34 {if $pagebar_module} 35 <div class="mod_latest_pagebar">{$pagebar_module}</div> 36 36 {/if} 37 37 {if !$is_ajax}</div>{/if}
Note: See TracChangeset
for help on using the changeset viewer.
