|
|||
|
Code:
// get default template
if ($category['categories_template']=='' or $category['categories_template']=='default') {
$files=array();
if ($dir= opendir(DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/module/categorie_listing/')){
while (($file = readdir($dir)) !==false) {
if (is_file( DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/module/categorie_listing/'.$file) and ($file !="index.html")){
$files[]=array(
'id' => $file,
'text' => $file);
}//if
} // while
closedir($dir);
}
$category['categories_template']=$files[0]['id'];
}
Etwa ab Zeile 130 |
![]() |
| Lesezeichen |
| Stichworte |
| categorielisting, eingebunden |
| Themen-Optionen | |
| Ansicht | |
|
|