1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

a bit of legacy BULLET code review

This commit is contained in:
marj
2009-08-23 10:57:51 +00:00
parent 6eafcda674
commit 9863e49cdb
19 changed files with 277 additions and 128 deletions

View File

@@ -880,12 +880,27 @@ SC_END
SC_BEGIN CM_MENU_LINKS_ICON
global $content_pref, $bullet;
//TODO review bullet + use switch
//define icon
if($content_pref["content_menu_links_icon"] == "0"){ $ret = "";
}elseif($content_pref["content_menu_links_icon"] == "1"){ $ret = $bullet;
}elseif($content_pref["content_menu_links_icon"] == "2"){ $ret = "&middot";
}elseif($content_pref["content_menu_links_icon"] == "3"){ $ret = "º";
}elseif($content_pref["content_menu_links_icon"] == "4"){ $ret = "»";
if($content_pref["content_menu_links_icon"] == "0")
{
$ret = "";
}
elseif($content_pref["content_menu_links_icon"] == "1")
{
$ret = $bullet;
}
elseif($content_pref["content_menu_links_icon"] == "2")
{
$ret = "&middot";
}
elseif($content_pref["content_menu_links_icon"] == "3")
{
$ret = "º";
}
elseif($content_pref["content_menu_links_icon"] == "4")
{
$ret = "»";
}
return $ret;
SC_END
@@ -961,6 +976,7 @@ return ($content_pref["content_menu_cat_caption"] != "" ? $content_pref["content
SC_END
SC_BEGIN CM_MENU_CATEGORY_ICON
//TODO legacy bullet + use switch
global $content_pref, $row, $bullet;
$ret = "";
if($content_pref["content_menu_cat_icon"] == "0"){ $ret = "";