Ignore:
Timestamp:
Mar 7, 2011, 4:09:40 PM (13 years ago)
Author:
flop25
Message:

bug:1901
lots of bugs will be solved now, because the plugin were not able to manage users with multiple groups (the groups with an id inferior than the groups of Adultcontent caused bugs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/include/charte_user.tpl

    r3494 r9564  
    1 {html_head}<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css">{/html_head}
    2 
     1{html_head}
     2<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/{$PLUGIN_NAME}/include/charte.css">
     3{/html_head}
    34<div id="content">
    4 <div class="titrePage">
    5       <ul class="categoryActions">
     5  <div class="titrePage">
     6    <ul class="categoryActions">
    67      <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
    78    </ul>
    8   <h2>Adult content config</h2>
     9    <h2>Adult content config</h2>
     10  </div>
     11  <div id="autre_content">
     12    <p>{$EXPLIC}</p>
     13    <p>{$MAIN}</p>
     14    <fieldset>
     15      <form method="post" action="{$pwg_root}charte_user.php" >
     16        <input type="hidden" name="groupe" value="+18"/>
     17        <input class="submit" type="submit" name="login" value="{'ac_button_activ_18'|@translate}"/>
     18        {'ac_text_activ_18'|@translate}
     19      </form>
     20    </fieldset>
     21    <fieldset>
     22      <form method="post" action="{$pwg_root}charte_user.php">
     23        <input type="hidden" name="groupe" value="16-17"/>
     24        <input class="submit" type="submit" name="login" value="{'ac_button_activ_16'|@translate}"/>
     25        {'ac_text_activ_16'|@translate}
     26      </form>
     27    </fieldset>
     28    <fieldset>
     29      <form method="post" action="{$pwg_root}charte_user.php">
     30        <input type="hidden" name="groupe" value="nothing"/>
     31        <input class="submit" type="submit" name="Annuler" value="{'ac_retour_b'|@translate}"/>
     32      </form>
     33    </fieldset>
     34  </div>
    935</div>
    10 <div id="autre_content">
    11 <p>{$EXPLIC}</p>
    12 <p>{$MAIN}</p>
    13 <fieldset>
    14 <form method="post" action="{$pwg_root}charte_user.php" >
    15     <input type="hidden" name="groupe" value="+18"/>
    16     <input type="hidden" name="etat" value="{$ETAT}"/>
    17     <input class="submit" type="submit" name="login" value="{'ac_button_activ_18'|@translate}"/>
    18     {'ac_text_activ_18'|@translate}
    19 
    20 </form>
    21 </fieldset>
    22 <fieldset>
    23 <form method="post" action="{$pwg_root}charte_user.php">
    24     <input type="hidden" name="groupe" value="16-17"/>
    25     <input type="hidden" name="etat" value="{$ETAT}"/>
    26     <input class="submit" type="submit" name="login" value="{'ac_button_activ_16'|@translate}"/>
    27          {'ac_text_activ_16'|@translate}         
    28 </form>
    29 </fieldset>
    30 <fieldset>
    31 <form method="post" action="{$pwg_root}charte_user.php">
    32     <input type="hidden" name="groupe" value="nothing"/>
    33     <input type="hidden" name="etat" value="{$ETAT}"/>
    34           <input class="submit" type="submit" name="Annuler" value="{'ac_retour_b'|@translate}"/>
    35 </form>
    36 </fieldset>
    37 </div>
    38 </div>
Note: See TracChangeset for help on using the changeset viewer.