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