[Phpcms-plugins-cvs] admin4phpCMS/modules/layout layout.css,1.9,1.10 class.module_layout.php,1.15,1.
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2005-05-15 12:24:34
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/layout Modified Files: layout.css class.module_layout.php Log Message: Commit as backup during development Index: class.module_layout.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/class.module_layout.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- class.module_layout.php 15 Apr 2005 15:20:03 -0000 1.15 +++ class.module_layout.php 15 May 2005 12:24:02 -0000 1.16 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.16 2005/05/15 12:24:02 mjahn +* Commit as backup during development +* * Revision 1.15 2005/04/15 15:20:03 mjahn * Commit as backup during development * @@ -108,7 +111,6 @@ $this->_registerEvent ('GET_MENU', 'doGetMenu'); $this->_registerEvent ('GET_STATUS', 'doGetStatus'); $this->_registerEvent ('GET_DATA', 'doGetData'); - $this->_registerEvent ('GET_LANGUAGE', 'doGetLanguage'); $this->_registerAction ('doParseParam', 'parseParam'); $this->_registerAction ('doDisplay', 'displayLayout'); @@ -145,22 +147,6 @@ $smarty->caching = false; $smarty->cache_lifetime = 10; - $actiondata1 = array ('tag'=>'lang', 'lang' => array ()); - $this->_callEvent ('GET_LANGUAGE', $actiondata1); - $lang = array (); - if (is_array ($actiondata1 ['lang'])) { - if (isset ($actiondata1 ['lang'] ['en'])) { - $lang = $actiondata1 ['lang'] ['en']; - unset ($actiondata1 ['lang'] ['en']); - } - foreach ($actiondata1 ['lang'] as $language=>$data) { - if (!isset ($actiondata1 ['lang'] [$language]) || !is_array ($actiondata1 ['lang'] [$language])) { - $lang = array_merge ($lang, $actiondata1 ['lang'] [$language]); - } - } - } - $smarty->assign ('lang', $lang); - // set tags that has to be replaced in the layout foreach ($this->showtags as $tag=>$event) { @@ -173,11 +159,13 @@ ${$tag} = $actiondata1 [$tag]; } - $smarty->assign ('MODULE_PATH', MODULE_PATH); + $smarty->assign ('MODULE_PATH',realpath (dirname (__FILE__).'/../')); + $smarty->assign ('MODULE_WEB',MODULE_PATH); $smarty->assign ('INDEX_PATH', INDEX_PATH); $smarty->assign ('INDEX_WEB', dirname (INDEX_FILE)); $smarty->assign ('ADMIN4PHPCMS_VERSION', ADMIN4PHPCMS_VERSION); $smarty->assign ('DEBUG', DEBUG); + $smarty->assign ('LANG', 'en'); $smarty->assign ('INDEX_FILE', INDEX_FILE); $smarty->register_modifier ('entities', 'smarty_modifier_entities'); Index: layout.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.css,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- layout.css 15 Apr 2005 15:20:03 -0000 1.9 +++ layout.css 15 May 2005 12:24:01 -0000 1.10 @@ -62,6 +62,7 @@ #menu li a { border-bottom:1px solid #444; + line-height:1em; } #menu li a.last { @@ -72,6 +73,7 @@ #menu ul li a { padding:0.2em 0.5em; display:block; + height:1.2em; text-decoration:none; color:#00f; } @@ -108,12 +110,13 @@ display:block; color:#fff; padding:0.2em 0.5em; + margin:0; } fieldset { background:#f0f0f0; max-width:60em; - margin-bottom:1em; + margin:1em 0; } .content .label, @@ -131,7 +134,7 @@ } -.content input, +.content label input, .content button, .content textarea, .content select { @@ -144,7 +147,7 @@ width:10em; } -.content input, +.content label input, .content button, .content textarea, .content select, @@ -153,10 +156,9 @@ padding:0.2em; } -.content label.horizontal input, -.content input[type=checkbox], -.content input[type=radio], -.content input[type=image] { +.content .radio input, +.content .label input, +.content label.horizontal input { width:auto; border:0; } @@ -221,12 +223,16 @@ border-left:0px solid; } -.info{ +.info { position:relative; /*this is the key*/ z-index:24; cursor:help; } +.info { + behavior:url(tools/hover.htc); +} + .info.hover, .info:hover { z-index:25; @@ -289,6 +295,10 @@ overflow:scroll; } +tbody tr { + behavior:url(tools/hover.htc); +} + tbody .line3, tbody tr.hover, tbody tr:hover { |