rendered paste bodyTHIS IS FOR XARPAGES - MAIN FUNCTIONS
<xar:style scope="module" module="base" file="ecp" />
<xar:style scope="module" module="base" file="navtabs222" />
<xar:set name="findmod">xarRequestGetInfo()</xar:set>
<xar:set name="mycurrenturl">xarservergetcurrenturl()</xar:set>
<xar:set name="mybaseurl">xarServerGetBaseURL()</xar:set>
<xar:set name="ecpxpviewpages">&xar-modurl-xarpages-admin-viewpages;</xar:set>
<xar:set name="ecpxpnewpage">&xar-modurl-xarpages-admin-newpage;</xar:set>
<xar:set name="ecpxpviewtypes">&xar-modurl-xarpages-admin-viewtypes;</xar:set>
<xar:set name="ecpxpnewtype">&xar-modurl-xarpages-admin-newtype;</xar:set>
<xar:set name="ecpxpmodifyconfig">&xar-modurl-xarpages-admin-modifyconfig;</xar:set>
<xar:set name="ecpxpoverview">&xar-modurl-xarpages-admin-overview;</xar:set>
<dl class="xar-tabs">
<dt class="help" title="Editor Options for Pages">
<xar:mlstring>Other Options:</xar:mlstring>
</dt>
<xar:sec mask="ModerateXarpagesPage" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpviewpages">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-viewpages;" title="#xarML('View and manage pages')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-viewpages;" title="#xarML('View and manage pages')#">
</xar:if>
<xar:mlstring>View Pages</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:sec mask="AddXarpagesPage" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpnewpage">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-newpage;" title="#xarML('Add a new page')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-newpage;" title="#xarML('Add a new page')#">
</xar:if>
<xar:mlstring>Add Page</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:sec mask="EditXarpagesPagetype" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpviewtypes">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-viewtypes;" title="#xarML('View and manage page types')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-viewtypes;" title="#xarML('View and manage page types')#">
</xar:if>
<xar:mlstring>View Page Types</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:sec mask="AdminXarpagesPagetype" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpnewtype">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-newtype;" title="#xarML('Add a new page type')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-newtype;" title="#xarML('Add a new page type')#">
</xar:if>
<xar:mlstring>Add Page Type</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:sec mask="AdminXarpagesPage" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpmodifyconfig">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-modifyconfig;" title="#xarML('Modify the xarpages configuration')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-modifyconfig;" title="#xarML('Modify the xarpages configuration')#">
</xar:if>
<xar:mlstring>Modify Config</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:sec mask="EditXarpagesPagetype" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpoverview">
<dd class="activetab active">
<a class="activelink" href="&xar-modurl-xarpages-admin-overview;" title="#xarML('View overview documenatation of xarPages')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="&xar-modurl-xarpages-admin-overview;" title="#xarML('View overview documenatation of xarPages')#">
</xar:if>
<xar:mlstring>Overview</xar:mlstring>
</a>
</dd>
</xar:sec>
</dl>
-----------------------------------------------------------------------------------------
THIS IS FOR XARPAGES - PAGE FUNCTIONS
<xar:set name="findmod">xarRequestGetInfo()</xar:set>
<xar:if condition="$findmod.1 eq 'user'">
<xar:style scope="module" module="base" file="ecp" />
<xar:set name="mycurrenturl">xarservergetcurrenturl()</xar:set>
<xar:set name="mybaseurl">xarServerGetBaseURL()</xar:set>
<xar:set name="ecpxpmodifypage">&xar-modurl-xarpages-admin-modifypage;</xar:set>
<xar:set name="ecpxpdeletepage">&xar-modurl-xarpages-admin-deletepage;</xar:set>
<xar:if condition="!empty($pid)">
<xar:set name="currentpid">$pid</xar:set>
<xar:set name="pidjoin">'&pid='</xar:set>
<xar:set name="ecpmodifycurrent">$ecpxpmodifypage . $pidjoin . $currentpid</xar:set>
<xar:set name="ecpdeletecurrent">$ecpxpdeletepage . $pidjoin . $currentpid</xar:set>
<xar:else />
<xar:set name="temppid">xarVarFetch('pid', 'id', $currentpid, 0, XARVAR_NOT_REQUIRED)</xar:set>
<xar:set name="pidjoin">'&pid='</xar:set>
<xar:set name="ecpmodifycurrent">$ecpxpmodifypage . $pidjoin . $currentpid</xar:set>
<xar:set name="ecpdeletecurrent">$ecpxpdeletepage . $pidjoin . $currentpid</xar:set>
</xar:if>
<dl class="xar-tabs">
<dt class="help" title="Editor Actions for Page">
<xar:mlstring>Page Actions:</xar:mlstring>
</dt>
<xar:sec mask="EditXarpagesPage" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpmodifypage">
<dd class="activetab active">
<a class="activelink" href="#$mycurrenturl#" title="#xarML('Edit Page')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="#$ecpmodifycurrent#" title="#xarML('Edit Page')#">
</xar:if>
<xar:mlstring>Edit Page</xar:mlstring>
</a>
</dd>
</xar:sec>
<xar:if condition="$currentpid eq 3">
<xar:else />
<xar:sec mask="DeleteXarpagesPage" catch="false">
<xar:if condition="$mycurrenturl eq $ecpxpdeletepage">
<dd class="activetab active">
<a class="activelink" href="#$mycurrenturl#" title="#xarML('Edit Page')#">
<xar:else />
<dd class="inactivetab">
<a class="inactivelink" href="#$ecpdeletecurrent#" title="#xarML('Edit Page')#">
</xar:if>
<xar:mlstring>Delete Page</xar:mlstring>
</a>
</dd>
</xar:sec>
</xar:if>
</dl>
<xar:else />
</xar:if>