Changeset 4984 for extensions/NBC_UserAdvManager/trunk/admin
- Timestamp:
- Feb 27, 2010, 7:16:34 PM (15 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UserAdvManager_admin.php
r4960 r4984 33 33 $UserAdvManager_ConfirmMail_Error_Txt2 = false; 34 34 $UserAdvManager_Exclusionlist_Error = false; 35 35 36 36 37 // +-----------------------------------------------------------------------+ … … 61 62 $tabsheet->assign(); 62 63 64 63 65 // +-----------------------------------------------------------------------+ 64 66 // | Getting plugin version | … … 66 68 $plugin = PluginVer(NBC_UAM_PATH); 67 69 $version = $plugin['version'] ; 70 71 72 // +----------------------------------------------------------+ 73 // | FCK Editor for email text fields | 74 // +----------------------------------------------------------+ 75 $toolbar = 'Basic'; 76 $width = '750px'; 77 $height = '300px'; 78 $areas = array(); 79 array_push( $areas,'UserAdvManager_MailInfo_Text','UserAdvManager_ConfirmMail_Text','UserAdvManager_GhostTracker_ReminderText','UserAdvManager_ConfirmMail_ReMail_Txt1','UserAdvManager_ConfirmMail_ReMail_Txt2'); 80 81 if (function_exists('set_fckeditor_instance')) 82 set_fckeditor_instance($areas, $toolbar, $width, $height); 83 68 84 69 85 // +-----------------------------------------------------------------------+ -
extensions/NBC_UserAdvManager/trunk/admin/global.tpl
r4962 r4984 13 13 </script> 14 14 15 <script type="text/javascript"> 16 function nbc_blockToggleDisplay($head1, $ehead1) 17 {ldelim} 18 n1=$head1; 19 n2=$ehead1; 20 21 blockToggleDisplay($head1, $ehead1) ; 22 document.getElementById("nb_para").value =n1 ; 23 document.getElementById("nb_para2").value =n2 ; 24 } 25 26 blockToggleDisplay(n1,n2 ); 27 </script> 28 15 29 <div class="titrePage"> 16 30 <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle1'|@translate}</h2> … … 21 35 <p><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} > <input class="submit" type="submit" value="{'audit'|@translate}" name="audit"></p> 22 36 23 <input name="nb_para" id="nb_para" type="text e" value="{$nb_para}" style="display:none">24 <input name="nb_para2" id="nb_para2" type="text e" value="{$nb_para2}" style="display:none">37 <input name="nb_para" id="nb_para" type="text" value="{$nb_para}" style="display:none"> 38 <input name="nb_para2" id="nb_para2" type="text" value="{$nb_para2}" style="display:none"> 25 39 26 40 <div id="instructionConfig1" class="instructionBlock" > … … 111 125 </li> 112 126 {/if} 127 {if 'FCK_PATH'|@defined} 128 <div style="text-align:right;"> 129 <a href="#" onClick="toogleEditor('UserAdvManager_MailInfo_Text'); return false;">FCK Editor On/Off</a> 130 </div> 131 {/if} 113 132 </ul> 114 133 … … 133 152 <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br> 134 153 </li> 154 {/if} 155 {if 'FCK_PATH'|@defined} 156 <div style="text-align:right;"> 157 <a href="#" onClick="toogleEditor('UserAdvManager_ConfirmMail_Text'); return false;">FCK Editor On/Off</a> 158 </div> 135 159 {/if} 136 160 </ul> … … 198 222 </li> 199 223 {/if} 224 {if 'FCK_PATH'|@defined} 225 <div style="text-align:right;"> 226 <a href="#" onClick="toogleEditor('UserAdvManager_ConfirmMail_ReMail_Txt1'); return false;">FCK Editor On/Off</a> 227 </div> 228 {/if} 200 229 201 230 {if $UserAdvManager_CONFIRMMAIL_REMAIL_TRUE} … … 213 242 <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt2" id="UserAdvManager_ConfirmMail_ReMail_Txt2" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT2}</textarea><br><br> 214 243 </li> 244 {/if} 245 {if 'FCK_PATH'|@defined} 246 <div style="text-align:right;"> 247 <a href="#" onClick="toogleEditor('UserAdvManager_ConfirmMail_ReMail_Txt2'); return false;">FCK Editor On/Off</a> 248 </div> 215 249 {/if} 216 250 </ul> … … 250 284 <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br> 251 285 </li> 286 {/if} 287 {if 'FCK_PATH'|@defined} 288 <div style="text-align:right;"> 289 <a href="#" onClick="toogleEditor('UserAdvManager_GhostTracker_ReminderText'); return false;">FCK Editor On/Off</a> 290 </div> 252 291 {/if} 253 292 </ul> … … 291 330 292 331 <script type="text/javascript"> 293 294 var n1=document.getElementById("nb_para").value ; 295 var n2=document.getElementById("nb_para2").value; 296 297 function nbc_blockToggleDisplay($head1, $ehead1) 298 {ldelim} 299 n1=$head1; 300 n2=$ehead1; 301 302 blockToggleDisplay($head1, $ehead1) ; 303 document.getElementById("nb_para").value =n1 ; 304 document.getElementById("nb_para2").value =n2 ; 305 } 306 307 blockToggleDisplay(n1,n2 ); 332 var n1=document.getElementById("nb_para").value ; 333 var n2=document.getElementById("nb_para2").value; 334 nbc_blockToggleDisplay(n1,n2 ); 308 335 </script>
Note: See TracChangeset
for help on using the changeset viewer.