users_list();
$quotapiwik = $quota->getquota('piwik');
// TODO - Put the limit of piwik users (here at 3) as a variable in alternC
if ($quotapiwik['t'] > 0 && count($userslist) < 3) {
?>
msg_html_all("", true, true);
?>
raise('Info', "piwik", _("You cannot add any new Piwik account, your quota is over."));
} // cancreate piwik
?>
msg_html_all("", true, true);
// printVar($piwik->dev());
if (empty($userslist)){
$msg->raise('Info', "piwik", _("No existing Piwik accounts"));
echo $msg->msg_html_all();
} else {
?>
| | |
login;
$db->query("SELECT passwd FROM piwik_users WHERE login = '$user->login'");
if ($db->next_record()) {
$piwik_pwd = $db->f('passwd');
}
$col=3-$col;
?>
|
login ?> |
|