<body scroll="no" style="OVERFLOW: hidden">
<div id="divInfo" style="DISPLAY: none">
<span fckLang="DlgLnkType">Link Type</span>
<select id="cmbLinkType" onChange="SetLinkType(this.value);">
<option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option>
<option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option>
<option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option>
</select><span fckLang="DlgLnkProto">Protocol</span>
<select id="cmbLinkProtocol">
<option value="http://" selected="selected">http://</option>
<option value="https://">https://</option>
<!--- <option value="ftp://">ftp://</option>
<option value="news://">news://</option>
<option value="" fckLang="DlgLnkProtoOther"><other></option> --->
</select>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var subpage = "";
function InitSaveVariables(form) {
subpage = form.subpage.value;
}
function ShipToBillPerson(form) {
if (form.copy.checked) {
InitSaveVariables(form);
form.txtUrl.value = form.subpage.value;
}
}
// End -->
</script>
<cfquery name="webdir" datasource="TSC">
SELECT schoolid, web_directory
FROM schools
WHERE schoolid = <cfqueryparam value="#SESSION.schoolid#" cfsqltype="cf_sql_clob" maxlength="50">
</cfquery>
<cfquery name="list" datasource="TSC">
SELECT *
FROM web_schools
where web_schools.page_type != 1 AND web_schools.schoolid = #session.schoolid#
ORDER BY name
</cfquery>
<form method="post" action="" name="billform">Sub Page:
<select name="subpage" id="subpage">
<option selected="selected"> </option>
<cfoutput query="list">
<option value="smart.tsc.k12.in.us/webpages/schools/#webdir.web_directory#/index.cfm?pagetype=0&newsid=#list.sup_id#">#list.name#</option></cfoutput>
</select> Use Page? <input type="checkbox" name="copy"
onclick="javascript:ShipToBillPerson(this.form);" value="checkbox" />
<div id="divLinkTypeUrl">
<table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr">
<tr>
<td nowrap="nowrap">
</td>
<td nowrap="nowrap"> </td>
</tr>
<tr>
<td nowrap="nowrap" width="100%">
<span fckLang="DlgLnkURL">URL</span>
<input id="txtUrl" style="WIDTH: 100%" type="text" onKeyUp="OnUrlChange();" onChange="OnUrlChange();" /> </form>
Wed, 10/07/2009 - 17:06
#1
