diff --git a/plugins/login-servers.php b/plugins/login-servers.php index 691b7307..50fbf8a6 100644 --- a/plugins/login-servers.php +++ b/plugins/login-servers.php @@ -6,13 +6,15 @@ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) */ class AdminerLoginServers { - var $servers; + var $servers, $driver; /** Set supported servers * @param array array($domain) or array($domain => $description) or array($category => array()) + * @param string */ - function AdminerLoginServers($servers) { + function AdminerLoginServers($servers, $driver = "server") { $this->servers = $servers; + $this->driver = $driver; } function login($login, $password) { @@ -34,7 +36,7 @@ class AdminerLoginServers { function loginForm() { ?> -
+
">