1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 21:32:09 +02:00

Remove a few inline styles

This commit is contained in:
marj
2009-07-25 07:54:36 +00:00
parent 6c58ff2f2a
commit 0361f769d6
35 changed files with 176 additions and 164 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/admin_config.php,v $
| $Revision: 1.11 $
| $Date: 2008-12-07 21:41:04 $
| $Author: e107steved $
| $Revision: 1.12 $
| $Date: 2009-07-25 07:54:34 $
| $Author: marj_nl_fr $
|
+----------------------------------------------------------------------------+
*/
@@ -480,7 +480,7 @@ if(isset($ec_qs[0]) && $ec_qs[0] == "cat")
$imagelist = $fi->get_files(e_PLUGIN."calendar_menu/images", "\.\w{3}$");
foreach($imagelist as $img){
if ($img['fname']){
$calendarmenu_text .= "<a href='javascript:insertext(\"{$img['fname']}\", \"caticon\", \"cat_icons\")'><img src='".e_PLUGIN."calendar_menu/images/".$img['fname']."' style='border:0px' alt='' /></a> ";
$calendarmenu_text .= "<a href='javascript:insertext(\"{$img['fname']}\", \"caticon\", \"cat_icons\")'><img src='".e_PLUGIN."calendar_menu/images/".$img['fname']."' alt='' /></a> ";
}
}
$calendarmenu_text .= "

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_menu.php,v $
| $Revision: 1.4 $
| $Date: 2009-02-01 20:54:08 $
| $Author: e107steved $
| $Revision: 1.5 $
| $Date: 2009-07-25 07:54:34 $
| $Author: marj_nl_fr $
|
+----------------------------------------------------------------------------+
*/
@@ -168,7 +168,7 @@ for($cal_c = 1; $cal_c <= $numberdays; $cal_c++)
$title = " title='{$cal_event_count} " . EC_LAN_106 . "' ";
}
}
if (is_file(e_PLUGIN.$cal_event_icon)) $cal_img = "<img style='border:0' src='".e_PLUGIN_ABS.$cal_event_icon."' alt='' />";
if (is_file(e_PLUGIN.$cal_event_icon)) $cal_img = "<img src='".e_PLUGIN_ABS.$cal_event_icon."' alt='' />";
//height='10' width='10'
if (isset($cal_recent[$cal_c]) && $cal_recent[$cal_c])
{

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/calendar_shortcodes.php,v $
| $Revision: 1.9 $
| $Date: 2008-07-28 20:16:10 $
| $Author: e107steved $
| $Revision: 1.10 $
| $Date: 2009-07-25 07:54:34 $
| $Author: marj_nl_fr $
|
+----------------------------------------------------------------------------+
*/
@@ -147,6 +147,7 @@ SC_BEGIN EC_SHOWEVENT_IMAGE
}
else
{
//TODO review bullet
$img = "<img src='".THEME."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' style='border:0; vertical-align:middle;' />";
}
return $img;
@@ -215,7 +216,7 @@ SC_BEGIN EC_CALENDAR_CALENDAR_RECENT_ICON
$recent_icon = EC_RECENT_ICON;
if (file_exists($recent_icon))
{
return "<img style='border:0' src='".$recent_icon."' alt='' /> ";
return "<img src='".$recent_icon."' alt='' /> ";
}
return "R";
SC_END
@@ -299,7 +300,7 @@ SC_BEGIN EC_EVENT_RECENT_ICON
$recent_icon = EC_RECENT_ICON;
if (file_exists($recent_icon))
{
return "<img style='border:0' src='".$recent_icon."' alt='' /> ";
return "<img src='".$recent_icon."' alt='' /> ";
}
return "";
SC_END
@@ -348,7 +349,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_ABS."calendar_menu/images/".$thisevent['event_cat_icon']."' alt='' /> ";
return "<img src='".e_PLUGIN_ABS."calendar_menu/images/".$thisevent['event_cat_icon']."' alt='' /> ";
}
else
{
@@ -441,7 +442,7 @@ SC_BEGIN EC_EVENT_OPTIONS
global $EC_EVENT_OPTIONS, $thisevent, $event_author_name, $cal_super, $pref, $ec_images_path;
if (USERNAME == $event_author_name || $cal_super || check_class($pref['eventpost_admin']))
{
$EC_EVENT_OPTIONS = "<a href='event.php?ed.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."admin_images/edit_16.png' title='".EC_LAN_35."' alt='".EC_LAN_35 . "'/></a>&nbsp;&nbsp;<a href='".e_PLUGIN."calendar_menu/event.php?de.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."admin_images/delete_16.png' title='".EC_LAN_36."' alt='".EC_LAN_36."'/></a>";
$EC_EVENT_OPTIONS = "<a href='event.php?ed.".$thisevent['event_id']."'><img class='icon S16' src='".e_IMAGE."admin_images/edit_16.png' title='".EC_LAN_35."' alt='".EC_LAN_35 . "'/></a>&nbsp;&nbsp;<a href='".e_PLUGIN."calendar_menu/event.php?de.".$thisevent['event_id']."'><img style='border:0;' src='".e_IMAGE."admin_images/delete_16.png' title='".EC_LAN_36."' alt='".EC_LAN_36."'/></a>";
}
return $EC_EVENT_OPTIONS;
SC_END
@@ -512,7 +513,7 @@ SC_BEGIN EC_NEXT_EVENT_RECENT_ICON
$recent_icon = EC_RECENT_ICON;
if (file_exists($recent_icon))
{
return "<img style='border:0' src='".$recent_icon."' alt='' /> ";
return "<img src='".$recent_icon."' alt='' /> ";
}
return "";
SC_END

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/comment_menu/comment_menu_shortcodes.php,v $
| $Revision: 1.2 $
| $Date: 2007-02-08 22:35:26 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -22,6 +22,7 @@ $comment_menu_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
/*
SC_BEGIN CM_ICON
//TODO review bullet
return (defined("BULLET") ? "<img src='".THEME_ABS."images/".BULLET."' alt='' style='border:0; vertical-align: middle;' />" : "<img src='".THEME_ABS."images/bullet2.gif' alt='bullet' style='border:0; vertical-align: middle;' />");
SC_END

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/download_shortcodes.php,v $
| $Revision: 1.6 $
| $Date: 2009-07-21 07:10:24 $
| $Author: e107coders $
| $Revision: 1.7 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -363,12 +363,12 @@ class download_shortcodes
}
else
{
return $dnld_link."<img src='".IMAGE_DOWNLOAD."' alt='*'/></a>";
return $dnld_link."<img src='".IMAGE_DOWNLOAD."' alt='*' /></a>";
}
}
else
{
return $dnld_link." xxx<img src='".IMAGE_DOWNLOAD."' alt='*' style='border:0' /></a>";
return $dnld_link." xxx<img src='".IMAGE_DOWNLOAD."' alt='*' /></a>";
}
}
function sc_download_view_filesize()

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_admin.php,v $
| $Revision: 1.8 $
| $Date: 2008-12-18 18:32:54 $
| $Author: mcfly_e107 $
| $Revision: 1.9 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
$eplug_admin = true;
@@ -37,9 +37,9 @@ require_once(e_PLUGIN.'forum/forum_admin_class.php');
$rs = new form;
$for = new e107forum;
$forum = new forumAdmin;
define('IMAGE_new', "<img src='".img_path('new.png')."' alt='' style='border:0' />");
define('IMAGE_sub', "<img src='".e_PLUGIN."forum/images/forums_16.png' alt='".FORLAN_145."' title='".FORLAN_145."' style='border:0' />");
define('IMAGE_nosub', "<img src='".e_PLUGIN."forum/images/sub_forums_16.png' alt='".FORLAN_145."' title='".FORLAN_145."' style='border:0' />");
define('IMAGE_new', "<img src='".img_path('new.png')."' alt='' />");
define('IMAGE_sub', "<img src='".e_PLUGIN."forum/images/forums_16.png' alt='".FORLAN_145."' title='".FORLAN_145."' />");
define('IMAGE_nosub', "<img src='".e_PLUGIN."forum/images/sub_forums_16.png' alt='".FORLAN_145."' title='".FORLAN_145."' />");
$deltest = array_flip($_POST);
if (e_QUERY)

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/link_class.php,v $
| $Revision: 1.12 $
| $Date: 2009-01-30 22:03:13 $
| $Author: lisa_ $
| $Revision: 1.13 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@@ -778,7 +778,7 @@ class linkclass
$blank_display = 'display: none';
$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 .= "</td><td><img id='iconview' src='".$img."' style='width:".$link_resize_value."px; ".$blank_display."' /><br /><br /></td></tr></table>";
$text .= "</div>
</td>
</tr>";
@@ -887,17 +887,17 @@ class linkclass
{
if (strpos($row['link_button'], "http://") !== FALSE)
{
$img = "<img style='border:0;' src='".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
$img = "<img src='".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
}
else
{
if(strstr($row['link_button'], "/"))
{
$img = "<img style='border:0;' src='".e_BASE.$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
$img = "<img src='".e_BASE.$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
}
else
{
$img = "<img style='border:0' src='".e_PLUGIN_ABS."links_page/link_images/".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
$img = "<img src='".e_PLUGIN_ABS."links_page/link_images/".$row['link_button']."' alt='".$LINK_CAT_NAME."' />";
}
}
}
@@ -1011,7 +1011,7 @@ class linkclass
".$rs -> form_button("button", '', LCLAN_CAT_23, "onclick=\"expandit('catico')\"")."
<div id='catico' style='{head}; display:none'>";
foreach($iconlist as $icon){
$text .= "<a href=\"javascript:insertext('".$icon['fname']."','link_category_icon','catico')\"><img src='".$icon['path'].$icon['fname']."' style='border:0' alt='' /></a> ";
$text .= "<a href=\"javascript:insertext('".$icon['fname']."','link_category_icon','catico')\"><img src='".$icon['path'].$icon['fname']."' alt='' /></a> ";
}
$text .= "</div>
</td>

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/link_defines.php,v $
| $Revision: 1.4 $
| $Date: 2009-07-07 07:39:35 $
| $Author: e107coders $
| $Revision: 1.5 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@@ -21,13 +21,13 @@ if (!defined('e107_INIT')) { exit; }
$imagedir = e_IMAGE."admin_images/";
if (!defined("IMAGE_NEW")){ define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e_IMAGE."generic/new.png")); }
if (!defined('LINK_ICON_EDIT')) { define("LINK_ICON_EDIT", "<img src='".$imagedir."edit_16.png' alt='' style='border:0; cursor:pointer;' />"); }
if (!defined('LINK_ICON_DELETE')) { define("LINK_ICON_DELETE", "<img src='".$imagedir."delete_16.png' alt='' style='border:0; cursor:pointer;' />"); }
if (!defined('LINK_ICON_EDIT')) { define("LINK_ICON_EDIT", "<img src='".$imagedir."edit_16.png' alt='' class='icon S16' />"); }
if (!defined('LINK_ICON_DELETE')) { define("LINK_ICON_DELETE", "<img src='".$imagedir."delete_16.png' alt='' class='icon S16' />"); }
if (!defined('LINK_ICON_DELETE_BASE')) { define("LINK_ICON_DELETE_BASE", $imagedir."delete_16.png"); }
if (!defined('LINK_ICON_LINK')) { define("LINK_ICON_LINK", "<img src='".$imagedir."leave_16.png' alt='' style='border:0; cursor:pointer;' />"); }
if (!defined('LINK_ICON_LINK')) { define("LINK_ICON_LINK", "<img src='".$imagedir."leave_16.png' alt='' class='icon S16' />"); }
if (!defined('LINK_ICON_ORDER_UP_BASE')) { define("LINK_ICON_ORDER_UP_BASE", $imagedir."up.png"); }
if (!defined('LINK_ICON_ORDER_DOWN_BASE')) { define("LINK_ICON_ORDER_DOWN_BASE", $imagedir."down.png"); }
if (!defined('LINK_ICON_ORDER_UP')) { define("LINK_ICON_ORDER_UP", "<img src='".$imagedir."up.png' alt='' style='border:0; cursor:pointer;' />"); }
if (!defined('LINK_ICON_ORDER_DOWN')) { define("LINK_ICON_ORDER_DOWN", "<img src='".$imagedir."down.png' alt='' style='border:0; cursor:pointer;' />"); }
if (!defined('LINK_ICON_ORDER_UP')) { define("LINK_ICON_ORDER_UP", "<img src='".$imagedir."up.png' alt='' class='icon S16' />"); }
if (!defined('LINK_ICON_ORDER_DOWN')) { define("LINK_ICON_ORDER_DOWN", "<img src='".$imagedir."down.png' alt='' class='icon S16' />"); }
?>

View File

@@ -15,7 +15,8 @@ global $tp;
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
$bullet = "<img src='".THEME_ABS."images/bullet2.gif' alt='' style='border:0;' />";
//TODO review bullet
$bullet = "<img src='".THEME_ABS."images/bullet2.gif' alt='' />";
global $linkspage_pref;
$linkspage_pref = $lc -> getLinksPagePref();

View File

@@ -162,21 +162,24 @@ if(isset($linkspage_pref['link_cat_icon']) && $linkspage_pref['link_cat_icon']){
$LINK_MAIN_ICON = "<img src='".e_BASE.$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']){
//TODO review bullet
$LINK_MAIN_ICON = "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' style='border:0; vertical-align:middle;' />";
}
}
}else{
if(file_exists(e_PLUGIN."links_page/cat_images/".$rowl['link_category_icon'])){
$LINK_MAIN_ICON = "<img src='".e_PLUGIN_ABS."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='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;' />";
//TODO review bullet
$LINK_MAIN_ICON = "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' style='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;' />";
//TODO review bullet
$LINK_MAIN_ICON = "<img src='".THEME_ABS."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' style='vertical-align:middle;' />";
}
}
if($rowl['total_links'] && $LINK_MAIN_ICON){
@@ -371,24 +374,24 @@ global $LINK_RATED_BUTTON, $linkspage_pref, $rowl, $LINK_RATED_NAME, $LINK_RATED
if(isset($linkspage_pref['link_icon']) && $linkspage_pref['link_icon']){
if ($rowl['link_button']) {
if (strpos($rowl['link_button'], "http://") !== FALSE) {
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='border:0;' src='".$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img src='".$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
} else {
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>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img 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_ABS."links_page/link_images/".$rowl['link_button']."' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img 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_ABS."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='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_ABS."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
$LINK_RATED_BUTTON = $LINK_RATED_APPEND."\n<img style='width: 88px; height: 31px;' src='".e_PLUGIN_ABS."links_page/images/generic.png' alt='".$LINK_RATED_NAME."' /></a>";
}else{
$LINK_RATED_BUTTON = "";
}

View File

@@ -9,9 +9,9 @@
* List Admin Class
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_admin_class.php,v $
* $Revision: 1.4 $
* $Date: 2009-01-28 08:49:33 $
* $Author: lisa_ $
* $Revision: 1.5 $
* $Date: 2009-07-25 07:54:35 $
* $Author: marj_nl_fr $
*
*/
if (!defined('e107_INIT')) { exit; }
@@ -180,7 +180,7 @@ class list_admin
<div id='div_".$this->parent->sections[$i]."_".$type."_icon' style='display:none;'>";
foreach($iconlist as $icon)
{
$this->row['FIELD_ITEM'] .= "<a href=\"javascript:insertext('".$icon['fname']."','".$this->parent->sections[$i]."_".$type."_icon','div_".$this->parent->sections[$i]."_".$type."_icon')\"><img src='".$icon['path'].$icon['fname']."' style='border:0' alt='' /></a> ";
$this->row['FIELD_ITEM'] .= "<a href=\"javascript:insertext('".$icon['fname']."','".$this->parent->sections[$i]."_".$type."_icon','div_".$this->parent->sections[$i]."_".$type."_icon')\"><img src='".$icon['path'].$icon['fname']."' alt='' /></a> ";
}
$this->row['FIELD_ITEM'] .= "</div>";
$this->row['FIELD'] .= $this->parseTemplate('FIELD_TABLE');

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/log/stats.php,v $
| $Revision: 1.10 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
| $Revision: 1.11 $
| $Date: 2009-07-25 07:54:35 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
@@ -803,7 +803,7 @@ class siteStats
$percentage = round(($info['ttlv']/$total) * 100, 2);
$text .= "<tr>
<td class='forumheader3' >
".($can_delete ? "<a href='".e_SELF."?{$action}.rem.".rawurlencode($key)."'><img src='".e_PLUGIN."log/images/remove.png' alt='".ADSTAT_L39."' title='".ADSTAT_L39."' style='vertical-align: middle; border: 0;' /></a> " : "")."
".($can_delete ? "<a href='".e_SELF."?{$action}.rem.".rawurlencode($key)."'><img src='".e_PLUGIN."log/images/remove.png' alt='".ADSTAT_L39."' title='".ADSTAT_L39."' style='vertical-align: middle;' /></a> " : "")."
<img src='".e_PLUGIN."log/images/html.png' alt='' style='vertical-align: middle;' /> <a href='".$info['url']."'>".$key."</a>
";
$text .= "</td>

View File

@@ -9,9 +9,9 @@
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed_functions.php,v $
* $Revision: 1.5 $
* $Date: 2008-12-20 10:39:29 $
* $Author: e107steved $
* $Revision: 1.6 $
* $Date: 2009-07-25 07:54:35 $
* $Author: marj_nl_fr $
*
*/
@@ -169,7 +169,7 @@ class newsfeedClass
}
if ($newsfeed_image == 'default')
{
$temp['newsfeed_image_link'] = "<a href='".$rss->image['link']."' rel='external'><img src='".$rss->image['url']."' alt='".$rss->image['title']."' style='border: 0; vertical-align: middle;' /></a>";
$temp['newsfeed_image_link'] = "<a href='".$rss->image['link']."' rel='external'><img src='".$rss->image['url']."' alt='".$rss->image['title']."' style='vertical-align: middle;' /></a>";
}
else
{

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_shortcodes.php,v $
| $Revision: 1.10 $
| $Date: 2009-07-21 14:44:13 $
| $Author: e107coders $
| $Revision: 1.11 $
| $Date: 2009-07-25 07:54:36 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -307,11 +307,11 @@ SC_BEGIN PM_BLOCK_USER
global $pm_info, $pm_blocks;
if(in_array($pm_info['pm_from'], $pm_blocks))
{
return "<a href='".e_PLUGIN_ABS."pm/pm.php?unblock.{$pm_info['pm_from']}'><img src='".e_PLUGIN_ABS."pm/images/mail_unblock.png' title='".LAN_PM_51."' alt='".LAN_PM_51."' style='width: 16px; height: 16px; border: 0px' /></a>";
return "<a href='".e_PLUGIN_ABS."pm/pm.php?unblock.{$pm_info['pm_from']}'><img src='".e_PLUGIN_ABS."pm/images/mail_unblock.png' title='".LAN_PM_51."' alt='".LAN_PM_51."' class='icon S16' /></a>";
}
else
{
return "<a href='".e_PLUGIN_ABS."pm/pm.php?block.{$pm_info['pm_from']}'><img src='".e_PLUGIN_ABS."pm/images/mail_block.png' title='".LAN_PM_50."' alt='".LAN_PM_50."' style='width: 16px; height: 16px; border: 0px' /></a>";
return "<a href='".e_PLUGIN_ABS."pm/pm.php?block.{$pm_info['pm_from']}'><img src='".e_PLUGIN_ABS."pm/images/mail_block.png' title='".LAN_PM_50."' alt='".LAN_PM_50."' class='icon S16' /></a>";
}
SC_END
@@ -325,7 +325,7 @@ else
{
$extra = '.'.($pm_info['pm_from'] == USERID ? 'outbox' : 'inbox');
}
return "<a href='".e_PLUGIN_ABS."pm/pm.php?del.{$pm_info['pm_id']}{$extra}'><img src='".e_PLUGIN_ABS."pm/images/mail_delete.png' title='".LAN_PM_52."' alt='".LAN_PM_52."' style='width: 16px; height: 16px; border: 0px' /></a>";
return "<a href='".e_PLUGIN_ABS."pm/pm.php?del.{$pm_info['pm_id']}{$extra}'><img src='".e_PLUGIN_ABS."pm/images/mail_delete.png' title='".LAN_PM_52."' alt='".LAN_PM_52."' class='icon S16' /></a>";
SC_END
SC_BEGIN DELETE_SELECTED

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.2 $
| $Date: 2008-07-28 20:16:14 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2009-07-25 07:54:36 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
global $sc_style;
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."' />");
define("PM_READ_ICON", "<img src='".e_PLUGIN_ABS."/pm/images/read.png' class='icon S16' alt='".LAN_PM_111."' />");
define("PM_UNREAD_ICON", "<img src='".e_PLUGIN_ABS."/pm/images/unread.png' class='icon S16' alt='".LAN_PM_27."' />");
$sc_style['PM_ATTACHMENT_ICON']['pre'] = " ";

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/pm/private_msg_menu.php,v $
| $Revision: 1.6 $
| $Date: 2008-11-25 17:38:56 $
| $Author: mcfly_e107 $
| $Revision: 1.7 $
| $Date: 2009-07-25 07:54:36 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -25,10 +25,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_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_INBOX_ICON", "<img src='".e_PLUGIN_ABS."pm/images/mail_get.png' class='icon S16' alt='".LAN_PM_25."' title='".LAN_PM_25."' />");
define("PM_OUTBOX_ICON", "<img src='".e_PLUGIN_ABS."pm/images/mail_send.png' class='icon S16' alt='".LAN_PM_26."' title='".LAN_PM_26."' />");
define("PM_SEND_LINK", LAN_PM_35);
define("NEWPM_ANIMATION", "<img src='".e_PLUGIN_ABS."pm/images/newpm.gif' alt='' style='border:0' />");
define("NEWPM_ANIMATION", "<img src='".e_PLUGIN_ABS."pm/images/newpm.gif' alt='' />");
$sc_style['SEND_PM_LINK']['pre'] = "<br /><br />[ ";

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss_menu.php,v $
| $Revision: 1.2 $
| $Date: 2008-12-13 12:34:53 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2009-07-25 07:54:36 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -74,13 +74,11 @@ if(e_PAGE == "news.php" && $pref['rss_newscats'])
$text = "
<div style='text-align:center' class='smalltext'>
".$des.RSS_MENU_L1."<br />
<div class='spacer'><a href='".$path."rss.php?$type.1".($topic ? ".".$topic : "")."'><img src='".$path."images/rss1.png' alt='rss1.0' style='border:0' /></a></div>
<div class='spacer'><a href='".$path."rss.php?$type.2".($topic ? ".".$topic : "")."'><img src='".$path."images/rss2.png' alt='rss2.0' style='border:0' /></a></div>
<div class='spacer'><a href='".$path."rss.php?$type.3".($topic ? ".".$topic : "")."'><img src='".$path."images/rss3.png' alt='rdf' style='border:0' /></a><br /></div>
<div class='spacer'><a href='".$path."rss.php?$type.1".($topic ? ".".$topic : "")."'><img src='".$path."images/rss1.png' alt='rss1.0' /></a></div>
<div class='spacer'><a href='".$path."rss.php?$type.2".($topic ? ".".$topic : "")."'><img src='".$path."images/rss2.png' alt='rss2.0' /></a></div>
<div class='spacer'><a href='".$path."rss.php?$type.3".($topic ? ".".$topic : "")."'><img src='".$path."images/rss3.png' alt='rdf' /></a><br /></div>
</div>";
$caption = (file_exists(THEME."images/RSS_menu.png") ? "<img src='".THEME_ABS."images/RSS_menu.png' alt='' style='vertical-align:middle' /> ".RSS_MENU_L2 : RSS_MENU_L2);
$ns->tablerender($caption, $text, 'backend');
?>

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_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>
<a href='http://validator.w3.org/check?uri=".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'><img 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 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');

View File

@@ -32,7 +32,7 @@ function headerjs(){
}
function insertEmotion(file_name, title) {
var html = '<img src=\'".e_IMAGE_ABS."emotes/".$pref['emotepack']."/' + file_name + '\' style=\'border:0px\' alt=\'' + file_name + '\' />';
var html = '<img src=\'".e_IMAGE_ABS."emotes/".$pref['emotepack']."/' + file_name + '\' alt=\'' + file_name + '\' />';
tinyMCE.execCommand('mceInsertContent', false, html);
tinyMCEPopup.close();
}