Файл: EasyHost v2.0/system/htdocs/manager/files/wysiwyg/href.html
Строк: 76
<?php
<html>
<head>
<link rel="stylesheet" type="text/css" href="<{system.htdocs}>styles/<{system.color}>/default.css" />
<title>Insert Hyperlink</title>
<script language="JavaScript">
<!--
function insert()
{
window.opener.document.getElementById( 'page' ).contentWindow.document.execCommand( 'createlink', false, document.getElementById('url').value );
window.close();
}
function cancel()
{
window.close();
}
//-->
</script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="<{system.color('left_bg')}>">
<table botder="0" cellspacing="10" cellpadding="0" width="100%"><tr><td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td bgcolor="<{system.color('border')}>">
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td bgcolor="<{system.color('content_bg')}>">
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td>
<select size="1" name="directory" onchange="directory.document.location.href = '<{system.url('href_directory')}>&directory=' + this.options[this.selectedIndex].value">
<%directories%>
<option value="<{directory.path}>"<%if:"{directory} == {login.directory}"%> selected="selected"<%end%>><{directory.path}></option>
<%end%>
</select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><iframe src="<{system.url('href_directory')}>&directory=<{login.directory.path}>" id="directory" width="100%" height="200" frameborder="0"></iframe></td>
</tr>
<tr>
<td bgcolor="<{system.color('content_bg')}>">
<table border="0" cellspacing="10" cellpadding="0">
<tr>
<td><b>URL</b></td>
</tr>
<tr>
<td><input type="text" name="url" id="url" size="60" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="<{system.color('highlight_bg')}>">
<tr>
<td<%if:"{system.env('HTTP_USER_AGENT')} !~ /mozilla/4/i || {system.env('HTTP_USER_AGENT')} =~ /compatible/i"%> class="buttons"<%end%>>
<input type="button" value="Insert" onclick="insert()" />
<input type="button" value="Cancel" onclick="cancel()" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
</body>
</html>
?>