getPref(''); if (isset($_POST['update_menu'])) { $temp = array(); while (list($key, $value) = each($_POST)) { if ($key != 'update_menu') { $temp[$key] = $value; } } if ($_POST['clock_format'] != 1) { $temp['clock_format'] = 0; } if ($admin_log->logArrayDiffs($temp,$menu_pref,'MISC_05')) { $menuPref = e107::getConfig('menu'); foreach ($temp as $k => $v) { $menuPref->setPref($k, $v); } $menuPref->save(false, true, false); } } $ns->tablerender($caption, $mes->render(). $text); $text = "
".CLOCK_AD_L2.":
".CLOCK_AD_L5.": ".$frm->checkbox('clock_format', 1, varset($menu_pref['clock_format'], 0))."".CLOCK_AD_L6."
".CLOCK_AD_L7.": ".CLOCK_AD_L8."
".CLOCK_AD_L9.": ".CLOCK_AD_L13."
".CLOCK_AD_L10.": ".CLOCK_AD_L13."
".CLOCK_AD_L11.": ".CLOCK_AD_L13."
".CLOCK_AD_L12.": ".CLOCK_AD_L13."
".$frm->admin_button('update_menu', LAN_UPDATE, 'update')."
"; $ns->tablerender(CLOCK_AD_L4, $text); require_once(e_ADMIN."footer.php"); ?>