Révision 950416da
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/rules/rules_scheduler/rules_scheduler.rules.inc | ||
---|---|---|
5 | 5 |
* Rules integration for the rules scheduler module. |
6 | 6 |
* |
7 | 7 |
* @addtogroup rules |
8 |
* |
|
8 | 9 |
* @{ |
9 | 10 |
*/ |
10 | 11 |
|
... | ... | |
115 | 116 |
} |
116 | 117 |
|
117 | 118 |
/** |
118 |
* Validate callback for the schedule action to make sure the component exists and is not dirty. |
|
119 |
* Validate callback for the schedule action. |
|
120 |
* |
|
121 |
* Makes sure the component exists and is not dirty. |
|
119 | 122 |
* |
120 | 123 |
* @see rules_element_invoke_component_validate() |
121 | 124 |
*/ |
... | ... | |
137 | 140 |
*/ |
138 | 141 |
function rules_scheduler_action_schedule_help() { |
139 | 142 |
return t("Note that component evaluation is triggered by <em>cron</em> – make sure cron is configured correctly by checking your site's !status. The scheduling time accuracy depends on your configured cron interval. See <a href='@url'>the online documentation</a> for more information on how to schedule evaluation of components.", |
140 |
array('!status' => l('Status report', 'admin/reports/status'),
|
|
143 |
array('!status' => l(t('Status report'), 'admin/reports/status'),
|
|
141 | 144 |
'@url' => rules_external_help('scheduler'))); |
142 | 145 |
} |
143 | 146 |
|
... | ... | |
192 | 195 |
} |
193 | 196 |
|
194 | 197 |
/** |
195 |
* Cancel scheduled task action validation callback. |
|
198 |
* Cancels scheduled task action validation callback.
|
|
196 | 199 |
*/ |
197 | 200 |
function rules_scheduler_action_delete_validate($element) { |
198 | 201 |
if (empty($element->settings['task']) && empty($element->settings['task:select']) && |
... | ... | |
206 | 209 |
* Help for the cancel action. |
207 | 210 |
*/ |
208 | 211 |
function rules_scheduler_action_delete_help() { |
209 |
return t('This action allows you to delete scheduled tasks that are waiting for future execution.') .' '. t('They can be addressed by an identifier or by the component name, whereas if both are specified only tasks fulfilling both requirements will be deleted.');
|
|
212 |
return t('This action allows you to delete scheduled tasks that are waiting for future execution.') . ' ' . t('They can be addressed by an identifier or by the component name, whereas if both are specified only tasks fulfilling both requirements will be deleted.');
|
|
210 | 213 |
} |
211 | 214 |
|
212 | 215 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules