Par defaut, on a OUI dans 'gere-t-on vos mails', par ailleurs, un message prévient de la destruction des emails. Closes #1194

This commit is contained in:
Benjamin Sonntag 2010-06-23 23:26:10 +00:00
parent ff10656f84
commit 719097e088
3 changed files with 9 additions and 1 deletions

View File

@ -101,7 +101,7 @@ if ($error) {
<?php if (variable_get('hosting_tld') || $dom->enum_domains()) { ?> <?php if (variable_get('hosting_tld') || $dom->enum_domains()) { ?>
<tr> <tr>
<th colspan="2"> <th colspan="2">
<input type="checkbox" name="create_dom" value="1" class="inc" id="create_dom" /> <input type="checkbox" name="create_dom" value="1" class="inc" id="create_dom" <?php cbox($create_dom==1); ?>/>
<label for="create_dom"><?php printf(_("Install the domain"),""); ?></label> <label for="create_dom"><?php printf(_("Install the domain"),""); ?></label>
<span class="int" id="create_dom_list_pfx">login.</span><select name="create_dom_list" class="int" id="create_dom_list"> <span class="int" id="create_dom_list_pfx">login.</span><select name="create_dom_list" class="int" id="create_dom_list">
<?php if (variable_get('hosting_tld')) { ?> <?php if (variable_get('hosting_tld')) { ?>

View File

@ -171,10 +171,15 @@ if (!$r[noerase]) {
<td width="35%" valign="top"> <td width="35%" valign="top">
<p> <p>
<?php __("help_dns_mail"); ?></p> <?php __("help_dns_mail"); ?></p>
<p>
<input type="radio" id="emailon" class="inc" name="email" id="emailon" value="1"<?php cbox($r["mail"]); ?> <?php if ($r["dns"]) echo "disabled=\"disabled\""; ?>/><label for="emailon"><?php __("Yes"); ?></label> <input type="radio" id="emailon" class="inc" name="email" id="emailon" value="1"<?php cbox($r["mail"]); ?> <?php if ($r["dns"]) echo "disabled=\"disabled\""; ?>/><label for="emailon"><?php __("Yes"); ?></label>
<br /> <br />
<input type="radio" id="emailoff" class="inc" name="email" id="emailoff" value="0"<?php cbox(!$r["mail"]); ?> <?php if ($r["dns"]) echo "disabled=\"disabled\""; ?>/><label for="emailoff"><?php __("No"); ?></label> <input type="radio" id="emailoff" class="inc" name="email" id="emailoff" value="0"<?php cbox(!$r["mail"]); ?> <?php if ($r["dns"]) echo "disabled=\"disabled\""; ?>/><label for="emailoff"><?php __("No"); ?></label>
</p>
<p> <?php __("Warning: If you set this to 'no', all your email accounts and aliases on this domain will be immediately deleted."); ?>
</p>
</td> </td>
</tr> </tr>
<tr class="trbtn"><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Submit the changes"); ?>" /></td></tr> <tr class="trbtn"><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Submit the changes"); ?>" /></td></tr>
</table> </table>

View File

@ -2962,3 +2962,6 @@ msgstr "Mo"
msgid "Please check the accounts you want to delete" msgid "Please check the accounts you want to delete"
msgstr "Veuillez cocher les comptes que vous souhaitez effacer" msgstr "Veuillez cocher les comptes que vous souhaitez effacer"
msgid "Warning: If you set this to 'no', all your email accounts and aliases on this domain will be immediately deleted."
msgstr "Attention: Si vous mettez 'non' ici, toutes les adresses emails de ce domaine et les messages qu'elles contiennent seront immédiatement détruits."