in theory, selectable avatar hosts

This commit is contained in:
Shish 2010-04-21 17:32:32 +01:00
parent 0b2bc99a9d
commit 0816e6bb67

View File

@ -185,9 +185,15 @@ class UserPage extends SimpleExtension {
}
public function onSetupBuilding(Event $event) {
$hosts = array(
"None" => "none",
"Gravatar" => "gravatar"
);
$sb = new SetupBlock("User Options");
$sb->add_bool_option("login_signup_enabled", "Allow new signups: ");
$sb->add_longtext_option("login_tac", "<br>Terms &amp; Conditions:<br>");
#$sb->add_choice_option("avatar_host", $hosts, "<br>Avatars: ");
$event->panel->add_block($sb);
}