* -------------------------------------------------------------------- *
* File : what-config_home.php *
* -------------------------------------------------------------------- *
- * Short description : Set "home" page *
+ * Short description : Set 'home' page *
* -------------------------------------------------------------------- *
- * Kurzbeschreibung : "Home"-Seite festlegen *
+ * Kurzbeschreibung : 'home'-Seite festlegen *
* -------------------------------------------------------------------- *
* $Revision:: $ *
* $Date:: $ *
$content['cookie_selection'] = createConfigurationTimeSelections('index_cookie', 'YMWD');
// Output form
- loadTemplate('admin_config_home_settings', false, $content);
+ loadTemplate('admin_config_home', false, $content);
}
break;
// Load all what menu points
$result = SQL_QUERY("SELECT
- `id`, `what`, `title`
+ `id`,
+ `what`,
+ `title`
FROM
`{?_MYSQL_PREFIX?}_guest_menu`
WHERE
// Process all entries
while ($content = SQL_FETCHARRAY($result)) {
- // Link for setting 'what' as new "home"
+ // Link for setting 'what' as new 'home'
$newHomeLink = '<a href="{%url=modules.php?module=admin&what=config_home&sub=target&home=' . $content['what'] . '%}">{--_IS_NEW_HOME--}</a>';
// Is this current home?
$content['link'] = $newHomeLink;
// Load row template
- $OUT .= loadTemplate('admin_config_home_row', true, $content);
+ $OUT .= loadTemplate('admin_list_home_row', true, $content);
} // END - while
// Free memory
SQL_FREERESULT($result);
// Load template
- loadTemplate('admin_config_home', false, $OUT);
+ loadTemplate('admin_list_home', false, $OUT);
break;
default: // Output selection table