Skip to content

Commit 2c821d1

Browse files
authored
Merge pull request #1528 from voltan/develop
Move cron option to tools module
2 parents 7722f54 + 8ba3f78 commit 2c821d1

25 files changed

+904
-902
lines changed

usr/module/system/config/config.php

+20-37
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
'title' => _t('Text processing'),
5050
),
5151
array(
52-
'name' => 'cron',
53-
'title' => _t('Cron'),
52+
'name' => 're_captcha',
53+
'title' => _t('ReCaptcha'),
5454
),
5555
array(
5656
'name' => 'mail',
@@ -117,37 +117,19 @@
117117
'category' => 'general',
118118
),
119119

120-
'ga_account' => array(
121-
'title' => _t('GA account'),
122-
'description' => _t('Google Analytics trackingID `UA-XXXXXXXX-X`. To specify host as well, append to the code `UA-XXXXXXXX-X; XXXX.tld`.'),
123-
'category' => 'general',
124-
),
125-
126-
'captcha_public_key' => array(
127-
'title' => _t('ReCaptcha Public Key'),
128-
'description' => _t('see https://www.google.com/recaptcha to create your public key dedicated to your website domain. Both keys are mandatory.'),
129-
'edit' => 'text',
130-
'value' => '',
131-
'filter' => 'string',
132-
'category' => 'general',
133-
),
134-
135-
'captcha_private_key' => array(
136-
'title' => _t('ReCaptcha Private Key'),
137-
'description' => _t('see https://www.google.com/recaptcha to create your private key dedicated to your website domain. Both keys are mandatory..'),
138-
'edit' => 'text',
139-
'value' => '',
140-
'filter' => 'string',
141-
'category' => 'general',
142-
),
143-
144120
'foot_script' => array(
145121
'title' => _t('Foot scripts'),
146122
'description' => _t('Scripts that will be appended to each page footer. Either naked or wrapped js scripts are allowed.'),
147123
'edit' => 'textarea',
148124
'category' => 'general',
149125
),
150126

127+
'ga_account' => array(
128+
'title' => _t('GA account'),
129+
'description' => _t('Google Analytics trackingID `UA-XXXXXXXX-X`. To specify host as well, append to the code `UA-XXXXXXXX-X; XXXX.tld`.'),
130+
'category' => 'general',
131+
),
132+
151133
'theme' => array(
152134
'title' => _t('Theme'),
153135
'value' => 'default',
@@ -710,21 +692,22 @@
710692
'category' => 'geo_tag',
711693
),
712694

713-
'cron_active' => array(
714-
'category' => 'cron',
715-
'title' => _a('Active cron'),
716-
'description' => '',
717-
'edit' => 'checkbox',
718-
'filter' => 'number_int',
719-
'value' => 0
695+
'captcha_public_key' => array(
696+
'title' => _t('ReCaptcha Public Key'),
697+
'description' => _t('see https://www.google.com/recaptcha to create your public key dedicated to your website domain. Both keys are mandatory.'),
698+
'edit' => 'text',
699+
'value' => '',
700+
'filter' => 'string',
701+
'category' => 're_captcha',
720702
),
721703

722-
'cron_password' => array(
723-
'category' => 'cron',
724-
'title' => _a('Cron password'),
704+
'captcha_private_key' => array(
705+
'title' => _t('ReCaptcha Private Key'),
706+
'description' => _t('see https://www.google.com/recaptcha to create your private key dedicated to your website domain. Both keys are mandatory..'),
725707
'edit' => 'text',
708+
'value' => '',
726709
'filter' => 'string',
727-
'value' => md5(rand()),
710+
'category' => 're_captcha',
728711
),
729712
);
730713

usr/module/system/config/module.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'description' =>
2222
_a('For administration of core functions of the site.'),
2323
// Version number, required
24-
'version' => '3.5.10',
24+
'version' => '3.5.11',
2525
// Distribution license, required
2626
'license' => 'New BSD',
2727
// Logo image, for admin, optional

usr/module/system/config/nav.admin.php

-11
Original file line numberDiff line numberDiff line change
@@ -277,17 +277,6 @@
277277
),
278278
),
279279

280-
'cron' => array(
281-
'label' => _t('Cron'),
282-
'route' => 'admin',
283-
'module' => 'system',
284-
'controller' => 'cron',
285-
'action' => 'index',
286-
'permission' => array(
287-
'resource' => 'maintenance',
288-
),
289-
),
290-
291280
'toolkit' => array(
292281
'label' => _t('Toolkit'),
293282
'permission' => array(

usr/module/system/config/page.php

-6
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,6 @@
124124
'controller' => 'asset',
125125
'permission' => 'maintenance',
126126
),
127-
// cron
128-
array(
129-
'title' => _a('Cron'),
130-
'controller' => 'cron',
131-
'permission' => 'maintenance',
132-
),
133127
// audit
134128
array(
135129
'title' => _a('Auditing'),

usr/module/system/locale/en/admin.mo

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)