History |
Show Presentation |
<?xml version="1.0" encoding="<X-FC-ITEM DATA[Charset]>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--Edit/E308 H=<X-FC-REQUEST-TIME HEADER> LS=<X-FC-REQUEST-TIME LOGIN.START> L=<X-FC-REQUEST-TIME LOGIN> OS=<X-FC-REQUEST-TIME OPEN.START> O=<X-FC-REQUEST-TIME OPEN> T=<X-FC-REQUEST-TIME>-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<X-FC-ITEM DATA[Charset]>"/>
<title><X-FC-FIELD FCft.321.0.25 STRING></title>
<!--#include virtual="/.Templates/GlobalStyles.inc"-->
<script type="text/javascript" src="/.Templates/JavaScript/URLEscape.pjs"></script>
<script type="text/javascript">
<!--
<!--#include virtual="/.Templates/JavaScript/FormEditFunctions.inc"-->
<!--#include virtual="/.Templates/JavaScript/AttachFunctions.inc"-->
<X-FC-WHITESPACE STRIP>
var IL=[];
var II=-1;
<!--#rem
SI(i) SelectImage(index)
-->
function SI(i){
var E=document.forms["MainForm"].elements;
var TIS=document.<!--#if expr="<X-FC-BROWSER NAME.MSIE>"-->all["T:IS"]<!--#else-->getElementById("T:IS")<!--#endif-->;
E["I:U"].value=IL[i][0];
II=i;
if(IL[II][1].substr(0,5).toLowerCase()=="image"){
TIS.style.display="block";
if(IL[II][2]>0&&IL[II][3]>2){
E["I:SP"].selectedIndex=1;
SIP(100);
}else{
E["I:SP"].selectedIndex=0;
E["I:SA"].checked=false;
E["I:SH"].value="0";
E["I:SW"].value="0";
}
}else{
TIS.style.display="none";
}
}
<!--#rem
dL() doLoad()
-->
function dL(){
if(II>=0){
SI(II);
}
}
function VIP(E){
var p=parseInt(E.value);
if(isNaN(p)||p<0||p>100){
p=4;
}
E.value=p;
}
<!--#rem
SIP(p) SetImagePercentageSize(percent)
-->
function SIP(p){
if(II>=0&&IL[II][1].substr(0,5).toLowerCase()=="image"&&IL[II][2]>0&&IL[II][3]>0){
var E=document.forms["MainForm"].elements;
E["I:SW"].value=Math.floor((p*IL[II][2])/100);
E["I:SH"].value=Math.floor((p*IL[II][3])/100);
E["I:SA"].checked=true;
return true;
}else{
return false;
}
}
<!--#rem
SIA(a) SetImageAspectRatioPreservation(state)
-->
function SIA(a){
if(II>=0&&IL[II][1].substr(0,5).toLowerCase()=="image"&&IL[II][2]>0&&IL[II][3]>0){
if(a){
var E=document.forms["MainForm"].elements;
var h=parseInt(E["I:SH"].value);
var p=(h*100)/IL[II][3];
var P=E["I:SP"];
var i=0;
E["I:SW"].value=Math.floor((h*IL[II][2])/IL[II][3]);
for(i=1;i<P.options.length;i++){
if(parseInt(P.options[i].value)==p){
P.selectedIndex=i;
i=P.options.length;
}
}
}
return true;
}else{
return false;
}
}
<!--#rem
VIW(E) ValidateImageWidth(FormElement)
-->
function VIW(E){
if(II>=0&&IL[II][1].substr(0,5).toLowerCase()=="image"){
var F=document.forms["MainForm"].elements;
var w=parseInt(E.value);
var h=parseInt(F["I:SH"].value);
var a=F["I:SA"].checked;
var P=F["I:SP"];
if(isNaN(w)||h<1){
w=Math.floor((h*IL[II][2])/IL[II][3]);
E.value=w;
}else{
if(a){
h=Math.floor((w*IL[II][3])/IL[II][2]);
F["I:SH"].value=h;
}
E.value=w;
}
P.selectedIndex=0;
if(((h*100)/IL[II][3])==((w*100)/IL[II][2])){
var p=(h*100)/IL[II][3];
var i;
for(i=1;i<P.options.length;i++){
if(parseInt(P.options[i].value)==p){
P.selectedIndex=i;
i=P.options.length;
}
}
}
}else{
E.value="";
}
}
<!--#rem
VIH(E) ValidateImageHeight(FormElement)
-->
function VIH(E){
if(II>=0&&IL[II][1].substr(0,5).toLowerCase()=="image"){
var F=document.forms["MainForm"].elements;
var w=parseInt(F["I:SW"].value);
var h=parseInt(E.value);
var a=F["I:SA"].checked;
var P=F["I:SP"];
if(isNaN(h)||h<1){
h=Math.floor((w*IL[II][3])/IL[II][2]);
E.value=h;
}else{
if(a){
w=Math.floor((h * IL[II][2])/IL[II][3]);
F["I:SW"].value=w;
}
E.value=h;
}
P.selectedIndex=0;
if(((h*100)/IL[II][3])==((w*100)/IL[II][2])){
var p=(h*100)/IL[II][3];
var i;
for(i=1;i<P.options.length;i++){
if(parseInt(P.options[i].value)==p){
P.selectedIndex=i;
i=P.options.length;
}
}
}
}else{
E.value="";
}
}
<X-FC-WHITESPACE RETAIN>
//-->
</script>
</head>
<body bgcolor="<X-FC-FIELD PREFS.5601 DEFAULT=LANG.49.5601.11 RGB>" onload="dL();">
<X-FC-WHITESPACE STRIP>
<form name="MainForm" action="<X-FC-OBJURL SLASH>FormSave" method="post" enctype="multipart/form-data" autocomplete="off">
<input type="hidden" name="charset" value="<X-FC-ITEM DATA[Charset]>"/>
<input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/>
<input type="hidden" name="KeepNames" value="1"/>
<input type="hidden" name="origurl" value="<X-FC-OBJURL>?<!--#echo expr="@mlescape(`<X-FC-URL-PARAMETER>`)"-->"/>
<table width="100%" bgcolor="<X-FC-FIELD PREFS.5601 DEFAULT=LANG.49.5601.11 RGB>" cellpadding="0" cellspacing="0" border="0" summary="">
<tr>
<td bgcolor="<X-FC-FIELD PREFS.5600 DEFAULT=LANG.49.5600.11 RGB>" colspan="3" style="height:1px;"></td>
</tr>
<tr>
<td bgcolor="<X-FC-FIELD PREFS.5603 DEFAULT=LANG.49.5603.11 RGB>" colspan="3" style="height:3px;"></td>
</tr>
<tr>
<td class="title" bgcolor="<X-FC-FIELD PREFS.5603 DEFAULT=LANG.49.5603.11 RGB>"> </td>
<td width="100%" bgcolor="<X-FC-FIELD PREFS.5603 DEFAULT=LANG.49.5603.11 RGB>"><table width="100%" cellpadding="0" cellspacing="0" border="0" summary="">
<tr>
<td class="title" nowrap="nowrap"><X-FC-FIELD FCft.321.0.25 STRING></td>
<td width="100%"></td>
<td><input class="button" type="submit" value=" <X-FC-FIELD FCft.308.2000.9 STRING> " onclick="opener.dSI(<X-FC-URL-PARAMETER Index NUMBER>);return false;"/></td>
<td class="title"> </td>
<td><input class="button" type="reset" value="<X-FC-FIELD FCft.308.2001.9 STRING>" onclick="opener.dCD();"/></td>
</tr>
</table></td>
<td class="title" bgcolor="<X-FC-FIELD PREFS.5603 DEFAULT=LANG.49.5603.11 RGB>"> </td>
</tr>
<tr>
<td bgcolor="<X-FC-FIELD PREFS.5603 DEFAULT=LANG.49.5603.11 RGB>" colspan="3" style="height:4px;"></td>
</tr>
<tr>
<td colspan="3" style="height:3px;"></td>
</tr>
<tr>
<td></td>
<td><input type="hidden" name="I:U" value="<!--#echo expr="@mlescape(`<X-FC-URL-PARAMETER IU>`)"-->"/><table cellpadding="2" cellspacing="0" border="0" summary="">
<tr>
<td class="gt" valign="top" nowrap="nowrap"><X-FC-FIELD LANG.7544.1 STRING>:</td>
<td class="gt" valign="top"><table cellpadding="2" cellspacing="0" border="0" summary="">
<!--#set var="INDEX" value="-1"-->
<!--#set var="MATCHINDEX" value="-1"-->
<!--#while expr="++$INDEX < <X-FC-LIST-COUNT>"-->
<!--#imgdata var="IMAGE" ndx="-1 * (<X-FC-LIST-ITEM `$INDEX` INDEX> + 1)"-->
<!--#set var="IMGURL" value="<X-FC-LIST-ITEM-URI `$INDEX` EXTERNAL>"-->
<tr>
<td><script type="text/javascript"><X-FC-WHITESPACE RETAIN>
<!--
<X-FC-WHITESPACE STRIP>
IL[<!--#echo var="INDEX"-->]=["<!--#echo var="$IMGURL"-->","<X-FC-LIST-ITEM `$INDEX` COLUMN[SubType] MIMETYPE>"<!--#if expr="$IMAGE_ERROR==0"-->,<!--#echo var="IMAGE_WIDTH"-->,<!--#echo var="IMAGE_HEIGHT"--><!--#endif-->];
<!--#if expr="$MATCHINDEX == -1 && <X-FC-URL-PARAMETER IU EXISTS> && (`<X-FC-URL-PARAMETER IU>` ==~
$IMGURL)"-->
<!--#set var="MATCHINDEX" value="$INDEX"-->
<!--#set var="MATCH_WIDTH" value="$IMAGE_WIDTH"-->
<!--#set var="MATCH_HEIGHT" value="$IMAGE_HEIGHT"-->
II=<!--#echo var="INDEX"-->;
<!--#endif-->
<X-FC-WHITESPACE RETAIN>
//-->
<X-FC-WHITESPACE STRIP></script><input name="XI:U" type="radio" value="<X-FC-LIST-ITEM-URI `$INDEX` EXTERNAL>"<!--#if expr="$MATCHINDEX == $INDEX"--> checked="checked"<!--#endif--> onclick="SI(<!--#echo var="INDEX"-->);"/></td>
<td class="p" valign="top" nowrap="nowrap"><X-FC-LIST-ITEM `$INDEX` COLUMN[Name]></td>
<td class="gt"> </td>
<td class="p" align="right" valign="top" nowrap="nowrap"><!--#if expr="$IMAGE_ERROR==0"--><!--#echo var="IMAGE_FORMAT"--><!--#else--><X-FC-LIST-ITEM `$INDEX` COLUMN[SubType] MIMETYPE><!--#endif--></td>
<td class="gt"> </td>
<td class="p" align="right" valign="top" nowrap="nowrap"><X-FC-LIST-ITEM `$INDEX` COLUMN[Size] SCALED></td>
</tr>
<!--#endwhile-->
</table></td>
</tr>
</table>
<!--#if expr="<X-FC-USER PRIV DownLoad>"-->
<table cellpadding="0" cellspacing="0" border="0" summary="">
<tr>
<td><input class="forms" type="file" name="Embed" size="30"/></td>
<td><input class="button" type="submit" value="<X-FC-FIELD LANG.CMD.160.0 STRING>" onclick="this.form.action='<X-FC-OBJURL SLASH>FormSave?Clear=0&Close=-1&TargetURL=<X-FC-OBJURL>&Templates=Edit&FormID=308<!--#if expr="<X-FC-URL-PARAMETER IU EXISTS>"-->&IU=<X-FC-URL-PARAMETER IU
ESCAPED><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER IA EXISTS>"-->&IA=<X-FC-URL-PARAMETER IA NUMBER><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER IP EXISTS>"-->&IP=<X-FC-URL-PARAMETER IP NUMBER><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER IC EXISTS>"-->&IC=<X-FC-URL-PARAMETER IC ESCAPED><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER ISH EXISTS> && <X-FC-URL-PARAMETER ISW
EXISTS>"-->&ISH=<X-FC-URL-PARAMETER ISH NUMBER>&ISW=<X-FC-URL-PARAMETER ISW NUMBER><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER Index EXISTS>"-->&Index=<X-FC-URL-PARAMETER Index NUMBER><!--#endif-->';"/></td>
<td><div style="width:30px;"></div></td>
<td><input class="button" type="button" value="<X-FC-FIELD LANG.7528.15 STRING>" onclick="OAW();"/></td>
</tr>
</table>
<!--#endif-->
</td>
<td></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td></td>
<td><table cellpadding="2" cellspacing="0" border="0" summary="">
<tr>
<td class="gt" nowrap="nowrap"><X-FC-FIELD FCft.308.3001.9 STRING>:</td>
<td class="gt" align="right" nowrap="nowrap"><X-FC-FIELD FCft.308.3006.9 STRING></td>
<td><select class="forms" name="I:A">
<!--#set var="LISTSTRING" value="<X-FC-FIELD FCft.308.1000.10 LITERALSTRING>"-->
<!--#set var="VALUE" value="0"-->
<!--#while expr="@length($LISTSTRING)"-->
<!--#set var="CURVAL" expr="@split($LISTSTRING, ';')"-->
<!--#set var="CAPTION" expr="@split($CURVAL,'=')"-->
<!--#if expr="@length($CURVAL)"-->
<!--#set var="VALUE" value="$CURVAL"-->
<!--#endif-->
<option value="<!--#echo var="VALUE"-->"<!--#if expr="$VALUE++ == <X-FC-URL-PARAMETER IA NUMBER>"--> selected="selected"<!--#endif-->><!--#echo expr="@mlescape($CAPTION)"--></option>
<!--#endwhile-->
</select></td>
</tr>
<tr>
<td rowspan="2"></td>
<td class="gt" align="right" nowrap="nowrap"><X-FC-FIELD FCft.308.3004.9 STRING></td>
<td class="gt" nowrap="nowrap"><input class="forms" type="text" name="I:P" size="5" value="<!--#if expr="<X-FC-URL-PARAMETER IP EXISTS>"--><X-FC-URL-PARAMETER IP NUMBER><!--#else-->4<!--#endif-->" onchange="VIP(this);"/></td>
</tr>
<tr>
<td class="gt" valign="top" nowrap="nowrap"><X-FC-FIELD FCft.308.3010.9 STRING></td>
<td><textarea class="forms" name="I:C" rows="2" cols="30"><!--#echo expr="@mlescape(`<X-FC-URL-PARAMETER IC>`)"--></textarea></td>
</tr>
</table></td>
<td></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td></td>
<td><table id="T:IS" cellpadding="2" cellspacing="0" border="0" summary="" style="display:none;">
<tr>
<td class="gt" nowrap="nowrap"><X-FC-FIELD FCft.308.3012.9 STRING>:</td>
<td colspan="2"><select name="I:SP" class="forms" onchange="if(this.selectedIndex>0){return SIP(this.options[this.selectedIndex].value);}else{return false;}">
<option value="0"<!--#if expr="$MATCHINDEX == -1 || (<X-FC-URL-PARAMETER ISH NUMBER> && <X-FC-URL-PARAMETER ISW NUMBER>)"--> selected="selected"<!--#endif-->></option>
<!--#set var="LISTSTRING" value="<X-FC-FIELD FCft.308.1006.10 LITERALSTRING>"-->
<!--#set var="CURVAL" value="0"-->
<!--#while expr="$LISTSTRING"-->
<!--#set var="VALUE" expr="@split($LISTSTRING,';')"-->
<!--#set var="CAPTION" expr="@split($VALUE,'=')"-->
<!--#if expr="@length($VALUE)"-->
<!--#set var="CURVAL" value="$VALUE"-->
<!--#endif-->
<option value="<!--#echo var="CURVAL"-->"<!--#if expr="(!($MATCHINDEX == -1 || (<X-FC-URL-PARAMETER ISH NUMBER> && <X-FC-URL-PARAMETER ISW NUMBER>))) && (100 == $CURVAL)"--> selected="selected"<!--#endif-->><!--#echo expr="@mlescape($CAPTION)"--></option>
<!--#set var="CURVAL" expr="$CURVAL + 1"-->
<!--#endwhile-->
</select></td>
</tr>
<tr>
<td rowspan="3"></td>
<td class="gt" align="right" nowrap="nowrap"><X-FC-FIELD FCft.308.3007.9 STRING></td>
<td class="gt" nowrap="nowrap"><input class="forms" type="text" name="I:SH" size="6" value="<!--#if expr="$MATCHINDEX != -1 && <X-FC-URL-PARAMETER ISH NUMBER> && <X-FC-URL-PARAMETER ISW NUMBER>"--><X-FC-URL-PARAMETER ISH NUMBER><!--#elif expr="$MATCHINDEX != -1"--><!--#echo var="MATCH_HEIGHT"--><!--#endif-->" onchange="VIH(this);"/></td>
</tr>
<tr>
<td class="gt" align="right" nowrap="nowrap"><X-FC-FIELD FCft.308.3008.9 STRING></td>
<td class="gt" nowrap="nowrap"><input class="forms" type="text" name="I:SW" size="6" value="<!--#if expr="$MATCHINDEX != -1 && <X-FC-URL-PARAMETER ISH NUMBER> && <X-FC-URL-PARAMETER ISW NUMBER>"--><X-FC-URL-PARAMETER ISW NUMBER><!--#elif expr="$MATCHINDEX != -1"--><!--#echo var="MATCH_WIDTH"--><!--#endif-->" onchange="VIW(this);"/></td>
</tr>
<tr>
<td class="gt" align="right" nowrap="nowrap"><X-FC-FIELD FCft.308.1007.9 STRING>:</td>
<td><input name="I:SA" type="checkbox"<!--#if expr="$MATHINDEX != -1 && <X-FC-URL-PARAMETER ISH NUMBER> && <X-FC-URL-PARAMETER ISW NUMBER>"--><!--#if expr="($MATCH_HEIGHT * <X-FC-URL-PARAMETER ISW NUMBER>) == ($MATCH_WIDTH * <X-FC-URL-PARAMETER ISH NUMBER>)"--> checked="checked"<!--#endif--><!--#else--> checked="checked"<!--#endif--> onclick="return SIA(this.checked);"/></td>
</tr>
</table></td>
<td></td>
</tr>
</table>
</form>
<X-FC-WHITESPACE RETAIN>
</body>
<!--*Edit/E308 BSS=<X-FC-REQUEST-TIME BODY.SETUPSTART> BSE=<X-FC-REQUEST-TIME BODY.SETUPEND> BSD=<X-FC-REQUEST-TIME BODY.STYLEDONE> B=<X-FC-REQUEST-TIME BODY> D=<X-FC-REQUEST-TIME>-->
</html>
| ||