Login Widget

Under Construction

Standard Login Widget

$d = new AppGiniHelper\UI\Dashboards\Dashboard();
list($column, $other) = $d->create([4, 8]);
$column->addLoginWidget("Title");

Show login only if we are not logged in

$d = new AppGiniHelper\UI\Dashboards\Dashboard();
list($column, $other) = $d->create([4, 8]);

if (getLoggedMemberID() == "guest") {
    $column->addLoginWidget("Title");
}

Compact Login Widget

$d = new AppGiniHelper\UI\Dashboards\Dashboard();
list($column, $other) = $d->create([4, 8]);
$column->addLoginWidget("Title")->compact(true);

Notes

At the moment, I do not intend to add more options like "Remember me" or "Forgot Password" to this dashboard widget.

Do you like it?