Changeset 9276 for extensions/PHP_Optimisateur/include/setup.php
- Timestamp:
- Feb 18, 2011, 5:34:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PHP_Optimisateur/include/setup.php
r9201 r9276 50 50 <td>'.l10n('silentORNOT').' :</td> 51 51 <td> 52 <label><input type="radio" name="silentORNOT" value="erase" '.(($CONF['silentORNOT']=='erase')?'checked="checked"':'').'/> '.l10n('erase').'</label> 53 <label><input type="radio" name="silentORNOT" value="block" '.(($CONF['silentORNOT']=='block')?'checked="checked"':'').'/> '.l10n('block').'</label> 54 <label><input type="radio" name="silentORNOT" value="pass" '.(($CONF['silentORNOT']=='pass')?'checked="checked"':'').'/> '.l10n('pass').'</label> 52 <input type="radio" id="silentORNOT1" name="silentORNOT" value="erase" '.(($CONF['silentORNOT']=='erase')?'checked="checked"':'').'/> 53 <label for="silentORNOT1">'.l10n('erase').'</label> 54 <input type="radio" id="silentORNOT2" name="silentORNOT" value="block" '.(($CONF['silentORNOT']=='block')?'checked="checked"':'').'/> 55 <label for="silentORNOT2">'.l10n('block').'</label> 56 <input type="radio" id="silentORNOT3" name="silentORNOT" value="pass" '.(($CONF['silentORNOT']=='pass')?'checked="checked"':'').'/> 57 <label for="silentORNOT3">'.l10n('pass').'</label> 55 58 </td> 56 59 </tr> … … 58 61 <td>'.l10n('DIRhighORNOT').' :</td> 59 62 <td> 60 <label><input type="radio" name="DIRhighORNOT" value="true" '.(($CONF['DIRhighORNOT'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 61 <label><input type="radio" name="DIRhighORNOT" value="false" '.((!$CONF['DIRhighORNOT'])?'checked="checked"':'').'/> '.l10n('no').'</label> 63 <input type="radio" id="DIRhighORNOT1" name="DIRhighORNOT" value="true" '.(($CONF['DIRhighORNOT'])?'checked="checked"':'').'/> 64 <label for="DIRhighORNOT1">'.l10n('yes').'</label> 65 <input type="radio" id="DIRhighORNOT2" name="DIRhighORNOT" value="false" '.((!$CONF['DIRhighORNOT'])?'checked="checked"':'').'/> 66 <label for="DIRhighORNOT2">'.l10n('no').'</label> 62 67 </td> 63 68 </tr> … … 65 70 <td>'.l10n('DIMhdORNOT').' :</td> 66 71 <td> 67 <label><input type="radio" name="DIMhdORNOT" value="true" '.(($CONF['DIMhdORNOT'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 68 <label><input type="radio" name="DIMhdORNOT" value="false" '.((!$CONF['DIMhdORNOT'])?'checked="checked"':'').'/> '.l10n('no').'</label> 72 <input type="radio" id="DIMhdORNOT1" name="DIMhdORNOT" value="true" '.(($CONF['DIMhdORNOT'])?'checked="checked"':'').'/> 73 <label for="DIMhdORNOT1">'.l10n('yes').'</label> 74 <input type="radio" id="DIMhdORNOT" name="DIMhdORNOT" value="false" '.((!$CONF['DIMhdORNOT'])?'checked="checked"':'').'/> 75 <label for="DIMhdORNOT2">'.l10n('no').'</label> 69 76 </td> 70 77 </tr> … … 72 79 <td>'.l10n('renameORNOT').' :</td> 73 80 <td> 74 <label><input type="radio" name="renameORNOT" value="true" '.(($CONF['renameORNOT'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 75 <label><input type="radio" name="renameORNOT" value="false" '.((!$CONF['renameORNOT'])?'checked="checked"':'').'/> '.l10n('no').'</label> 81 <input type="radio" id="renameORNOT1" name="renameORNOT" value="true" '.(($CONF['renameORNOT'])?'checked="checked"':'').'/> 82 <label for="renameORNOT1">'.l10n('yes').'</label> 83 <input type="radio" id="renameORNOT2" name="renameORNOT" value="false" '.((!$CONF['renameORNOT'])?'checked="checked"':'').'/> 84 <label for="renameORNOT2">'.l10n('no').'</label> 76 85 </td> 77 86 </tr> … … 79 88 <td>'.l10n('indexORNOT').' :</td> 80 89 <td> 81 <label><input type="radio" name="indexORNOT" value="true" '.(($CONF['indexORNOT'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 82 <label><input type="radio" name="indexORNOT" value="false" '.((!$CONF['indexORNOT'])?'checked="checked"':'').'/> '.l10n('no').'</label> 90 <input type="radio" id="indexORNOT1" name="indexORNOT" value="true" '.(($CONF['indexORNOT'])?'checked="checked"':'').'/> 91 <label for="indexORNOT1">'.l10n('yes').'</label> 92 <input type="radio" id="indexORNOT2" name="indexORNOT" value="false" '.((!$CONF['indexORNOT'])?'checked="checked"':'').'/> 93 <label for="indexORNOT2">'.l10n('no').'</label> 83 94 </td> 84 95 </tr> … … 132 143 <td>'.l10n('copyONhd').' :</td> 133 144 <td> 134 <label><input type="radio" name="copyONhd" value="true" '.(($CONF['copyONhd'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 135 <label><input type="radio" name="copyONhd" value="false" '.((!$CONF['copyONhd'])?'checked="checked"':'').'/> '.l10n('no').'</label> 145 <input type="radio" id="copyONhd1" name="copyONhd" value="true" '.(($CONF['copyONhd'])?'checked="checked"':'').'/> 146 <label for="copyONhd1">'.l10n('yes').'</label> 147 <input type="radio" id="copyONhd2" name="copyONhd" value="false" '.((!$CONF['copyONhd'])?'checked="checked"':'').'/> 148 <label for="copyONhd2">'.l10n('no').'</label> 136 149 </td> 137 150 </tr> … … 139 152 <td>'.l10n('copyONnormal').' :</td> 140 153 <td> 141 <label><input type="radio" name="copyONnormal" value="true" '.(($CONF['copyONnormal'])?'checked="checked"':'').'/> '.l10n('yes').'</label> 142 <label><input type="radio" name="copyONnormal" value="false" '.((!$CONF['copyONnormal'])?'checked="checked"':'').'/> '.l10n('no').'</label> 154 <input type="radio" id="copyONnormal1" name="copyONnormal" value="true" '.(($CONF['copyONnormal'])?'checked="checked"':'').'/> 155 <label for="copyONnormal1">'.l10n('yes').'</label> 156 <input type="radio" id="copyONnormal2" name="copyONnormal" value="false" '.((!$CONF['copyONnormal'])?'checked="checked"':'').'/> 157 <label for="copyONnormal2">'.l10n('no').'</label> 143 158 </td> 144 159 </tr> … … 146 161 <td>'.l10n('copyPOS%s', l10n('copyPOSv')).' :</td> 147 162 <td> 148 <label><input type="radio" name="copyPOS[0]" value="top" '.(($CONF['copyPOS'][0]=='top')?'checked="checked"':'').'/> '.l10n('top').'</label> 149 <label><input type="radio" name="copyPOS[0]" value="center" '.(($CONF['copyPOS'][0]=='center')?'checked="checked"':'').'/> '.l10n('center').'</label> 150 <label><input type="radio" name="copyPOS[0]" value="bottom" '.(($CONF['copyPOS'][0]=='bottom')?'checked="checked"':'').'/> '.l10n('bottom').'</label> 163 <input type="radio" id="copyPOS01" name="copyPOS[0]" value="top" '.(($CONF['copyPOS'][0]=='top')?'checked="checked"':'').'/> 164 <label for="copyPOS01">'.l10n('top').'</label> 165 <input type="radio" id="copyPOS02" name="copyPOS[0]" value="center" '.(($CONF['copyPOS'][0]=='center')?'checked="checked"':'').'/> 166 <label for="copyPOS02">'.l10n('center').'</label> 167 <input type="radio" id="copyPOS03" name="copyPOS[0]" value="bottom" '.(($CONF['copyPOS'][0]=='bottom')?'checked="checked"':'').'/> 168 <label for="copyPOS03">'.l10n('bottom').'</label> 151 169 </td> 152 170 </tr> … … 154 172 <td>'.l10n('copyPOS%s', l10n('copyPOSh')).' :</td> 155 173 <td> 156 <label><input type="radio" name="copyPOS[1]" value="left" '.(($CONF['copyPOS'][1]=='left')?'checked="checked"':'').'/> '.l10n('left').'</label> 157 <label><input type="radio" name="copyPOS[1]" value="center" '.(($CONF['copyPOS'][1]=='center')?'checked="checked"':'').'/> '.l10n('center').'</label> 158 <label><input type="radio" name="copyPOS[1]" value="right" '.(($CONF['copyPOS'][1]=='right')?'checked="checked"':'').'/> '.l10n('right').'</label> 174 <input type="radio" id="copyPOS11" name="copyPOS[1]" value="left" '.(($CONF['copyPOS'][1]=='left')?'checked="checked"':'').'/> 175 <label for="copyPOS11">'.l10n('left').'</label> 176 <input type="radio" id="copyPOS12" name="copyPOS[1]" value="center" '.(($CONF['copyPOS'][1]=='center')?'checked="checked"':'').'/> 177 <label for="copyPOS12">'.l10n('center').'</label> 178 <input type="radio" id="copyPOS13" name="copyPOS[1]" value="right" '.(($CONF['copyPOS'][1]=='right')?'checked="checked"':'').'/> 179 <label for="copyPOS13">'.l10n('right').'</label> 159 180 </td> 160 181 </tr> … … 165 186 <tr> 166 187 <td>'.l10n('copyCOLOR').' :</td> 167 <td><input type="text" name="copyCOLOR" value="'.$CONF['copyCOLOR'].'" size="6" id="colorpicker"/></td>188 <td><input type="text" id="colorpicker" name="copyCOLOR" value="'.$CONF['copyCOLOR'].'" size="6"/></td> 168 189 <script type="text/javascript"> 169 190 $("#colorpicker").ColorPicker({ … … 209 230 $PAGE_CONTENT[0] .= '<label><input type="checkbox" name="Plugins['.$plugin_id.'][delete]" value="true" checked="checked"/> '.l10n('erase').'</label>'; 210 231 } else { 211 $PAGE_CONTENT[0] .= '<label><input type="radio" name="Plugins['.$plugin_id.'][active]" value="true" '.(($plugin_config['active'])?'checked="checked"':'').'/> '.l10n('Active').'</label> 212 <label><input type="radio" name="Plugins['.$plugin_id.'][active]" value="false" '.((!$plugin_config['active'])?'checked="checked"':'').'/> '.l10n('Inactive').'</label>'; 232 $PAGE_CONTENT[0] .= '<input type="radio" id="" id="active-'.$plugin_id.'" name="Plugins['.$plugin_id.'][active]" value="true" '.(($plugin_config['active'])?'checked="checked"':'').'/> 233 <label for="active-'.$plugin_id.'">'.l10n('Active').'</label> 234 <input type="radio" id="" id="inactive-'.$plugin_id.'"name="Plugins['.$plugin_id.'][active]" value="false" '.((!$plugin_config['active'])?'checked="checked"':'').'/> 235 <label for="inactive-'.$plugin_id.'">'.l10n('Inactive').'</label>'; 213 236 } 214 237 $PAGE_CONTENT[0] .= '</span> … … 230 253 $PAGE_CONTENT[2] .= '<div class="generic link"> 231 254 <input type="submit" value="'.l10n('Valid').'"/> 232 <input type="reset" value="'.l10n('Reset').'"/>233 255 <input type="reset" onclick="location.href=\'index.php\'" value="'.l10n('Back').'"/> 234 256 </div>
Note: See TracChangeset
for help on using the changeset viewer.