1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Sitedisclaimer cleanup.

This commit is contained in:
Cameron
2013-06-20 01:24:03 -07:00
parent 407b6a754d
commit fe53927e5d
3 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +0,0 @@
//<?php
$tp = e107::getParser();
return $tp->toHtml(SITEDISCLAIMER,TRUE,"constants defs");

View File

@@ -17,7 +17,11 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
function sc_sitedisclaimer()
{
return e107::getParser()->toHtml(SITEDISCLAIMER, true, 'constants defs');
$default = "Proudly powered by <a href='http://e107.org'>e107</a> which is released under the terms of the GNU GPL License.";
$text = deftrue('SITEDISCLAIMER',$default);
return e107::getParser()->toHtml($text, true, 'constants defs');
}
function sc_sitename($parm)

View File

@@ -1320,7 +1320,7 @@ class e_install
$this->previous_steps['prefs']['siteurl'] = e_HTTP;
$this->previous_steps['prefs']['sitetag'] = LAN_PREF_2;
$this->previous_steps['prefs']['sitedisclaimer'] = LAN_PREF_3;
$this->previous_steps['prefs']['sitedisclaimer'] = '';
$this->previous_steps['prefs']['replyto_name'] = $this->previous_steps['admin']['display'];
$this->previous_steps['prefs']['replyto_email'] = $this->previous_steps['admin']['email'];