X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=58905903e8dd18f48fb3a5be1e98a833938703d2;hb=f6445c5859080b07104569f75af2cb64c89cb8bb;hp=4657e048c95298a2d05910204e6f38c46dacbb77;hpb=c5633cf4c38ac8553de7f6b6d7996ffa30a6adf3;p=brisk.git diff --git a/web/index.php b/web/index.php index 4657e04..5890590 100644 --- a/web/index.php +++ b/web/index.php @@ -2,7 +2,7 @@ /* * brisk - index.php * - * Copyright (C) 2006-2008 Matteo Nastasi + * Copyright (C) 2006-2009 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -28,6 +28,9 @@ require_once("Obj/brisk.phh"); require_once("Obj/auth.phh"); require_once("Obj/proxyscan.phh"); +$mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati.', + 'en' => 'Wrong user and/or password.') ); + // Use of proxies isn't allowed. if (!$G_is_local && is_proxy()) exit; @@ -40,11 +43,64 @@ if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') { log_load("index.php"); + +function pool_dom() { + GLOBAL $G_with_pool; + + // $G_with_pool = TRUE; + $G_with_pool = FALSE; + + if ($G_with_pool) { + return sprintf('
+ + +