function mnu_line_color($d, $p) { $r = explode('|', $d); //txt|link|hover $kr = $_SESSION['clrs'][$_SESSION['prmd']]; $n = count($klr); for ($i = 0; $i < 3; $i++) { $clrn = $r[$i] == 'undefined' || !$r[$i] ? '0' : $r[$i]; $nid = $i + 1; $ret .= span(atc('cell') . atd('bt' . $p . $nid), mnu_line_bt($kr[$clrn], $clrn, $p . $nid)); } return $ret; }
//styl //styl case "saveclr": $ret = save_clr_j($id); break; case "styls": req('styl'); $ret = styls($id, $va); break; case "stylclr": req('styl'); $ret = select_clr($id, $va); break; case "stylsetclr": req('styl'); $ret = mnu_line_bt($id, $va, $opt); break; case "stylsav": req('styl'); if (!$id) { $id = $res; } $ret = save_css_j($va, $id, $opt); break; case "stylsff": req('styl'); $ret = css_fontface($id, $va, $opt, $optb, $res, 1); break; case "stylsfb": req('styl'); $ret = css_fontface($id, $va, $opt, $optb, $res, 0);