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('', "
".CLOCK_AD_L1.'
'); } $text = "
"; // Title $text .= ""; // Format Time $text .= ""; // Date Prefix $text .= ""; // Date Suffix $text .= ""; $text .= ""; $text .= ""; $text .= ""; $text .= "
".CLOCK_AD_L2.":
".CLOCK_AD_L5.": ".($menu_pref['clock_format'] == 1 ? $rs->form_checkbox("clock_format", 1, 1) : $rs->form_checkbox("clock_format", 1, 0) )."
".CLOCK_AD_L6."
".CLOCK_AD_L7.":
".CLOCK_AD_L8."
".CLOCK_AD_L9.": 1
".CLOCK_AD_L13."
".CLOCK_AD_L10.": 2
".CLOCK_AD_L13."
".CLOCK_AD_L11.": 3
".CLOCK_AD_L13."
".CLOCK_AD_L12.": 4
".CLOCK_AD_L13."
"; $ns->tablerender(CLOCK_AD_L4, $text); require_once(e_ADMIN."footer.php"); ?>