## -*- coding: utf_8 -*- <% from fcp import connection from fcp import fcpdefs from fcutils import util from fcp import mlitem from fcp import fcputil from fcws.fcweb import webutil languageFileHandle = client.Localized.rezFile; stripNone = webutil.stripNone parseEnumerations = webutil.parseEnumerations valueForFieldWithKey = webutil.valueForFieldWithKey expiry = parseEnumerations("Aldrig=0; =-1") charsetList = parseEnumerations("Legacy=0;Windows Latin=1252;Macintosh Roman=10000;Windows Cyrillic=1251;Macintosh Cyrillic=10007;Windows Central European=1250;Macintosh East European=10029;Windows Japanese (Shift-JIS)=932;Macintosh Japanese (Shift-JIS)=10001;Windows Chinese (GB 2312 8-bit)=936;Macintosh Chinese (GB 2312 8-bit)=10025;Windows Chinese (Big 5)=950;Macintosh Chinese (Big 5)=10002;Windows Korean (KS C 5601 8-bit)=949;Macintosh Korean (KS C 5601 8-bit)=10003;UTF8=-535") bIsUrlDoc = False url = None bIsEditable = True if fcp.rights & fcpdefs.acWrite else False selectEnableStr = '' if bIsEditable else 'disabled="disabled"' myMLItem = fcp.MyMLItem thisWebID = myMLItem.WebID() jsonStr = '{"MYMLITEM":'+myMLItem.AsJSONArrayItem(mlitem.sendAll,(client.serverTZ,client.clientTZ))+',"RIGHTS":'+str(fcp.rights)+',"FORMID":111}' context.write('') fType,iconID = fcp.GetEscapedFormField(1304) if not iconID: iconID = 1 fType,formID = fcp.GetEscapedFormField(1401) if not formID: formID = 0 fType,parentType = fcp.GetEscapedFormField(1400) if not parentType: parentType = 0 if fcp.getObjectDataIndex is not -1: parent = client.FindServerObjectByWebID(myMLItem.ParentWebID()) if parent: getInfoMLItem = parent.GetMLItemByIndex(fcp.getObjectDataIndex) if getInfoMLItem and (getInfoMLItem.Status() & fcpdefs.URLDoc): bIsUrlDoc = True url = getInfoMLItem.GetField(8012) if url is None: url = "" %>
${fcputil.GetEnumerationStringForValue(fcp,client.Localized.rezFile,111,1000)}
${fcputil.GetEnumerationStringForValue(fcp,client.Localized.rezFile,111,1021)}
${stripNone(fcp,1040)}k


%if bIsUrlDoc:
%endif
Kategori, Nøgleord
%if fcpdefs.IsContainer(parentType): ${stripNone(fcp,8021)} %else: %endif
%if fcpdefs.IsContainer(parentType): ${stripNone(fcp,8022)} %else: %endif
Generelt
${stripNone(fcp,1020)}
${stripNone(fcp,1043)}
${stripNone(fcp,1022)}
${stripNone(fcp,1018)}
%if fcp.GetEscapedFormField(1314)[1]:
%if stripNone(fcp,1019) == 0: ${valueForFieldWithKey(fcp,expiry,1019)} %else: ${stripNone(fcp,1019)} %endif

${stripNone(fcp,1035)}
${valueForFieldWithKey(fcp,charsetList,1042)}
%endif %if fcp.GetEscapedFormField(1313)[1]:



%endif
Vis, Ikon ID, Ikon position




%if formID!=105 and parentType!=6 and parentType!=35 and fcp.GetEscapedFormField(1315)[1]: %endif
Ikke-godkendt Ulæst Åbn automatisk
Beskyttet Læs kun Ikon position låst
Ikke sendt Formular