From 0816e6bb6718ea696c3aa6fce5cece3dd70179fe Mon Sep 17 00:00:00 2001
From: Shish <shish@shishnet.org>
Date: Wed, 21 Apr 2010 17:32:32 +0100
Subject: [PATCH] in theory, selectable avatar hosts

---
 ext/user/main.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ext/user/main.php b/ext/user/main.php
index bde159da..739ef2b7 100644
--- a/ext/user/main.php
+++ b/ext/user/main.php
@@ -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);
 	}