Changeset 882 for trunk/admin/configuration.php
- Timestamp:
- Oct 8, 2005, 1:25:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r869 r882 112 112 if (isset($_POST[$row['param']])) 113 113 { 114 $value = $_POST[$row['param']]; 115 116 if ('gallery_title' == $row['param'] 117 or 'gallery_description' == $row['param']) 118 { 119 if (!$conf['allow_html_descriptions']) 120 { 121 $value = strip_tags($value); 122 } 123 } 124 114 125 $query = ' 115 126 UPDATE '.CONFIG_TABLE.' 116 SET value = \''. str_replace("\'", "''", $ _POST[$row['param']]).'\'127 SET value = \''. str_replace("\'", "''", $value).'\' 117 128 WHERE param = \''.$row['param'].'\' 118 129 ;'; … … 158 169 'GALLERY_LOCKED_YES'=>$lock_yes, 159 170 'GALLERY_LOCKED_NO'=>$lock_no, 171 'CONF_GALLERY_TITLE' => $conf['gallery_title'], 172 'CONF_GALLERY_DESCRIPTION' => $conf['gallery_description'], 160 173 )); 161 174 break;
Note: See TracChangeset
for help on using the changeset viewer.