mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Remove a few inline styles
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/comment_shortcodes.php,v $
|
||||
| $Revision: 1.8 $
|
||||
| $Date: 2009-07-07 07:25:27 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.9 $
|
||||
| $Date: 2009-07-25 07:54:34 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@@ -106,12 +106,12 @@ if ($pref['allowCommentEdit'] && USER && $comrow['user_id'] == USERID && $comrow
|
||||
{
|
||||
if (!strstr(e_QUERY, "."))
|
||||
{
|
||||
return "<a href='".e_SELF."?".e_QUERY."&comment=edit&comment_id=".$comrow['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' style='border: 0;' /></a>";
|
||||
return "<a href='".e_SELF."?".e_QUERY."&comment=edit&comment_id=".$comrow['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' class='icon' /></a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
// return "<a href='".e_SELF."?".$comment_edit_query.".edit.".$comrow['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' style='border: 0;' /></a>";
|
||||
return "<a href='".e_BASE."comment.php?".$comment_edit_query.".edit.".$comrow['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' style='border: 0;' /></a>";
|
||||
return "<a href='".e_BASE."comment.php?".$comment_edit_query.".edit.".$comrow['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' class='icon' /></a>";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -19,7 +19,8 @@ $news_archive_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);
|
||||
/*
|
||||
SC_BEGIN ARCHIVE_BULLET
|
||||
global $news2;
|
||||
return "<img src='".THEME."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' style='border:0px' alt='' />";
|
||||
//TODO review bullt
|
||||
return "<img src='".THEME."images/".(defined("BULLET") ? BULLET : "bullet2.gif")."' alt='' />";
|
||||
SC_END
|
||||
|
||||
SC_BEGIN ARCHIVE_LINK
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: news_shortcodes.php,v 1.23 2009-07-21 10:21:20 marj_nl_fr Exp $
|
||||
* $Id: news_shortcodes.php,v 1.24 2009-07-25 07:54:34 marj_nl_fr Exp $
|
||||
*
|
||||
* News shortcode batch
|
||||
*/
|
||||
@@ -221,7 +221,7 @@ class news_shortcodes
|
||||
if (ADMIN && getperms('H'))
|
||||
{
|
||||
$adop_icon = (file_exists(THEME."images/newsedit.png") ? THEME_ABS."images/newsedit.png" : e_IMAGE_ABS."generic/newsedit.png");
|
||||
return " <a href='".e_ADMIN_ABS."newspost.php?create.edit.".$this->news_item['news_id']."'><img src='".$adop_icon."' alt='' style='border:0' /></a>\n";
|
||||
return " <a href='".e_ADMIN_ABS."newspost.php?create.edit.".$this->news_item['news_id']."'><img src='".$adop_icon."' alt='' class='icon' /></a>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -310,6 +310,7 @@ class news_shortcodes
|
||||
}
|
||||
|
||||
if($this->param['caticon'] == ''){$this->param['caticon'] = 'border:0px';}
|
||||
//TODO use CSS class
|
||||
return "<a href='".$this->e107->url->getUrl('core:news', 'main', "action=cat&value={$this->news_item['news_category']}")."'><img style='".$this->param['caticon']."' src='".$category_icon."' alt='' /></a>";
|
||||
}
|
||||
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/signup_shortcodes.php,v $
|
||||
| $Revision: 1.13 $
|
||||
| $Date: 2008-12-21 22:17:05 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.14 $
|
||||
| $Date: 2009-07-25 07:54:34 $
|
||||
| $Author: marj_nl_fr $
|
||||
|
|
||||
| Mods to show extended field categories
|
||||
+----------------------------------------------------------------------------+
|
||||
@@ -259,7 +259,7 @@ if($pref['signup_option_image'])
|
||||
|
||||
for($c = 1; $c <= (count($avatarlist)-1); $c++)
|
||||
{
|
||||
$text .= "<a href='javascript:insertext(\"$avatarlist[$c]\", \"avatar\")'><img src='".e_IMAGE."avatars/".$avatarlist[$c]."' style='border:0' alt='' /></a> ";
|
||||
$text .= "<a href='javascript:insertext(\"$avatarlist[$c]\", \"avatar\")'><img src='".e_IMAGE."avatars/".$avatarlist[$c]."' alt='' /></a> ";
|
||||
}
|
||||
|
||||
$text .= "<br />
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: siteinfo_shortcodes.php,v 1.4 2009-07-21 06:31:23 e107coders Exp $
|
||||
* $Id: siteinfo_shortcodes.php,v 1.5 2009-07-25 07:54:34 marj_nl_fr Exp $
|
||||
*
|
||||
* Siteinfo shortcode batch
|
||||
*/
|
||||
@@ -16,7 +16,8 @@ class siteinfo_shortcodes
|
||||
{
|
||||
$e107 = e107::getInstance();
|
||||
$path = ($_POST['sitebutton'] && $_POST['ajax_used']) ? $e107->tp->replaceConstants($_POST['sitebutton']) : (strstr(SITEBUTTON, 'http:') ? SITEBUTTON : e_IMAGE.SITEBUTTON);
|
||||
return "<a href='".SITEURL."'><img src='".$path."' alt=\"".SITENAME."\" style='border: 0px; width: 88px; height: 31px' /></a>";
|
||||
//TODO use CSS class?
|
||||
return '<a href="'.SITEURL.'"><img src="'.$path.'" alt="'.SITENAME.'" /></a>';
|
||||
}
|
||||
|
||||
function sc_sitedisclaimer()
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* User information - shortcodes
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/user_shortcodes.php,v $
|
||||
* $Revision: 1.16 $
|
||||
* $Date: 2009-07-21 10:16:24 $
|
||||
* $Revision: 1.17 $
|
||||
* $Date: 2009-07-25 07:54:34 $
|
||||
* $Author: marj_nl_fr $
|
||||
*
|
||||
*/
|
||||
@@ -164,9 +164,9 @@ if(defined("USER_REALNAME_ICON"))
|
||||
}
|
||||
if(file_exists(THEME."images/user_realname.png"))
|
||||
{
|
||||
return "<img src='".THEME_ABS."images/user_realname.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
return "<img src='".THEME_ABS."images/user_realname.png' alt='' style='vertical-align:middle;' /> ";
|
||||
}
|
||||
return "<img src='".e_IMAGE_ABS."user_icons/user_realname.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
return "<img src='".e_IMAGE_ABS."user_icons/user_realname.png' alt='' style='vertical-align:middle;' /> ";
|
||||
SC_END
|
||||
|
||||
SC_BEGIN USER_REALNAME
|
||||
@@ -204,9 +204,9 @@ if(defined("USER_ICON"))
|
||||
}
|
||||
if(file_exists(THEME."images/user.png"))
|
||||
{
|
||||
return "<img src='".THEME_ABS."images/user.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
return "<img src='".THEME_ABS."images/user.png' alt='' style='vertical-align:middle;' /> ";
|
||||
}
|
||||
return "<img src='".e_IMAGE_ABS."user_icons/user.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
return "<img src='".e_IMAGE_ABS."user_icons/user.png' alt='' style='vertical-align:middle;' /> ";
|
||||
SC_END
|
||||
|
||||
SC_BEGIN USER_ICON_LINK
|
||||
@@ -217,11 +217,11 @@ if(defined("USER_ICON"))
|
||||
}
|
||||
else if(file_exists(THEME."images/user.png"))
|
||||
{
|
||||
$icon = "<img src='".THEME_ABS."images/user.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
$icon = "<img src='".THEME_ABS."images/user.png' alt='' style='vertical-align:middle;' /> ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$icon = "<img src='".e_IMAGE_ABS."user_icons/user.png' alt='' style='border:0px;vertical-align:middle;' /> ";
|
||||
$icon = "<img src='".e_IMAGE_ABS."user_icons/user.png' alt='' style='vertical-align:middle;' /> ";
|
||||
}
|
||||
return "<a href='".e_SELF."?id.{$user['user_id']}'>{$icon}</a>";
|
||||
SC_END
|
||||
@@ -308,7 +308,7 @@ if($pref['profile_rate'] && USER)
|
||||
$num = $rating[1];
|
||||
for($i=1; $i<= $num; $i++)
|
||||
{
|
||||
$ret .= "<img src='".e_IMAGE_ABS."user_icons/user_star.png' style='border:0' alt='' />";
|
||||
$ret .= "<img src='".e_IMAGE_ABS."user_icons/user_star.png' alt='' />";
|
||||
}
|
||||
}
|
||||
if(!$rater->checkrated('user', $user['user_id']))
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/usersettings_shortcodes.php,v $
|
||||
| $Revision: 1.10 $
|
||||
| $Date: 2008-12-28 22:37:42 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.11 $
|
||||
| $Date: 2009-07-25 07:54:34 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@@ -177,7 +177,7 @@ closedir($handle);
|
||||
|
||||
for($c = 1; $c <= (count($avatarlist)-1); $c++)
|
||||
{
|
||||
$ret .= "<a href='javascript:addtext_us(\"$avatarlist[$c]\")'><img src='".e_IMAGE."avatars/".$avatarlist[$c]."' style='border:0' alt='' /></a> ";
|
||||
$ret .= "<a href='javascript:addtext_us(\"$avatarlist[$c]\")'><img src='".e_IMAGE."avatars/".$avatarlist[$c]."' alt='' /></a> ";
|
||||
}
|
||||
|
||||
$ret .= "
|
||||
|
Reference in New Issue
Block a user