Changeset 1763 for trunk/profile.php
- Timestamp:
- Jan 28, 2007, 9:56:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/profile.php
r1753 r1763 173 173 $fields = array( 174 174 'nb_image_line', 'nb_line_page', 'language', 'maxwidth', 'maxheight', 175 'expand', 'show_nb_comments', ' recent_period', 'template'175 'expand', 'show_nb_comments', 'show_nb_hits', 'recent_period', 'template' 176 176 ); 177 177 … … 202 202 $template->set_filename('profile_content', 'profile_content.tpl'); 203 203 204 $expand = ($userdata['expand'] == 'true') ? 'EXPAND_TREE_YES':'EXPAND_TREE_NO'; 204 $expand = ($userdata['expand'] == 'true') ? 205 'EXPAND_TREE_YES':'EXPAND_TREE_NO'; 205 206 206 207 $nb_comments = 207 ($userdata['show_nb_comments'] == 'true') ? 'NB_COMMENTS_YES':'NB_COMMENTS_NO'; 208 ($userdata['show_nb_comments'] == 'true') ? 209 'NB_COMMENTS_YES':'NB_COMMENTS_NO'; 210 211 $nb_hits = 212 ($userdata['show_nb_hits'] == 'true') ? 213 'NB_HITS_YES':'NB_HITS_NO'; 208 214 209 215 $template->assign_vars( … … 220 226 $expand=>'checked="checked"', 221 227 $nb_comments=>'checked="checked"', 228 $nb_hits=>'checked="checked"', 222 229 223 230 'REDIRECT' => $url_redirect,
Note: See TracChangeset
for help on using the changeset viewer.