1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-05 10:25:17 +02:00

Bugtracker #4427 - make path references absolute

This commit is contained in:
e107steved 2008-07-28 20:16:15 +00:00
parent 68bcc8c11c
commit 6ccaa86649
10 changed files with 61 additions and 74 deletions

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_shortcodes.php,v $
| $Revision: 1.8 $
| $Date: 2008-03-20 20:49:02 $
| $Revision: 1.9 $
| $Date: 2008-07-28 20:16:10 $
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
@ -143,7 +143,7 @@ SC_BEGIN EC_SHOWEVENT_IMAGE
global $ev;
if($ev['event_cat_icon'] && file_exists(e_PLUGIN."calendar_menu/images/".$ev['event_cat_icon']))
{
$img = "<img style='border:0' src='".e_PLUGIN."calendar_menu/images/".$ev['event_cat_icon']."' alt='' height='".$ev['imagesize']."' width='".$ev['imagesize']."' />";
$img = "<img style='border:0' src='".e_PLUGIN_ABS."calendar_menu/images/".$ev['event_cat_icon']."' alt='' height='".$ev['imagesize']."' width='".$ev['imagesize']."' />";
}
else
{
@ -211,7 +211,7 @@ SC_BEGIN EC_CALENDAR_CALENDAR_RECENT_ICON
global $ev;
if (!isset($ev['is_recent'])) return "";
if (!$ev['startofevent']) return ""; // Only display on first day of multi-day events
// $recent_icon = e_PLUGIN."calendar_menu/images/recent_icon.png";
// $recent_icon = e_PLUGIN_ABS."calendar_menu/images/recent_icon.png";
$recent_icon = EC_RECENT_ICON;
if (file_exists($recent_icon))
{
@ -348,7 +348,7 @@ SC_BEGIN EC_EVENT_CAT_ICON
global $thisevent;
if ($thisevent['event_cat_icon'] && file_exists(e_PLUGIN."calendar_menu/images/".$thisevent['event_cat_icon']))
{
return "<img style='border:0' src='".e_PLUGIN."calendar_menu/images/".$thisevent['event_cat_icon']."' alt='' /> ";
return "<img style='border:0' src='".e_PLUGIN_ABS."calendar_menu/images/".$thisevent['event_cat_icon']."' alt='' /> ";
}
else
{

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_template.php,v $
| $Revision: 1.4 $
| $Date: 2007-12-15 21:46:20 $
| $Revision: 1.5 $
| $Date: 2008-07-28 20:16:10 $
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
@ -24,12 +24,22 @@ global $imode;
if (varsettrue($imode))
{ // Its 0.8
$ec_images_path = e_IMAGE.'packs/'.$imode.'/';
if (!defined('EC_RECENT_ICON')) {define('EC_RECENT_ICON',$ec_images_path.'generic/new.png'); } // Filename of icon used to flag recent events
$ec_images_path_abs = e_IMAGE_ABS.'packs/'.$imode.'/';
if (!defined('EC_RECENT_ICON'))
{
define('EC_RECENT_ICON',$ec_images_path.'generic/new.png');
define('EC_RECENT_ICON_ABS',$ec_images_path_abs.'generic/new.png');
} // Filename of icon used to flag recent events
}
else
{
$ec_images_path = e_IMAGE;
if (!defined('EC_RECENT_ICON')) {define('EC_RECENT_ICON',e_IMAGE.'generic/'.IMODE.'/new.png'); } // Filename of icon used to flag recent events
$ec_images_path_abs = e_IMAGE_ABS;
if (!defined('EC_RECENT_ICON'))
{
define('EC_RECENT_ICON',e_IMAGE.'generic/'.IMODE.'/new.png');
define('EC_RECENT_ICON_ABS',e_IMAGE_ABS.'generic/'.IMODE.'/new.png');
} // Filename of icon used to flag recent events
}

View File

@ -2,5 +2,5 @@
if (!defined('e107_INIT')) { exit; }
$submitted_links = $sql->db_Select("tmp", "*", "tmp_ip='submitted_link' ");
$text .= "<div style='padding-bottom: 2px;'><img src='".e_PLUGIN."links_page/images/linkspage_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' />".($submitted_links ? " <a href='".e_PLUGIN."links_page/admin_linkspage_config.php?sn'>".ADLAN_LAT_5.": $submitted_links</a>" : " ".ADLAN_LAT_5.": ".$submitted_links)."</div>";
$text .= "<div style='padding-bottom: 2px;'><img src='".e_PLUGIN_ABS."links_page/images/linkspage_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' />".($submitted_links ? " <a href='".e_PLUGIN_ABS."links_page/admin_linkspage_config.php?sn'>".ADLAN_LAT_5.": $submitted_links</a>" : " ".ADLAN_LAT_5.": ".$submitted_links)."</div>";
?>

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/link_class.php,v $
| $Revision: 1.7 $
| $Date: 2008-05-23 21:03:49 $
| $Revision: 1.8 $
| $Date: 2008-07-28 20:16:11 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -646,6 +646,7 @@ class linkclass {
$rejectlist = array('$.','$..','/','CVS','thumbs.db','Thumbs.db','*._$', 'index', 'null*', 'blank*');
$iconpath = e_PLUGIN."links_page/link_images/";
$iconlist = $fl->get_files($iconpath,"",$rejectlist);
$iconpath = e_PLUGIN_ABS."links_page/link_images/"; // Absolute paths now we've got the files
$text .= "
<tr>
@ -664,7 +665,7 @@ class linkclass {
$img = $iconpath.$row['link_button'];
}else{
$blank_display = 'display: none';
$img = e_PLUGIN."links_page/images/blank.gif";
$img = e_PLUGIN_ABS."links_page/images/blank.gif";
}
$text .= "</td><td><img id='iconview' src='".$img."' style='width:".$link_resize_value."px; border:0; ".$blank_display."' /><br /><br /></td></tr></table>";
$text .= "</div>
@ -764,7 +765,7 @@ class linkclass {
}
else
{
$img = "<img style='border:0' src='".e_PLUGIN."links_page/link_images/".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
$img = "<img style='border:0' src='".e_PLUGIN_ABS."links_page/link_images/".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
}
}
}
@ -782,7 +783,7 @@ class linkclass {
<tr>
<td class='forumheader3' style='width:5%; text-align: center; vertical-align: middle'>".$img."</td>
<td style='width:65%' class='forumheader3'>
<a href='".e_PLUGIN."links_page/links.php?".$row['link_id']."' rel='external'>".LINK_ICON_LINK."</a> ".$row['link_name']."
<a href='".e_PLUGIN_ABS."links_page/links.php?".$row['link_id']."' rel='external'>".LINK_ICON_LINK."</a> ".$row['link_name']."
</td>
<td style='width:10%; text-align:center; white-space: nowrap' class='forumheader3'>
<a href='".e_SELF."?link.edit.".$linkid."' title='".LCLAN_ITEM_31."'>".LINK_ICON_EDIT."</a>
@ -930,7 +931,7 @@ class linkclass {
while ($row = $sql->db_Fetch()) {
$linkcatid = $row['link_category_id'];
if ($row['link_category_icon']) {
$img = (strstr($row['link_category_icon'], "/") ? "<img src='".e_BASE.$row['link_category_icon']."' alt='' style='vertical-align:middle' />" : "<img src='".e_PLUGIN."links_page/cat_images/".$row['link_category_icon']."' alt='' style='vertical-align:middle' />");
$img = (strstr($row['link_category_icon'], "/") ? "<img src='".e_BASE.$row['link_category_icon']."' alt='' style='vertical-align:middle' />" : "<img src='".e_PLUGIN_ABS."links_page/cat_images/".$row['link_category_icon']."' alt='' style='vertical-align:middle' />");
} else {
$img = "&nbsp;";
}
@ -938,7 +939,7 @@ class linkclass {
<tr>
<td style='width:5%; text-align:center' class='forumheader3'>".$img."</td>
<td class='forumheader3'>
<a href='".e_PLUGIN."links_page/links.php?cat.".$linkcatid."' rel='external'>".LINK_ICON_LINK."</a>
<a href='".e_PLUGIN_ABS."links_page/links.php?cat.".$linkcatid."' rel='external'>".LINK_ICON_LINK."</a>
".$row['link_category_name']."<br /><span class='smalltext'>".$row['link_category_description']."</span>
</td>";
if($mode == "cat"){

View File

@ -4,30 +4,6 @@ include_once(e_HANDLER.'shortcode_handler.php');
$link_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
/*
//SC_BEGIN LINK_NAVIGATOR
//global $LINK_NAVIGATOR, $linkspage_pref, $qs;
//$main = "";
//if(isset($linkspage_pref['link_navigator_frontpage']) && $linkspage_pref['link_navigator_frontpage']){
// $main .= "<a href='".e_PLUGIN."links_page/links.php'>".LAN_LINKS_14."</a> >><br />";
//}
//if(isset($linkspage_pref['link_navigator_submit']) && $linkspage_pref['link_navigator_submit'] && isset($linkspage_pref['link_submit']) && $linkspage_pref['link_submit'] && check_class($linkspage_pref['link_submit_class'])){
// $main .= "<a href='".e_PLUGIN."links_page/links.php?submit'>".LAN_LINKS_27."</a> >><br />";
//}
//if(isset($linkspage_pref['link_navigator_manager']) && $linkspage_pref['link_navigator_manager'] && isset($linkspage_pref['link_manager']) && $linkspage_pref['link_manager'] && check_class($linkspage_pref['link_manager_class'])){
// $main .= "<a href='".e_PLUGIN."links_page/links.php?manage'>".LCLAN_ITEM_35."</a> >><br />";
//}
//if(isset($linkspage_pref['link_navigator_refer']) && $linkspage_pref['link_navigator_refer']){
// $main .= "<a href='".e_PLUGIN."links_page/links.php?top'>".LAN_LINKS_12."</a> >><br />";
//}
//if(isset($linkspage_pref['link_navigator_rated']) && $linkspage_pref['link_navigator_rated']){
// $main .= "<a href='".e_PLUGIN."links_page/links.php?rated'>".LAN_LINKS_13."</a> >><br />";
//}
//if(isset($linkspage_pref['link_navigator_category']) && $linkspage_pref['link_navigator_category']){
// $main .= "<a href='".e_PLUGIN."links_page/links.php?cat'>".LAN_LINKS_43."</a> >><br />";
//}
//return $main;
//SC_END
SC_BEGIN LINK_NAVIGATOR
global $LINK_NAVIGATOR, $rs, $linkspage_pref, $qs;
$mains = "";
@ -191,7 +167,7 @@ if(isset($linkspage_pref['link_cat_icon']) && $linkspage_pref['link_cat_icon']){
}
}else{
if(file_exists(e_PLUGIN."links_page/cat_images/".$rowl['link_category_icon'])){
$LINK_MAIN_ICON = "<img src='".e_PLUGIN."links_page/cat_images/".$rowl['link_category_icon']."' alt='' style='border:0; vertical-align:middle' />";
$LINK_MAIN_ICON = "<img src='".e_PLUGIN_ABS."links_page/cat_images/".$rowl['link_category_icon']."' alt='' style='border:0; vertical-align:middle' />";
} else {
if(isset($linkspage_pref['link_cat_icon_empty']) && $linkspage_pref['link_cat_icon_empty']){
$LINK_MAIN_ICON = "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' style='border:0; vertical-align:middle;' />";
@ -222,7 +198,7 @@ SC_END
SC_BEGIN LINK_MAIN_SHOWALL
global $LINK_MAIN_SHOWALL, $linkspage_pref;
return (isset($linkspage_pref['link_cat_total']) && $linkspage_pref['link_cat_total'] ? "<a href='".e_PLUGIN."links_page/links.php?cat.all'>".LAN_LINKS_25."</a>" : "");
return (isset($linkspage_pref['link_cat_total']) && $linkspage_pref['link_cat_total'] ? "<a href='".e_PLUGIN_ABS."links_page/links.php?cat.all'>".LAN_LINKS_25."</a>" : "");
SC_END
@ -246,27 +222,27 @@ if(isset($linkspage_pref['link_icon']) && $linkspage_pref['link_icon']){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' src='".e_BASE.$rowl['link_button']."' alt='' /></a>";
} else {
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='' /></a>";
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='' /></a>";
}
}
}else{
if(file_exists(e_PLUGIN."links_page/link_images/".$rowl['link_button'])){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' src='".e_PLUGIN."links_page/link_images/".$rowl['link_button']."' alt='' /></a>";
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' src='".e_PLUGIN_ABS."links_page/link_images/".$rowl['link_button']."' alt='' /></a>";
}else{
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='' /></a>";
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='' /></a>";
}
}
}
}
} else {
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='' /></a>";
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='' /></a>";
}
}
}else{
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='' /></a>";
$LINK_BUTTON = $LINK_APPEND."\n<img class='linkspage_button' style='width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='' /></a>";
}
}
return $LINK_BUTTON;
@ -379,14 +355,14 @@ $one = $tmp[0];
$two = round($tmp[1],1);
$rating = $one.".".$two." ";
for($c=1; $c<= $one; $c++){
$rating .= "<img src='".e_IMAGE."packs/".$imode."/rate/box.png' alt='' style='height:8px; vertical-align:middle' />";
$rating .= "<img src='".e_IMAGE_ABS."packs/".$imode."/rate/box.png' alt='' style='height:8px; vertical-align:middle' />";
}
if($one < 10){
for($c=9; $c>=$one; $c--){
$rating .= "<img src='".e_IMAGE."packs/".$imode."/rate/empty.png' alt='' style='height:8px; vertical-align:middle' />";
$rating .= "<img src='".e_IMAGE_ABS."packs/".$imode."/rate/empty.png' alt='' style='height:8px; vertical-align:middle' />";
}
}
$rating .= "<img src='".e_IMAGE."packs/".$imode."/rate/boxend.png' alt='' style='height:8px; vertical-align:middle' />";
$rating .= "<img src='".e_IMAGE_ABS."packs/".$imode."/rate/boxend.png' alt='' style='height:8px; vertical-align:middle' />";
return $rating;
SC_END
@ -400,19 +376,19 @@ if(isset($linkspage_pref['link_icon']) && $linkspage_pref['link_icon']){
if(strstr($rowl['link_button'], "/")){
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0;' src='".e_BASE.$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
}else{
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0' src='".e_PLUGIN."links_page/link_images/".$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0' src='".e_PLUGIN_ABS."links_page/link_images/".$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
}
}
} else {
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0; width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0; width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
}else{
$LINK_RATED_BUTTON = "";
}
}
}else{
if(isset($linkspage_pref['link_icon_empty']) && $linkspage_pref['link_icon_empty']){
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0; width: 88px; height: 31px;' src='".e_PLUGIN."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0; width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
}else{
$LINK_RATED_BUTTON = "";
}

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/newforumposts_main/newforumposts_main.php,v $
| $Revision: 1.2 $
| $Date: 2007-12-22 19:18:39 $
| $Revision: 1.3 $
| $Date: 2008-07-28 20:16:13 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -81,7 +81,7 @@ if (file_exists(THEME."forum/new_small.png"))
}
else
{
$ICON = "<img src='".e_PLUGIN."forum/images/".IMODE."/new_small.png' alt='' />";
$ICON = "<img src='".e_PLUGIN_ABS."forum/images/".IMODE."/new_small.png' alt='' />";
}
$TOTAL_TOPICS = $sql->db_Count("forum_t", "(*)", " WHERE thread_parent='0' ");
$TOTAL_REPLIES = $sql->db_Count("forum_t", "(*)", " WHERE thread_parent!='0' ");

View File

@ -11,17 +11,17 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_template.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:39 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-07-28 20:16:14 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
global $sc_style;
define("PM_READ_ICON", "<img src='".e_PLUGIN."/pm/images/read.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_111."' />");
define("PM_UNREAD_ICON", "<img src='".e_PLUGIN."/pm/images/unread.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_27."' />");
define("PM_READ_ICON", "<img src='".e_PLUGIN_ABS."/pm/images/read.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_111."' />");
define("PM_UNREAD_ICON", "<img src='".e_PLUGIN_ABS."/pm/images/unread.png' style='height:16px; width:16px; border:0px' alt='".LAN_PM_27."' />");
$sc_style['PM_ATTACHMENT_ICON']['pre'] = " ";

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/pm/private_msg_menu.php,v $
| $Revision: 1.2 $
| $Date: 2007-05-28 11:18:19 $
| $Revision: 1.3 $
| $Date: 2008-07-28 20:16:14 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -26,10 +26,10 @@ if(!isset($pm_prefs['perpage']))
require_once(e_PLUGIN."pm/pm_func.php");
pm_getInfo('clear');
define("PM_INBOX_ICON", "<img src='".e_PLUGIN."pm/images/mail_get.png' style='height:16px; width:16px; border:0px;' alt='".LAN_PM_25."' title='".LAN_PM_25."' />");
define("PM_OUTBOX_ICON", "<img src='".e_PLUGIN."pm/images/mail_send.png' style='height:16px; width:16px; border:0px;' alt='".LAN_PM_26."' title='".LAN_PM_26."' />");
define("PM_INBOX_ICON", "<img src='".e_PLUGIN_ABS."pm/images/mail_get.png' style='height:16px; width:16px; border:0px;' alt='".LAN_PM_25."' title='".LAN_PM_25."' />");
define("PM_OUTBOX_ICON", "<img src='".e_PLUGIN_ABS."pm/images/mail_send.png' style='height:16px; width:16px; border:0px;' alt='".LAN_PM_26."' title='".LAN_PM_26."' />");
define("PM_SEND_LINK", LAN_PM_35);
define("NEWPM_ANIMATION", "<img src='".e_PLUGIN."pm/images/newpm.gif' alt='' style='border:0' />");
define("NEWPM_ANIMATION", "<img src='".e_PLUGIN_ABS."pm/images/newpm.gif' alt='' style='border:0' />");
$sc_style['SEND_PM_LINK']['pre'] = "<br /><br />[ ";
$sc_style['SEND_PM_LINK']['post'] = " ]";

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_class.php,v $
| $Revision: 1.8 $
| $Date: 2008-06-03 21:31:31 $
| $Revision: 1.9 $
| $Date: 2008-07-28 20:16:14 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -248,9 +248,9 @@ class poll
break;
}
$barl = (file_exists(THEME."images/barl.png") ? THEME_ABS."images/barl.png" : e_PLUGIN."poll/images/barl.png");
$barr = (file_exists(THEME."images/barr.png") ? THEME_ABS."images/barr.png" : e_PLUGIN."poll/images/barr.png");
$bar = (file_exists(THEME."images/bar.png") ? THEME_ABS."images/bar.png" : e_PLUGIN."poll/images/bar.png");
$barl = (file_exists(THEME."images/barl.png") ? THEME_ABS."images/barl.png" : e_PLUGIN_ABS."poll/images/barl.png");
$barr = (file_exists(THEME."images/barr.png") ? THEME_ABS."images/barr.png" : e_PLUGIN_ABS."poll/images/barr.png");
$bar = (file_exists(THEME."images/bar.png") ? THEME_ABS."images/bar.png" : e_PLUGIN_ABS."poll/images/bar.png");
if($type == "preview")
{

View File

@ -3,8 +3,8 @@
if (!defined('e107_INIT')) { exit; }
$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://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://validator.w3.org/check?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img style='border:0' src='".e_PLUGIN_ABS."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_ABS."siteinfo_menu/images/vcss.png' alt='Valid CSS!' height='31' width='88' /></a>
</div>";
$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');