Thread: [Phpcms-plugins-cvs] admin4phpCMS/modules/layout layout.dtd,1.2,1.3 layout.css,1.4,1.5 layout.xml,1.
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2004-08-25 21:17:26
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2565/modules/layout Modified Files: layout.dtd layout.css layout.xml gui.js gui.css class.module_layout.php Removed Files: layout.tpl Log Message: step 1 is taken Index: gui.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/gui.css,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gui.css 24 Jul 2004 08:58:24 -0000 1.1 +++ gui.css 25 Aug 2004 21:16:44 -0000 1.2 @@ -2,74 +2,58 @@ } ul.tabbed { -padding: 3px 0; -margin-left: 0; -border-bottom: 1px solid #778; -font: bold 12px Verdana, sans-serif; -} - -ul.tabbed li -{ -list-style: none; -margin: 0; -display: inline; -} - -ul.tabbed li a -{ -padding: 3px 0.5em; -margin-left: 3px; -border: 1px solid #778; -border-bottom: none; -background: #DDE; -text-decoration: none; + padding: 0; + margin: 0; + border-bottom: 1px solid #029544; + font: bold 12px Verdana, sans-serif; } -ul.tabbed li a:link { color: #448; } -ul.tabbed li a:visited { color: #667; } - -ul.tabbed li a:hover -{ -color: #000; -background: #AAE; -border-color: #227; +ul.tabbed li { + list-style: none; + margin: 0; + display: inline; } -ul.tabbed li a#current -{ -background: white; -border-bottom: 1px solid white; +ul.tabbed li a { + padding: 0px 0.5em; + margin-right: 3px; + border: 1px solid #029544; + border-bottom: none; + background: #ccc; + text-decoration: none; + font-weight:normal; } -/** -* CSS-Anweisungen für die Konfigurationscontainer -**/ -div.config { - width:40em; - margin-top:1em; +ul.tabbed li a:link { + color: #029544; } -div.config ul { - margin:0; - padding:0; +ul.tabbed li a:visited { + color: #029544; } -div.config ul li a { - background:#eee; - color:black; +ul.tabbed li a:hover { + color: #029544; + background: #eee; + border-color: #029544; } -div.config ul li a.current { - background:#ccc; - color:black; +ul.tabbed li a.current +{ + color: #029544; + background: #fff; + border-bottom: 1px solid white; } -div.config ul li a:hover { - background:#ccc; - color:black; +div.tabbox { + border-width:0 1px 1px 1px; + border-color:#029544; + border-style:solid; + padding:0.3em; + margin:0; } -div.config div { - padding:0.3em; +#container { + width:50em; } Index: class.module_layout.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/class.module_layout.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- class.module_layout.php 5 Aug 2004 16:38:41 -0000 1.10 +++ class.module_layout.php 25 Aug 2004 21:16:44 -0000 1.11 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.11 2004/08/25 21:16:44 mjahn +* step 1 is taken +* * Revision 1.10 2004/08/05 16:38:41 mjahn * tweaked phpcms::cache-module output * @@ -63,7 +66,8 @@ * There is a little bug in the Node.php in this package. It replaces the entities '<', '>', '"' and '''. * With this the output is not interpretable for clients **/ -include_once ('XML/Tree.php'); +include_once (PATH_TO_PEAR.'XML/Tree.php'); +include_once (PATH_TO_PEAR.'XML/DTD/XmlValidator.php'); /** @@ -76,6 +80,8 @@ * <li><b>DISPLAY_GET_CONTENT</b> let the modules create their content</li> * <li><b>DISPLAY_GET_STATUSBAR</b> let the modules create their statusbar</li> * <li><b>DISPLAY_GET_ERROR</b> let the modules create their error-messages</li> +* <li><b>LAYOUT_ADD_ELEMENT</b> add a layout-element into the layout-structure</li> +* <li><b>LAYOUT_ADD_TEMPLATE</b> add a layout-template into the template-stucture</li> * </ul> * * @package admin4phpCMS @@ -111,6 +117,7 @@ **/ function init () { $this->_registerEvent ('LAYOUT_ADD_ELEMENT', 'doLayoutAddElement'); + $this->_registerEvent ('LAYOUT_ADD_TEMPLATE', 'doLayoutAddTemplate'); $this->_registerEvent ('DISPLAY_PARSE_MENU_MAIN', 'doParseMenuMain'); $this->_registerEvent ('DISPLAY_PARSE_STATUSBAR', 'doParseStatusbar'); $this->_registerEvent ('DISPLAY_PARSE_MENU_SUB', 'doParseMenuSub'); @@ -118,10 +125,14 @@ $this->_registerEvent ('DISPLAY_PARSE_CONTENT', 'doParseContent'); $this->_registerAction ('doLayoutAddElement', 'addElement'); + $this->_registerAction ('doLayoutAddTemplate', 'addTemplate'); $this->_registerAction ('doDisplay', 'displayLayout'); $this->_elements[0] = array ('_type'=>'document', 'id'=>'root'); + + // parse the layoutfile for the elements + $this->_readLayoutFiles (dirname (__FILE__).'/layout.xml'); } /** @@ -144,10 +155,12 @@ $id = ''; if (!isset ($actiondata['_id'])) { + $actiondata ['_success'] = false; return false; } if (isset ($this->_ids [$actiondata ['_id']])) { + $actiondata ['_success'] = false; return false; } @@ -159,6 +172,32 @@ } else { $parent['_sub'][0] =& $this->_ids[$actiondata['_id']]; } + $actiondata ['_success'] = true; + return true; + } + + function addTemplate (&$actiondata) { + // check if the file does exist + if (!file_exists ($actiondata ['filename'])) { + $actiondata ['_success'] = false; + return false; + } + + // check if the file does conform with the DTD +/* $DTD = new XmlValidator (); + if (!DTD->isValid (dirname (__FILE__).'/layout.dtd', $actiondata ['filename'])) { + $actiondata ['_success'] = false; + return false; + } + unset ($DTD); +*/ + // parse the file + // merge the parsed filedata with the layout-tree + $this->_readLayoutfiles ($actiondata ['filename']); + + $actiondata ['_success'] = true; + + return true; } /** @@ -167,91 +206,29 @@ * @param array $actionhandler **/ function displayLayout (&$actiondata) { - - // parse the layoutfile for the elements - $this->_readLayoutFiles(); - - // read layoutfile for the framework - $output = join ('', file (dirname (__FILE__).'/layout.tpl')); - - // get all tags from the framework-layoutfile - $matches = preg_match_all ('°<phpcms-admin:replace name="([^"]*)"\s*/>°im', $output, $tags); - $tagnames = $tags[1]; - $search = $tags[0]; - $replace = array(); - unset ($tags); - // walk through the tag-array and generate the output - for ($i = 0; $i < $matches; $i++) { - $replace[$i] = ''; - switch ($tagnames[$i]) { - case 'mainmenu': - // set the menu-root - $actiondata = array ('_type'=>'ulist', '_id'=>'mainmenu', 'id'=>'mainmenu'); - $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - // get the main-menu-tree - $actiondata = array ('_root'=>'mainmenu'); - $this->_callEvent ('DISPLAY_PARSE_MENU_MAIN', $actiondata); - if (isset ($this->_ids['mainmenu']['_sub'])) { - $replace[$i] = $this->displayElement ($this->_ids['mainmenu']); - } - break; - - case 'statusbar': - // set container for statusbar - $actiondata = array ('_type'=>'empty', '_id'=>'statusbar'); - $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - // get the statusbar-entries - $actiondata = array ('_root'=>'statusbar'); - $this->_callEvent ('DISPLAY_PARSE_STATUSBAR', $actiondata); - if (isset ($this->_ids['statusbar']['_sub'])) { - $replace[$i] = $this->displayElement ($this->_ids['statusbar']); - } - break; - - case 'submenu': - // set the submenu block - $actiondata = array ('_type'=>'ulist', '_id'=>'submenu', 'extra'=>'id="submenu""'); - $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - // get the error-messages - $actiondata = array ('_root'=>'submenu'); - $this->_callEvent ('DISPLAY_PARSE_MENU_SUB', $actiondata); - if (isset ($this->_ids['submenu']['_sub'])) { - $replace[$i] = $this->displayElement ($this->_ids['submenu']); - } - break; - - case 'error': - // set the error-message block - $actiondata = array ('_type'=>'empty', '_id'=>'error'); - $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - // get the error-messages - $actiondata = array ('_root'=>'error'); - $this->_callEvent ('DISPLAY_PARSE_ERROR', $actiondata); - if (isset ($this->_ids['error']['_sub'])) { - $replace[$i] = $this->displayElement ($this->_ids['error']); - } - break; - - case 'content': - // set the content block - $actiondata = array ('_type'=>'empty', '_id'=>'content'); - $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - - // get the content - $actiondata = array ('_root'=>'content'); - $this->_callEvent ('DISPLAY_PARSE_CONTENT', $actiondata); - - if (isset ($this->_ids['content']['_sub'])) { - $replace[$i] = $this->displayElement ($this->_ids['content']); - } - break; - - default:; - } + + $actiondata2 = array (); + // set tags that has to be replaced in the layout + $tags = array ('mainmenu'=>'MENU_MAIN', 'statusbar'=>'STATUSBAR', 'submenu'=>'MENU_SUB', 'error'=>'ERROR', 'content'=>'CONTENT'); + foreach ($tags as $tag=>$event) { + // set the container-element + $actiondata1 = array ('_type'=>'empty', '_id'=>$tag); + $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata1); + + // get the content for the tag + $actiondata1 = array ('_root'=>$tag); + $this->_callEvent ('DISPLAY_PARSE_'.$event, $actiondata1); + + if (isset ($this->_ids[$tag]['_sub'])) { + $actiondata2 [$tag] = $this->displayElement ($this->_ids [$tag]); + } } - + // send output to browser - echo str_replace ($search, $replace, $output); + $actiondata2 ['_type'] = 'layout'; + $actiondata2 ['_id'] = 'admin4phpcms'; + $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata2); + echo $this->displayElement ($this->_ids['admin4phpcms']); } /** @@ -333,18 +310,17 @@ * * @access private **/ - function _readLayoutFiles () { - $layoutfile = dirname(__FILE__).'/layout.xml'; + function _readLayoutFiles ($layoutfile) { if (!isset($layoutfile)) { - $actiondata = array ('errortext'=>'Layoutdatei layout.xml konnte nicht geladen werden!'); - $this->_callEvent ('ERROR_NOTICE', $actiondata); + $actiondata1 = array ('errortext'=>'Layoutdatei layout.xml konnte nicht geladen werden!'); + $this->_callEvent ('ERROR_NOTICE', $actiondata1); return false; } if (!file_exists ($layoutfile)) { - $actiondata = array ('errortext'=>'Layoutdatei layout.xml konnte nicht geladen werden!'); - $this->_callEvent ('ERROR_NOTICE', $actiondata); + $actiondata1 = array ('errortext'=>'Layoutdatei layout.xml konnte nicht geladen werden!'); + $this->_callEvent ('ERROR_NOTICE', $actiondata1); return false; } @@ -365,7 +341,7 @@ continue; } - $this->_layout[$this->_layoutdata->children[$i]->attributes['name']] =& $this->_layoutdata->children[$i]->content; + $this->_layout[$this->_layoutdata->children[$i]->attributes['name']] =& XML_Tree_Node::decodeXmlEntities($this->_layoutdata->children[$i]->content); } //print_r($this->_layout); } Index: layout.xml =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- layout.xml 5 Aug 2004 16:38:41 -0000 1.6 +++ layout.xml 25 Aug 2004 21:16:44 -0000 1.7 @@ -1,7 +1,49 @@ <?xml version="1.0" encoding="iso-8859-15" standalone="yes"?> -<!DOCTYPE layout SYSTEM "layout.dtd"> <layout name="standard"> + <layout:insert name="layout"> + <![CDATA[ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> + <head> + <title>Verwaltungsoberfläche</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta name="description" content="Administrationsoberfläche von phpCMS" /> + <meta name="robots" content="noindex,nofollow" /> + <meta name="author" content="Martin Jahn" /> + <meta name="language" content="de" /> + <meta http-equiv="imagetoolbar" content="no" /> + <link rel="stylesheet" href="modules/layout/layout.css" type="text/css" /> + <link rel="stylesheet" href="modules/layout/gui.css" type="text/css" /> + <script type="text/javascript" src="modules/layout/gui.js"></script> + </head> + <body> + <div id="menu"> + <img src="modules/layout/img/phpcms.png" width="181" height="60" alt="" title="phpCMS-Logo" /> + <ul id="mainmenu"> + <layout:replace name="mainmenu" /> + </ul> + <layout:replace name="statusbar" /> + <p> + © 2004, alle Rechte bei <a href="http://sourceforge.net/projects/phpcms-plugins/" title="Website des Projektes phpCMS-plugins auf SourceForge.net">phpCMS-Plugin-Team</a> + </p> + </div> + <div id="content"> + <div class="status"> + <ul id="submenu" class="horizontal"> + <layout:replace name="submenu" /> + </ul> + </div> + <div class="content"> + <layout:replace name="error" /> + <layout:replace name="content" /> + </div> + </div> + </body> +</html> + ]]> + </layout:insert> + <layout:insert name="empty"> <![CDATA[ <layout:replace name="content" /> @@ -103,6 +145,20 @@ </layout:insert> + <layout:insert name="form_select"> + <![CDATA[ +<select name="<layout:replace name="name" />" <layout:replace name="extra" default="" /> /><layout:replace name="content" default="" /></select> + ]]> + </layout:insert> + + + <layout:insert name="form_select_option"> + <![CDATA[ +<option value="<layout:replace name="value" />" <layout:replace name="extra" default="" /> /><layout:replace name="label" /></option> + ]]> + </layout:insert> + + <layout:insert name="form_input_text"> <![CDATA[ <label> @@ -158,6 +214,13 @@ </layout:insert> + <layout:insert name="form_submit"> + <![CDATA[ +<button type="submit" name="<layout:replace name="name" />" value="<layout:replace name="value" />" <layout:replace name="extra" default="" />><layout:replace name="content" /></button> + ]]> + </layout:insert> + + <layout:insert name="menu_main_entry"> <![CDATA[ <li <layout:replace name="extra" default="" />><a href="?moduleid=<layout:replace name="module" />&<layout:replace name="params" />"><layout:replace name="name" /> </a></li> @@ -197,14 +260,6 @@ </layout:insert> - <layout:insert name="filelist_entry"> - <![CDATA[ -<li <layout:replace name="extra" default="" />><layout:replace name="content" /><span class="filemtime" title="Last modified"><layout:replace name="filemtime" /></span><span class="filesize" title="Dateigröße"><layout:replace name="filesize" /></span><span class="chmod" title="Besitzer: <layout:replace name="uid" />\nGruppe: <layout:replace name="gid" />"><layout:replace name="chmod" /></span></li> - ]]> - - </layout:insert> - - <layout:insert name="tabbed_box"> <![CDATA[ <div class="tabbedBox"><layout:replace name="content" default="" /></div> @@ -232,6 +287,18 @@ ]]> </layout:insert> + + <layout:insert name="style"> + <![CDATA[ +<style type="text/css"> + +<layout:replace name="content" default="" /> + +</style> + ]]> + </layout:insert> + + <layout:insert name="cachelist"> <![CDATA[ <div class="symbolleiste"> @@ -267,4 +334,13 @@ ]]> </layout:insert> + + <layout:insert name="framebox"> + <![CDATA[ + <div class="iframe" style="width:<layout:replace name="width" default="100%" />; height:<layout:replace name="height" default="5em" />"> + <layout:replace name="content" default="" /> + </div> + ]]> + </layout:insert> + </layout> \ No newline at end of file --- layout.tpl DELETED --- Index: gui.js =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/gui.js,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gui.js 24 Jul 2004 08:58:24 -0000 1.1 +++ gui.js 25 Aug 2004 21:16:44 -0000 1.2 @@ -9,11 +9,9 @@ for (i = 0; i < num; i++) { if (tabs [i] != id) { hideTab (tabs [i]); -/* alert ('hideTab (' + tabs [i] + ')');*/ continue; } showTab (tabs [i]); -/* alert ('showTab (' + tabs [i] + ')');*/ } } @@ -22,6 +20,7 @@ **/ function hideTab (id) { document.getElementById (id).style.display = 'none'; + document.getElementById (id + '-nav').className = ''; } /** @@ -29,6 +28,7 @@ **/ function showTab (id) { document.getElementById (id).style.display = 'block'; + document.getElementById (id + '-nav').className = 'current'; } /** Index: layout.dtd =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.dtd,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- layout.dtd 4 Jun 2004 11:11:58 -0000 1.2 +++ layout.dtd 25 Aug 2004 21:16:44 -0000 1.3 @@ -1,38 +1,5 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!ELEMENT layout ( - document, - block, - paragraph, - headline, - image, - form, - form_input_hidden, - form_input_text, - form_input_password, - form_checkbox, - form_radio, - form_textarea, - form_button, - menu_main_entry, - menu_main, - menu_sub_entry, - menu_sub -)> - -<!ELEMENT document (#PCDATA)> -<!ELEMENT block (#PCDATA)> -<!ELEMENT paragraph (#PCDATA)> -<!ELEMENT headline (#PCDATA)> -<!ELEMENT image (#PCDATA)> -<!ELEMENT form (#PCDATA)> -<!ELEMENT form_input_hidden (#PCDATA)> -<!ELEMENT form_input_text (#PCDATA)> -<!ELEMENT form_input_password (#PCDATA)> -<!ELEMENT form_checkbox (#PCDATA)> -<!ELEMENT form_radio (#PCDATA)> -<!ELEMENT form_textarea (#PCDATA)> -<!ELEMENT form_button (#PCDATA)> -<!ELEMENT menu_main_entry (#PCDATA)> -<!ELEMENT menu_main (#PCDATA)> -<!ELEMENT menu_sub_entry (#PCDATA)> -<!ELEMENT menu_sub (#PCDATA)> +<?xml version="1.0" encoding="iso-8859-1"?> +<!ELEMENT layout (layout:insert+)> +<!ATTLIST layout name ID #REQUIRED> +<!ELEMENT layout:insert (#PCDATA)> +<!ATTLIST layout:insert name ID #REQUIRED> Index: layout.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.css,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- layout.css 5 Aug 2004 16:38:41 -0000 1.4 +++ layout.css 25 Aug 2004 21:16:44 -0000 1.5 @@ -17,7 +17,6 @@ .content { padding:0.5em; padding-top:2em; - overflow:auto; } #menu { @@ -35,15 +34,20 @@ #menu p { padding:0.2em; - border:2px inset #eee; + border:1px inset #029544; + color:#333; +} + +#menu p a { + color:#029544; } #menu ul { list-style-type:none; - padding:0; + padding:0.3em; margin:0; - background:#eee; - border:2px inset #ddd; + border:0; + border:1px inset #029544; } #menu ul li { @@ -53,18 +57,20 @@ #menu ul li a { padding:0.2em 0.5em; - margin:0; + margin:0.2em 0; display:block; text-decoration:none; - border-top:1px solid #000; - border-bottom:1px solid #000; + color:#029544; + background:#eee; + border:1px outset #029544; } #menu ul li.active a, #menu ul li a:hover { - background:#ddd; + background:#fff; + border:1px inset #029544; } #menu ul li ul { @@ -86,11 +92,11 @@ #submenu { - background:#fff; + background:#eee; display:block; padding: 3px 0; margin: 0 0 1em 0; -border-bottom: 1px solid #778; +border-bottom: 1px solid #029544; font: bold Verdana, sans-serif; position:fixed; top:0; @@ -110,20 +116,22 @@ { padding: 3px 0.5em; margin-left: 3px; -border: 1px solid #778; +border: 1px solid #029544; +font-weight:bold; border-bottom: none; -background: #DDE; +background: #ddd; text-decoration: none; } -#submenu li a:link { color: #448; } -#submenu li a:visited { color: #667; } +#submenu li a:link { color: #029544; } +#submenu li a:visited { color: #029544; } #submenu li a:hover { -color: #000; -background: #AAE; -border-color: #227; +color: #029544; +font-weight:bold; +background: #fff; +border-color: #029544; } #submenu li#current a @@ -132,12 +140,14 @@ border-bottom: 1px solid white; } -#filelist { - width:50em; -} -#filelist li { - display:block; + + + +#filelist { + list-style-type:none; + padding:0; + margin:0.1em 0; } #filelist li, @@ -147,11 +157,20 @@ #filelist li input, #filelist li a, -#filelist li img, -#filelist li label, -#filelist li span { +#filelist li img { float:left; - display:block; +} + +#filelist a.filename { + float:none; + text-decoration:none; + color:#029544; +} + +#filelist li .filemtime, +#filelist li .filesize, +#filelist li .chmod { + float:right; } #filelist li .input { @@ -159,7 +178,9 @@ } #filelist li { + max-width:50em; clear:left; + padding-right:0.3em; } li.line1 { @@ -167,12 +188,12 @@ } li.line2 { - background-color:#ddd; + background-color:#eee; } .filename { - width:15em; padding-left:1em; + line-height:16px; } .filemtime { @@ -180,16 +201,13 @@ } .filesize { - width:6em; + width:5em; + text-align:right; } .chmod { - width:4em; -} - - -.giduid { - width:5em; + width:7em; + text-align:right; } #filelist .icon { @@ -200,22 +218,69 @@ border:0; } -#filelist .header { - background-color:#f9e; +#filelist li.header, +#filelist li.footer { + border:1px outset #029544; + color:#029544; + background:#ddd; + margin:0.1em 0; +} + +#filelist li.header *, +#filelist li.footer * { + color:#029544; +} + +#filelist li.header { + padding-top:0.2em; +} + +#filelist li.footer { + padding-top:0.1em; + padding-bottom:0,1em; +} + + +.iconbar { + width:50em; + text-align:left; + margin:0.1em 0; + padding:0; +} + +.iconbar a, +.iconbar input[type=submit], +.iconbar button[type=submit] { + background:none; + border:1px outset #029544; + padding:0.1em 0.5em; + margin:0; + color:#029544; + text-decoration:none; +} + +.iconbar a { + line-height:16px; } #fileviewer { font-family:monospace; background:silver; - white-space:pre; padding-right:1em; + width:50em; } #fileviewer .linenumber { + float:left; background-color:#fff; - color:#00f; + color:#029544; padding-right:0.5em; - margin-right:0.5em; + width:3em; + text-align:right; +} + +#fileviewer br { + clear:left; } #cacheview li { @@ -255,4 +320,81 @@ #cacheview span.dynamisch { color:#f00; font-weight:bold; -} \ No newline at end of file +} + +#fm-options { + width:50em; + margin-left:1em; +} + +em { + color:#029544; + font-style:normal; +} + +#fm-options { + font-family:monospace; + padding:0; + margin:1em 0; + max-width:50em; +} + +p, +h2 { + font-family:sans-serif; +} + +.tabbed li a { + background:#eee; +} + +.tabbed li a.current { + border-top-style:outset; + border-left-style:outset; + border-right-style:outset; + border-color:#029544; + border-bottom-color:#ddd; + background:#029544; + color:#eee; +} + +.tabbox { + border-style:outset; + background:#eee; +} + +legend { + border:1px solid #029544; + padding:0.1em; + padding: 0 0.5em; + font-family:sans-serif; + color:#eee; + background:#029544; +} + +fieldset { + border:1px inset #029544; + background:#fff; + margin:0.5em 0; + border-style:dashed; +} + +label { + display:block; + width:35em; + clear:both; +} + +label input { + float:right; +} + + +label.horizontal { + display:inline; +} + +label.horizontal input { + float:none; +} + |