Changeset 5084 for extensions/NBC_UserAdvManager/trunk
- Timestamp:
- Mar 8, 2010, 10:35:31 PM (14 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r5073 r5084 71 71 // +----------------------------------------------------------+ 72 72 73 /* Standby because this may cause too many problems with (;) in text fields */74 $toolbar = 'Basic';73 /* Pending because this may cause problems with special characters in emails */ 74 /*$toolbar = 'Basic'; 75 75 $width = '750px'; 76 76 $height = '300px'; 77 77 $areas = array(); 78 78 array_push( $areas,'UAM_MailInfo_Text','UAM_ConfirmMail_Text','UAM_GhostTracker_ReminderText','UAM_ConfirmMail_ReMail_Txt1','UAM_ConfirmMail_ReMail_Txt2'); 79 79 80 80 if (function_exists('set_fckeditor_instance')) 81 { 82 $fcke_config = unserialize($conf['FCKEditor']); 83 foreach($areas as $area) 84 { 85 if (!isset($fcke_config[$area])) 86 { 87 $fcke_config[$area] = false; 88 } 89 } 90 $conf['FCKEditor'] = serialize($fcke_config); 91 81 92 set_fckeditor_instance($areas, $toolbar, $width, $height); 93 }*/ 82 94 83 95 -
extensions/NBC_UserAdvManager/trunk/admin/global.tpl
r5073 r5084 123 123 </li> 124 124 {/if} 125 <!-- 125 126 {if 'FCK_PATH'|@defined} 126 127 <div style="text-align:right;"> … … 128 129 </div> 129 130 {/if} 131 --> 130 132 </ul> 131 133 … … 155 157 </li> 156 158 {/if} 159 <!-- 157 160 {if 'FCK_PATH'|@defined} 158 161 <div style="text-align:right;"> … … 160 163 </div> 161 164 {/if} 165 --> 162 166 </ul> 163 167 … … 224 228 </li> 225 229 {/if} 230 <!-- 226 231 {if 'FCK_PATH'|@defined} 227 232 <div style="text-align:right;"> … … 229 234 </div> 230 235 {/if} 236 --> 231 237 232 238 {if $UAM_CONFIRMMAIL_REMAIL_TRUE} … … 245 251 </li> 246 252 {/if} 253 <!-- 247 254 {if 'FCK_PATH'|@defined} 248 255 <div style="text-align:right;"> … … 250 257 </div> 251 258 {/if} 259 --> 252 260 </ul> 253 261 </ul> … … 287 295 </li> 288 296 {/if} 297 <!-- 289 298 {if 'FCK_PATH'|@defined} 290 299 <div style="text-align:right;"> … … 292 301 </div> 293 302 {/if} 303 --> 294 304 </ul> 295 305 -
extensions/NBC_UserAdvManager/trunk/changelog.txt.php
r5064 r5084 148 148 Evolution 1485 - The admin's can choose if the validation of registration have to be sent to users created by them 149 149 Improving obsolete files cleaning 150 Evolution 1488 - When an admin creates an account an information email is always sent to created user 150 151 Code simplification - All variables are changed from "UserAdvManager" to "UAM" 151 152 */ -
extensions/NBC_UserAdvManager/trunk/include/functions.inc.php
r5064 r5084 98 98 } 99 99 } 100 101 /* ******************************************************** */ 102 /* **** Pending code since to find how to make it work **** */ 103 /* ******************************************************** */ 104 // Testing if FCK Editor is used. Then decoding htmlchars to avoid problems with pwg_mail() 105 /*$areas = array(); 106 array_push( $areas,'UAM_MailInfo_Text','UAM_ConfirmMail_Text'); 107 108 if (function_exists('set_fckeditor_instance')) 109 { 110 $fcke_config = unserialize($conf['FCKEditor']); 111 foreach($areas as $area) 112 { 113 if (isset($fcke_config['UAM_MailInfo_Text']) and $fcke_config['UAM_MailInfo_Text'] = true) 114 { 115 $infos1_perso = html_entity_decode($infos1_perso,ENT_QUOTES,UTF-8); 116 } 117 118 if (isset($fcke_config['UAM_ConfirmMail_Text']) and $fcke_config['UAM_ConfirmMail_Text'] = true) 119 { 120 $infos2_perso = html_entity_decode($infos2_perso,ENT_QUOTES,UTF-8); 121 } 122 } 123 }*/ 124 100 125 101 126 /* Sending the email with subject and contents */ -
extensions/NBC_UserAdvManager/trunk/maintain.inc.php
r5064 r5084 280 280 function upgrade_213() 281 281 { 282 $data = explode(';', $conf['nbc_UserAdvManager']); 282 global $conf; 283 284 $conf_UAM = explode(';', $conf['nbc_UserAdvManager']); 285 286 $upgrade_UAM = array("'".$conf_UAM[0]."'","'".$conf_UAM[1]."'","'".$conf_UAM[2]."'",$conf_UAM[3],$conf_UAM[4],$conf_UAM[5],"'".$conf_UAM[6]."'","'".$conf_UAM[7]."'","'".$conf_UAM[8]."'",$conf_UAM[9],"'".$conf_UAM[10]."'","'".$conf_UAM[11]."'","'".$conf_UAM[12]."'","'".$conf_UAM[13]."'","'".$conf_UAM[14]."'","'".$conf_UAM[15]."'","'".$conf_UAM[16]."'","'".$conf_UAM[17]."'","'".$conf_UAM[18]."'","'".$conf_UAM[19]."'","'".$conf_UAM[20]."'",'false'); 283 287 284 288 $query = ' 285 289 UPDATE '.CONFIG_TABLE.' 286 SET value = "'.addslashes(serialize($ data)).'"290 SET value = "'.addslashes(serialize($upgrade_UAM)).'" 287 291 WHERE param = "nbc_UserAdvManager" 288 292 ;';
Note: See TracChangeset
for help on using the changeset viewer.