Changeset 18431 for extensions/UserAdvManager/trunk/admin
- Timestamp:
- Oct 2, 2012, 6:09:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/admin/template/global.tpl
r18158 r18431 7 7 {if $UAM_THEME=='default'}{combine_css path= $UAM_PATH|@cat:'admin/template/themes/default/theme.css'}{/if} 8 8 9 10 <script type="text/javascript"> 9 {footer_script}{literal} 11 10 jQuery().ready(function() 12 {ldelim} 11 { 12 jQuery("#show_UAM_AdminValidation").click(function() { 13 jQuery("#UAM_AdminValidation").show("slow"); 14 jQuery("#hide_UAM_AdminValidation").show("slow"); 15 jQuery(this).hide("slow"); 16 return false; 17 }); 18 jQuery("#hide_UAM_AdminValidation").click(function() { 19 jQuery("#show_UAM_AdminValidation").show("slow"); 20 jQuery("#UAM_AdminValidation").hide("slow"); 21 jQuery(this).hide("slow"); 22 return false; 23 }); 24 jQuery("#show_UAM_ConfirmMail").click(function() { 25 jQuery("#UAM_ConfirmMail").show("slow"); 26 jQuery("#hide_UAM_ConfirmMail").show("slow"); 27 jQuery(this).hide("slow"); 28 return false; 29 }); 30 jQuery("#hide_UAM_ConfirmMail").click(function() { 31 jQuery("#show_UAM_ConfirmMail").show("slow"); 32 jQuery("#UAM_ConfirmMail").hide("slow"); 33 jQuery(this).hide("slow"); 34 return false; 35 }); 36 jQuery("#show_UAM_Change").click(function() { 37 jQuery("#UAM_Change").show("slow"); 38 jQuery("#hide_UAM_Change").show("slow"); 39 jQuery(this).hide("slow"); 40 return false; 41 }); 42 jQuery("#hide_UAM_Change").click(function() { 43 jQuery("#show_UAM_Change").show("slow"); 44 jQuery("#UAM_Change").hide("slow"); 45 jQuery(this).hide("slow"); 46 return false; 47 }); 48 jQuery("#show_UAM_GTReminder").click(function() { 49 jQuery("#UAM_GTReminder").show("slow"); 50 jQuery("#hide_UAM_GTReminder").show("slow"); 51 jQuery(this).hide("slow"); 52 return false; 53 }); 54 jQuery("#hide_UAM_GTReminder").click(function() { 55 jQuery("#show_UAM_GTReminder").show("slow"); 56 jQuery("#UAM_GTReminder").hide("slow"); 57 jQuery(this).hide("slow"); 58 return false; 59 }); 13 60 jQuery('.cluetip').cluetip( 14 { ldelim}61 { 15 62 width: 550, 16 63 splitTitle: '|' 17 {rdelim});18 {rdelim});64 }); 65 }); 19 66 20 67 function blockToggleDisplay(headerId, contentId) 21 { ldelim}68 { 22 69 var revHeader = document.getElementById(headerId); 23 70 var revContent = document.getElementById(contentId); 24 71 25 72 if (revContent.style.display == 'none') 26 { ldelim}73 { 27 74 revContent.style.display = 'block'; 28 75 revHeader.className = 'instructionBlockHeaderExpanded'; 29 {rdelim}76 } 30 77 else 31 { ldelim}78 { 32 79 revContent.style.display = 'none'; 33 80 revHeader.className = 'instructionBlockHeaderCollapsed'; 34 {rdelim}35 {rdelim}81 } 82 } 36 83 37 84 function uam_blockToggleDisplay( headerId, contentId ) 38 { ldelim}85 { 39 86 if (typeof(headerId)=='string') 40 { ldelim}87 { 41 88 if (headerId.length > 1) 42 89 blockToggleDisplay(headerId, contentId) ; 43 90 document.getElementById("nb_para").value =headerId ; 44 91 document.getElementById("nb_para2").value =contentId; 45 {rdelim}46 {rdelim}47 </script> 92 } 93 } 94 {/literal}{/footer_script} 48 95 49 96 <div class="titrePage"> … … 228 275 </li> 229 276 </ul> 230 231 <fieldset> 277 <a id="show_UAM_AdminValidation" >{'UAM_Customize_messagesandmails'|translate}</a> 278 <a id="hide_UAM_AdminValidation" style="display: none">{'hide details'|translate}</a> 279 <fieldset id="UAM_AdminValidation" style="display: none"> 232 280 <ul> 233 281 <li> … … 313 361 </ul> 314 362 </fieldset> 315 316 <fieldset> 363 <br><hr><br> 364 317 365 <ul> 318 366 <li> … … 350 398 351 399 <br><hr><br> 352 353 <ul> 400 <a id="show_UAM_Change" >{'UAM_Change'|translate}</a> 401 <a id="hide_UAM_Change" style="display: none">{'hide details'|translate}</a> 402 <ul id="UAM_Change" style="display: none"> 354 403 <div id="uam_notice">{'UAM_Confirm_grpstat_notice'|@translate}</div> 355 404 <br> … … 447 496 </ul> 448 497 </ul> 449 </fieldset> 450 451 <fieldset> 498 <br><hr><br> 452 499 <ul> 453 500 <li> … … 477 524 <br><br> 478 525 </li> 479 480 <ul> 526 <a id="show_UAM_ConfirmMail" >{'UAM_Customize_messagesandmails'|translate}</a> 527 <a id="hide_UAM_ConfirmMail" style="display: none">{'hide details'|translate}</a> 528 529 <ul id="UAM_ConfirmMail" style="display: none"> 481 530 <li> 482 531 <label class="cluetip" title="{'UAM_ConfirmMail_ReMail_Subject'|translate}|{'UAM_ConfirmMail_ReMail_Subject_d'|translate}"> … … 532 581 </ul> 533 582 </ul> 534 </fieldset>535 583 536 584 {if $UAM_CONFIRMMAIL_TIMEOUT_FALSE and $UAM_CONFIRMMAIL_REMAIL_FALSE} … … 620 668 <br><br> 621 669 </li> 622 623 <fieldset> 624 <ul> 625 <li> 626 <label class="cluetip" title="{'UAM_GTReminder_Subject'|translate}|{'UAM_GTReminder_Subject_d'|translate}"> 627 {'UAM_GTReminder_Subject'|@translate} 628 </label> 629 <br><br> 630 <textarea class="uam_textfields" name="UAM_GTReminder_Subject" id="UAM_GTReminder_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTREMINDER_SUBJECT}</textarea> 631 <br><br> 632 </li> 633 634 <ul> 635 <li> 636 <label class="cluetip" title="{'UAM_GhostTracker_ReminderText'|translate}|{'UAM_gttextTitle_d'|translate}"> 637 {'UAM_GhostTracker_ReminderText'|@translate} 638 </label> 639 <br><br> 640 <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea> 641 <br><br> 642 </li> 643 </ul> 670 </ul> 671 <a id="show_UAM_GTReminder" >{'UAM_Customize_messagesandmails'|translate}</a> 672 <a id="hide_UAM_GTReminder" style="display: none">{'hide details'|translate}</a> 673 <ul id="UAM_GTReminder" style="display: none"> 674 <li> 675 <label class="cluetip" title="{'UAM_GTReminder_Subject'|translate}|{'UAM_GTReminder_Subject_d'|translate}"> 676 {'UAM_GTReminder_Subject'|@translate} 677 </label> 678 <br><br> 679 <textarea class="uam_textfields" name="UAM_GTReminder_Subject" id="UAM_GTReminder_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTREMINDER_SUBJECT}</textarea> 680 <br><br> 681 </li> 682 <li> 683 <label class="cluetip" title="{'UAM_GhostTracker_ReminderText'|translate}|{'UAM_gttextTitle_d'|translate}"> 684 {'UAM_GhostTracker_ReminderText'|@translate} 685 </label> 686 <br><br> 687 <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea> 688 <br><br> 689 </li> 644 690 <!-- 645 646 647 648 649 691 {* if 'FCK_PATH'|@defined *} 692 <div style="text-align:right;"> 693 <a href="#" onClick="toogleEditor('UAM_GhostTracker_ReminderText'); return false;">FCK Editor On/Off</a> 694 </div> 695 {* /if *} 650 696 --> 651 697 652 <li> 653 <label class="cluetip" title="{'UAM_GTAuto'|translate}|{'UAM_GTAutoTitle_d'|translate}"> 654 {'UAM_GTAuto'|@translate} 655 </label> 656 <br><br> 657 <input type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto"> 658 {'UAM_Disable'|@translate} 659 <br> 660 <input type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto"> 661 {'UAM_Enable'|@translate} 662 <br><br> 663 </li> 664 665 {if $UAM_GTAUTO_FALSE} 666 <div class="uam_hide"> 667 {/if} 668 <ul> 669 <li> 670 <label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}"> 671 {'UAM_GTAutoDel'|@translate} 672 </label> 673 <br><br> 674 <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea> 675 <br><br> 676 677 {if 'FCK_PATH'|@defined} 678 <div style="text-align:right;"> 679 <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a> 680 </div> 681 {/if} 682 </li> 683 684 <li> 685 <label class="cluetip" title="{'UAM_GTAutoGp'|translate}|{'UAM_GTAutoGpTitle_d'|translate}"> 686 {'UAM_GTAutoGp'|@translate} 687 </label> 688 <br><br> 689 <ul> 698 </ul> 699 <br><hr><br> 700 <ul> 701 <li> 702 <label class="cluetip" title="{'UAM_GTAuto'|translate}|{'UAM_GTAutoTitle_d'|translate}"> 703 {'UAM_GTAuto'|@translate} 704 </label> 705 <br><br> 706 <input type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto"> 707 {'UAM_Disable'|@translate} 708 <br> 709 <input type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto"> 710 {'UAM_Enable'|@translate} 711 <br><br> 712 </li> 713 714 {if $UAM_GTAUTO_FALSE} 715 <div class="uam_hide"> 716 {/if} 717 <ul> 718 <li> 719 <label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}"> 720 {'UAM_GTAutoDel'|@translate} 721 </label> 722 <br><br> 723 <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea> 724 <br><br> 725 726 {if 'FCK_PATH'|@defined} 727 <div style="text-align:right;"> 728 <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a> 729 </div> 730 {/if} 731 </li> 732 733 <li> 734 <label class="cluetip" title="{'UAM_GTAutoGp'|translate}|{'UAM_GTAutoGpTitle_d'|translate}"> 735 {'UAM_GTAutoGp'|@translate} 736 </label> 737 <br><br> 738 <ul> 739 <li> 740 <label> 741 {'UAM_Expired_Group'|@translate} 742 </label> 743 <br> 744 <div id="uam_leftmargin"> 745 {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected} 746 </div> 747 <br><br> 748 </li> 749 750 <li> 751 <label> 752 {'UAM_Expired_Status'|@translate} 753 </label> 754 <br> 755 <div id="uam_leftmargin"> 756 {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected} 757 </div> 758 <br><br> 759 </li> 760 761 <li> 762 <label> 763 {'UAM_Expired_Level'|@translate} 764 </label> 765 <br> 766 <div id="uam_leftmargin"> 767 {html_options name="UAM_Downgrade_Level" options=$Downgrade_Level.Level_options selected=$Downgrade_Level.Level_selected} 768 </div> 769 <br><br> 770 </li> 771 </ul> 772 773 <ul> 774 <li> 775 <label class="cluetip" title="{'UAM_GTAutoMail'|translate}|{'UAM_GTAutoMailTitle_d'|translate}"> 776 {'UAM_GTAutoMail'|@translate} 777 </label> 778 <br><br> 779 <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail"> 780 {'UAM_Disable'|@translate} 781 <br> 782 <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail"> 783 {'UAM_Enable'|@translate} 784 <br><br> 690 785 <li> 691 <label >692 {'UAM_ Expired_Group'|@translate}786 <label class="cluetip" title="{'UAM_GTAutomail_Subject'|translate}|{'UAM_GTAutomail_Subject_d'|translate}"> 787 {'UAM_GTAutomail_Subject'|@translate} 693 788 </label> 694 <br> 695 <div id="uam_leftmargin"> 696 {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected} 697 </div> 789 <br><br> 790 <textarea class="uam_textfields" name="UAM_GTAutoMail_Subject" id="UAM_GTAutoMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAIL_SUBJECT}</textarea> 698 791 <br><br> 699 792 </li> 700 793 701 <li> 702 <label> 703 {'UAM_Expired_Status'|@translate} 704 </label> 705 <br> 706 <div id="uam_leftmargin"> 707 {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected} 708 </div> 709 <br><br> 710 </li> 711 712 <li> 713 <label> 714 {'UAM_Expired_Level'|@translate} 715 </label> 716 <br> 717 <div id="uam_leftmargin"> 718 {html_options name="UAM_Downgrade_Level" options=$Downgrade_Level.Level_options selected=$Downgrade_Level.Level_selected} 719 </div> 720 <br><br> 721 </li> 722 </ul> 723 724 <ul> 725 <li> 726 <label class="cluetip" title="{'UAM_GTAutoMail'|translate}|{'UAM_GTAutoMailTitle_d'|translate}"> 727 {'UAM_GTAutoMail'|@translate} 728 </label> 729 <br><br> 730 <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail"> 731 {'UAM_Disable'|@translate} 732 <br> 733 <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail"> 734 {'UAM_Enable'|@translate} 735 <br><br> 794 <ul> 736 795 <li> 737 <label class="cluetip" title="{'UAM_GTAutomail_ Subject'|translate}|{'UAM_GTAutomail_Subject_d'|translate}">738 {'UAM_GTAutomail_ Subject'|@translate}796 <label class="cluetip" title="{'UAM_GTAutomail_Text'|translate}|{'UAM_GTAutomail_Text_d'|translate}"> 797 {'UAM_GTAutomail_Text'|@translate} 739 798 </label> 740 799 <br><br> 741 <textarea class="uam_textfields" name="UAM_GTAutoMail_Subject" id="UAM_GTAutoMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAIL_SUBJECT}</textarea>800 <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea> 742 801 <br><br> 743 802 </li> 744 745 <ul> 746 <li> 747 <label class="cluetip" title="{'UAM_GTAutomail_Text'|translate}|{'UAM_GTAutomail_Text_d'|translate}"> 748 {'UAM_GTAutomail_Text'|@translate} 749 </label> 750 <br><br> 751 <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea> 752 <br><br> 753 </li> 754 </ul> 755 </li> 756 </ul> 757 </li> 758 </ul> 759 {if $UAM_GTAUTO_FALSE} 760 </div> 761 {/if} 803 </ul> 804 </li> 805 </ul> 806 </li> 807 </ul> 808 {if $UAM_GTAUTO_FALSE} 809 </div> 810 {/if} 762 811 </ul> 763 </fieldset>764 812 </ul> 765 813 </fieldset> … … 977 1025 </fieldset> 978 1026 979 <script type="text/javascript"> 1027 {footer_script}{literal} 980 1028 var n1=document.getElementById("nb_para").value; 981 1029 var n2=document.getElementById("nb_para2").value; 982 1030 uam_blockToggleDisplay(n1,n2); 983 </script> 1031 {/literal}{/footer_script} 984 1032 985 1033 {html_head}
Note: See TracChangeset
for help on using the changeset viewer.