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

Upgraded linkwords admin area to v2.x specifications.

This commit is contained in:
Cameron
2015-04-04 18:58:43 -07:00
parent f5ea27d637
commit cbdd93d95b
3 changed files with 242 additions and 23 deletions

View File

@@ -16,8 +16,8 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
$path = e107::getParser()->replaceConstants($_POST['sitebutton']);
}
else
{
$path = (strstr(SITEBUTTON, 'http:') ? SITEBUTTON : e_IMAGE.SITEBUTTON);
{
$path = (strstr(SITEBUTTON, 'http:') ? SITEBUTTON : e_IMAGE.SITEBUTTON);
}
if($parm == 'email')
@@ -37,7 +37,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
$text = deftrue('SITEDISCLAIMER',$default);
return e107::getParser()->toHtml($text, true, 'constants defs');
return e107::getParser()->toHtml($text, true, 'SUMMARY');
}
function sc_siteurl($parm='')
@@ -141,7 +141,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
$dimensions = getimagesize($path);
}
$image = "<img class='logo img-responsive' src='".$logo."' style='width: ".$dimensions[0]."px; height: ".$dimensions[1]."px' alt='".SITENAME."' />\n";
$image = "<img class='logo img-responsive' src='".$logo."' style='width: ".$dimensions[0]."px; height: ".$dimensions[1]."px' alt='".SITENAME."' />\n";