| 1 |
<?php |
<?php |
| 2 |
// $Id: rules_admin.rule_forms.inc,v 1.1.2.7 2009/04/19 15:03:43 fago Exp $ |
// $Id: rules_admin.rule_forms.inc,v 1.1.2.8 2009/04/19 21:21:31 fago Exp $ |
| 3 |
|
|
| 4 |
|
|
| 5 |
/** |
/** |
| 404 |
* |
* |
| 405 |
* @param $id The id of the the element where the condition / action is to be added |
* @param $id The id of the the element where the condition / action is to be added |
| 406 |
*/ |
*/ |
| 407 |
function rules_admin_form_edit(&$form_state, &$proxy, $element) { |
function rules_admin_form_edit(&$form_state, $proxy, $element) { |
| 408 |
if (!isset($form_state['element'])) { |
if (!isset($form_state['element'])) { |
| 409 |
//initial step! |
//initial step! |
| 410 |
$form_state += array('element' => $element, 'step' => 1); |
$form_state += array('element' => $element, 'step' => 1); |