PageRenderTime 41ms CodeModel.GetById 29ms app.highlight 8ms RepoModel.GetById 2ms app.codeStats 0ms

/static/scripts/tiny_mce/plugins/advlink/link.htm

http://n23.googlecode.com/
HTML | 339 lines | 303 code | 36 blank | 0 comment | 0 complexity | 241fc47632fb9681098fa2353afd96ec MD5 | raw file
  1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2<html xmlns="http://www.w3.org/1999/xhtml">
  3<head>
  4	<title>{#advlink_dlg.title}</title>
  5	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
  6	<script type="text/javascript" src="../../utils/mctabs.js"></script>
  7	<script type="text/javascript" src="../../utils/form_utils.js"></script>
  8	<script type="text/javascript" src="../../utils/validate.js"></script>
  9	<script type="text/javascript" src="js/advlink.js"></script>
 10	<link href="css/advlink.css" rel="stylesheet" type="text/css" />
 11	<base target="_self" />
 12</head>
 13<body id="advlink" style="display: none">
 14    <form onsubmit="insertAction();return false;" action="#">
 15		<div class="tabs">
 16			<ul>
 17				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li>
 18				<li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li>
 19				<li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li>
 20				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li>
 21			</ul>
 22		</div>
 23
 24		<div class="panel_wrapper">
 25			<div id="general_panel" class="panel current">
 26				<fieldset>
 27					<legend>{#advlink_dlg.general_props}</legend>
 28
 29					<table border="0" cellpadding="4" cellspacing="0">
 30						<tr>
 31						  <td nowrap="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
 32						  <td><table border="0" cellspacing="0" cellpadding="0">
 33								<tr>
 34								  <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
 35								  <td id="hrefbrowsercontainer">&nbsp;</td>
 36								</tr>
 37							  </table></td>
 38						</tr>
 39						<tr id="linklisthrefrow">
 40							<td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
 41							<td colspan="2" id="linklisthrefcontainer">&nbsp;</td>
 42						</tr>
 43						<tr>
 44							<td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
 45							<td colspan="2" id="anchorlistcontainer">&nbsp;</td>
 46						</tr>
 47						<tr>
 48							<td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
 49							<td id="targetlistcontainer">&nbsp;</td>
 50						</tr>
 51						<tr>
 52							<td nowrap="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
 53							<td><input id="title" name="title" type="text" value="" /></td>
 54						</tr>
 55						<tr>
 56							<td><label id="classlabel" for="classlist">{#class_name}</label></td>
 57							<td>
 58								 <select id="classlist" name="classlist" onchange="changeClass();">
 59									<option value="" selected>{#not_set}</option>
 60								 </select>
 61							</td>
 62						</tr>
 63					</table>
 64				</fieldset>
 65			</div>
 66
 67			<div id="popup_panel" class="panel">
 68				<fieldset>
 69					<legend>{#advlink_dlg.popup_props}</legend>
 70
 71					<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
 72					<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
 73
 74					<table border="0" cellpadding="0" cellspacing="4">
 75						<tr>
 76							<td nowrap="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
 77							<td>
 78								<table border="0" cellspacing="0" cellpadding="0">
 79									<tr>
 80										<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
 81										<td id="popupurlbrowsercontainer">&nbsp;</td>
 82									</tr>
 83								</table>
 84							</td>
 85						</tr>
 86						<tr>
 87							<td nowrap="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
 88							<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
 89						</tr>
 90						<tr>
 91							<td nowrap="nowrap"><label>{#advlink_dlg.popup_size}</label>&nbsp;</td>
 92							<td nowrap="nowrap">
 93								<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
 94								<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
 95							</td>
 96						</tr>
 97						<tr>
 98							<td nowrap="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label>&nbsp;</td>
 99							<td nowrap="nowrap">
100								<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /                                
101								<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
102							</td>
103						</tr>
104					</table>
105
106					<fieldset>
107						<legend>{#advlink_dlg.popup_opts}</legend>
108
109						<table border="0" cellpadding="0" cellspacing="4">
110							<tr>
111								<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
112								<td nowrap="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
113								<td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td>
114								<td nowrap="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
115							</tr>
116							<tr>
117								<td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
118								<td nowrap="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td>
119								<td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td>
120								<td nowrap="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
121							</tr>
122							<tr>
123								<td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
124								<td nowrap="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td>
125								<td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td>
126								<td nowrap="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
127							</tr>
128							<tr>
129								<td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
130								<td nowrap="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td>
131								<td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td>
132								<td nowrap="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
133							</tr>
134						</table>
135					</fieldset>
136				</fieldset>
137			</div>
138
139			<div id="advanced_panel" class="panel">
140			<fieldset>
141					<legend>{#advlink_dlg.advanced_props}</legend>
142
143					<table border="0" cellpadding="0" cellspacing="4">
144						<tr>
145							<td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td> 
146							<td><input id="id" name="id" type="text" value="" /></td> 
147						</tr>
148
149						<tr>
150							<td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td>
151							<td><input type="text" id="style" name="style" value="" /></td>
152						</tr>
153
154						<tr>
155							<td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td>
156							<td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
157						</tr>
158
159						<tr>
160							<td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td>
161							<td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td>
162						</tr>
163
164						<tr>
165							<td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td> 
166							<td>
167								<select id="dir" name="dir"> 
168										<option value="">{#not_set}</option> 
169										<option value="ltr">{#advlink_dlg.ltr}</option> 
170										<option value="rtl">{#advlink_dlg.rtl}</option> 
171								</select>
172							</td> 
173						</tr>
174
175						<tr>
176							<td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td>
177							<td><input type="text" id="hreflang" name="hreflang" value="" /></td>
178						</tr>
179
180						<tr>
181							<td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td> 
182							<td>
183								<input id="lang" name="lang" type="text" value="" />
184							</td> 
185						</tr>
186
187						<tr>
188							<td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td>
189							<td><input type="text" id="charset" name="charset" value="" /></td>
190						</tr>
191
192						<tr>
193							<td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td>
194							<td><input type="text" id="type" name="type" value="" /></td>
195						</tr>
196
197						<tr>
198							<td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
199							<td><select id="rel" name="rel"> 
200									<option value="">{#not_set}</option> 
201									<option value="lightbox">Lightbox</option> 
202									<option value="alternate">Alternate</option> 
203									<option value="designates">Designates</option> 
204									<option value="stylesheet">Stylesheet</option> 
205									<option value="start">Start</option> 
206									<option value="next">Next</option> 
207									<option value="prev">Prev</option> 
208									<option value="contents">Contents</option> 
209									<option value="index">Index</option> 
210									<option value="glossary">Glossary</option> 
211									<option value="copyright">Copyright</option> 
212									<option value="chapter">Chapter</option> 
213									<option value="subsection">Subsection</option> 
214									<option value="appendix">Appendix</option> 
215									<option value="help">Help</option> 
216									<option value="bookmark">Bookmark</option>
217									<option value="nofollow">No Follow</option>
218									<option value="tag">Tag</option>
219								</select> 
220							</td>
221						</tr>
222
223						<tr>
224							<td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td>
225							<td><select id="rev" name="rev"> 
226									<option value="">{#not_set}</option> 
227									<option value="alternate">Alternate</option> 
228									<option value="designates">Designates</option> 
229									<option value="stylesheet">Stylesheet</option> 
230									<option value="start">Start</option> 
231									<option value="next">Next</option> 
232									<option value="prev">Prev</option> 
233									<option value="contents">Contents</option> 
234									<option value="index">Index</option> 
235									<option value="glossary">Glossary</option> 
236									<option value="copyright">Copyright</option> 
237									<option value="chapter">Chapter</option> 
238									<option value="subsection">Subsection</option> 
239									<option value="appendix">Appendix</option> 
240									<option value="help">Help</option> 
241									<option value="bookmark">Bookmark</option> 
242								</select> 
243							</td>
244						</tr>
245
246						<tr>
247							<td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td>
248							<td><input type="text" id="tabindex" name="tabindex" value="" /></td>
249						</tr>
250
251						<tr>
252							<td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td>
253							<td><input type="text" id="accesskey" name="accesskey" value="" /></td>
254						</tr>
255					</table>
256				</fieldset>
257			</div>
258
259			<div id="events_panel" class="panel">
260			<fieldset>
261					<legend>{#advlink_dlg.event_props}</legend>
262
263					<table border="0" cellpadding="0" cellspacing="4">
264						<tr>
265							<td class="column1"><label for="onfocus">onfocus</label></td> 
266							<td><input id="onfocus" name="onfocus" type="text" value="" /></td> 
267						</tr>
268
269						<tr>
270							<td class="column1"><label for="onblur">onblur</label></td> 
271							<td><input id="onblur" name="onblur" type="text" value="" /></td> 
272						</tr>
273
274						<tr>
275							<td class="column1"><label for="onclick">onclick</label></td> 
276							<td><input id="onclick" name="onclick" type="text" value="" /></td> 
277						</tr>
278
279						<tr>
280							<td class="column1"><label for="ondblclick">ondblclick</label></td> 
281							<td><input id="ondblclick" name="ondblclick" type="text" value="" /></td> 
282						</tr>
283
284						<tr>
285							<td class="column1"><label for="onmousedown">onmousedown</label></td> 
286							<td><input id="onmousedown" name="onmousedown" type="text" value="" /></td> 
287						</tr>
288
289						<tr>
290							<td class="column1"><label for="onmouseup">onmouseup</label></td> 
291							<td><input id="onmouseup" name="onmouseup" type="text" value="" /></td> 
292						</tr>
293
294						<tr>
295							<td class="column1"><label for="onmouseover">onmouseover</label></td> 
296							<td><input id="onmouseover" name="onmouseover" type="text" value="" /></td> 
297						</tr>
298
299						<tr>
300							<td class="column1"><label for="onmousemove">onmousemove</label></td> 
301							<td><input id="onmousemove" name="onmousemove" type="text" value="" /></td> 
302						</tr>
303
304						<tr>
305							<td class="column1"><label for="onmouseout">onmouseout</label></td> 
306							<td><input id="onmouseout" name="onmouseout" type="text" value="" /></td> 
307						</tr>
308
309						<tr>
310							<td class="column1"><label for="onkeypress">onkeypress</label></td> 
311							<td><input id="onkeypress" name="onkeypress" type="text" value="" /></td> 
312						</tr>
313
314						<tr>
315							<td class="column1"><label for="onkeydown">onkeydown</label></td> 
316							<td><input id="onkeydown" name="onkeydown" type="text" value="" /></td> 
317						</tr>
318
319						<tr>
320							<td class="column1"><label for="onkeyup">onkeyup</label></td> 
321							<td><input id="onkeyup" name="onkeyup" type="text" value="" /></td> 
322						</tr>
323					</table>
324				</fieldset>
325			</div>
326		</div>
327
328		<div class="mceActionPanel">
329			<div style="float: left">
330				<input type="submit" id="insert" name="insert" value="{#insert}" />
331			</div>
332
333			<div style="float: right">
334				<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
335			</div>
336		</div>
337    </form>
338</body>
339</html>