Index: trunk/admin/relation_select.php =================================================================== diff -u -N -r13 -r251 --- trunk/admin/relation_select.php (.../relation_select.php) (revision 13) +++ trunk/admin/relation_select.php (.../relation_select.php) (revision 251) @@ -161,110 +161,101 @@ require_once($pathtoroot.$admin."/include/mainscript.php"); load_module_styles(); print << - - + + - + var images = tabHeader.getElementsByTagName("IMG"); + if (images.length < 1) return; + images[0].src = '$imagesURL'+'/itemtabs/' + ((categories.active) ? "divider_up" : "divider_dn") + ".gif"; + } + + @@ -337,21 +328,29 @@ $objCatList->LoadCategories("ParentId=".$objCatList->CurrentCategoryID()." ".$CategoryFilter,$OrderBy); ?> - - - - - - + + + + + +
- - - - - -
- : (QueryItemCount; ?>)    
-
 
+ + + + + + + +
+ + + :  + + (QueryItemCount; ?>)  + + +
+
 
Index: trunk/admin/cat_select.php =================================================================== diff -u -N -r101 -r251 --- trunk/admin/cat_select.php (.../cat_select.php) (revision 101) +++ trunk/admin/cat_select.php (.../cat_select.php) (revision 251) @@ -162,110 +162,101 @@ require_once($pathtoroot.$admin."/include/mainscript.php"); print << - - - + + + + var images = tabHeader.getElementsByTagName("IMG"); + if (images.length < 1) return; + images[0].src = '$imagesURL'+'/itemtabs/' + ((categories.active) ? "divider_up" : "divider_dn") + ".gif"; + } + @@ -337,21 +328,29 @@ $objCatList->LoadCategories("ParentId=".$objCatList->CurrentCategoryID()." ".$CategoryFilter,$OrderBy); ?> - - - - - - + + + + + +
- - - - - -
- : (QueryItemCount; ?>)    
-
 
+ + + + + + + +
+ + + :  + + (QueryItemCount; ?>)  + + +
+
 
Index: trunk/kernel/admin/include/toolbar/browse.php =================================================================== diff -u -N -r250 -r251 --- trunk/kernel/admin/include/toolbar/browse.php (.../browse.php) (revision 250) +++ trunk/kernel/admin/include/toolbar/browse.php (.../browse.php) (revision 251) @@ -764,14 +764,13 @@ images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_empty") + ".gif"; } } - + function SetBackground(element_id, img_url) { // set background image of element specified by id var el = document.getElementById(element_id); el.style.backgroundImage = 'url('+img_url+')'; } - END; Index: trunk/admin/include/tabs.js =================================================================== diff -u -N -r203 -r251 --- trunk/admin/include/tabs.js (.../tabs.js) (revision 203) +++ trunk/admin/include/tabs.js (.../tabs.js) (revision 251) @@ -264,4 +264,11 @@ { // checks of parameter is passed to function (cross-browser) return typeof(param) == 'undefined' ? false : true; +} + +function SetBackground(element_id, img_url) +{ + // set background image of element specified by id + var el = document.getElementById(element_id); + el.style.backgroundImage = 'url('+img_url+')'; } \ No newline at end of file