'menu' => $menu,
'sel' => $sel,
'sw' => $SW,
- 'visible' => ADD_SELECTION('yn', $vis , "visible", $sel),
- 'locked' => ADD_SELECTION('yn', $locked, "locked" , $sel),
+ 'visible' => ADD_SELECTION('yn', $vis , 'visible', $sel),
+ 'locked' => ADD_SELECTION('yn', $locked, 'locked' , $sel),
);
// Load template
- $OUT .= LOAD_TEMPLATE("admin_menu_status_row", true, $content);
+ $OUT .= LOAD_TEMPLATE('admin_menu_status_row', true, $content);
}
else
{
'sw' => $SW,
'sel' => $sel
);
- $OUT .= LOAD_TEMPLATE("admin_menu_404_row", true, $content);
+ $OUT .= LOAD_TEMPLATE('admin_menu_404_row', true, $content);
}
$SW = 3 - $SW;
}
define('__MENU_ROWS', $OUT);
define('__CNT_VALUE', $cnt);
//
- LOAD_TEMPLATE("admin_mmenu_status");
+ LOAD_TEMPLATE('admin_mmenu_status');
} elseif ((isFormSent()) && (!IS_DEMO())) {
// An act is done...
foreach (REQUEST_POST('sel') as $sel => $menu) {
}
// Fix empty values for Firefox
- if (empty($content['action'])) $content['action'] = " ";
- if (empty($content['what'])) $content['what'] = " ";
- if (empty($content['title'])) $content['title'] = " ";
+ if (empty($content['action'])) $content['action'] = ' ';
+ if (empty($content['what'])) $content['what'] = ' ';
+ if (empty($content['title'])) $content['title'] = ' ';
// Add more entries
$content['sw'] = $SW;
- $content['mode'] = "mem";
+ $content['mode'] = 'mem';
// Load row template and switch color
- $OUT .= LOAD_TEMPLATE("admin_menu_overview_row", true, $content);
+ $OUT .= LOAD_TEMPLATE('admin_menu_overview_row', true, $content);
$SW = 3 - $SW;
}
define('__MENU_ROWS', $OUT);
// Load main template
- LOAD_TEMPLATE("admin_mmenu_overview");
+ LOAD_TEMPLATE('admin_mmenu_overview');
} else {
// Menu entries are missing... (???)
LOAD_TEMPLATE('admin_settings_saved', false, getMessage('ADMIN_NO_MENUS_FOUND'));