source: extensions/Register_FluxBB/trunk/admin/template/manage.tpl @ 6815

Revision 6815, 4.1 KB checked in by Eric, 9 years ago (diff)

bug 1434 fixed : Bridge between Register_FluxBB and UAM for users registration control

  • Language files updated (FR and EN are OK. DE is to do)
  • Admin page small refactory
  • Database upgrade process updated for new plugin version
  • Version 2.3.0 hard coded
  • Property svn:eol-style set to LF
Line 
1{html_head}<link rel="stylesheet" type="text/css" href="{$REGFLUXBB_PATH}admin/template/register_fluxbb.css">{/html_head}
2
3<script type="text/javascript">
4function blockToggleDisplay(headerId, contentId)
5{ldelim}
6  var revHeader = document.getElementById(headerId);
7  var revContent = document.getElementById(contentId);
8
9  if (revContent.style.display == 'none')
10  {ldelim}
11    revContent.style.display = 'block';
12    revHeader.className = 'instructionBlockHeaderExpanded';
13  {rdelim}
14  else
15  {ldelim}
16    revContent.style.display = 'none';
17    revHeader.className = 'instructionBlockHeaderCollapsed';
18  {rdelim}
19{rdelim}
20
21function rfbb_blockToggleDisplay( headerId, contentId )
22{ldelim}
23  if (typeof(headerId)=='string')
24  {ldelim}
25   if ( headerId.length>  1)
26       blockToggleDisplay(headerId, contentId) ;
27      document.getElementById("nb_para").value =headerId ;
28      document.getElementById("nb_para2").value =contentId;
29  {rdelim}
30{rdelim}
31</script>
32
33<div class="titrePage">
34  <h2>{'Title_Tab'|@translate} {$REGFLUXBB_VERSION}<br>{'Tab_Manage'|@translate}</h2>
35</div>
36
37<form method="post" action="">
38  <fieldset>
39        <legend>{'Config_Title'|@translate}</legend>
40    {'Config_Disclaimer'|@translate}
41    <br><br>
42    <ul>
43        <li><label>{'Prefix'|@translate}</label><br>
44                <input type="text" name="FluxBB_prefix" value={$FluxBB_PREFIX} size="20" style="text-align: center;"><br>
45      <br>
46        </li>
47        <li><label>{'Admin'|@translate}</label><br>
48                <input type="text" name="FluxBB_admin" value={$FluxBB_ADMIN} size="20" style="text-align: center;"><br>
49                {'User'|@translate}
50      <br>
51        </li>
52        <li><label>{'Guest'|@translate}</label><br>
53                <input type="text" name="FluxBB_guest" value={$FluxBB_GUEST} size="20" style="text-align: center;"><br>
54      <br>
55        </li>
56        <li><label>{'Del_Pt'|@translate}</label><br>
57        <input type="radio" value="true" {$FluxBB_DEL_PT_TRUE} name="FluxBB_del_pt">{'Del_Pt_true'|@translate}<br>
58        <input type="radio" value="false" {$FluxBB_DEL_PT_FALSE} name="FluxBB_del_pt">{'Del_Pt_false'|@translate}<br>
59      <br>
60        </li>
61        <li><label>{'Confirm'|@translate}</label><br>
62        <input type="radio" value="true" {$FluxBB_CONFIRM_TRUE} name="FluxBB_confirm">{'Confirm_true'|@translate}<br>
63        <input type="radio" value="false" {$FluxBB_CONFIRM_FALSE} name="FluxBB_confirm">{'Confirm_false'|@translate}<br>
64      <br>
65        </li>
66        <li><label>{'Details'|@translate}</label><br>
67        <input type="radio" value="true" {$FluxBB_DETAILS_TRUE} name="FluxBB_details">{'Details_true'|@translate}<br>
68        <input type="radio" value="false" {$FluxBB_DETAILS_FALSE} name="FluxBB_details">{'Details_false'|@translate}<br>
69      <br>
70        </li>
71      {if $UAM_BRIDGE}
72        <li><label>{'Bridge_UAM'|@translate}</label><br>
73        <input type="radio" value="true" {$FluxBB_UAM_LINK_TRUE} name="FluxBB_UAM">{'Bridge_UAM_true'|@translate}<br>
74        <input type="radio" value="false" {$FluxBB_UAM_LINK_FALSE} name="FluxBB_UAM">{'Bridge_UAM_false'|@translate}<br>
75      <br>
76      </li>
77        <li><label>{'FluxBB_Group'|@translate}</label><br>
78                <input type="text" name="FluxBB_group" value={$FluxBB_GROUP} size="6" style="text-align: center;"><br>
79        </li>
80      {/if}
81    </ul>
82    <br>
83        <div align="center"><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></div>
84  </fieldset>
85
86  <div id="instructionConfig1" class="instructionBlock" >
87    <div id="config1_header" class="instructionBlockHeaderCollapsed" onclick="rfbb_blockToggleDisplay('config1_header', 'Config1')">
88        {'About_Reg'|@translate}
89      </span>
90    </div>
91 
92    <div id="Config1" class="instructionBlockContent" style="display:none">
93      {'No_Reg_advise'|@translate}
94    </div>
95  </div>
96  <div id="instructionConfig2" class="instructionBlock" >
97    <div id="config2_header" class="instructionBlockHeaderCollapsed" onclick="rfbb_blockToggleDisplay('config2_header', 'Config2')">
98        {'About_Bridge'|@translate}
99      </span>
100    </div>
101 
102    <div id="Config2" class="instructionBlockContent" style="display:none">
103      {'UAM_Bridge_advice'|@translate}
104    </div>
105  </div>
106</form>
Note: See TracBrowser for help on using the repository browser.