Bereinigen Dateiverzeichnisse
git-svn-id: https://svn.libreccm.org/ccm/trunk@138 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
811c4188cf
commit
9f0bef59b8
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/>
|
|
||||||
<xsl:import href="../../../../packages/ui/xsl/ui.xsl"/>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<xsl:import href="../../../../packages/bookmarks/xsl/bookmarks.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:forum="http://www.arsdigita.com/forum/1.0"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
|
||||||
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:output method="html"/>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:portlet[@bebop:classname='com.arsdigita.bookmarks.ui.BookmarkPortletRenderer' and count(portlet:action)=0]">
|
|
||||||
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
|
||||||
<tr>
|
|
||||||
<td bgcolor="#cccccc">
|
|
||||||
<table width="100%" cellspacing="2" cellpadding="4" border="0">
|
|
||||||
<tr>
|
|
||||||
<th class="split_pane_header" width="100%">
|
|
||||||
<xsl:value-of select="@title"/>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="table_cell" bgcolor="#ffffff" colspan="20">
|
|
||||||
<xsl:apply-templates select="*"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="table_cell" bgcolor="#eeeeee" colspan="20">
|
|
||||||
<xsl:for-each select="@applicationlink">
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href"><xsl:value-of select="." /></xsl:attribute>
|
|
||||||
Edit
|
|
||||||
</a>
|
|
||||||
<br />
|
|
||||||
</xsl:for-each>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,460 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet
|
|
||||||
version="1.0"
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
|
||||||
xmlns:bmrk="http://www.redhat.com/bmrk/1.0"
|
|
||||||
xmlns:admin="http://www.arsdigita.com/admin-ui/1.0"
|
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0">
|
|
||||||
|
|
||||||
<!-- The order of imports below is important. Please don't change
|
|
||||||
them without appropriate testing. -->
|
|
||||||
|
|
||||||
<xsl:import href="../../acs-admin/xsl/admin_en.xsl"/>
|
|
||||||
<xsl:import href="../../categorization/xsl/categorization.xsl"/>
|
|
||||||
<xsl:import href="../../bebop/xsl/DimensionalNavbar.xsl"/>
|
|
||||||
<xsl:import href="../../toolbox/xsl/ControlBar.xsl"/>
|
|
||||||
|
|
||||||
<xsl:output method="html" indent="yes"/>
|
|
||||||
|
|
||||||
<xsl:param name="contextPath"/>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:page[@class='bmrk']">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title><xsl:value-of select="bebop:title"/></title>
|
|
||||||
<!--
|
|
||||||
<link href="/packages/portalserver/www/css/portalserver.css" rel="stylesheet" type="text/css"/>
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
BODY { background: white; color: black}
|
|
||||||
.main {background-color: #ffffff;}
|
|
||||||
table.globalHeader { background-color: rgb(225,225,225);}
|
|
||||||
table.bottomRule { background: rgb(162,30,30);}
|
|
||||||
table.topRuleNoTabs { background: rgb(162,30,30);}
|
|
||||||
</style>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/acs-master.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="/__ccm__/static/cms/admin/cms-admin.css" />
|
|
||||||
|
|
||||||
<xsl:for-each select="bebop:stylesheet">
|
|
||||||
<link href="{@href}" rel="stylesheet" type="{@type}"/>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
<xsl:value-of select="bmrk:styleblock" disable-output-escaping="yes"/>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<xsl:apply-templates select="bmrk:header"/>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="bmrk:body"/>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="bmrk:footer"/>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="bmrk:styleblock"/>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
This is here so the the bebop page structure is displayed under /debug/
|
|
||||||
-->
|
|
||||||
<xsl:apply-templates select="*[position()>4]"/>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:link[@class='portalControlProfileLink']">
|
|
||||||
<xsl:call-template name="bebop:link" />
|
|
||||||
<br />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bmrk:header">
|
|
||||||
|
|
||||||
<table id="global-header">
|
|
||||||
<tr>
|
|
||||||
<td id="context">
|
|
||||||
<xsl:if test="bebop:dimensionalNavbar[@class = 'portalNavbar']">
|
|
||||||
<xsl:apply-templates select="bebop:dimensionalNavbar[@class = 'portalNavbar']"/>
|
|
||||||
</xsl:if>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<table id="global-links">
|
|
||||||
<tr>
|
|
||||||
<td class="global-link-icon">
|
|
||||||
<a href="{../bmrk:global/bebop:link[@class = 'signoutLink']/@href}">
|
|
||||||
<img src="/assets/lock.png" height="18" width="14"/>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td class="global-link">
|
|
||||||
<a href="{../bmrk:global/bebop:link[@class = 'signoutLink']/@href}">
|
|
||||||
Sign out
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div id="page-title">
|
|
||||||
<xsl:value-of select="../bebop:title"/>
|
|
||||||
<table class="localHeader">
|
|
||||||
<tr>
|
|
||||||
<td class="localControl">
|
|
||||||
<xsl:apply-templates select="bebop:link[@class = 'portalControlProfileLink']"/>
|
|
||||||
<xsl:apply-templates select="bebop:link[@class = 'portalControl']"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bmrk:body">
|
|
||||||
<div>
|
|
||||||
<div class="tabbed-pane">
|
|
||||||
|
|
||||||
<xsl:variable name="portalTabs" select="bebop:list[@class = 'portalTabs']"/>
|
|
||||||
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="count($portalTabs/bebop:cell) > 1">
|
|
||||||
<!--
|
|
||||||
If there is only one tab in this portal, don't bother to
|
|
||||||
display it.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<table class="tab-set">
|
|
||||||
|
|
||||||
<tr valign="bottom">
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<xsl:for-each select="$portalTabs/bebop:cell">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@selected">
|
|
||||||
<!-- start currently active tab -->
|
|
||||||
<td class="tabBeginning"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="current-tab-label" nowrap="nowrap"><xsl:value-of select="bebop:portal/@title"/></td>
|
|
||||||
<td class="current-tab-end"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<!-- end currently active tab -->
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<!-- start inactive tab -->
|
|
||||||
<td>
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr height="3"><td><img src="/assets/general/spacer.gif" height="3"/></td></tr>
|
|
||||||
<tr height="23">
|
|
||||||
<td class="tabBeginningOff"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="tab-label" nowrap="nowrap"><xsl:apply-templates select="bebop:link"/></td>
|
|
||||||
<td class="tabEndOff"><xsl:text>  </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
</td>
|
|
||||||
<!-- end inactive tab -->
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<td class="trimSpace" width="100%"><xsl:text> </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="topRuleUnderTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="not(bebop:tabbedPane)">
|
|
||||||
<table class="topRuleNoTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="bottomRule">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bmrk:question-answer-pair" xmlns:bmrk="http://www.arsdigita.com/bmrk/1.0">
|
|
||||||
<p>
|
|
||||||
<a name="{../@key}"/>
|
|
||||||
<h2>
|
|
||||||
Q.
|
|
||||||
<xsl:apply-templates select="bebop:label[@class='question']"/>
|
|
||||||
</h2>
|
|
||||||
<blockquote>
|
|
||||||
<b>A.</b>
|
|
||||||
<xsl:apply-templates select="bebop:label[@class='answer']"/>
|
|
||||||
</blockquote>
|
|
||||||
</p>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<xsl:template match="cms:dimensionalNavbar[@class = 'portalNavbar']">
|
|
||||||
<xsl:for-each select="*">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="position() != last()">
|
|
||||||
<xsl:apply-templates select="."/>
|
|
||||||
<span class="contextBarSeparator"><xsl:text disable-output-escaping="yes">&nbsp;&gt;&nbsp;</xsl:text></span>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<span class="immediateContext"><xsl:apply-templates select="."/></span>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:list[@class = 'portalTabs']">
|
|
||||||
<xsl:apply-templates select="bebop:cell/bebop:portal"/>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:splitPanel">
|
|
||||||
<table class="current-pane">
|
|
||||||
<xsl:if test="not(bebop:cell/bebop:label[text() = '&nbsp;'])">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" class="splitPanelHeader">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[1]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td colspan="3" class="inactiveTabColor" height="2"><img src="/assets/general/spacer.gif" height="2"/></td></tr>
|
|
||||||
</xsl:if>
|
|
||||||
<tr>
|
|
||||||
<td class="splitPanelLeft">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[2]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td class="inactiveTabColor" width="2"><img src="/assets/general/spacer.gif" width="2"/></td>
|
|
||||||
<td class="splitPanelRight">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[3]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:tabbedPane">
|
|
||||||
<xsl:variable name="tabs" select="bebop:tabStrip/bebop:tab"/>
|
|
||||||
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0" class="tabs">
|
|
||||||
<tr>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<xsl:for-each select="$tabs">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@current = 't'">
|
|
||||||
<!-- start currently active tab -->
|
|
||||||
<td class="tabBeginning"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="activeTab" nowrap="nowrap"><xsl:value-of select="bebop:label"/></td>
|
|
||||||
<td class="tabEnd"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<!-- end currently active tab -->
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<!-- start inactive tab -->
|
|
||||||
<td>
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr height="3"><td></td></tr>
|
|
||||||
<tr height="23">
|
|
||||||
<td class="tabBeginningOff"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="inactiveTab" nowrap="nowrap"><a href="{@href}"><xsl:apply-templates select="bebop:label"/></a>
|
|
||||||
</td>
|
|
||||||
<td class="tabEndOff"><xsl:text>  </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
</td>
|
|
||||||
<!-- end inactive tab -->
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<td class="trimSpace" width="100%"><xsl:text> </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="topRuleUnderTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="bebop:currentPane/*"/>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:tabbedPane[@class='portalserver_admin']">
|
|
||||||
<div class="tabs">
|
|
||||||
<xsl:for-each select="bebop:tabStrip/bebop:tab">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@current">
|
|
||||||
<table class="selected">
|
|
||||||
<tr>
|
|
||||||
<td class="label"><xsl:apply-templates/></td>
|
|
||||||
<td class="end"/>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<a href="{@href}">
|
|
||||||
<table class="unselected">
|
|
||||||
<tr>
|
|
||||||
<td class="label"><xsl:apply-templates/></td>
|
|
||||||
<td class="end"/>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</a>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<div class="rule"/>
|
|
||||||
<xsl:apply-templates select="bebop:currentPane"/>
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:itemDetail">
|
|
||||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
||||||
<xsl:for-each select="bebop:property">
|
|
||||||
<tr>
|
|
||||||
<td width="25%" align="right" valign="top"><b><small><xsl:value-of select="bebop:name"/>:</small></b></td>
|
|
||||||
<td width="75%"><xsl:apply-templates select="*[name()!='bebop:name']"/></td>
|
|
||||||
</tr>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:for-each select="bebop:action">
|
|
||||||
<tr>
|
|
||||||
<td width="25%" align="right" valign="top">
|
|
||||||
<xsl:if test="position() = 1"><b><small>Actions:</small></b></xsl:if>
|
|
||||||
</td>
|
|
||||||
<td width="75%"><xsl:apply-templates select="bebop:link"/></td>
|
|
||||||
</tr>
|
|
||||||
</xsl:for-each>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:label[@class='nullArrow']">
|
|
||||||
<img src ="/assets/general/spacer.gif" border="0" width="16" height ="16">
|
|
||||||
</img>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:table"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<table class="fancy">
|
|
||||||
<xsl:for-each select="@*">
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates select="bebop:thead"/>
|
|
||||||
<xsl:apply-templates select="bebop:tbody"/>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:table[@class='plain']"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<table>
|
|
||||||
<xsl:for-each select="@*">
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates select="bebop:thead"/>
|
|
||||||
<xsl:apply-templates select="bebop:tbody"/>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="admin:groupInfo[@class='ecm']">
|
|
||||||
<ul>
|
|
||||||
<li> Group Name: <xsl:value-of select="@name"/> </li>
|
|
||||||
<li> Primary Email: <xsl:value-of select="@email"/> </li>
|
|
||||||
</ul>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bmrk:styleblock">
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="bebop:actionLink" match="bebop:link[@class='actionLink']">
|
|
||||||
<!-- Begin Image -->
|
|
||||||
|
|
||||||
<!-- Image JavaScript -->
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
|
||||||
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="/assets/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Image No JavaScript -->
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<a href="{@href_no_javascript}">
|
|
||||||
<img src="/assets/action-generic.png" border="0" width="11" height="11">
|
|
||||||
<xsl:attribute name="alt">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Begin Link -->
|
|
||||||
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
|
||||||
<![CDATA[ document.write(']]><a><xsl:for-each select="@*[name() != 'href_no_javascript']"><xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute></xsl:for-each><xsl:apply-templates mode="javascript-mode"/><![CDATA[')]]>
|
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
<a>
|
|
||||||
<xsl:for-each select="@*[name() != 'href']">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="name() = 'href_no_javascript'">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="name() = 'onclick'">
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[ document.write("--\>") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -385,7 +385,7 @@
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
<!-- This is ugly, but I need the whole output on one line =p -->
|
||||||
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="/assets/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="/__ccm__/static/cms/admin/action-group/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
||||||
<![CDATA[ // end script --> ]]>
|
<![CDATA[ // end script --> ]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -398,7 +398,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href="{@href_no_javascript}">
|
<a href="{@href_no_javascript}">
|
||||||
<img src="/assets/action-generic.png" border="0" width="11" height="11">
|
<img src="/__ccm__/static/cms/admin/action-group/action-generic.png" border="0" width="11" height="11">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,12 @@
|
||||||
<xsl:if test="@addAction">
|
<xsl:if test="@addAction">
|
||||||
<script LANGUAGE="JavaScript">
|
<script LANGUAGE="JavaScript">
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="/assets/action-add.png" border="0"/></a>')]]>
|
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="/assets/category-step/action-add.png" border="0"/></a>')]]>
|
||||||
<![CDATA[ document.write("\<!--") ]]>
|
<![CDATA[ document.write("\<!--") ]]>
|
||||||
<![CDATA[ // end script --> ]]>
|
<![CDATA[ // end script --> ]]>
|
||||||
</script>
|
</script>
|
||||||
<a href="{@addAction}">
|
<a href="{@addAction}">
|
||||||
<img src="/assets/action-add.png" border="0"/>
|
<img src="/assets/category-step/action-add.png" border="0"/>
|
||||||
</a>
|
</a>
|
||||||
<script LANGUAGE="JavaScript">
|
<script LANGUAGE="JavaScript">
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
<li>
|
<li>
|
||||||
<xsl:value-of select="substring(@path, string-length($name) + 5)"/> 
|
<xsl:value-of select="substring(@path, string-length($name) + 5)"/> 
|
||||||
<xsl:if test="@deleteAction">
|
<xsl:if test="@deleteAction">
|
||||||
<a href="{@deleteAction}"><img src="/assets/action-delete.png" border="0"/></a>
|
<a href="{@deleteAction}"><img src="/assets/category-step/action-delete.png" border="0"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@deleteAction}">Remove</a>
|
<a href="{@deleteAction}">Remove</a>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
@ -90,7 +90,7 @@
|
||||||
|
|
||||||
<xsl:template match="cms:categoryWidget" mode="cms:javascript">
|
<xsl:template match="cms:categoryWidget" mode="cms:javascript">
|
||||||
<script type="text/javascript" src="/assets/prototype.js"/>
|
<script type="text/javascript" src="/assets/prototype.js"/>
|
||||||
<script type="text/javascript" src="/assets/category-step.js"/>
|
<script type="text/javascript" src="/assets/category-step/category-step.js"/>
|
||||||
<div>
|
<div>
|
||||||
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
|
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
|
||||||
<xsl:with-param name="expand" select="'block'"/>
|
<xsl:with-param name="expand" select="'block'"/>
|
||||||
|
|
@ -128,13 +128,13 @@
|
||||||
<div id="catSelf{@id}">
|
<div id="catSelf{@id}">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$expand='none' and (@root='1' or count(cms:category) > 0)">
|
<xsl:when test="$expand='none' and (@root='1' or count(cms:category) > 0)">
|
||||||
<a href="#" onClick="{$toggle}('{@node-id}');"><img id="catTog{@node-id}" src="/assets/action-add.png" width="14" height="14" border="0"/></a>
|
<a href="#" onClick="{$toggle}('{@node-id}');"><img id="catTog{@node-id}" src="/assets/categeory-step/action-add.png" width="14" height="14" border="0"/></a>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="$expand!='none' and (@root='1' or count(cms:category) > 0)">
|
<xsl:when test="$expand!='none' and (@root='1' or count(cms:category) > 0)">
|
||||||
<a href="#" onClick="{$toggle}('{@node-id}');"><img id="catTog{@node-id}" src="/assets/action-delete.png" width="14" height="14" border="0"/></a>
|
<a href="#" onClick="{$toggle}('{@node-id}');"><img id="catTog{@node-id}" src="/assets/category-step/action-delete.png" width="14" height="14" border="0"/></a>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<img src="/assets/action-generic.png" width="14" height="14" border="0"/>
|
<img src="/assets/category-step/action-generic.png" width="14" height="14" border="0"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<a id="catLn{@id}" href="#" style="padding-left: 6px; display: {$linkStyle}">
|
<a id="catLn{@id}" href="#" style="padding-left: 6px; display: {$linkStyle}">
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 631 B |
Binary file not shown.
|
After Width: | Height: | Size: 524 B |
Binary file not shown.
|
After Width: | Height: | Size: 624 B |
|
|
@ -8,13 +8,13 @@
|
||||||
// reload the branch
|
// reload the branch
|
||||||
new Ajax.Updater('catCh'+id, 'load-cat.jsp',
|
new Ajax.Updater('catCh'+id, 'load-cat.jsp',
|
||||||
{parameters:'nodeID='+id});
|
{parameters:'nodeID='+id});
|
||||||
elImg.src = "/assets/action-delete.png";
|
elImg.src = "./action-delete.png";
|
||||||
// TODO check catWd, update selected catLn/catNm
|
// TODO check catWd, update selected catLn/catNm
|
||||||
// in case selected cats are in reloaded branch
|
// in case selected cats are in reloaded branch
|
||||||
} else {
|
} else {
|
||||||
elChildren.style.display = "none";
|
elChildren.style.display = "none";
|
||||||
elChildren.innerHTML = ''; // discard the branch
|
elChildren.innerHTML = ''; // discard the branch
|
||||||
elImg.src = "/assets/action-add.png";
|
elImg.src = "./action-add.png";
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
|
|
||||||
if (elChildren.style.display != "block") {
|
if (elChildren.style.display != "block") {
|
||||||
elChildren.style.display = "block";
|
elChildren.style.display = "block";
|
||||||
elImg.src = "/assets/action-delete.png";
|
elImg.src = "./action-delete.png";
|
||||||
} else {
|
} else {
|
||||||
elChildren.style.display = "none";
|
elChildren.style.display = "none";
|
||||||
elImg.src = "/assets/action-add.png";
|
elImg.src = "./action-add.png";
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../packages/docmgr/xsl/docs.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 660 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
|
|
@ -1,139 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<xsl:stylesheet
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:forum="http://www.arsdigita.com/forum/1.0"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
|
||||||
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0"
|
|
||||||
xmlns:portalserver="http://www.redhat.com/portalserver/1.0"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:output method="html"/>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:portlet[@bebop:classname='com.arsdigita.cms.docmgr.ui.LegacyCategoryDocsNavigatorPortlet' and //bebop:page/@id='viewWorkspace']">
|
|
||||||
<H3><xsl:value-of select="@title" /></H3>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:portlet[@bebop:classname='com.arsdigita.cms.docmgr.ui.RecentUpdatedDocsPortletRenderer' and //bebop:page/@id='viewWorkspace']">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="(../@style='W') or
|
|
||||||
((../@style='WN') and (@cellNumber='1')) or
|
|
||||||
((../@style='NW') and (@cellNumber='2')) or
|
|
||||||
((../@style='WN') and (@cellNumber='3')) or
|
|
||||||
((../@style='NWN') and (@cellNumber='2')) or
|
|
||||||
((../@style='NNN') and (@cellNumber='1'))">
|
|
||||||
<H3><xsl:value-of select="@title" /></H3>
|
|
||||||
|
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td class="bglight"><b>5 Most Recent Items</b></td>
|
|
||||||
<td width="100" align="right" class="bglight"><b>Size</b></td>
|
|
||||||
<td width="100" align="right" class="bglight"><b>Modified</b></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<xsl:for-each select="descendant-or-self::bebop:tbody/bebop:trow">
|
|
||||||
<xsl:if test="position()<='5'">
|
|
||||||
<tr>
|
|
||||||
<td class="bglight">
|
|
||||||
<a href="{./bebop:cell[6]/bebop:link/@href}" title="Download this document"><xsl:value-of select="./bebop:cell[1]/bebop:link/bebop:label" /></a>
|
|
||||||
</td>
|
|
||||||
<td width="100" align="right" class="bglight">
|
|
||||||
<xsl:apply-templates select="./bebop:cell[3]"/>
|
|
||||||
</td>
|
|
||||||
<td width="100" align="right" class="bglight">
|
|
||||||
<xsl:call-template name="docmgrDate">
|
|
||||||
<xsl:with-param name="date" select="./bebop:cell[5]/bebop:label" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
<xsl:if test="contains(descendant-or-self::bebop:link[@class='actionLink']/bebop:label, 'New Document')">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3">
|
|
||||||
<a href="{./bebop:gridPanel/bebop:panelRow[1]/bebop:cell/bebop:link[@class='actionLink']/@href}">add a document</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="3">
|
|
||||||
<a href="{@applicationlink}">view all documents</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
|
|
||||||
<H3><xsl:value-of select="@title" /></H3>
|
|
||||||
<p>5 Most Recent Items</p>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<xsl:for-each select="descendant-or-self::bebop:tbody/bebop:trow">
|
|
||||||
<xsl:if test="position()<='5'">
|
|
||||||
<li>
|
|
||||||
<a href="{./bebop:cell[6]/bebop:link/@href}" title="Download this document"><xsl:value-of select="./bebop:cell[1]/bebop:link/bebop:label" /></a>
|
|
||||||
</li>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<xsl:if test="contains(descendant-or-self::bebop:link[@class='actionLink']/bebop:label, 'New Document')">
|
|
||||||
<div>
|
|
||||||
<a href="{./bebop:gridPanel/bebop:panelRow[1]/bebop:cell/bebop:link[@class='actionLink']/@href}">add a document</a>
|
|
||||||
</div>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a href="{@applicationlink}">view all documents</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="docmgrDate">
|
|
||||||
<xsl:param name="date" />
|
|
||||||
|
|
||||||
<xsl:if test="string($date)!='null'">
|
|
||||||
<xsl:if test="string-length($date)!='0'">
|
|
||||||
|
|
||||||
<!-- Day -->
|
|
||||||
<xsl:variable name="day-month" select="substring-before($date, '/0')"/>
|
|
||||||
<xsl:variable name="day" select="substring-after($day-month, '/')"/>
|
|
||||||
<xsl:variable name="month" select="substring-before($day-month, '/')"/>
|
|
||||||
<xsl:variable name="year" select="substring-after($date, '/0')"/>
|
|
||||||
|
|
||||||
<xsl:if test="string-length($day)='1'">
|
|
||||||
<xsl:text>0</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:value-of select="$day" />
|
|
||||||
<xsl:text>-</xsl:text>
|
|
||||||
|
|
||||||
<!-- Month -->
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$month='1'">01</xsl:when>
|
|
||||||
<xsl:when test="$month='2'">02</xsl:when>
|
|
||||||
<xsl:when test="$month='3'">03</xsl:when>
|
|
||||||
<xsl:when test="$month='4'">04</xsl:when>
|
|
||||||
<xsl:when test="$month='5'">05</xsl:when>
|
|
||||||
<xsl:when test="$month='6'">06</xsl:when>
|
|
||||||
<xsl:when test="$month='7'">07</xsl:when>
|
|
||||||
<xsl:when test="$month='8'">08</xsl:when>
|
|
||||||
<xsl:when test="$month='9'">09</xsl:when>
|
|
||||||
<xsl:when test="$month='10'">10</xsl:when>
|
|
||||||
<xsl:when test="$month='11'">11</xsl:when>
|
|
||||||
<xsl:when test="$month='12'">12</xsl:when>
|
|
||||||
<xsl:otherwise></xsl:otherwise>
|
|
||||||
</xsl:choose><xsl:text>-</xsl:text>200<xsl:value-of select="substring($year, 1, 2 )" />
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,588 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet version="1.0"
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
|
||||||
xmlns:admin="http://www.arsdigita.com/admin-ui/1.0"
|
|
||||||
xmlns:docs="http://www.redhat.com/docs/1.0">
|
|
||||||
|
|
||||||
|
|
||||||
<xsl:import href="../../content-section/xsl/cms.xsl"/>
|
|
||||||
<xsl:import href="../../acs-admin/xsl/admin_en.xsl"/>
|
|
||||||
<xsl:import href="../../categorization/xsl/categorization.xsl"/>
|
|
||||||
<xsl:import href="../../bebop/xsl/DimensionalNavbar.xsl"/>
|
|
||||||
<xsl:import href="../../toolbox/xsl/ControlBar.xsl"/>
|
|
||||||
|
|
||||||
<xsl:output method="html" indent="yes"/>
|
|
||||||
|
|
||||||
<xsl:param name="contextPath"/>
|
|
||||||
|
|
||||||
<xsl:variable name="assets-dir">/packages/portalserver/www/assets</xsl:variable>
|
|
||||||
<xsl:variable name="css-dir">/packages/portalserver/www/css</xsl:variable>
|
|
||||||
|
|
||||||
|
|
||||||
<xsl:template match="bebop:page[@class='DOCS']"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title><xsl:value-of select="bebop:title"/></title>
|
|
||||||
<!--
|
|
||||||
<link href="/css/acs-master.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="/packages/portalserver/www/css/portalserver.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<style type="text/css">
|
|
||||||
BODY { background: white; color: black}
|
|
||||||
.main {background-color: #ffffff;}
|
|
||||||
table.globalHeader { background-color: rgb(225,225,225);}
|
|
||||||
table.bottomRule { background: rgb(162,30,30);}
|
|
||||||
table.topRuleNoTabs { background: rgb(162,30,30);}
|
|
||||||
table.topRuleUnderTabs { background: rgb(162,30,30);}
|
|
||||||
</style>
|
|
||||||
-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/acs-master.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="/__ccm__/static/cms/admin/cms-admin.css" />
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<xsl:apply-templates select="docs:header"/>
|
|
||||||
<xsl:apply-templates select="docs:body"/>
|
|
||||||
<xsl:apply-templates select="docs:footer"/>
|
|
||||||
<xsl:apply-templates select="bebop:structure"/>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ContextBar formatting -->
|
|
||||||
<xsl:template match="bebop:boxPanel[@class='ContextBar']">
|
|
||||||
<xsl:apply-imports/>
|
|
||||||
<hr />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- Table with alternate color for each column. -->
|
|
||||||
<xsl:template match="bebop:table[@class='AlternateTable']"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<table>
|
|
||||||
<xsl:for-each select="@*">
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates select="bebop:thead"/>
|
|
||||||
<xsl:for-each select="bebop:tbody">
|
|
||||||
<xsl:call-template name="AlternateTableBody"/>
|
|
||||||
</xsl:for-each>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="AlternateTableBody"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<tbody>
|
|
||||||
<xsl:for-each select="bebop:trow">
|
|
||||||
<tr>
|
|
||||||
<xsl:attribute name="bgcolor">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="position() mod 2">#e1d5b0</xsl:when>
|
|
||||||
<xsl:otherwise>#ffffff</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:for-each select="bebop:cell">
|
|
||||||
<td>
|
|
||||||
<xsl:for-each select="@align|@valign|@colspan|@width">
|
|
||||||
<xsl:attribute name="{local-name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</td>
|
|
||||||
</xsl:for-each>
|
|
||||||
</tr>
|
|
||||||
</xsl:for-each>
|
|
||||||
</tbody>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:label[@class='isFile']">
|
|
||||||
<img src="{$contextPath}/assets/file.gif" border="0">
|
|
||||||
<xsl:attribute name="alt">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:label[@class='isFolder']">
|
|
||||||
<img src="{$contextPath}/assets/folder.gif" border="0">
|
|
||||||
<xsl:attribute name="alt">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<xsl:template name="write-node">
|
|
||||||
<xsl:param name="node"/>
|
|
||||||
<xsl:param name="total-indent"/>
|
|
||||||
<xsl:param name="level-indent">&nbsp;&nbsp;&nbsp;&nbsp;</xsl:param>
|
|
||||||
<xsl:for-each select="$node">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<xsl:attribute name="class">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="count(./bebop:label[@weight='b'])>0">split_pane_left_item_selected</xsl:when>
|
|
||||||
<xsl:otherwise>split_pane_left_item</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="$total-indent"/>
|
|
||||||
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@collapsed='t'">
|
|
||||||
<a href="{@href}">
|
|
||||||
<img alt="Expand" border="0" height="11" width="11">
|
|
||||||
<xsl:attribute name="src">
|
|
||||||
<xsl:value-of select="//@assets"/>/assets/plus-box.gif</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</a>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="@expanded='t'">
|
|
||||||
<a href="{@href}">
|
|
||||||
<img alt="Collapse" border="0" height="11" width="11">
|
|
||||||
<xsl:attribute name="src">
|
|
||||||
<xsl:value-of select="//@assets"/>/assets/minus-box.gif</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</a>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="@radioGroup='t'">
|
|
||||||
<input type="radio">
|
|
||||||
<xsl:attribute name="name">
|
|
||||||
<xsl:value-of select="@radioGroupName"/>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="value">
|
|
||||||
<xsl:value-of select="@resourceID"/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</input>
|
|
||||||
<img alt="folder" border="0" height="24" width="24">
|
|
||||||
<xsl:attribute name="src">
|
|
||||||
<xsl:value-of select="//@assets"/>/assets/folder.gif</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="@radioGroup='f'">
|
|
||||||
<xsl:text>    
|
|
||||||
</xsl:text>
|
|
||||||
<img alt="folder" border="0" height="24" width="24">
|
|
||||||
<xsl:attribute name="src">
|
|
||||||
<xsl:value-of select="//@assets"/>/assets/folder.gif</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</xsl:when>
|
|
||||||
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:apply-templates select="*[position()=1]"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<xsl:for-each select="bebop:t_node">
|
|
||||||
<xsl:call-template name="write-node">
|
|
||||||
<xsl:with-param name="node" select="."/>
|
|
||||||
<xsl:with-param name="total-indent">
|
|
||||||
<xsl:copy-of select="$total-indent"/>
|
|
||||||
<xsl:copy-of select="$level-indent"/>
|
|
||||||
</xsl:with-param>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
<!-- This adds a little space each time we move up in the hierarchy. -->
|
|
||||||
<xsl:if test="count(bebop:t_node)>0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td height="2"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:for-each>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="docs:error-label"
|
|
||||||
xmlns:docs="http://www.arsdigita.com/docs/1.0">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@action='copy'">
|
|
||||||
Unable to copy on following items.
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="@action='move'">
|
|
||||||
Unable to move on following items.
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="@action='delete'">
|
|
||||||
Unable to delete on following items.
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
<ul>
|
|
||||||
<xsl:for-each select="docs:item">
|
|
||||||
<li><b><xsl:value-of select="@name"/></b></li>
|
|
||||||
</xsl:for-each>
|
|
||||||
</ul>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="docs:file-info">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>Name:</td>
|
|
||||||
<td><xsl:value-of select="docs:name"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Description:</td>
|
|
||||||
<td><xsl:value-of select="docs:description"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Size:</td>
|
|
||||||
<td><xsl:value-of select="docs:size"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Type:</td>
|
|
||||||
<td><xsl:value-of select="docs:type"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Last Modified:</td>
|
|
||||||
<td><xsl:value-of select="docs:last-modified"/></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>Revision:</td>
|
|
||||||
<td><xsl:value-of select="docs:revision"/></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Author:</td>
|
|
||||||
<td><xsl:value-of select="docs:author"/></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>URI:</td>
|
|
||||||
<td>
|
|
||||||
<a href="{docs:uri}">
|
|
||||||
<xsl:value-of select="docs:uri"/>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="docs:header">
|
|
||||||
|
|
||||||
<table id="global-header">
|
|
||||||
<tr>
|
|
||||||
<td id="context">
|
|
||||||
<xsl:if test="bebop:dimensionalNavbar[@class = 'portalNavbar']">
|
|
||||||
<xsl:apply-templates select="bebop:dimensionalNavbar[@class = 'portalNavbar']"/>
|
|
||||||
</xsl:if>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<table id="global-links">
|
|
||||||
<tr>
|
|
||||||
<td style="margin: 0; border: 0; padding: 0; padding-right: 18px;">
|
|
||||||
</td>
|
|
||||||
<td class="global-link-icon">
|
|
||||||
<a href="{../docs:global/bebop:link[@class = 'signoutLink']/@href}">
|
|
||||||
<img src="/assets/lock.png" height="18" width="14"/>
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td class="global-link">
|
|
||||||
<a href="{../docs:global/bebop:link[@class = 'signoutLink']/@href}">
|
|
||||||
Sign out
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td bgcolor="#878175">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td height="1"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="setInside">
|
|
||||||
<tr>
|
|
||||||
<td class="setInside">
|
|
||||||
<table class="localHeader">
|
|
||||||
<tr>
|
|
||||||
<td class="localTitle">
|
|
||||||
<xsl:value-of select="../bebop:title"/>
|
|
||||||
</td>
|
|
||||||
<td class="localControl">
|
|
||||||
<xsl:apply-templates select="bebop:link[@class = 'portalControlProfileLink']"/>
|
|
||||||
<xsl:apply-templates select="bebop:link[@class = 'portalControl']"/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="docs:body">
|
|
||||||
<table class="setInside"><tr><td class="setInside">
|
|
||||||
|
|
||||||
<!-- XXX once we make portal tabs generate XML just like ordinary tabs, this rule repeat can go away. -->
|
|
||||||
|
|
||||||
<xsl:variable name="portalTabs" select="bebop:list[@class = 'portalTabs']"/>
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="count($portalTabs/bebop:cell) > 1">
|
|
||||||
<!--
|
|
||||||
If there is only one tab in this portal, don't bother to
|
|
||||||
display it.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0" class="tabs">
|
|
||||||
<tr valign="bottom">
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<xsl:for-each select="$portalTabs/bebop:cell">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@selected">
|
|
||||||
<!-- start currently active tab -->
|
|
||||||
<td class="tabBeginning"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="activeTab" nowrap="nowrap"><xsl:value-of select="bebop:portal/@title"/></td>
|
|
||||||
<td class="tabEnd"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<!-- end currently active tab -->
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<!-- start inactive tab -->
|
|
||||||
<td>
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr height="3"><td><img src="/assets/general/spacer.gif" height="3"/></td></tr>
|
|
||||||
<tr height="23">
|
|
||||||
<td class="tabBeginningOff"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="inactiveTab" nowrap="nowrap"><xsl:apply-templates select="bebop:link"/></td>
|
|
||||||
<td class="tabEndOff"><xsl:text>  </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
</td>
|
|
||||||
<!-- end inactive tab -->
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<td class="trimSpace" width="100%"><xsl:text> </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="topRuleUnderTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="not(bebop:tabbedPane)">
|
|
||||||
<table class="topRuleNoTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
|
|
||||||
<!-- end of div class="setInside" -->
|
|
||||||
</td></tr></table>
|
|
||||||
|
|
||||||
<table class="bottomRule">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:splitPanel">
|
|
||||||
<table class="splitPanel">
|
|
||||||
<xsl:if test="not(bebop:cell/bebop:label[text() = '&nbsp;'])">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" class="splitPanelHeader">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[1]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td colspan="3" class="inactiveTabColor" height="2"><img src="/assets/general/spacer.gif" height="2"/></td></tr>
|
|
||||||
</xsl:if>
|
|
||||||
<tr>
|
|
||||||
<td class="splitPanelLeft">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[2]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td class="inactiveTabColor" width="2"><img src="/assets/general/spacer.gif" width="2"/></td>
|
|
||||||
<td class="splitPanelRight">
|
|
||||||
<table width="100%" cellspacing="4" cellpadding="0" border="0">
|
|
||||||
<tr><td><xsl:apply-templates select="bebop:cell[3]"/></td></tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:tabbedPane">
|
|
||||||
<xsl:variable name="tabs" select="bebop:tabStrip/bebop:tab"/>
|
|
||||||
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0" class="tabs">
|
|
||||||
<tr>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<xsl:for-each select="$tabs">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="@current = 't'">
|
|
||||||
<!-- start currently active tab -->
|
|
||||||
<td class="tabBeginning"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="activeTab" nowrap="nowrap"><xsl:value-of select="bebop:label"/></td>
|
|
||||||
<td class="tabEnd"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
<!-- end currently active tab -->
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<!-- start inactive tab -->
|
|
||||||
<td>
|
|
||||||
<table cellpadding="0" cellspacing="0" border="0">
|
|
||||||
<tr height="3"><td></td></tr>
|
|
||||||
<tr height="23">
|
|
||||||
<td class="tabBeginningOff"><xsl:text>  </xsl:text></td>
|
|
||||||
<td class="inactiveTab" nowrap="nowrap"><a href="{@href}"><xsl:apply-templates select="bebop:label"/></a>
|
|
||||||
</td>
|
|
||||||
<td class="tabEndOff"><xsl:text>  </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<td class="trimSpace"><xsl:text> </xsl:text></td>
|
|
||||||
</td>
|
|
||||||
<!-- end inactive tab -->
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<td class="trimSpace" width="100%"><xsl:text> </xsl:text></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table class="topRuleUnderTabs">
|
|
||||||
<tr><td></td></tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="bebop:currentPane/*"/>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:table"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<table class="fancy">
|
|
||||||
<xsl:for-each select="@*">
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates select="bebop:thead"/>
|
|
||||||
<xsl:apply-templates select="bebop:tbody"/>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:table[@class='plain']"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
|
||||||
<table>
|
|
||||||
<xsl:for-each select="@*">
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates select="bebop:thead"/>
|
|
||||||
<xsl:apply-templates select="bebop:tbody"/>
|
|
||||||
</table>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- The template below overrides bebop Link.xsl action link spec so that
|
|
||||||
we can have a different image -->
|
|
||||||
<xsl:template name="bebop:actionLink" match="bebop:link[@class='actionLink']">
|
|
||||||
<!-- Begin Image -->
|
|
||||||
|
|
||||||
<!-- Image JavaScript -->
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
|
||||||
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="{$contextPath}/assets/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Image No JavaScript -->
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<a href="{@href_no_javascript}">
|
|
||||||
<img src="{$contextPath}/assets/action-generic.png" border="0" width="11" height="11">
|
|
||||||
<xsl:attribute name="alt">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</img>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Begin Link -->
|
|
||||||
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
|
||||||
<![CDATA[ document.write(']]><a><xsl:for-each select="@*[name() != 'href_no_javascript']"><xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute></xsl:for-each><xsl:apply-templates mode="javascript-mode"/><![CDATA[')]]>
|
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[document.write("\<!--") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
<a>
|
|
||||||
<xsl:for-each select="@*[name() != 'href']">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="name() = 'href_no_javascript'">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="name() = 'onclick'">
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:attribute name="{name()}">
|
|
||||||
<xsl:value-of select="."/>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:for-each>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<script LANGUAGE="JavaScript">
|
|
||||||
<![CDATA[ <!-- begin script ]]>
|
|
||||||
<![CDATA[ document.write("--\>") ]]>
|
|
||||||
<![CDATA[ // end script --> ]]>
|
|
||||||
</script>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,126 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<xsl:stylesheet version="1.0"
|
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:admin="http://www.arsdigita.com/docs-ui/1.0"
|
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
|
||||||
exclude-result-prefixes="admin">
|
|
||||||
|
|
||||||
<xsl:import href="docs.xsl"/>
|
|
||||||
|
|
||||||
<!-- this rule matches one user -->
|
|
||||||
<xsl:template match="admin:userInfo">
|
|
||||||
|
|
||||||
<!-- Feature #166221 capitalize form labels -->
|
|
||||||
<ul>
|
|
||||||
<li> Name: <xsl:value-of select="@name"/> </li>
|
|
||||||
<li> Email:
|
|
||||||
<table>
|
|
||||||
<xsl:apply-templates select="admin:email" />
|
|
||||||
</table>
|
|
||||||
</li>
|
|
||||||
<li> Screen Name: <xsl:value-of select="@screenName"/> </li>
|
|
||||||
<li> URL: <a href="{@URI}"><xsl:value-of select="@URI"/> </a> </li>
|
|
||||||
<li> User ID: <xsl:value-of select="@id"/> </li>
|
|
||||||
<li> Member State: <xsl:value-of select="@memberState"/>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- used to format the list of actions available for one user -->
|
|
||||||
<xsl:template match="admin:userActions">
|
|
||||||
|
|
||||||
<h3>Adminstrative Actions</h3>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="password-update?user_id={@id}">Update password</a></li>
|
|
||||||
<li><a href="login?user_id={@id}">Become this user</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- used to format the header of the password update page -->
|
|
||||||
<xsl:template match="bebop:label[@class='UserPasswordHeader']">
|
|
||||||
For <xsl:value-of select="text()"/>
|
|
||||||
<hr />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- usage note displayed on the password-update page -->
|
|
||||||
<xsl:template match="admin:PasswordNote">
|
|
||||||
<h4>Note</h4>
|
|
||||||
<p>If this user does not currently have an authentication record,
|
|
||||||
one will be created when you submit this form and the account
|
|
||||||
will be enabled for login to the system.</p>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- used to format primary email for display -->
|
|
||||||
<xsl:template match="admin:email[@primary='t']">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a href="mailto:{@address}"><xsl:value-of select="@address"/></a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
(primary)
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- used to format non-primary email for display -->
|
|
||||||
<xsl:template match="admin:email">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a href="mailto:{@address}"><xsl:value-of select="@address"/></a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Access Denied Page -->
|
|
||||||
<xsl:template match="bebop:label[@class='AccessDenied']">
|
|
||||||
<hr />
|
|
||||||
<p>You don't have permission to perform the requested action.</p>
|
|
||||||
<hr />
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- Display search error message -->
|
|
||||||
<xsl:template match="bebop:list[@class='SearchResultList'][count(bebop:cell)=0]">
|
|
||||||
<p><font color="red">Your search returned no results.</font></p>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- Display search error message -->
|
|
||||||
<xsl:template match="bebop:list[@class='SearchResultList'][count(bebop:cell)>0]">
|
|
||||||
<p>Results matching your query:</p>
|
|
||||||
<ul>
|
|
||||||
<xsl:for-each select="bebop:cell">
|
|
||||||
<li><xsl:apply-templates/></li>
|
|
||||||
</xsl:for-each>
|
|
||||||
</ul>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- used to format the basic information and actions available for one group -->
|
|
||||||
<xsl:template match="admin:groupInfo">
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li> Group Name: <xsl:value-of select="@name"/> </li>
|
|
||||||
<li> Primary Email: <xsl:value-of select="@email"/> </li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:list[@class='UserGroupsResultList'][count(bebop:cell)=0]">
|
|
||||||
<p><font color="red">None</font></p>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="bebop:link[@class='deleteLink']">
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
(<a href="{@href}" onclick="{@onclick}" class="action_link">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
</a>)
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
<!DOCTYPE stylesheet [
|
|
||||||
<!ENTITY nbsp " " ><!-- no-break space = non-breaking space, U+00A0 ISOnum -->
|
|
||||||
]>
|
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
<!DOCTYPE stylesheet [
|
|
||||||
<!ENTITY nbsp " " ><!-- no-break space = non-breaking space, U+00A0 ISOnum -->
|
|
||||||
]>
|
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
||||||
|
|
@ -513,7 +513,7 @@ we can have a different image -->
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
|
|
||||||
<!-- This is ugly, but I need the whole output on one line =p -->
|
<!-- This is ugly, but I need the whole output on one line =p -->
|
||||||
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="{$contextPath}/assets/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
<![CDATA[ document.write(']]><a href="{@href}" onclick="{@onclick}"><img src="{$contextPath}/assets/images/action-generic.png" border="0" width="11" height="11"><xsl:attribute name="alt"><xsl:apply-templates mode="javascript-mode"/></xsl:attribute></img><![CDATA[')]]>
|
||||||
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
<![CDATA[ document.write(']]></a><![CDATA[')]]>
|
||||||
<![CDATA[ // end script --> ]]>
|
<![CDATA[ // end script --> ]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -526,7 +526,7 @@ we can have a different image -->
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href="{@href_no_javascript}">
|
<a href="{@href_no_javascript}">
|
||||||
<img src="{$contextPath}/assets/action-generic.png" border="0" width="11" height="11">
|
<img src="{$contextPath}/assets/images/action-generic.png" border="0" width="11" height="11">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,7 @@
|
||||||
<th width="100%" class="{status}">
|
<th width="100%" class="{status}">
|
||||||
<xsl:if test="@approveURL">
|
<xsl:if test="@approveURL">
|
||||||
<nobr>
|
<nobr>
|
||||||
<a href="{@approveURL}"><img border="0" src="/assets/action-generic.png"/></a>
|
<a href="{@approveURL}"><img border="0" src="/assets/images/action-generic.png"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@approveURL}">Approve</a>
|
<a href="{@approveURL}">Approve</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
|
|
@ -190,7 +190,7 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="@rejectURL">
|
<xsl:if test="@rejectURL">
|
||||||
<nobr>
|
<nobr>
|
||||||
<a href="{@rejectURL}"><img border="0" src="/assets/action-generic.png"/></a>
|
<a href="{@rejectURL}"><img border="0" src="/assets/images/action-generic.png"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@rejectURL}">Reject</a>
|
<a href="{@rejectURL}">Reject</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
<xsl:if test="@editURL">
|
<xsl:if test="@editURL">
|
||||||
<th>
|
<th>
|
||||||
<nobr>
|
<nobr>
|
||||||
<a href="{@editURL}"><img border="0" src="/assets/action-generic.png"/></a>
|
<a href="{@editURL}"><img border="0" src="/assets/images/action-generic.png"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@editURL}">Edit</a>
|
<a href="{@editURL}">Edit</a>
|
||||||
</nobr>
|
</nobr>
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
<xsl:if test="@replyURL">
|
<xsl:if test="@replyURL">
|
||||||
<th>
|
<th>
|
||||||
<nobr>
|
<nobr>
|
||||||
<a href="{@replyURL}"><img border="0" src="/assets/action-generic.png"/></a>
|
<a href="{@replyURL}"><img border="0" src="/assets/images/action-generic.png"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@replyURL}">Reply</a>
|
<a href="{@replyURL}">Reply</a>
|
||||||
</nobr>
|
</nobr>
|
||||||
|
|
@ -223,7 +223,7 @@
|
||||||
<xsl:if test="@deleteURL">
|
<xsl:if test="@deleteURL">
|
||||||
<th>
|
<th>
|
||||||
<nobr>
|
<nobr>
|
||||||
<a href="{@deleteURL}"><img border="0" src="/assets/action-generic.png"/></a>
|
<a href="{@deleteURL}"><img border="0" src="/assets/images/action-generic.png"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@deleteURL}">Delete</a>
|
<a href="{@deleteURL}">Delete</a>
|
||||||
</nobr>
|
</nobr>
|
||||||
|
|
|
||||||
|
|
@ -35,12 +35,12 @@
|
||||||
<xsl:if test="@addAction">
|
<xsl:if test="@addAction">
|
||||||
<script LANGUAGE="JavaScript">
|
<script LANGUAGE="JavaScript">
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="/assets/action-add.png" border="0"/></a>')]]>
|
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="/assets/category-step/action-add.png" border="0"/></a>')]]>
|
||||||
<![CDATA[ document.write("\<!--") ]]>
|
<![CDATA[ document.write("\<!--") ]]>
|
||||||
<![CDATA[ // end script --> ]]>
|
<![CDATA[ // end script --> ]]>
|
||||||
</script>
|
</script>
|
||||||
<a href="{@addAction}">
|
<a href="{@addAction}">
|
||||||
<img src="/assets/action-add.png" border="0"/>
|
<img src="/assets/category-step/action-add.png" border="0"/>
|
||||||
</a>
|
</a>
|
||||||
<script LANGUAGE="JavaScript">
|
<script LANGUAGE="JavaScript">
|
||||||
<![CDATA[ <!-- begin script ]]>
|
<![CDATA[ <!-- begin script ]]>
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
<li>
|
<li>
|
||||||
<xsl:value-of select="substring(@path, string-length($name) + 5)"/> 
|
<xsl:value-of select="substring(@path, string-length($name) + 5)"/> 
|
||||||
<xsl:if test="@deleteAction">
|
<xsl:if test="@deleteAction">
|
||||||
<a href="{@deleteAction}"><img src="/assets/action-delete.png" border="0"/></a>
|
<a href="{@deleteAction}"><img src="/assets/category-step/action-delete.png" border="0"/></a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{@deleteAction}">Remove</a>
|
<a href="{@deleteAction}">Remove</a>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
@ -112,10 +112,10 @@
|
||||||
|
|
||||||
if (elChildren.style.display != "block") {
|
if (elChildren.style.display != "block") {
|
||||||
elChildren.style.display = "block";
|
elChildren.style.display = "block";
|
||||||
elImg.src = "/assets/action-delete.png";
|
elImg.src = "/assets/category-step/action-delete.png";
|
||||||
} else {
|
} else {
|
||||||
elChildren.style.display = "none";
|
elChildren.style.display = "none";
|
||||||
elImg.src = "/assets/action-add.png";
|
elImg.src = "/assets/category-step/action-add.png";
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -205,14 +205,14 @@
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand='none'">
|
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand='none'">
|
||||||
<a href="#" onClick="catToggle('{@nodeID}');">
|
<a href="#" onClick="catToggle('{@nodeID}');">
|
||||||
<img id="catTog{@nodeID}" src="/assets/action-add.png" width="14" height="14" border="0"/></a>
|
<img id="catTog{@nodeID}" src="/assets/category-step/action-add.png" width="14" height="14" border="0"/></a>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand!='none'">
|
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand!='none'">
|
||||||
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/action-delete.png"
|
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/category-step/action-delete.png"
|
||||||
width="14" height="14" border="0"/></a>
|
width="14" height="14" border="0"/></a>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<img src="/assets/action-generic.png" width="14" height="14" border="0"/>
|
<img src="/assets/category-step/action-generic.png" width="14" height="14" border="0"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<a id="catLn{@nodeID}" href="#" style="padding-left: 6px; display: {$linkStyle}">
|
<a id="catLn{@nodeID}" href="#" style="padding-left: 6px; display: {$linkStyle}">
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="{@url}admin/index.jsp">
|
<a href="{@url}admin/index.jsp">
|
||||||
<img border="0" width="11" height="11" alt="admin" src="{$context-prefix}/assets/arrow-box.gif"/>
|
<img border="0" width="11" height="11" alt="admin" src="{$context-prefix}/assets/images/arrow-box.gif"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@
|
||||||
|
|
||||||
<xsl:template match="cms:categoryWidget" mode="cms:javascript">
|
<xsl:template match="cms:categoryWidget" mode="cms:javascript">
|
||||||
<script type="text/javascript" src="/assets/prototype.js"/>
|
<script type="text/javascript" src="/assets/prototype.js"/>
|
||||||
<script type="text/javascript" src="/assets/category-step.js"/>
|
<script type="text/javascript" src="/assets/category-step/category-step.js"/>
|
||||||
<script type="text/javascript" src="/resource/ccm-ldn-atoz/__ccm__/static/atoz/category-widget.js"/>
|
<script type="text/javascript" src="/resource/ccm-ldn-atoz/__ccm__/static/atoz/category-widget.js"/>
|
||||||
<div>
|
<div>
|
||||||
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
|
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
|
||||||
|
|
@ -632,7 +632,7 @@
|
||||||
<xsl:param name="type" select="'generic'"/>
|
<xsl:param name="type" select="'generic'"/>
|
||||||
|
|
||||||
<a href="{$url}">
|
<a href="{$url}">
|
||||||
<img src="/assets/action-{$type}.png" border="0" width="14" height="14">
|
<img src="/assets/category-step/action-{$type}.png" border="0" width="14" height="14">
|
||||||
<xsl:attribute name="alt">
|
<xsl:attribute name="alt">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$type = 'delete'">
|
<xsl:when test="$type = 'delete'">
|
||||||
|
|
|
||||||
|
|
@ -43,11 +43,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="{$class}">
|
<tr class="{$class}">
|
||||||
<td>
|
<td>
|
||||||
<a href="{nav:action[@name='edit']/@url}"><img src="/assets/action-generic.png" width="14" height="14" border="0"/></a>
|
<a href="{nav:action[@name='edit']/@url}"><img src="/__ccm__/static/cms/admin/action-group/action-generic.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{nav:action[@name='edit']/@url}">Edit</a>
|
<a href="{nav:action[@name='edit']/@url}">Edit</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{nav:action[@name='delete']/@url}"><img src="/assets/action-delete.png" width="14" height="14" border="0"/></a>
|
<a href="{nav:action[@name='delete']/@url}"><img src="/__ccm__/static/cms/admin/action-group/action-delete.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{nav:action[@name='delete']/@url}">Delete</a>
|
<a href="{nav:action[@name='delete']/@url}">Delete</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="table_cell">
|
<td class="table_cell">
|
||||||
<a href="{@url}admin/index.jsp">
|
<a href="{@url}admin/index.jsp">
|
||||||
<img border="0" width="11" height="11" alt="admin" src="{$root-context-prefix}/assets/arrow-box.gif"/>
|
<img border="0" width="11" height="11" alt="admin" src="{$root-context-prefix}/assets/images/arrow-box.gif"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -49,10 +49,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{terms:action[@name='edit']/@url}"><img src="/assets/action-generic.png" width="14" height="14" border="0"/></a>
|
<a href="{terms:action[@name='edit']/@url}"><img src="/__ccm__/static/cms/admin/action-group/action-generic.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{terms:action[@name='edit']/@url}">Edit</a>
|
<a href="{terms:action[@name='edit']/@url}">Edit</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{terms:action[@name='delete']/@url}"><img src="/assets/action-delete.png" width="14" height="14" border="0"/></a>
|
<a href="{terms:action[@name='delete']/@url}"><img src="/__ccm__/static/cms/admin/action-group/action-delete.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{terms:action[@name='delete']/@url}">Delete</a>
|
<a href="{terms:action[@name='delete']/@url}">Delete</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{terms:action[@name='edit']/@url}"><img src="/assets/action-generic.png" width="14" height="14" border="0"/></a>
|
<a href="{terms:action[@name='edit']/@url}"><img src="/assets/images/action-generic.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{terms:action[@name='edit']/@url}">Edit</a>
|
<a href="{terms:action[@name='edit']/@url}">Edit</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<a href="{terms:action[@name='delete']/@url}"><img src="/assets/action-delete.png" width="14" height="14" border="0"/></a>
|
<a href="{terms:action[@name='delete']/@url}"><img src="/assets/images/action-delete.png" width="14" height="14" border="0"/></a>
|
||||||
<a href="{terms:action[@name='delete']/@url}">Delete</a>
|
<a href="{terms:action[@name='delete']/@url}">Delete</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ public class ThemeApplication extends Application {
|
||||||
|
|
||||||
// /*
|
// /*
|
||||||
// * Application specific method only required if installed in its own
|
// * Application specific method only required if installed in its own
|
||||||
// * web application context
|
// * web application context (which is deprecated now as of version 6.5)
|
||||||
// */
|
// */
|
||||||
// public String getContextPath() {
|
// public String getContextPath() {
|
||||||
// return "/ccm-ldn-theme";
|
// return "/ccm-ldn-theme";
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,8 @@ public class ThemeConfig extends AbstractConfig {
|
||||||
|
|
||||||
m_defaultThemeContext = new StringParameter
|
m_defaultThemeContext = new StringParameter
|
||||||
("com.arsdigita.london.theme.default_theme_context",
|
("com.arsdigita.london.theme.default_theme_context",
|
||||||
Parameter.OPTIONAL, "/ccm-ldn-theme/");
|
Parameter.OPTIONAL, "");
|
||||||
|
// Parameter.OPTIONAL, "/ccm-ldn-theme/");
|
||||||
|
|
||||||
m_defaultThemePath = new StringParameter
|
m_defaultThemePath = new StringParameter
|
||||||
("com.arsdigita.london.theme.default_theme_path",
|
("com.arsdigita.london.theme.default_theme_path",
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,8 @@ public class ThemeDownloadServlet extends BaseServlet implements ThemeConstants
|
||||||
compressed + "; ratio = " + ratio);
|
compressed + "; ratio = " + ratio);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new UncheckedWrapperException("Error reading from " + filePath + " or writing to the zip file");
|
throw new UncheckedWrapperException("Error reading from " +
|
||||||
|
filePath + " or writing to the zip file");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
xmlns:simplesurvey="http://www.arsdigita.com/simplesurvey/1.0"
|
xmlns:simplesurvey="http://www.arsdigita.com/simplesurvey/1.0"
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
|
||||||
|
|
||||||
<!-- IMPORT DEFINITIONS ccm-ldn-shortcuts installed as separate web application
|
<!-- IMPORT DEFINITIONS ccm-simplesurvey installed as separate web application
|
||||||
<xsl:import href="../../../../ROOT/packages/content-section/xsl/cms.xsl"/>
|
<xsl:import href="../../../../ROOT/packages/content-section/xsl/cms.xsl"/>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- IMPORT DEFINITIONS ccm-ldn-shortcuts installed into the main CCM webapp
|
<!-- IMPORT DEFINITIONS ccm-simplesurvey installed into the main CCM webapp
|
||||||
-->
|
-->
|
||||||
<xsl:import href="../../../packages/content-section/xsl/cms.xsl"/>
|
<xsl:import href="../../../packages/content-section/xsl/cms.xsl"/>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue