Changeset 779
- Timestamp:
- Apr 30, 2005, 10:37:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_4/admin/configuration.php
r700 r779 95 95 array_push($errors, $lang['periods_error']); 96 96 } 97 // maxwidth 98 if (isset($_POST['default_maxwidth']) 99 and !empty($_POST['default_maxwidth']) 100 and (!preg_match($int_pattern, $_POST['default_maxwidth']) 101 or $_POST['default_maxwidth'] < 50)) 102 { 103 array_push($errors, $lang['maxwidth_error']); 104 } 105 // maxheight 106 if (isset($_POST['default_maxheight']) 107 and !empty($_POST['default_maxheight']) 108 and (!preg_match($int_pattern, $_POST['default_maxheight']) 109 or $_POST['default_maxheight'] < 50)) 110 { 111 array_push($errors, $lang['maxheight_error']); 112 } 97 113 break; 98 114 } … … 256 272 'CONF_RECENT'=>$conf['recent_period'], 257 273 'NB_COMMENTS_PAGE'=>$conf['nb_comment_page'], 274 'MAXWIDTH'=>$conf['default_maxwidth'], 275 'MAXHEIGHT'=>$conf['default_maxheight'], 258 276 'EXPAND_YES'=>$expand_yes, 259 277 'EXPAND_NO'=>$expand_no,
Note: See TracChangeset
for help on using the changeset viewer.