includes/clientside/tinymce/plugins/advlink/link.htm
changeset 1193 e3b94bd055dc
parent 543 dffcbfbc4e59
equal deleted inserted replaced
1192:5882f0eebb34 1193:e3b94bd055dc
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     8 	<script type="text/javascript" src="../../utils/validate.js"></script>
     8 	<script type="text/javascript" src="../../utils/validate.js"></script>
     9 	<script type="text/javascript" src="js/advlink.js"></script>
     9 	<script type="text/javascript" src="js/advlink.js"></script>
    10 	<link href="css/advlink.css" rel="stylesheet" type="text/css" />
    10 	<link href="css/advlink.css" rel="stylesheet" type="text/css" />
    11 	<base target="_self" />
       
    12 </head>
    11 </head>
    13 <body id="advlink" style="display: none">
    12 <body id="advlink" style="display: none">
    14     <form onsubmit="insertAction();return false;" action="#">
    13     <form onsubmit="insertAction();return false;" action="#">
    15 		<div class="tabs">
    14 		<div class="tabs">
    16 			<ul>
    15 			<ul>
    26 				<fieldset>
    25 				<fieldset>
    27 					<legend>{#advlink_dlg.general_props}</legend>
    26 					<legend>{#advlink_dlg.general_props}</legend>
    28 
    27 
    29 					<table border="0" cellpadding="4" cellspacing="0">
    28 					<table border="0" cellpadding="4" cellspacing="0">
    30 						<tr>
    29 						<tr>
    31 						  <td nowrap="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
    30 						  <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
    32 						  <td><table border="0" cellspacing="0" cellpadding="0">
    31 						  <td><table border="0" cellspacing="0" cellpadding="0">
    33 								<tr>
    32 								<tr>
    34 								  <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td>
    33 								  <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>
    34 								  <td id="hrefbrowsercontainer">&nbsp;</td>
    36 								</tr>
    35 								</tr>
    37 							  </table></td>
    36 							  </table></td>
    38 						</tr>
    37 						</tr>
    39 						<tr id="linklisthrefrow">
    38 						<tr id="linklisthrefrow">
    40 							<td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
    39 							<td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td>
    41 							<td colspan="2" id="linklisthrefcontainer">&nbsp;</td>
    40 							<td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td>
    42 						</tr>
    41 						</tr>
    43 						<tr>
    42 						<tr>
    44 							<td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
    43 							<td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td>
    45 							<td colspan="2" id="anchorlistcontainer">&nbsp;</td>
    44 							<td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td>
    46 						</tr>
    45 						</tr>
    47 						<tr>
    46 						<tr>
    48 							<td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
    47 							<td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td>
    49 							<td id="targetlistcontainer">&nbsp;</td>
    48 							<td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td>
    50 						</tr>
    49 						</tr>
    51 						<tr>
    50 						<tr>
    52 							<td nowrap="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
    51 							<td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td>
    53 							<td><input id="title" name="title" type="text" value="" /></td>
    52 							<td><input id="title" name="title" type="text" value="" /></td>
    54 						</tr>
    53 						</tr>
    55 						<tr>
    54 						<tr>
    56 							<td><label id="classlabel" for="classlist">{#class_name}</label></td>
    55 							<td><label id="classlabel" for="classlist">{#class_name}</label></td>
    57 							<td>
    56 							<td>
    58 								 <select id="classlist" name="classlist" onchange="changeClass();">
    57 								 <select id="classlist" name="classlist" onchange="changeClass();">
    59 									<option value="" selected>{#not_set}</option>
    58 									<option value="" selected="selected">{#not_set}</option>
    60 								 </select>
    59 								 </select>
    61 							</td>
    60 							</td>
    62 						</tr>
    61 						</tr>
    63 					</table>
    62 					</table>
    64 				</fieldset>
    63 				</fieldset>
    71 					<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
    70 					<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
    72 					<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
    71 					<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
    73 
    72 
    74 					<table border="0" cellpadding="0" cellspacing="4">
    73 					<table border="0" cellpadding="0" cellspacing="4">
    75 						<tr>
    74 						<tr>
    76 							<td nowrap="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
    75 							<td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
    77 							<td>
    76 							<td>
    78 								<table border="0" cellspacing="0" cellpadding="0">
    77 								<table border="0" cellspacing="0" cellpadding="0">
    79 									<tr>
    78 									<tr>
    80 										<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
    79 										<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
    81 										<td id="popupurlbrowsercontainer">&nbsp;</td>
    80 										<td id="popupurlbrowsercontainer">&nbsp;</td>
    82 									</tr>
    81 									</tr>
    83 								</table>
    82 								</table>
    84 							</td>
    83 							</td>
    85 						</tr>
    84 						</tr>
    86 						<tr>
    85 						<tr>
    87 							<td nowrap="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
    86 							<td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label>&nbsp;</td>
    88 							<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
    87 							<td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td>
    89 						</tr>
    88 						</tr>
    90 						<tr>
    89 						<tr>
    91 							<td nowrap="nowrap"><label>{#advlink_dlg.popup_size}</label>&nbsp;</td>
    90 							<td class="nowrap"><label>{#advlink_dlg.popup_size}</label>&nbsp;</td>
    92 							<td nowrap="nowrap">
    91 							<td class="nowrap">
    93 								<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
    92 								<input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x
    94 								<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
    93 								<input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px
    95 							</td>
    94 							</td>
    96 						</tr>
    95 						</tr>
    97 						<tr>
    96 						<tr>
    98 							<td nowrap="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label>&nbsp;</td>
    97 							<td class="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label>&nbsp;</td>
    99 							<td nowrap="nowrap">
    98 							<td class="nowrap">
   100 								<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /                                
    99 								<input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> /                                
   101 								<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
   100 								<input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center)
   102 							</td>
   101 							</td>
   103 						</tr>
   102 						</tr>
   104 					</table>
   103 					</table>
   107 						<legend>{#advlink_dlg.popup_opts}</legend>
   106 						<legend>{#advlink_dlg.popup_opts}</legend>
   108 
   107 
   109 						<table border="0" cellpadding="0" cellspacing="4">
   108 						<table border="0" cellpadding="0" cellspacing="4">
   110 							<tr>
   109 							<tr>
   111 								<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
   110 								<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>
   111 								<td class="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>
   112 								<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>
   113 								<td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td>
   115 							</tr>
   114 							</tr>
   116 							<tr>
   115 							<tr>
   117 								<td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td>
   116 								<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>
   117 								<td class="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>
   118 								<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>
   119 								<td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td>
   121 							</tr>
   120 							</tr>
   122 							<tr>
   121 							<tr>
   123 								<td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td>
   122 								<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>
   123 								<td class="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>
   124 								<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>
   125 								<td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td>
   127 							</tr>
   126 							</tr>
   128 							<tr>
   127 							<tr>
   129 								<td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td>
   128 								<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>
   129 								<td class="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>
   130 								<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>
   131 								<td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td>
   133 							</tr>
   132 							</tr>
   134 						</table>
   133 						</table>
   135 					</fieldset>
   134 					</fieldset>
   136 				</fieldset>
   135 				</fieldset>
   137 			</div>
   136 			</div>