[system] / trunk / pg / macros / AppletObjects.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/AppletObjects.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5626 Revision 5642
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: pg/macros/AppletObjects.pl,v 1.5 2008/03/25 22:00:23 gage Exp $ 4# $CVSHeader: pg/macros/AppletObjects.pl,v 1.6 2008/03/26 02:43:07 gage Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
232 > 232 >
233 !; 233 !;
234 my $state_input_element = ($self->debug == 1) ? $debug_input_element : 234 my $state_input_element = ($self->debug == 1) ? $debug_input_element :
235 qq!\n<input type="hidden" name = "$appletStateName" value ="$base_64_encoded_answer_value">!; 235 qq!\n<input type="hidden" name = "$appletStateName" value ="$base_64_encoded_answer_value">!;
236 my $reset_button_str = ($reset_button) ? 236 my $reset_button_str = ($reset_button) ?
237 qq!<br/><input type='button' value='reset applet' onClick="applet_setState_list['$appletName']('<xml></xml>')">! 237 qq!<br/><input type='button' value='set applet state empty' onClick="applet_setState_list['$appletName']('<xml></xml>')">
238 <input type="button" value="reinitialize applet" onClick="initializeAction()"/>!
238 : '' 239 : ''
239 ; 240 ;
240 # always base64 encode the hidden answer value to prevent problems with quotes. 241 # always base64 encode the hidden answer value to prevent problems with quotes.
241 # 242 #
242 $state_storage_html_code = 243 $state_storage_html_code =

Legend:
Removed from v.5626  
changed lines
  Added in v.5642

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9