1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +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