Dotclear

Changeset 3790:21ad49b2b760 for plugins


Ignore:
Timestamp:
08/10/18 11:21:25 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Allows -1 for TTL spams deletion delay in days (in order to disable the feature), add some info about this field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/_admin.php

    r3781 r3790  
    9494        '<div class="fieldset"><h4 id="antispam_params">Antispam</h4>' . 
    9595        '<p><label for="antispam_moderation_ttl" class="classic">' . __('Delete junk comments older than') . ' ' . 
    96         form::number('antispam_moderation_ttl', 0, 999, $ttl) . 
     96        form::number('antispam_moderation_ttl', -1, 999, $ttl) . 
    9797        ' ' . __('days') . 
    9898        '</label></p>' . 
     99        '<p class="form-note">' . __('Set -1 to disabled this feature ; Leave empty to use default 7 days delay.') . '</p>' . 
    99100        '<p><a href="' . $core->adminurl->get('admin.plugin.antispam') . '">' . __('Set spam filters.') . '</a></p>' . 
    100101            '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map