Ignore:
Timestamp:
Mar 7, 2010, 3:46:27 PM (14 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Pre-2.14.0

  • Tips rewriting (thx to Tosca)
  • Updating translations
  • Bug 1467 : FCK Editor functions are enabled but there is still a problem with special characters transformed to code. They are not correctly displayed in email received.
Location:
extensions/NBC_UserAdvManager/trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php

    r5064 r5073  
    7272
    7373/* Standby because this may cause too many problems with (;) in text fields */
    74 //$toolbar = 'Basic';
    75 //$width = '750px';
    76 //$height = '300px';
    77 //$areas = array();
    78 //array_push( $areas,'UAM_MailInfo_Text','UAM_ConfirmMail_Text','UAM_GhostTracker_ReminderText','UAM_ConfirmMail_ReMail_Txt1','UAM_ConfirmMail_ReMail_Txt2');
     74$toolbar = 'Basic';
     75$width = '750px';
     76$height = '300px';
     77$areas = array();
     78array_push( $areas,'UAM_MailInfo_Text','UAM_ConfirmMail_Text','UAM_GhostTracker_ReminderText','UAM_ConfirmMail_ReMail_Txt1','UAM_ConfirmMail_ReMail_Txt2');
    7979 
    80 //if (function_exists('set_fckeditor_instance'))
    81 //  set_fckeditor_instance($areas, $toolbar, $width, $height);
     80if (function_exists('set_fckeditor_instance'))
     81  set_fckeditor_instance($areas, $toolbar, $width, $height);
    8282
    8383
     
    107107
    108108/* Control of semicolons - Replaced by dots - Warning message is displayed */   
    109     if ((preg_match($pattern, $_POST['UAM_MailInfo_Text'])) or (preg_match($pattern, $_POST['UAM_GhostTracker_ReminderText'])) or (preg_match($pattern, $_POST['UAM_ConfirmMail_Text'])))
     109/*    if ((preg_match($pattern, $_POST['UAM_MailInfo_Text'])) or (preg_match($pattern, $_POST['UAM_GhostTracker_ReminderText'])) or (preg_match($pattern, $_POST['UAM_ConfirmMail_Text'])))
    110110    {
    111111      if (preg_match($pattern, $_POST['UAM_MailInfo_Text']))
     
    128128     
    129129      array_push($page['errors'], l10n('mail_text_error'));
    130     }
     130    }*/
    131131
    132132    /* Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them */
     
    179179
    180180/* Control of semicolons - Replaced by dots - Warning message displayed */
    181     if ((preg_match($pattern, $_POST['UAM_ConfirmMail_ReMail_Txt1'])) or (preg_match($pattern, $_POST['UAM_ConfirmMail_ReMail_Txt2'])))
     181/*    if ((preg_match($pattern, $_POST['UAM_ConfirmMail_ReMail_Txt1'])) or (preg_match($pattern, $_POST['UAM_ConfirmMail_ReMail_Txt2'])))
    182182    {
    183183      if ((preg_match($pattern, $_POST['UAM_ConfirmMail_ReMail_Txt1'])))
     
    195195     
    196196      array_push($page['errors'], l10n('mail_text_error'));
    197     }
     197    }*/
    198198
    199199          $newconf_UAM_ConfirmMail = array (
  • extensions/NBC_UserAdvManager/trunk/admin/global.tpl

    r5064 r5073  
    123123          </li>
    124124{/if}
    125 <!--
    126125{if 'FCK_PATH'|@defined}
    127126  <div style="text-align:right;">
     
    129128  </div>
    130129{/if}
    131 -->
    132130        </ul>
    133131
     
    157155          </li>
    158156{/if}
    159 <!--
    160157{if 'FCK_PATH'|@defined}
    161158  <div style="text-align:right;">
     
    163160  </div>
    164161{/if}
    165 -->
    166162        </ul>
    167163
     
    228224        </li>
    229225{/if}
    230 <!--
    231226{if 'FCK_PATH'|@defined}
    232227  <div style="text-align:right;">
     
    234229  </div>
    235230{/if}
    236 -->
    237231
    238232{if $UAM_CONFIRMMAIL_REMAIL_TRUE}
     
    251245        </li>
    252246{/if}
    253 <!--
    254247{if 'FCK_PATH'|@defined}
    255248  <div style="text-align:right;">
     
    257250  </div>
    258251{/if}
    259 -->
    260252        </ul>
    261253      </ul>
     
    295287          </li>
    296288{/if}
    297 <!--
    298289{if 'FCK_PATH'|@defined}
    299290  <div style="text-align:right;">
     
    301292  </div>
    302293{/if}
    303 -->
    304294        </ul>
    305295   
Note: See TracChangeset for help on using the changeset viewer.