modified file smtp-mailer
This commit is contained in:
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,34 @@
|
||||
.smtp_mailer_addons_item_canvas{
|
||||
background-color:#fff;
|
||||
font-family:sans-serif,arial;
|
||||
font-size:12px;
|
||||
border:1px solid #ccc;
|
||||
display:block;
|
||||
float:left;
|
||||
margin:3px 12px 12px 0;
|
||||
padding:10px 0px 10px 10px;
|
||||
position:relative;
|
||||
width:222px;
|
||||
height:340px;
|
||||
}
|
||||
.smtp_mailer_addons_item_canvas:hover{border-color:#999;}
|
||||
.smtp_mailer_addons_item_thumb img {height: 150px; width: 200px; padding: 5px; border: 1px solid #ccc;}
|
||||
.smtp_mailer_addons_item_thumb a img {border: 1px solid #ccc;}
|
||||
.smtp_mailer_addons_item_body{line-height:22px;height:170px;overflow:hidden;}
|
||||
.smtp_mailer_addons_item_name{font-size:16px;font-weight:bold;text-align: center;margin:10px 10px 10px 0px;}
|
||||
.smtp_mailer_addons_item_description{margin:10px 10px 5px 0px;/*text-align:justify;*/overflow:hidden;height:70px;}
|
||||
.smtp_mailer_addons_clear{clear:both;}
|
||||
.smtp_mailer_addons_item_details_link{
|
||||
text-align: center;
|
||||
}
|
||||
.smtp_mailer_addons_item_details_link a{
|
||||
border: 3px solid #2d3140;
|
||||
color: #2d3140;
|
||||
display: inline-block;
|
||||
padding: 5px 15px;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.smtp_mailer_addons_item_details_link a:hover{
|
||||
background-color: #2d3140;
|
||||
color: #FFF;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
function smtp_mailer_display_addons()
|
||||
{
|
||||
/*
|
||||
echo '<div class="wrap">';
|
||||
echo '<h2>' .__('SMTP Mailer Add-ons', 'smtp-mailer') . '</h2>';
|
||||
*/
|
||||
$addons_data = array();
|
||||
|
||||
$addon_1 = array(
|
||||
'name' => 'Reply-To',
|
||||
'thumbnail' => SMTP_MAILER_URL.'/addons/images/smtp-mailer-reply-to.png',
|
||||
'description' => 'Set a Reply-To address for all outgoing email messages',
|
||||
'page_url' => 'https://wphowto.net/how-to-add-a-reply-to-address-in-the-smtp-mailer-wordpress-plugin-6997',
|
||||
);
|
||||
array_push($addons_data, $addon_1);
|
||||
|
||||
//Display the list
|
||||
foreach ($addons_data as $addon) {
|
||||
?>
|
||||
<div class="smtp_mailer_addons_item_canvas">
|
||||
<div class="smtp_mailer_addons_item_thumb">
|
||||
<img src="<?php echo esc_url($addon['thumbnail']);?>" alt="<?php echo esc_attr($addon['name']);?>">
|
||||
</div>
|
||||
<div class="smtp_mailer_addons_item_body">
|
||||
<div class="smtp_mailer_addons_item_name">
|
||||
<a href="<?php echo esc_url($addon['page_url']);?>" target="_blank"><?php echo esc_html($addon['name']);?></a>
|
||||
</div>
|
||||
<div class="smtp_mailer_addons_item_description">
|
||||
<?php echo esc_html($addon['description']);?>
|
||||
</div>
|
||||
<div class="smtp_mailer_addons_item_details_link">
|
||||
<a href="<?php echo esc_url($addon['page_url']);?>" class="smtp_mailer_addons_view_details" target="_blank">View Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
echo '</div>';//end of wrap
|
||||
}
|
Reference in New Issue
Block a user