A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / modules / member / what-mydata.php
index 31b438b6e391d0f89da4247854b2aacba089d1ac..23f0b933c34cff8802c6b1047bb753b999a7d438 100644 (file)
@@ -75,7 +75,7 @@ switch ($mode) {
                // How far is last change on his profile away from now?
                if ((($content['last_update'] + getConfig('profile_lock')) > time()) && (!isAdmin()) && (getConfig('profile_lock') > 0)) {
                        // You cannot change your account
-                       $content['change'] = loadTemplate('admin_settings_saved', true, '<div class="member_failed">' . getMaskedMessage('MEMBER_PROFILE_LOCKED', generateDateTime($content['last_update'] + getConfig('profile_lock'), 0)) . '</div>');
+                       $content['change'] = loadTemplate('admin_settings_saved', true, '<div class="notice">' . getMaskedMessage('MEMBER_PROFILE_LOCKED', generateDateTime($content['last_update'] + getConfig('profile_lock'), 0)) . '</div>');
                } else {
                        // He is allowed to change his profile
                        $content['change'] = loadTemplate('member_mydata_button', true);
@@ -170,7 +170,7 @@ LIMIT 1",
 
                        if (isExtensionActive('country')) {
                                // Generate selection box
-                               $OUT  = '<select name="country_code" class="member_select" size="1">';
+                               $OUT  = '<select name="country_code" class="form_select" size="1">';
                                $whereStatement = "WHERE `is_active`='Y'";
                                if (isAdmin()) $whereStatement = '';
                                $OUT .= generateOptionList('countries', 'id', 'descr', $content['country_code'], 'code', $whereStatement);
@@ -178,7 +178,7 @@ LIMIT 1",
                                $content['country'] = $OUT;
                        } else {
                                // Ouput default input box
-                               $content['country'] = '<input type="text" name="cntry" class="member_normal" size="2" maxlength="3" value="' . $content['country'] . '" />';
+                               $content['country'] = '<input type="text" name="cntry" class="form_field" size="2" maxlength="3" value="' . $content['country'] . '" />';
                        }
 
                        // Load template