added message when a selected module is not yet ready
This commit is contained in:
parent
cd31c1ba13
commit
48e390159f
|
@ -862,9 +862,16 @@ class accountContainer {
|
||||||
$this->subpage='attributes';
|
$this->subpage='attributes';
|
||||||
}
|
}
|
||||||
else for ($i=1; $i<count($this->order); $i++ )
|
else for ($i=1; $i<count($this->order); $i++ )
|
||||||
if (isset($post['form_main_'.$this->order[$i]]) && ($this->module[$this->order[$i]]->module_ready())) {
|
if (isset($post['form_main_'.$this->order[$i]])) {
|
||||||
$this->current_page = $i;
|
if ($this->module[$this->order[$i]]->module_ready()) {
|
||||||
$this->subpage='attributes';
|
$this->current_page = $i;
|
||||||
|
$this->subpage='attributes';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
StatusMessage('ERROR', _('The module %s is not yet ready.'),
|
||||||
|
_('Please enter the account information on the other pages first.'),
|
||||||
|
array($this->module[$this->order[$i]]->get_alias()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Write HTML-Code
|
// Write HTML-Code
|
||||||
|
|
Loading…
Reference in New Issue