mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Bugtracker #3919 - absolute URLs for images
This commit is contained in:
@@ -6,6 +6,6 @@ $text = "<div style='text-align:center'>
|
|||||||
<a href='http://validator.w3.org/check?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img style='border:0' src='".e_PLUGIN."siteinfo_menu/images/valid-xhtml11.png' alt='Valid XHTML 1.1!' height='31' width='88' /></a><br />
|
<a href='http://validator.w3.org/check?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img style='border:0' src='".e_PLUGIN."siteinfo_menu/images/valid-xhtml11.png' alt='Valid XHTML 1.1!' height='31' width='88' /></a><br />
|
||||||
<a href='http://jigsaw.w3.org/css-validator/validator?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img style='border:0' src='".e_PLUGIN."siteinfo_menu/images/vcss.png' alt='Valid CSS!' height='31' width='88' /></a>
|
<a href='http://jigsaw.w3.org/css-validator/validator?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img style='border:0' src='".e_PLUGIN."siteinfo_menu/images/vcss.png' alt='Valid CSS!' height='31' width='88' /></a>
|
||||||
</div>";
|
</div>";
|
||||||
$caption = (file_exists(THEME."images/compliance_menu.png") ? "<img src='".THEME."images/compliance_menu.png' alt='' /> ".COMPLIANCE_L1 : COMPLIANCE_L1);
|
$caption = (file_exists(THEME."images/compliance_menu.png") ? "<img src='".THEME_ABS."images/compliance_menu.png' alt='' /> ".COMPLIANCE_L1 : COMPLIANCE_L1);
|
||||||
$ns->tablerender($caption, $text, 'compliance');
|
$ns->tablerender($caption, $text, 'compliance');
|
||||||
?>
|
?>
|
@@ -12,9 +12,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/tree_menu/tree_menu.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/tree_menu/tree_menu.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2007-03-25 08:49:54 $
|
| $Date: 2007-05-31 21:17:17 $
|
||||||
| $Author: lisa_ $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ foreach($mainLinkArray as $links) {
|
|||||||
|
|
||||||
$url = "javascript:void(0);";
|
$url = "javascript:void(0);";
|
||||||
$spanName = $id;
|
$spanName = $id;
|
||||||
$image = ($image ? "<img src='".e_IMAGE."icons/".$image."' alt='' style='vertical-align:middle;' />" : "»");
|
$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";
|
$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);
|
$text .= ($menu_pref['tm_spacer'] ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||||
} else {
|
} else {
|
||||||
@@ -103,7 +103,7 @@ foreach($mainLinkArray as $links) {
|
|||||||
{
|
{
|
||||||
$linkName = $url;
|
$linkName = $url;
|
||||||
$spanName = "";
|
$spanName = "";
|
||||||
$image = ($image ? "<img src='".e_IMAGE."icons/".$image."' alt='' style='vertical-align:middle;' />" : "·");
|
$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>";
|
$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);
|
$text .= ($menu_pref['tm_spacer'] ? "<div class='spacer'>\n".$plink."\n</div>\n" : $plink);
|
||||||
}
|
}
|
||||||
@@ -115,7 +115,7 @@ foreach($mainLinkArray as $links) {
|
|||||||
$text .= "\n<span style=\"display:none\" id=\"span_".$spanName."\">\n";
|
$text .= "\n<span style=\"display:none\" id=\"span_".$spanName."\">\n";
|
||||||
foreach($sublink as $link) {
|
foreach($sublink as $link) {
|
||||||
extract($link);
|
extract($link);
|
||||||
$image = ($image ? "<img src='".e_IMAGE."icons/".$image."' alt='' style='vertical-align:middle' /> " : "· ");
|
$image = ($image ? "<img src='".e_IMAGE_ABS."icons/".$image."' alt='' style='vertical-align:middle' /> " : "· ");
|
||||||
$spanName = $parent_name;
|
$spanName = $parent_name;
|
||||||
|
|
||||||
$plink = $image." ".setLink($name, $url, $openMethod, $description)."<br />\n";
|
$plink = $image." ".setLink($name, $url, $openMethod, $description)."<br />\n";
|
||||||
|
Reference in New Issue
Block a user