X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;fp=web%2Findex.php;h=878c2a5de338c03508d4562409034ec60a0707d6;hb=5a0aa4a98df035d451b1e7b427ef16cc3580b932;hp=9a1459fffefab0166fb8a538435ee7752b7781c0;hpb=b3228a76777d1eab9e2ed69e1e3b880e050209d5;p=brisk.git
diff --git a/web/index.php b/web/index.php
index 9a1459f..878c2a5 100644
--- a/web/index.php
+++ b/web/index.php
@@ -2,7 +2,7 @@
/*
* brisk - index.php
*
- * Copyright (C) 2006-2015 Matteo Nastasi
+ * Copyright (C) 2006-2016 Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@ -1013,7 +1013,6 @@ supported by:
-
@@ -1040,7 +1039,6 @@ var g_tables_auth_n = echo TABLES_AUTH_N; ?>;
var g_tables_cert_n = echo TABLES_CERT_N; ?>;
var g_prefs, g_prefs_new = null;
var g_prefsn = null, g_prefsn_old = null;
-var g_prefsf = null;
var g_listen;
var g_withflash = false;
var g_is_spawn = 0;
@@ -1210,7 +1208,6 @@ cookie_law(null);
var g_tables_cert_n = echo TABLES_CERT_N; ?>;
var g_prefs, g_prefs_new = null;
var g_prefsn = null, g_prefsn_old = null;
- var g_prefsf = null;
var g_listen;
var g_is_spawn = 0;
var g_withflash = false;
@@ -1226,20 +1223,18 @@ cookie_law(null);
// var nonunload = false;
var spo_slide, sup_slide;
- function status_cb()
- {
- console.log("status_cb");
- }
-
+ /* room case */
window.onload = function() {
g_brow = get_browser_agent();
g_prefs = new client_prefs(null);
/* g_prefsn = new Prefsn($('prefsn')); */
- g_prefsf = new Fieldify(null, null, null, {}, "prefsf", [$("prefsf")], status_cb);
+ prefsf_initialize();
+ // console.log(g_prefsf);
spo_slide = new sideslide($('spon_caro'), 80, 20);
sup_slide = new sideslide($('supp_caro'), 80, 20);
+ g_prefsf.page_set('index_wr.php?mesg=prefsf');
@@ -1607,7 +1602,7 @@ type="submit" class="button" onclick="this.form.elements['realsub'].value = 'chi