Changeset 5123 for trunk/profile.php
- Timestamp:
- Mar 13, 2010, 1:00:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r5021 r5123 203 203 $fields = array( 204 204 'nb_image_line', 'nb_line_page', 'language', 'maxwidth', 'maxheight', 205 'expand', 'show_nb_comments', 'show_nb_hits', 'recent_period', 't emplate'205 'expand', 'show_nb_comments', 'show_nb_hits', 'recent_period', 'theme' 206 206 ); 207 207 … … 258 258 )); 259 259 260 foreach (get_pwg_themes() as $pwg_template) 261 { 262 if (isset($_POST['submit']) 263 or $userdata['template'].'/'.$userdata['theme'] == $pwg_template) 264 { 265 $template->assign('template_selection', $pwg_template); 266 } 267 $template_options[$pwg_template] = $pwg_template; 260 foreach (get_pwg_themes() as $pwg_theme) 261 { 262 if (isset($_POST['submit']) or $userdata['theme'] == $pwg_theme) 263 { 264 $template->assign('template_selection', $pwg_theme); 265 } 266 $template_options[$pwg_theme] = $pwg_theme; 268 267 } 269 268 $template->assign('template_options', $template_options);
Note: See TracChangeset
for help on using the changeset viewer.