mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Bugtracker #4639 - reflect current HTML Posting perms on text prefs to make it more obvious what's happening
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Administration - Site Preferences
|
* Administration - Site Preferences
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/prefs.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/prefs.php,v $
|
||||||
* $Revision: 1.22 $
|
* $Revision: 1.23 $
|
||||||
* $Date: 2008-12-20 14:36:09 $
|
* $Date: 2008-12-31 17:08:14 $
|
||||||
* $Author: e107steved $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -70,6 +70,8 @@ if(isset($_POST['updateprefs']))
|
|||||||
// Table of range checking values - min and max for numerics. Only do the important ones
|
// Table of range checking values - min and max for numerics. Only do the important ones
|
||||||
$pref_limits = array('loginname_maxlength' => array('min' => 10, 'max' => 100, 'default' => 30), 'displayname_maxlength' => array('min' => 5, 'max' => 30, 'default' => 15), 'antiflood_timeout' => array('min' => 3, 'max' => 300, 'default' => 10));
|
$pref_limits = array('loginname_maxlength' => array('min' => 10, 'max' => 100, 'default' => 30), 'displayname_maxlength' => array('min' => 5, 'max' => 30, 'default' => 15), 'antiflood_timeout' => array('min' => 3, 'max' => 300, 'default' => 10));
|
||||||
|
|
||||||
|
$pref['post_html'] = intval($_POST['post_html']); // This ensures the setting is reflected in set text
|
||||||
|
|
||||||
$prefChanges = array();
|
$prefChanges = array();
|
||||||
foreach($_POST as $key => $value)
|
foreach($_POST as $key => $value)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user