1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

Auto-resize oversized sitebutton in signup email.

This commit is contained in:
Cameron
2015-05-12 20:26:07 -07:00
parent b1ba628bfa
commit 5b8c108c8c
2 changed files with 3 additions and 2 deletions

View File

@@ -24,10 +24,10 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
{
$path = e107::getConfig()->get('sitebutton');
}
//TODO use CSS class?
if(!empty($path))
{
return '<a href="'.SITEURL.'"><img src="'.$path.'" alt="'.SITENAME.'" /></a>';
return '<a href="'.SITEURL.'" class="sitebutton"><img src="'.$path.'" alt="'.SITENAME.'" /></a>';
}
}