Autor: IvaanF | Publicado: 2012-03-22T23:59:00-07:00


<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}

<!-- BEGIN switch_modif_08_07_2010 -->

<!-- END switch_modif_08_07_2010 -->

<!-- BEGIN switch_informations_menu -->
 
  {L_REGISTRATION_INFO}{L_MY_PROFILE}
 
 
  {L_ITEMS_REQUIRED}
 
 <!-- BEGIN switch_namechange_disallowed -->
 
  {L_USERNAME}&nbsp;:&nbsp;*
  {USERNAME}
 
 <!-- END switch_namechange_disallowed -->
 <!-- BEGIN switch_namechange_allowed -->
 
  {L_USERNAME}&nbsp;:&nbsp;*
  
 
 <!-- END switch_namechange_allowed -->

 <!-- BEGIN switch_emailchange_disallowed -->
 
  {L_EMAIL_ADDRESS}&nbsp;:&nbsp;*
  {EMAIL}
 
 <!-- END switch_emailchange_disallowed -->
 <!-- BEGIN switch_emailchange_allowed -->
 
  {L_EMAIL_ADDRESS}&nbsp;:&nbsp;*
  
 
 <!-- END switch_emailchange_allowed -->

 <!-- BEGIN switch_change_password -->
        
  {L_CHANGE_PASSWORD}&nbsp;:
                
 
        <!-- END switch_change_password -->

 <!-- BEGIN switch_profile_fields -->
  
   {switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}
  
  <!-- BEGIN field -->
  
   
    {switch_informations_menu.switch_profile_fields.field.NAME}
   
   
    {switch_informations_menu.switch_profile_fields.field.OBJECT}
    {switch_informations_menu.switch_profile_fields.field.DESCRIPTION}
   
  
  <!-- END field -->
 <!-- END switch_profile_fields -->

 <!-- BEGIN switch_confirm -->
 
  {L_CONFIRM_CODE_IMPAIRED}
  
  {CONFIRM_IMG}
  
  
 
 
  {L_CONFIRM_CODE}&nbsp;:&nbsp;*{L_CONFIRM_CODE_EXPLAIN}
  
 
 <!-- END switch_confirm -->

 <!-- BEGIN switch_register_not_display -->
  <!-- BEGIN switch_unsubscribe_allowed -->
  
   {L_DELETE}
   {L_DELETE_EXPLAIN}
  
  <!-- END switch_unsubscribe_allowed -->
 <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->

        {L_REGISTRATION_INFO}


        
                {L_CURRENT_PASSWORD}&nbsp;:&nbsp;*
                        {L_CONFIRM_PASSWORD_EXPLAIN}
                
        

<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->

        {L_NEW_PASSWORD}&nbsp;:&nbsp;*{L_PASSWORD_IF_CHANGED}
        
                
                                        {BAD_LEVEL_PWD}                        {GOOD_LEVEL_PWD}                        {STRONG_LEVEL_PWD}                        


        {L_CONFIRM_PASSWORD}&nbsp;:&nbsp;*{L_PASSWORD_CONFIRM_IF_CHANGED}
        
            

<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
 
  {L_PREFERENCES}
 
 
  {L_PUBLIC_VIEW_EMAIL}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   <!-- BEGIN switch_enable_mail_view -->{L_FORM}&nbsp;&nbsp;
   {L_MAILTO}&nbsp;&nbsp;
   <!-- END switch_enable_mail_view -->{L_NO}
  
 
 <!-- BEGIN switch_view_pm -->
 
  {L_PUBLIC_VIEW_MP}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}&nbsp;&nbsp;
  
 
 <!-- END switch_view_pm -->
 <!-- BEGIN switch_profile_advanced -->
 
  {switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS}&nbsp;:
  
   {L_ALL_USERS}&nbsp;&nbsp;
   {L_MY_FRIENDS}&nbsp;&nbsp;
   {L_NO_ONE}&nbsp;&nbsp;
   {L_HIDE_TAB}
  
 
 <!-- END switch_profile_advanced -->
 <!-- BEGIN switch_fb_connect -->
 
  {switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT}&nbsp;:
  
   <!-- BEGIN switch_fb_account_linked -->
   {switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}
   <!-- END switch_fb_account_linked -->
   <!-- BEGIN switch_fb_account_not_linked -->
   {switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}
   <!-- END switch_fb_account_not_linked -->
  
 
 <!-- BEGIN switch_fb_account_linked -->
 
  {switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}&nbsp;&nbsp;
  
 
 <!-- END switch_fb_account_linked -->
 <!-- END switch_fb_connect -->
 
  {L_NEWSLETTER_ACCEPT}&nbsp;:{L_NEWSLETTER_ACCEPT_EXPLAIN}
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}&nbsp;&nbsp;
  
 
 
  {L_HIDE_USER}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_NOTIFY_ON_REPLY}&nbsp;:{L_NOTIFY_ON_REPLY_EXPLAIN}
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_NOTIFY_ON_PRIVMSG}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 <!-- BEGIN switch_can_disable_mass_pm -->
 
  {L_ENABLE_MASS_PM}&nbsp;:{L_ENABLE_MASS_PM_EXPLAIN}
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}&nbsp;&nbsp;
   {L_NO_MASS_PM}
  
 
 <!-- END switch_can_disable_mass_pm -->
 
  {L_POPUP_ON_PRIVMSG}&nbsp;:{L_POPUP_ON_PRIVMSG_EXPLAIN}
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  
   {L_NOTIFY_POST_PREVENT}&nbsp;:
   {L_NOTIFY_POST_PREVENT_EXPLAIN}
  
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 <!-- BEGIN switch_report -->
 
  {switch_preferences_menu.switch_report.L_NO_REPORT_POPUP}&nbsp;:
   
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
   {switch_preferences_menu.switch_report.L_NO_REPORT_MAIL}&nbsp;:
   
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 <!-- END switch_report -->
 <!-- BEGIN switch_cke_editor -->
 
  {L_DISPLAY_WYSIWYG}&nbsp;:{L_DISPLAY_WYSIWYG_EXPLAIN}
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
        <!-- END switch_cke_editor -->
 
  {L_ALWAYS_ADD_SIGNATURE}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_ALWAYS_ALLOW_BBCODE}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_ALWAYS_ALLOW_HTML}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_ALWAYS_ALLOW_SMILIES}&nbsp;:
  
   {L_YES}&nbsp;&nbsp;
   {L_NO}
  
 
 
  {L_BOARD_LANGUAGE}&nbsp;:
  {LANGUAGE_SELECT}
 
 
  {L_TIMEZONE}&nbsp;:
  {TIMEZONE_SELECT}
 
 
  {L_DATE_FORMAT}&nbsp;:
  {DATE_FORMAT}
   {CURRENT_TIME}
  
 
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
 
  {L_AVATAR_PANEL}
 
 
  
       
     {L_AVATAR_EXPLAIN}
     
      {L_CURRENT_IMAGE}
      {AVATAR}
      &nbsp;{L_DELETE_AVATAR}
     
    
     
 

 <!-- BEGIN switch_avatar_local_upload -->
 
  {L_UPLOAD_AVATAR_FILE}&nbsp;:
  
 
 <!-- END switch_avatar_local_upload -->
 <!-- BEGIN switch_avatar_remote_upload -->
 
  {L_UPLOAD_AVATAR_URL}&nbsp;:{L_UPLOAD_AVATAR_URL_EXPLAIN}
  
 
 <!-- END switch_avatar_remote_upload -->
 <!-- BEGIN switch_avatar_remote_link -->
 
  {L_LINK_REMOTE_AVATAR}&nbsp;:{L_LINK_REMOTE_AVATAR_EXPLAIN}
  
 
 <!-- END switch_avatar_remote_link -->
 <!-- BEGIN switch_avatar_local_gallery -->
 
  {L_AVATAR_GALLERY}&nbsp;:
  
 
 <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->


    {S_HIDDEN_FIELDS}&nbsp;



$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});

<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->

//<![CDATA[
FB.init({
 appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
 status: true,
 cookie: true,
 xfbml: true,
 oauth: true
});
//]]>

<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->