From: John Graham-C. <jgr...@us...> - 2005-08-20 19:09:50
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32427/UI Modified Files: HTML.pm Log Message: Added variable html_allow_javascript (defaults to 1) which translates to template variable If_Javascript_OK which can be used to enable/disable Javascript popups Index: HTML.pm =================================================================== RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v retrieving revision 1.354 retrieving revision 1.355 diff -C2 -d -r1.354 -r1.355 *** HTML.pm 14 Aug 2005 03:57:27 -0000 1.354 --- HTML.pm 20 Aug 2005 19:09:41 -0000 1.355 *************** *** 167,170 **** --- 167,174 ---- $self->config_( 'strict_templates', 0 ); + # Whether to allow Javascript + + $self->config_( 'allow_javascript', 1 ); + # Load skins *************** *** 3427,3430 **** --- 3431,3435 ---- 'Common_Middle_If_CanAdmin' => $self->user_global_config_( $user, 'can_admin' ), + 'If_Javascript_OK' => $self->config_( 'allow_javascript' ), 'Configuration_Action' => $page ); |