Index: trunk/admin/include/subitems/listitems.js =================================================================== diff -u -r13 -r1706 --- trunk/admin/include/subitems/listitems.js (.../listitems.js) (revision 13) +++ trunk/admin/include/subitems/listitems.js (.../listitems.js) (revision 1706) @@ -3,26 +3,27 @@ function initListItems() { - var TRs = document.getElementsByTagName("TR"); - var numLIsFound = 0; - for (var i = 0; i < TRs.length; i++) - if (TRs[i].getAttribute("isListItem")) - { - TRs[i].className = liClassName + (numLIsFound % 2); - TRs[i].oriClassName = liClassName + (numLIsFound % 2); - //TRs[i].onmouseover = function() { this.className = liClassNameO; } - //TRs[i].onmouseout = function() { this.className = this.oriClassName; } - var As = TRs[i].getElementsByTagName("A"); - if (As.length < 1) continue; - var IMGs = TRs[i].getElementsByTagName("IMG"); - if (IMGs.length < 1) continue; - IMGs[0].className = "imgButton"; - IMGs[0].a = As[0]; - - IMGs[0].onclick = function() - { - document.location = this.a.getAttribute("href"); - } - numLIsFound++; - } + var TRs = document.getElementsByTagName("TR"); + var numLIsFound = 0; + for(var i = 0; i < TRs.length; i++) + { + if(TRs[i].getAttribute("isListItem") ) + { + TRs[i].className = liClassName + (numLIsFound % 2); + TRs[i].oriClassName = liClassName + (numLIsFound % 2); + //TRs[i].onmouseover = function() { this.className = liClassNameO; } + //TRs[i].onmouseout = function() { this.className = this.oriClassName; } + var As = TRs[i].getElementsByTagName("A"); + if (As.length < 1) continue; + var IMGs = TRs[i].getElementsByTagName("IMG"); + if (IMGs.length < 1) continue; + IMGs[0].className = "imgButton"; + IMGs[0].a = As[0]; + IMGs[0].onclick = function() + { + document.location = this.a.getAttribute("href"); + } + numLIsFound++; + } + } } \ No newline at end of file Index: trunk/admin/subitems.php =================================================================== diff -u -r1482 -r1706 --- trunk/admin/subitems.php (.../subitems.php) (revision 1482) +++ trunk/admin/subitems.php (.../subitems.php) (revision 1706) @@ -128,25 +128,35 @@
- GetSection($section); - $sub = $objSections->GetSection($parent->Get("child")); - while(is_object($sub)) - { - echo "\n"; - echo " "; - echo " \n"; - echo "\n"; - $sub = $objSections->GetSection($sub->Get("right")); - } + $parent = $objSections->GetSection($section); + $sub = $objSections->GetSection( $parent->Get("child") ); + $has_modules = is_object($sub); ?> +
"; - echo " IconURL(2)."\" border=\"0\">"; - echo " URL()."\" class=\"dLink\">"; - $lang_tag = "la_Description_".$sub->Get("key"); - echo admin_language($sub->Get("name")).""; - echo prompt_language($lang_tag); //$sub->Get("description"); - echo "
+'."\n"; + echo ' '; + echo ' '."\n"; + echo ''."\n"; + $sub = $objSections->GetSection( $sub->Get('right') ); + } + } + else + { + echo ''; + } +?>
'; + echo ' '; + echo ' '; + $lang_tag = 'la_Description_'.$sub->Get('key'); + echo admin_language( $sub->Get('name') ).''; + echo prompt_language($lang_tag); //$sub->Get("description"); + echo '