mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Sitedisclaimer cleanup.
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
//<?php
|
|
||||||
|
|
||||||
$tp = e107::getParser();
|
|
||||||
return $tp->toHtml(SITEDISCLAIMER,TRUE,"constants defs");
|
|
@@ -17,7 +17,11 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
|||||||
|
|
||||||
function sc_sitedisclaimer()
|
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)
|
function sc_sitename($parm)
|
||||||
|
@@ -1320,7 +1320,7 @@ class e_install
|
|||||||
$this->previous_steps['prefs']['siteurl'] = e_HTTP;
|
$this->previous_steps['prefs']['siteurl'] = e_HTTP;
|
||||||
|
|
||||||
$this->previous_steps['prefs']['sitetag'] = LAN_PREF_2;
|
$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_name'] = $this->previous_steps['admin']['display'];
|
||||||
$this->previous_steps['prefs']['replyto_email'] = $this->previous_steps['admin']['email'];
|
$this->previous_steps['prefs']['replyto_email'] = $this->previous_steps['admin']['email'];
|
||||||
|
Reference in New Issue
Block a user