mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Issue #2970 Bootstrap 3 pull-left/right combined with Bootstrap 4 float-left/right. News Email/Print icon default styles added.
This commit is contained in:
@@ -62,7 +62,7 @@ class emailprint
|
||||
{
|
||||
$genericMail = $tp->toGlyph('fa-envelope',false); // "<i class='icon-envelope'></i>";
|
||||
$genericPrint = $tp->toGlyph('fa-print',false); // "<i class='icon-print'></i>";
|
||||
$class = varset($parm['class']) ? $parm['class'] : "";
|
||||
$class = !empty($parm['class']) ? $parm['class'] : "btn btn-default btn-secondary";
|
||||
}
|
||||
else // BC
|
||||
{
|
||||
@@ -76,7 +76,7 @@ class emailprint
|
||||
{
|
||||
$ico_mail = (defined("ICONMAIL") && file_exists(THEME."images/".ICONMAIL) ? "<img src='".THEME_ABS."images/".ICONMAIL."' alt='".LAN_EMAIL_7."' />" : $genericMail);
|
||||
//TDOD CSS class
|
||||
$text_emailprint .= "<a class='e-tip hidden-print".$class."' href='".e_HTTP."email.php?".$email.".".$id."' title='".LAN_EMAIL_7."'>".$ico_mail."</a> ";
|
||||
$text_emailprint .= "<a class='e-tip hidden-print ".$class."' href='".e_HTTP."email.php?".$email.".".$id."' title='".LAN_EMAIL_7."'>".$ico_mail."</a> ";
|
||||
}
|
||||
if ($look == 0 || $look == 2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user