File:
[LON-CAPA] /
rat /
client /
Attic /
extpickcode.html
Revision
1.6:
download - view:
text,
annotated -
select for diffs
Sat Jul 7 00:53:26 2007 UTC (16 years, 11 months ago) by
albertel
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_99_0,
bz6209-base,
bz6209,
bz5969,
bz2851,
HEAD,
GCI_3,
GCI_2,
GCI_1
- BUG#3487, make it possible to edit the location fo an external resource
- improve paste buffer handling of ext resources and add ability to
properly handle https:// style external resources
- fix handling of : in paste buffer titles
- some css tweaks
1: <html>
2:
3: <!--
4: The LearningOnline Network
5: Pick External Resources
6: //
7: // $Id: extpickcode.html,v 1.6 2007/07/07 00:53:26 albertel 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: <head>
33: <script type="text/javascript">
34: function initfields () {
35: if ( parent.opener.document.forms.extimport.title.value != '') {
36: document.forms.pick.exttitle.value =
37: parent.opener.document.forms.extimport.title.value;
38: document.forms.pick.exturl.value =
39: parent.opener.document.forms.extimport.url.value;
40:
41: }
42: }
43:
44: </script>
45: </head>
46: <body bgcolor="#FFFFBB" onload="javascript:initfields()">
47: <form name="pick">
48: <table>
49: <tr><td bgcolor="#FFFF99">
50: <input type="button" name="cancel" value="Choose"
51: onClick="javascript:parent.opener.document.forms.extimport.title.value=escape(this.form.exttitle.value);parent.opener.document.forms.extimport.url.value=escape(this.form.exturl.value);parent.opener.finishpick();parent.close();" /></td>
52: <td>Title:</td>
53: <td><input type="text" size="60" name="exttitle" value="External Resource" />
54: </td></tr>
55: <tr>
56: <td bgcolor="#FFFF99">
57: <input type="button" name="cancel" value="Cancel"
58: onClick="parent.close();"/></td>
59: <td>URL: <input type="button" name="view" value="View"
60: onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
61: </td>
62: <td><input type="text" size="60" name="exturl"
63: value="http://" />
64: </td></tr>
65: </table>
66: </form>
67: </body>
68: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>