svn commit: r284 - trunk/mapbender/http/javascripts/mod_setTimeout.php
vera_schulze at osgeo.org
vera_schulze at osgeo.org
Mon May 15 07:34:49 EDT 2006
Author: vera_schulze
Date: 2006-05-15 11:34:48+0000
New Revision: 284
Modified:
trunk/mapbender/http/javascripts/mod_setTimeout.php (contents, props changed)
Log:
Code cleaning ready
Modified: trunk/mapbender/http/javascripts/mod_setTimeout.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_setTimeout.php?view=diff&rev=284&p1=trunk/mapbender/http/javascripts/mod_setTimeout.php&p2=trunk/mapbender/http/javascripts/mod_setTimeout.php&r1=283&r2=284
==============================================================================
--- trunk/mapbender/http/javascripts/mod_setTimeout.php (original)
+++ trunk/mapbender/http/javascripts/mod_setTimeout.php 2006-05-15 11:34:48+0000
@@ -1,6 +1,6 @@
<?php
-#$Id: mod_setTimeout.php,v 1.3 2005/09/13 16:30:43 uli_rothstein Exp $
-#$Header: /cvsroot/mapbender/mapbender/http/javascripts/mod_setTimeout.php,v 1.3 2005/09/13 16:30:43 uli_rothstein Exp $
+# $Id$
+# http://www.mapbender.org/index.php/mod_setTimeout.php
# Copyright (C) 2002 CCGIS
#
# This program is free software; you can redistribute it and/or modify
@@ -46,16 +46,16 @@
function mod_setTimeout_check(){
var str = "<span style='font-family: Arial, Helvetica, sans-serif;font-size:10px;'>";
str += "Automatische Abmeldung: ";
-
+
if(mod_timeout_cnt >= 0){
str += mod_timeout_cnt;
}
else { str += "0"; }
-
+
str += " min";
str += "</span>";
writeTag("", "timeout", str );
-
+
if(mod_timeout_cnt == 0 && mod_timeout_action == 'alert'){
var go = confirm("Bitte beachten Sie, dass Ihre Session abgelaufen sein kann...\n Mit OK laden Sie die Anwendung neu!");
if(go == true){
More information about the Mapbender_commits
mailing list