mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Issue #895 - Sitedisclaimer value was being corrupted when re-loaded into form.
This commit is contained in:
@@ -386,14 +386,14 @@ $text .= "
|
||||
<tr>
|
||||
<td><label for='sitetag'>".PRFLAN_5."</label></td>
|
||||
<td>
|
||||
".$frm->textarea('sitetag', $pref['sitetag'], 3, 59)."
|
||||
".$frm->textarea('sitetag', $tp->toForm($pref['sitetag']), 3, 59)."
|
||||
<div class='field-help'>Used by some themes. Place 'SITETAG' in your theme to use this value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for='sitedescription'>".PRFLAN_6."</label></td>
|
||||
<td>
|
||||
".$frm->textarea('sitedescription', $pref['sitedescription'], 3, 80)."
|
||||
".$frm->textarea('sitedescription', $tp->toForm($pref['sitedescription']), 3, 80)."
|
||||
<div class='field-help'>Used by some themes. Place 'SITEDESCRIPTION' in your theme to use this value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -401,7 +401,7 @@ $text .= "
|
||||
<tr>
|
||||
<td><label for='sitedisclaimer'>".PRFLAN_9."</label></td>
|
||||
<td>
|
||||
".$frm->textarea('sitedisclaimer', str_replace(array('<', '>', '"'), array('<', '>', '"'), $pref['sitedisclaimer']), 3, 80)."
|
||||
".$frm->textarea('sitedisclaimer',$tp->toForm( $pref['sitedisclaimer']), 3, 80)."
|
||||
<div class='field-help'>Used by some themes. Place 'SITEDISCLAIMER' in your theme to use this value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user