Ignore:
Timestamp:
Feb 26, 2011, 5:18:58 PM (13 years ago)
Author:
Eric
Message:
  • Add option 0 in $conf_LCAS[0] to avoid problems when no sensitivity is set (ex : at plugin installation)
  • Fix "PHP Notice: Undefined offset: 0" on index page and registration page when no sensitivity is set
  • 1st step for localisation files update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/admin/template/global.tpl

    r9229 r9384  
    7575            </label>
    7676            <br><br>
     77            <label for = "LCAS_id_Option0" id ="LCAS_id_Opt0">
     78              <input type="radio" value="0" {if $LCAS_Option == '0'}checked="checked"{/if} id="LCAS_id_Option0" name="LCAS_Option">
     79              {'LCAS_Option0'|@translate}<br>
     80            </label>
    7781            <label for = "LCAS_id_Option1" id ="LCAS_id_Opt1">
    7882              <input type="radio" value="1" {if $LCAS_Option == '1'}checked="checked"{/if} id="LCAS_id_Option1" name="LCAS_Option">
     
    8892            </label>
    8993            {* <!-- Shall be implemented later
    90             <label for = "LCAS_id_Option0" id ="LCAS_id_Opt0">
    91               <input type="radio" value="0" {if $LCAS_Option == '0'}checked="checked"{/if} id="LCAS_id_Option0" name="LCAS_Option">
    92               {'LCAS_Option0'|@translate}<br>{if $Personalized_not_allowed}{'Personalized not allowed explanation'|@translate}{/if}<br>
     94            <label for = "LCAS_id_Option4" id ="LCAS_id_Opt4">
     95              <input type="radio" value="4" {if $LCAS_Option == '4'}checked="checked"{/if} id="LCAS_id_Option4" name="LCAS_Option">
     96              {'LCAS_Option4'|@translate}<br>{if $Personalized_not_allowed}{'Personalized not allowed explanation'|@translate}{/if}<br>
    9397            </label>
    9498            --> *}
Note: See TracChangeset for help on using the changeset viewer.