Changeset 7878 in spip-zone


Ignore:
Timestamp:
Dec 11, 2006, 5:33:57 PM (12 years ago)
Author:
bertrand@…
Message:

Case à cocher si on veut copier et pas renommer.

Location:
_plugins_/_dev_/sms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/sms/exec/config_sms.php

    r7874 r7878  
    4040                $securiser_action = charger_fonction('securiser_action', 'inc');
    4141                $securiser_action();
    42                 if ($supprimer || $contexte['compte'] != $contexte['was_compte']) {
     42                if ($supprimer ||
     43                 (!_request('copier') && $contexte['compte'] != $contexte['was_compte'])) {
    4344                        $config = meta_config_sms($contexte['was_compte']);
    4445                }
  • _plugins_/_dev_/sms/fonds/config_sms_head.html

    r7842 r7878  
    99<input name="arg" type="hidden" value="#ENV{arg}" />
    1010<input name="exec" type="hidden" value="config_sms" />
    11 <fieldset><label>*<:SMS:compte:></label>
     11<fieldset>
     12<label for="compte">*<:SMS:compte:></label>
    1213<input type="text" name="compte" value="#ENV{compte}" size="15" />
     14<label for="copier"><:SMS:copier_si_change:></label>
     15<input type="checkbox" name="copier" />
    1316<input type="hidden" name="was_compte" value="#ENV{compte}" />
    1417</fieldset>
Note: See TracChangeset for help on using the changeset viewer.