Index: branches/unlabeled/unlabeled-1.23.2/admin/include/sections.php =================================================================== diff -u -N -r4250 -r4382 --- branches/unlabeled/unlabeled-1.23.2/admin/include/sections.php (.../sections.php) (revision 4250) +++ branches/unlabeled/unlabeled-1.23.2/admin/include/sections.php (.../sections.php) (revision 4382) @@ -79,11 +79,11 @@ $url = $rootURL.$this->Get("icon_small"); return $url; } - + function IsKernel4Link() { $path = $this->Get('path'); if(!$path) return false; - + $file = $this->Get('file'); return ( strpos($path, 'index4.php') !== false || strpos($file, 'kernel4:') !== false) ? true : false; @@ -114,7 +114,7 @@ else { $env = BuildEnv(); } - + $url = $rootURL.$this->Get('path').$this->Get('file'); $url .= (strstr($url, '?') ? '&' : '?').'env='.$env; } @@ -234,16 +234,16 @@ // simplified method to add sections global $pathtoroot; $sn = explode(':', $section_name); - + if (substr($script, 0, 8) == 'kernel4:') { $img_path = $sn[0].'/admin_templates/img/icons'; } else { $img_path = $module.'/admin/images/icons'; } - + if (!$img_path) { - + } if( !isset($title_phrase) ) $title_phrase = $tab_phrase; @@ -380,6 +380,12 @@ } } + + + + + + function page_title() { global $imagesURL,$adminURL, $objConfig; @@ -430,7 +436,7 @@ $o = "
-
"; +
"; $o .= "
 $caption
@@ -449,7 +455,7 @@
- '; + '; } } } @@ -492,7 +498,7 @@ $o = "
- "; + "; $showtabs=1; } //traverse and print tabs