Changeset 32203 for extensions
- Timestamp:
- May 16, 2020, 11:18:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/memories/blockhome/main.inc.php
r32197 r32203 76 76 } 77 77 } 78 if($confpfoya['pfoya_showps']==2){79 $items['URL']=$_SERVER["REQUEST_URI"].'&memodate='.$i;80 }81 78 if ($i == 1){ 82 79 $items['LABEL']=l10n('1 year ago'); 83 80 }else{ 84 81 $items['LABEL']=l10n('%d years ago',$i); 82 } 83 if($confpfoya['pfoya_showps']==2){ 84 if(isset($page['section']) and empty($page['category']['id'])){ 85 if($page['section'] == 'additional_page'){ 86 //$items['URL']=get_absolute_root_url().'index.php?/page/'.$page['additional_page']['id'].'&memodate='.$i; 87 $items['URL']=get_absolute_root_url().'?&memodate='.$i; 88 }else{ 89 $items['URL']=get_absolute_root_url().'index.php?/categories&memodate='.$i; 90 } 91 }else{ 92 $items['URL']=$_SERVER["REQUEST_URI"].'&memodate='.$i; 93 } 85 94 } 86 95 $template->append('pfoyas', $items); … … 135 144 $template->assign('THUMBNAILS', $tpl_save); 136 145 137 138 139 140 146 ?>
Note: See TracChangeset
for help on using the changeset viewer.