* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009, 2010 by Mailer Developer Team *
// Some security stuff...
if ((!defined('__SECURITY')) || (!isAdmin())) {
die();
-}
+} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
// Init 'sub' value
$sub = '';
break;
case 'target': // Set which what-file will be placed in home-page (only modules.php?module=index)
- if (isGetRequestParameterSet(('home'))) {
+ if (isGetRequestParameterSet('home')) {
// Set new home
- updateConfiguration('index_home', getRequestParameter(('home')));
+ updateConfiguration('index_home', getRequestParameter('home'));
} // END - if
// Load all what menu points
$newHomeLink = '<a href="{%url=modules.php?module=admin&what=config_home&sub=target&home=' . $content['what'] . '%}">{--_IS_NEW_HOME--}</a>';
// Is this current home?
- if ($content['what'] == getConfig('index_home')) {
+ if ($content['what'] == getIndexHome()) {
// Is current home
$newHomeLink = '<div class="admin_mark">{--_IS_CURRENT_HOME--}</div>';
$content['title'] = '<div class="admin_mark">' . $content['title'] . '</div>';