0,if((getToken(ExternalIPAddress)="__RemoteIP__") or ("__RemoteIP__"="127.0.0.1"),"127.0.0.1:"+getToken(GreenLight_Client_Https_Port),getToken(ExternalIPAddress)+":"+getToken(GreenLight_Client_Https_Port)),"127.0.0.1:"+getToken(GreenLight_Client_Https_Port))}";> 0,"parsehtml_"+toAscii(replaceSubstring(replaceSubstring(replaceSubstring("__ParseURL__","\","_"),"/","_")," ","_")),"")}"> =0,"table-row","inline")}"> =0) or (pos("http:","__ParseUrl__")>=0) or (pos("https:","__ParseUrl__")>=0)),"false","true")}"> 0) if (containsElement(strFilterUnfold,"__Unfold__","^")<0) strFilterUnfold = addElement(strFilterUnfold,"__Unfold__","^") endif endif if(len("__Fold__")>0) strFilterUnfold = removeElement(strFilterUnfold,"__Fold__","^") endif endif strConstant1 = "[constant name:__"+"FilterUnfold__"+char(0x3b)+" value:"+strFilterUnfold+"]" if (startsWith("__FilterLevel__","__FilterLevel")) strFilterLevel = "all" else strFilterLevel="__FilterLevel__" if (startsWith("__expand__","more")) strFilterLevel = value(strFilterLevel)+1 endif if (startsWith("__collapse__","less")) strFilterLevel = value(strFilterLevel)-1 endif endif if (__Collapseall__) strFilterLevel="1" endif strConstant2 = "[constant name:__"+"FilterLevel__"+char(0x3b)+" value:"+strFilterLevel+"]" strConstant3 = "[constant name:__"+"NewFilterLevel__"+char(0x3b)+" value:"+strFilterLevel+"]" strResult = strConstant1+strConstant2+strConstant3 strResult = replaceSubstring(strResult,"[",char(0x3c)) strResult = replaceSubstring(strResult,"]",char(0x3e)) scriptSetResult(strResult) ";>

Debug Console

Variables

ParseUrl=__ParseUrl__
Section=__Section__
SubmitRevert=__SubmitRevert__
SubmitDeleteRevisions=__SubmitDeleteRevisions__
DeleteRevisions=__DeleteRevisions__
Revert=__Revert__
FilterLevel=__FilterLevel__
Fold=__Fold__
Unfold=__Unfold__
FilterUnfold=__FilterUnfold__ - (list of all diskindex's that have been unfolded)
display_style=__display_style__

User-Agent=__user-agent__
Server=__ParseHtmlServer__
SelectFile=__SelectFile__
SelectPackageDir=__SelectPackageDir__
IsEditable=__IsEditable__
Filename=
Section=__section__
Subset={@subset("__FilterUnfold__",MemberOf,"|")}
CollapseAll=__CollapseAll__

Delete all revisions saved for this document?

Package {@htmlSelect(Packages,SelectPackageDir,"__SelectPackageDir__","onChange='this.form.submit();'")}
Document
Content Type

Delete Record

TagType=__TagType__
Delete this tag?

__$BlockContent$__

Edit Record

0) strResult = strResult + char(0x3c)+"constant name:__"+"NewTagSubtype__"+char(0x3b)+" value:"+strTagSubtype+char(0x3e) endif //appendToLog("setting TagType="+strTagType) else if (__isAspectTag__) if (__TagType__="constant") strEditType="constant" elseif (__TagType__="conditional") strEditType="conditional" elseif (__TagType__="include") if (__isExpressionInclude__) strEditType="include_Expression" elseif (__isFileInclude__) strEditType="include_file" elseif (__isWidgetInclude__) strEditType="include_widget" elseif (__isDriverInclude__) strEditType="include_driver" elseif (__isScriptInclude__) strEditType="include_script" endif endif else if(__IsComment__) strEditType="comment" elseif(__IsTextTag__) strEditType="edittext" elseif("__TagType__"="Span") strEditType="span" elseif("__TagType__"="Div") strEditType="div" elseif("__TagType__"="img") strEditType="html_image" elseif("__TagType__"="widget") strEditType="widget_definition" endif endif endif strResult = strResult + char(0x3c)+"constant name:__edittype__"+char(0x3b)+" value:"+strEditType+char(0x3e) //appendToLog("setting edittype="+strEditType) //appendToLog("strResult="+strResult) scriptSetResult(strResult) ">

Properties for <__TagType__>

Enter html markup

Image

Src

Width
Height

other properties

Comment

Enter a comment

Text

Enter some text

Span

Enter name/value pairs for properties

URL

Interval
Style

Div

Enter name/value pairs for properties

URL

Interval
Style

Widget Definition

Name

Constant

Name
Value

Conditional

Expression


Enter an expression. The result of the expression will be displayed in the document

File

Filename

Script

Commands

Widget

Server > Server uses a secure connection
Document ID
Widget Name

Enter a pipe-separated list of parameters to be passed with the widget request
>Show debugging information in the console window

Include Driver

Driver

Driver ID
Driver Name
Params
>Is a system driver

Display

Display
Fields
Sort
Filter
Subtotal1
Subtotal2
Subtotal3
Subtotal4
Subtotal5
Subtotal6
>Show details (vs. just subtotals)

Formatting

>Individual cell formatting
Class
TableID
TableStyle
>Do borders
>TableHeader

Paging

MaxRecords
StartRecord
>Paging
PageArgs
Url
>Show debug info in console
'conditional')">
Properties (Html) __$Properties_Html$__
TagType __$TagType$__
Text __$Text$__
Indent Count __$Indent_Count$__
IsClosingTag __IsClosingTag__
Properties __$Properties$__
IndexEnd __$IndexEnd$__
IndexStart __$IndexStart$__

Select URL
0) strFilespec = getToken("homedir")+"temporary_files/__BackupFilename__*.bak" arFiles = getMatchingFiles(strFilespec,false,false) cElements = getElementCount(arFiles,"|") if (cElements>0) Cntr = cElements-1 while (Cntr>=0) strElement = getElement(arFiles,Cntr,"|") str = replaceSubstring(substring(strElement,len(strElement)-19,len(strElement)-4),"_"," ") dt = parseTime(str,"yyyyMMdd HHmmss") strTime = formatDate(dt,"MMM dd yyyy HH:mm:ss") strResult = strResult + "[option value="+quote(strElement)+"]"+strTime+"[/option]"+char(10)+char(13) Cntr = Cntr - 1 endwhile strResult = "[td class='form']Saved Copies[/td][td class='form'][select name='Revert']"+strResult strResult = strResult + "[/select][/td]" strResult = strResult + "[td class='form'][input type='submit' name='SubmitRevert' value='Revert'][/td]" strResult = strResult + "[td class='form'][input type='submit' name='SubmitDeleteRevisions' value='Delete Revisions'][/td]" strResult = replaceSubstring(replaceSubstring(strResult,"[",char(0x3c)),"]",char(0x3e)) endif endif scriptSetResult(strResult) ">
Show Levels
Open in editor 0">
"; fields: ""; sort: "DiskIndex"; filter1: "((not(IsTextTag)) or (TextLen>0)) and (((__NewFilterLevel__='all') or (Indent_Count<=__NewFilterLevel__)) or (getElementCount(subset("__FilterUnfold__",ParentTag,"|"),"|")>0))"; filter: "(not(IsTextTag)) or (TextLen>0)"; class: "parsedhtml"; tableid: "parsedhtml"; tableborder: "false"; tableheader: "false"; tablestyle: "width:100%"; debug: "false"; >

__ServerTimerResults__