- LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('CATS_LEAST'), getConfig('least_cats')));
- }
- // Put some data into constants for the template
- define('__ROWS', ($cats*2+4));
-
- // Load header template
- LOAD_TEMPLATE("member_cats_header");
-
- // Start switching colors and load all visible categories
- // @TODO Rewrite this to use $OUT .= ...
- $OUT = ''; $SW = 2;
- while ($content = SQL_FETCHARRAY($result)) {
- // Default he has not joined
- $content['jn'] = ' chkecked="checked"';
+ displayMessage('{--CHOOSE_MORE_CATEGORIES--}');
+ } // END - if
+
+ // Load all categories of this member
+ $OUT = '';
+ while ($content = sqlFetchArray($result)) {
+ // Default he has not joined, add color switch
+ $content['jn'] = ' checked="checked"';