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, 8 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

<html>

<!--
The LearningOnline Network
Pick External Resources
//
// $Id: extpickcode.html,v 1.4 2003/02/26 20:30:44 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
// This file is part of the LearningOnline Network with CAPA (LON-CAPA).
//
// LON-CAPA is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// LON-CAPA is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with LON-CAPA; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// /home/httpd/html/adm/gpl.txt
//
// http://www.lon-capa.org/
//
-->

<body bgcolor="#FFFFBB">
<form>
<table>
<tr><td bgcolor="#FFFF99">
<input type="button" name="cancel" value="Choose"
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>
<td>Title:</td>
<td><input type="text" size="60" name="exttitle" value="External Resource" />
</td></tr>
<tr>
<td bgcolor="#FFFF99">
<input type="button" name="cancel" value="Cancel"
onClick="parent.close();"/></td>
<td>URL: <input type="button" name="view" value="View"
onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
</td>
<td><input type="text" size="60" name="exturl"
value="http://" />
</td></tr>
</table>
</form>
</body>
</html>

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