|
|
|
@ -50,7 +50,7 @@ |
|
|
|
var _editor_lang = 'en' ; |
|
|
|
var _editor_lang = 'en' ; |
|
|
|
if ( window.opener ) |
|
|
|
if ( window.opener ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
window.resizeTo( 800, 500 ) ; |
|
|
|
window.resizeTo( 850, 500 ) ; |
|
|
|
|
|
|
|
|
|
|
|
if ( window.opener.ImageManager && window.opener.ImageManager.I18N ) |
|
|
|
if ( window.opener.ImageManager && window.opener.ImageManager.I18N ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -90,6 +90,14 @@ |
|
|
|
I18N = this.ImageManager.I18N; |
|
|
|
I18N = this.ImageManager.I18N; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Init() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (window.opener) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
document.getElementById('dialog_title').style.visibility = '' ; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*]]>*/ |
|
|
|
/*]]>*/ |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
@ -101,19 +109,20 @@ |
|
|
|
/*<![CDATA[*/ |
|
|
|
/*<![CDATA[*/ |
|
|
|
body { |
|
|
|
body { |
|
|
|
padding: 0px; |
|
|
|
padding: 0px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
/*]]>*/ |
|
|
|
/*]]>*/ |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
</head> |
|
|
|
|
|
|
|
|
|
|
|
<body> |
|
|
|
<body onload='javascript: Init();'> |
|
|
|
<div class="PopupTitle">Insert Image</div> |
|
|
|
<div id="dialog_title" class="PopupTitle" style="visibility: hidden;">Insert Image</div> |
|
|
|
<form action="images.php" id="uploadForm" method="post" enctype="multipart/form-data"> |
|
|
|
<form action="images.php" id="uploadForm" method="post" enctype="multipart/form-data"> |
|
|
|
<fieldset style="margin-left: 15px; margin-right: 15px;"><legend>Image Manager</legend> |
|
|
|
<fieldset style="margin-left: 15px; margin-right: 15px;"><legend>Image Manager</legend> |
|
|
|
<div class="dirs"> |
|
|
|
<div class="dirs"> |
|
|
|
<label for="dirPath">Directory</label> |
|
|
|
<label for="dirPath">Directory</label> |
|
|
|
<select name="dir" class="dirWidth" id="dirPath" onchange="updateDir(this)" style="width: 400px;"> |
|
|
|
<select name="dir" class="dirWidth" id="dirPath" onchange="javascript: updateDir(this);" style="width: 400px;"> |
|
|
|
<option value="/">/</option> |
|
|
|
<option value="/">/</option> |
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
foreach($dirs as $relative=>$fullpath) { ?> |
|
|
|
foreach($dirs as $relative=>$fullpath) { ?> |
|
|
|
@ -160,7 +169,7 @@ body { |
|
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
|
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td><input type="file" name="upload" id="upload"/></td> |
|
|
|
<td><input type="file" name="upload" id="upload"/></td> |
|
|
|
<td> <button type="submit" class="upload" name="submit" onclick="doUpload();"/>Upload</button></td> |
|
|
|
<td> <button type="submit" class="upload" name="submit" onclick="javascript: doUpload();"/>Upload</button></td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
@ -169,7 +178,7 @@ body { |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|
<td align="right"><label for="f_align">Align</label></td> |
|
|
|
<td align="right"><label for="f_align">Align</label></td> |
|
|
|
<td colspan="2"> |
|
|
|
<td colspan="2"> |
|
|
|
<select size="1" id="f_align" title="Positioning of this image"> |
|
|
|
<select size="1" id="f_align" title="Positioning of this image" style="width: 130px;"> |
|
|
|
<option value="" >Not Set</option> |
|
|
|
<option value="" >Not Set</option> |
|
|
|
<option value="left" >Left</option> |
|
|
|
<option value="left" >Left</option> |
|
|
|
<option value="right" >Right</option> |
|
|
|
<option value="right" >Right</option> |
|
|
|
@ -218,10 +227,10 @@ body { |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
<!--// image properties --> |
|
|
|
<!--// image properties --> |
|
|
|
<div class="PopupButtons" style="width: 100%;"> |
|
|
|
<div class="PopupButtons" style="width: 100%;"> |
|
|
|
<div style="text-align: right; margin-left: 15px; margin-right: 15px;"> |
|
|
|
<div style="float: right; white-space: nowrap; margin-right: 25px;"> |
|
|
|
<button type="button" class="refresh" onclick="return refresh();">Refresh</button> |
|
|
|
<button type="button" class="refresh" onclick="javascript: return refresh();">Refresh</button> |
|
|
|
<button type="button" class="save" onclick="return onOK();">Ok</button> |
|
|
|
<button type="button" class="save" onclick="javascript: return onOK();">Ok</button> |
|
|
|
<button type="button" class="cancel" onclick="return onCancel();">Cancel</button> |
|
|
|
<button type="button" class="cancel" onclick="javascript: return onCancel();">Cancel</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input type="hidden" id="f_file" name="f_file" /> |
|
|
|
<input type="hidden" id="f_file" name="f_file" /> |
|
|
|
|