mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
notice removal
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/tree_menu/tree_menu.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2008-03-04 22:14:00 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2008-03-13 19:15:56 $
|
||||
| $Author: lisa_ $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -95,8 +95,8 @@ foreach($mainLinkArray as $links) {
|
||||
$url = "javascript:void(0);";
|
||||
$spanName = $id;
|
||||
$image = ($image ? "<img src='".e_IMAGE_ABS."icons/".$image."' alt='' style='vertical-align:middle;' />" : "»");
|
||||
$plink = "<div".($menu_pref['tm_class2'] ? " class='{$menu_pref['tm_class2']}'" : "")." style='width:100%; cursor: pointer;' onclick='expandit(\"span_".$spanName."\");updatecook(\"".$spanName."\");'>".$image." ".setLink($name, $url, $openMethod, $description)."</div>\n";
|
||||
$text .= ($menu_pref['tm_spacer'] ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||
$plink = "<div".(varsettrue($menu_pref['tm_class2']) ? " class='{$menu_pref['tm_class2']}'" : "")." style='width:100%; cursor: pointer;' onclick='expandit(\"span_".$spanName."\");updatecook(\"".$spanName."\");'>".$image." ".setLink($name, $url, $openMethod, $description)."</div>\n";
|
||||
$text .= (varsettrue($menu_pref['tm_spacer']) ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||
} else {
|
||||
// no sublinks found ...
|
||||
if($links['name'])
|
||||
@@ -104,8 +104,8 @@ foreach($mainLinkArray as $links) {
|
||||
$linkName = $url;
|
||||
$spanName = "";
|
||||
$image = ($image ? "<img src='".e_IMAGE_ABS."icons/".$image."' alt='' style='vertical-align:middle;' />" : "·");
|
||||
$plink = "<div".($menu_pref['tm_class1'] ? " class='{$menu_pref['tm_class1']}'" : "")." style='width:100%; cursor: pointer;'>".$image." ".setLink($name, $url, $openMethod, $description)."</div>";
|
||||
$text .= ($menu_pref['tm_spacer'] ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||
$plink = "<div".(varsettrue($menu_pref['tm_class1']) ? " class='{$menu_pref['tm_class1']}'" : "")." style='width:100%; cursor: pointer;'>".$image." ".setLink($name, $url, $openMethod, $description)."</div>";
|
||||
$text .= (varsettrue($menu_pref['tm_spacer']) ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ foreach($mainLinkArray as $links) {
|
||||
$spanName = $parent_name;
|
||||
|
||||
$plink = $image." ".setLink($name, $url, $openMethod, $description)."<br />\n";
|
||||
$text .=($menu_pref['tm_class3'] ? "<span".($menu_pref['tm_class3'] ? " class='{$menu_pref['tm_class3']}'" : "").">".$plink."</span>\n\n" : $plink);
|
||||
$text .=(varsettrue($menu_pref['tm_class3']) ? "<span".(varsettrue($menu_pref['tm_class3']) ? " class='{$menu_pref['tm_class3']}'" : "").">".$plink."</span>\n\n" : $plink);
|
||||
}
|
||||
$text .= "</span>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user