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 " IconURL(2)."\" border=\"0\">";
- echo " | ";
- 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 " \n";
- $sub = $objSections->GetSection($sub->Get("right"));
- }
+ $parent = $objSections->GetSection($section);
+ $sub = $objSections->GetSection( $parent->Get("child") );
+ $has_modules = is_object($sub);
?>
+
|