added message when a selected module is not yet ready
This commit is contained in:
parent
cd31c1ba13
commit
48e390159f
|
@ -862,10 +862,17 @@ 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]])) {
|
||||||
|
if ($this->module[$this->order[$i]]->module_ready()) {
|
||||||
$this->current_page = $i;
|
$this->current_page = $i;
|
||||||
$this->subpage='attributes';
|
$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
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
|
|
Loading…
Reference in New Issue