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:
@@ -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";
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user