Changeset 59647 in spip-zone for _squelettes_/escal/branche_V3/contact.html
- Timestamp:
- Mar 22, 2012, 4:53:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_squelettes_/escal/branche_V3/contact.html
r59606 r59647 82 82 83 83 [(#CONFIG{escal/config/checkbox1}|non) <!-- ] 84 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox1} )]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox1})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox1})]84 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox1}|typo)]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox1})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox1}|typo)] 85 85 [(#CONFIG{escal/config/checkbox1}|non) 1 --> ] 86 86 … … 88 88 89 89 [(#CONFIG{escal/config/checkbox2}|non) <!-- ] 90 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox2} )]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox2})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox2})]90 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox2}|typo)]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox2})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox2}|typo)] 91 91 [(#CONFIG{escal/config/checkbox2}|non) 2 --> ] 92 92 … … 94 94 95 95 [(#CONFIG{escal/config/checkbox3}|non) <!-- ] 96 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox3} )]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox3})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox3})]96 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox3}|typo)]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox3})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox3}|typo)] 97 97 [(#CONFIG{escal/config/checkbox3}|non) 3 --> ] 98 98 … … 100 100 101 101 [(#CONFIG{escal/config/checkbox4}|non) <!-- ] 102 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox4} )]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox4})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox4})]102 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox4}|typo)]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox4})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox4}|typo)] 103 103 [(#CONFIG{escal/config/checkbox4}|non) 4 --> ] 104 104 … … 106 106 107 107 [(#CONFIG{escal/config/checkbox5}|non) <!-- ] 108 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox5} )]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox5})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox5})]108 <input type="checkbox" name="Niveau[]" value="[(#CONFIG{escal/config/checkbox5}|typo)]" <?php if ($_POST['Niveau']=='[(#CONFIG{escal/config/checkbox5})]') { echo 'checked="checked"'; } ?> />[(#CONFIG{escal/config/checkbox5}|typo)] 109 109 [(#CONFIG{escal/config/checkbox5}|non) 5 --> ] 110 110 … … 174 174 $erreur=1; 175 175 } 176 if (empty($_POST['Niveau'] )) { 177 echo "<p class='alerte'><:escal:contact_alerte_checkbox:></p>"; 178 $erreur=1; 179 } else { 180 $message.= "<:escal:envoi_mail_niveau:> "; 176 177 $message.= "[(#CONFIG{escal/config/titrecheckbox})]"; 181 178 $message.= implode(" - ",$_POST['Niveau']); 182 } 179 183 180 $message.=" \n\n <:escal:envoi_mail_message:> \n $vMessage\n"; 184 181 if (empty($vMessage)) {
Note: See TracChangeset
for help on using the changeset viewer.