File:  [LON-CAPA] / rat / client / Attic / extpickcode.html
Revision 1.4: download - view: text, annotated - select for diffs
Wed Feb 26 20:30:44 2003 UTC (21 years, 3 months ago) by www
Branches: MAIN
CVS tags: version_1_1_X, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, conference_2003, HEAD
Bug #1238 - escape external URL to enable GET parms to be passed along

    1: <html>
    2: 
    3: <!--
    4: The LearningOnline Network
    5: Pick External Resources
    6: //
    7: // $Id: extpickcode.html,v 1.4 2003/02/26 20:30:44 www Exp $
    8: //
    9: // Copyright Michigan State University Board of Trustees
   10: //
   11: // This file is part of the LearningOnline Network with CAPA (LON-CAPA).
   12: //
   13: // LON-CAPA is free software; you can redistribute it and/or modify
   14: // it under the terms of the GNU General Public License as published by
   15: // the Free Software Foundation; either version 2 of the License, or
   16: // (at your option) any later version.
   17: //
   18: // LON-CAPA is distributed in the hope that it will be useful,
   19: // but WITHOUT ANY WARRANTY; without even the implied warranty of
   20: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21: // GNU General Public License for more details.
   22: //
   23: // You should have received a copy of the GNU General Public License
   24: // along with LON-CAPA; if not, write to the Free Software
   25: // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   26: //
   27: // /home/httpd/html/adm/gpl.txt
   28: //
   29: // http://www.lon-capa.org/
   30: //
   31: -->
   32: 
   33: <body bgcolor="#FFFFBB">
   34: <form>
   35: <table>
   36: <tr><td bgcolor="#FFFF99">
   37: <input type="button" name="cancel" value="Choose"
   38: onClick="javascript:parent.opener.document.forms.extimport.title.value=this.form.exttitle.value;parent.opener.document.forms.extimport.url.value=escape(this.form.exturl.value);parent.opener.finishpick();parent.close();" /></td>
   39: <td>Title:</td>
   40: <td><input type="text" size="60" name="exttitle" value="External Resource" />
   41: </td></tr>
   42: <tr>
   43: <td bgcolor="#FFFF99">
   44: <input type="button" name="cancel" value="Cancel"
   45: onClick="parent.close();"/></td>
   46: <td>URL: <input type="button" name="view" value="View"
   47: onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
   48: </td>
   49: <td><input type="text" size="60" name="exturl"
   50: value="http://" />
   51: </td></tr>
   52: </table>
   53: </form>
   54: </body>
   55: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>