Umfangreiches Update entfernt weitgehend alle festen ROOT Kodierungen in xsl und css Dateien, verschiebt weitgehend alle internen Theme Dateien nach /themes/heirloom.

git-svn-id: https://svn.libreccm.org/ccm/trunk@1469 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2012-01-27 00:34:53 +00:00
parent 93ab00c608
commit 8e625d43d8
790 changed files with 6014 additions and 46519 deletions

View File

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"> version="1.0">
<!-- IMPORT DEFINITIONS ccm-auth-http installed as separate web application <!-- IMPORT DEFINITIONS ccm-auth-http installed as separate web application
<xsl:import href="../../../../../ROOT/packages/bebop/xsl/bebop.xsl"/> <xsl:import href="../../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/> <xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/>
--> -->
<!-- IMPORT DEFINITIONS ccm-auth-http installed into the main CCM webapp <!-- IMPORT DEFINITIONS ccm-auth-http installed into the main CCM webapp
--> -->
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/> <xsl:import href="../../../packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../packages/ui/xsl/ui.xsl"/> <xsl:import href="../../../packages/ui/xsl/ui.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -9,6 +9,6 @@
<xsl:import href="../../../../packages/ui/xsl/ui.xsl"/> <xsl:import href="../../../../packages/ui/xsl/ui.xsl"/>
--> -->
<xsl:import href="../../../../packages/bookmarks/xsl/bookmarks.xsl"/> <xsl:import href="../../../packages/bookmarks/xsl/bookmarks.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,12 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
version="1.0" xmlns:bmrk="http://www.redhat.com/bmrk/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:admin="http://www.arsdigita.com/admin-ui/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:bmrk="http://www.redhat.com/bmrk/1.0" version="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 <!-- The order of imports below is important. Please don't change
them without appropriate testing. --> them without appropriate testing. -->
@ -18,26 +16,25 @@
<xsl:output method="html" indent="yes"/> <xsl:output method="html" indent="yes"/>
<xsl:param name="contextPath"/> <xsl:param name="internal-theme"/>
<xsl:template match="bebop:page[@class='bmrk']"> <xsl:template match="bebop:page[@class='bmrk']">
<html> <html>
<head> <head>
<title><xsl:value-of select="bebop:title"/></title> <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"> <style type="text/css">
BODY { background: white; color: black} BODY { background: white; color: black}
.main {background-color: #ffffff;} .main {background-color: #ffffff;}
table.globalHeader { background-color: rgb(225,225,225);} table.globalHeader { background-color: rgb(225,225,225);}
table.bottomRule { background: rgb(162,30,30);} table.bottomRule { background: rgb(162,30,30);}
table.topRuleNoTabs { background: rgb(162,30,30);} table.topRuleNoTabs { background: rgb(162,30,30);}
</style> </style>
--> -->
<link rel="stylesheet" type="text/css" href="/css/acs-master.css" /> <link rel="stylesheet" type="text/css" href="{$internal-theme}/css/acs-master.css" />
<link rel="stylesheet" type="text/css" href="/__ccm__/static/cms/admin/cms-admin.css" /> <link rel="stylesheet" type="text/css" href="{$internal-theme}/packages/cms/xsl/admin/cms-admin.css" />
<xsl:for-each select="bebop:stylesheet"> <xsl:for-each select="bebop:stylesheet">
<link href="{@href}" rel="stylesheet" type="{@type}"/> <link href="{@href}" rel="stylesheet" type="{@type}"/>
@ -82,7 +79,7 @@
<tr> <tr>
<td class="global-link-icon"> <td class="global-link-icon">
<a href="{../bmrk:global/bebop:link[@class = 'signoutLink']/@href}"> <a href="{../bmrk:global/bebop:link[@class = 'signoutLink']/@href}">
<img src="/assets/lock.png" height="18" width="14"/> <img src="{$internal-theme}/images/lock.png" height="18" width="14"/>
</a> </a>
</td> </td>
<td class="global-link"> <td class="global-link">
@ -141,7 +138,7 @@
<!-- start inactive tab --> <!-- start inactive tab -->
<td> <td>
<table cellpadding="0" cellspacing="0" border="0"> <table cellpadding="0" cellspacing="0" border="0">
<tr height="3"><td><img src="/assets/general/spacer.gif" height="3"/></td></tr> <tr height="3"><td><img src="{$internal-theme}/images/spacer.gif" height="3"/></td></tr>
<tr height="23"> <tr height="23">
<td class="tabBeginningOff"><xsl:text>&#160;&#160;</xsl:text></td> <td class="tabBeginningOff"><xsl:text>&#160;&#160;</xsl:text></td>
<td class="tab-label" nowrap="nowrap"><xsl:apply-templates select="bebop:link"/></td> <td class="tab-label" nowrap="nowrap"><xsl:apply-templates select="bebop:link"/></td>
@ -225,7 +222,7 @@
</table> </table>
</td> </td>
</tr> </tr>
<tr><td colspan="3" class="inactiveTabColor" height="2"><img src="/assets/general/spacer.gif" height="2"/></td></tr> <tr><td colspan="3" class="inactiveTabColor" height="2"><img src="{$internal-theme}/images/spacer.gif" height="2"/></td></tr>
</xsl:if> </xsl:if>
<tr> <tr>
<td class="splitPanelLeft"> <td class="splitPanelLeft">
@ -233,7 +230,7 @@
<tr><td><xsl:apply-templates select="bebop:cell[2]"/></td></tr> <tr><td><xsl:apply-templates select="bebop:cell[2]"/></td></tr>
</table> </table>
</td> </td>
<td class="inactiveTabColor" width="2"><img src="/assets/general/spacer.gif" width="2"/></td> <td class="inactiveTabColor" width="2"><img src="{$internal-theme}/images/spacer.gif" width="2"/></td>
<td class="splitPanelRight"> <td class="splitPanelRight">
<table width="100%" cellspacing="4" cellpadding="0" border="0"> <table width="100%" cellspacing="4" cellpadding="0" border="0">
<tr><td><xsl:apply-templates select="bebop:cell[3]"/></td></tr> <tr><td><xsl:apply-templates select="bebop:cell[3]"/></td></tr>
@ -337,7 +334,7 @@
</xsl:template> </xsl:template>
<xsl:template match="bebop:label[@class='nullArrow']"> <xsl:template match="bebop:label[@class='nullArrow']">
<img src ="/assets/general/spacer.gif" border="0" width="16" height ="16"> <img src ="{$internal-theme}/images/spacer.gif" border="0" width="16" height ="16">
</img> </img>
</xsl:template> </xsl:template>
@ -385,7 +382,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="/__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 href="{@href}" onclick="{@onclick}"><img src="{$internal-theme}/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>
@ -398,7 +395,7 @@
</script> </script>
<a href="{@href_no_javascript}"> <a href="{@href_no_javascript}">
<img src="/__ccm__/static/cms/admin/action-group/action-generic.png" border="0" width="11" height="11"> <img src="{$internal-theme}/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>

View File

@ -1 +1 @@
@import url(/css/acs-master.css); @import url(../../heirloom/css/acs-master.css);

View File

@ -1,50 +1,50 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:ui="http://www.arsdigita.com/ui/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0" xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"> version="1.0">
<xsl:import href="../../../../ROOT/__ccm__/static/cms/admin/category-step/category-step.xsl"/> <xsl:import href="../../heirloom/packages/cms/xsl/admin/category-step/category-step.xsl"/>
<xsl:param name="theme-prefix" /> <xsl:param name="theme-prefix" />
<xsl:template match="cms:emptyPage[@title='childCategories']"> <xsl:template match="cms:emptyPage[@title='childCategories']">
<xsl:choose> <xsl:choose>
<xsl:when test="cms:category/@order='sortKey'"> <xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat"> <xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:with-param name="expand" select="'none'"/> <xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/> <xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat"> <xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:sort data-type="text" select="@name"/> <xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/> <xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template match="cms:emptyPage[@title='autoCategories']"> <xsl:template match="cms:emptyPage[@title='autoCategories']">
<xsl:choose> <xsl:choose>
<xsl:when test="cms:category/@order='sortKey'"> <xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" > <xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:with-param name="expand" select="'none'"/> <xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/> <xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" > <xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:sort data-type="text" select="@name"/> <xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/> <xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,42 +1,60 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:ui="http://www.arsdigita.com/ui/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0" xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"> version="1.0">
<xsl:import href="../../../../ROOT/__ccm__/apps/content-center/xsl/index.xsl"/> <xsl:import href="../../heirloom/apps/content-center/xsl/index.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/> <xsl:import href="../../heirloom/packages/bebop/xsl/dcp.xsl"/>
<xsl:param name="theme-prefix" /> <xsl:param name="theme-prefix" />
<xsl:param name="internal-theme" />
<xsl:variable name="here"><xsl:value-of select="$static-prefix"/>/cms/admin/page</xsl:variable> <xsl:variable name="here"><xsl:value-of select="$internal-theme"/>/packages/cms/xsl/admin/page</xsl:variable>
<xsl:template match="bebop:page[@class = 'cms-admin']"> <xsl:template match="bebop:page[@class = 'cms-admin']">
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0"> <html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
<head> <head>
<title><xsl:value-of select="bebop:title"/></title> <title><xsl:value-of select="bebop:title"/></title>
<link rel="stylesheet" type="text/css" href="{$legacy-asset-prefix}/css/acs-master.css"/> <link rel="stylesheet" type="text/css" href="{$internal-theme}/css/acs-master.css"/>
<link rel="stylesheet" type="text/css" href="{$static-prefix}/cms/admin/cms-admin.css"/> <link rel="stylesheet" type="text/css"
href="{$internal-theme}/packages/cms/xsl/admin/cms-admin.css"/>
</head> </head>
<body> <body>
<xsl:call-template name="bebop:dcpJavascript"/> <xsl:call-template name="bebop:dcpJavascript"/>
<table id="global-header"> <table id="global-header">
<tr> <tr>
<td id="logo"><img src="{$theme-prefix}/images/aplaws-logo-small.png" height="30" width="30"/></td> <td id="logo"><img src="{$theme-prefix}/images/aplaws-logo-small.png"
height="30" width="30"/>
</td>
<td id="context"><xsl:apply-templates select="bebop:contextBar"/></td> <td id="context"><xsl:apply-templates select="bebop:contextBar"/></td>
<td style="margin: 0; color: #3f3f3f; border: 0; padding: 0; padding-right: 18px;">Welcome <strong><xsl:value-of select="@name" /></strong></td> <td style="margin: 0; color: #3f3f3f; border: 0; padding: 0; padding-right: 18px;">Welcome <strong><xsl:value-of select="@name" /></strong></td>
<td> <td>
<table id="global-links"> <table id="global-links">
<tr> <tr>
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:workspace/@href}"><img src="{$here}/home.png" height="18" width="18"/></a></td> <td class="global-link-icon">
<td class="global-link"><a href="{cms:globalNavigation/cms:workspace/@href}">Home</a></td> <a href="{cms:globalNavigation/cms:workspace/@href}">
<img src="{$internal-theme}/images/home.png"
height="18" width="18"/>
</a>
</td>
<td class="global-link">
<a href="{cms:globalNavigation/cms:workspace/@href}">Home</a>
</td>
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:signOut/@href}"><img src="{$here}//lock.png" height="18" width="14"/></a></td> <td class="global-link-icon">
<td class="global-link"><a href="{cms:globalNavigation/cms:signOut/@href}">Logout</a></td> <a href="{cms:globalNavigation/cms:signOut/@href}">
<img src="{$internal-theme}/images/lock.png"
height="18" width="14"/>
</a>
</td>
<td class="global-link">
<a href="{cms:globalNavigation/cms:signOut/@href}">Logout</a>
</td>
</tr> </tr>
</table> </table>
</td> </td>

View File

@ -1,20 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:ui="http://www.arsdigita.com/ui/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0" xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl"> version="1.0">
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/admin.xsl"/> <xsl:import href="../../heirloom/apps/content-section/xsl/admin.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/> <xsl:import href="../../heirloom/packages/bebop/xsl/dcp.xsl"/>
<xsl:import href="category-step.xsl"/> <xsl:import href="category-step.xsl"/>
<xsl:param name="theme-prefix" /> <xsl:param name="theme-prefix" />
<xsl:param name="internal-theme" />
<xsl:variable name="here"><xsl:value-of select="$static-prefix"/>/cms/admin/page</xsl:variable> <xsl:variable name="here"><xsl:value-of select="$internal-theme"/>/packages/cms/xml/admin/page</xsl:variable>
<xsl:template name="cat-widget-cat-name"> <xsl:template name="cat-widget-cat-name">
<xsl:value-of select="@name"/> <xsl:value-of select="@name"/>
@ -29,8 +30,8 @@
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0"> <html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
<head> <head>
<title><xsl:value-of select="bebop:title"/></title> <title><xsl:value-of select="bebop:title"/></title>
<link rel="stylesheet" type="text/css" href="{$legacy-asset-prefix}/css/acs-master.css"/> <link rel="stylesheet" type="text/css" href="{$internal-theme}/css/acs-master.css"/>
<link rel="stylesheet" type="text/css" href="{$static-prefix}/cms/admin/cms-admin.css"/> <link rel="stylesheet" type="text/css" href="{$internal-theme}/packages/cms/xsl/admin/cms-admin.css"/>
</head> </head>
<body> <body>
<xsl:call-template name="bebop:dcpJavascript"/> <xsl:call-template name="bebop:dcpJavascript"/>
@ -42,10 +43,10 @@
<td> <td>
<table id="global-links"> <table id="global-links">
<tr> <tr>
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:workspace/@href}"><img src="{$here}/home.png" height="18" width="18"/></a></td> <td class="global-link-icon"><a href="{cms:globalNavigation/cms:workspace/@href}"><img src="{$internal-theme}/images/home.png" height="18" width="18"/></a></td>
<td class="global-link"><a href="{cms:globalNavigation/cms:workspace/@href}">Home</a></td> <td class="global-link"><a href="{cms:globalNavigation/cms:workspace/@href}">Home</a></td>
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:signOut/@href}"><img src="{$here}//lock.png" height="18" width="14"/></a></td> <td class="global-link-icon"><a href="{cms:globalNavigation/cms:signOut/@href}"><img src="{$internal-theme}/images/lock.png" height="18" width="14"/></a></td>
<td class="global-link"><a href="{cms:globalNavigation/cms:signOut/@href}">Logout</a></td> <td class="global-link"><a href="{cms:globalNavigation/cms:signOut/@href}">Logout</a></td>
</tr> </tr>
</table> </table>

View File

@ -9,12 +9,12 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav" exclude-result-prefixes="xsl bebop aplaws ui cms nav"
version="1.0"> version="1.0">
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/> <xsl:import href="../../heirloom/apps/content-section/xsl/index.xsl"/>
<xsl:import href="lib/header.xsl"/> <xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/> <xsl:import href="lib/lib.xsl"/>
<xsl:import href="lib/leftNav.xsl"/> <xsl:import href="lib/leftNav.xsl"/>
<xsl:import href="types/ContentTypes.xsl"/> <xsl:import href="types/ContentTypes.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/> <xsl:import href="../../heirloom/packages/bebop/xsl/dcp.xsl"/>
<xsl:param name="context-prefix"/> <xsl:param name="context-prefix"/>
<xsl:param name="dispatcher-prefix"/> <xsl:param name="dispatcher-prefix"/>

View File

Before

Width:  |  Height:  |  Size: 857 B

After

Width:  |  Height:  |  Size: 857 B

View File

Before

Width:  |  Height:  |  Size: 928 B

After

Width:  |  Height:  |  Size: 928 B

View File

@ -10,6 +10,7 @@
This file contains templates related This file contains templates related
to generating <head> tags in HTML to generating <head> tags in HTML
--> -->
<xsl:param name="theme-prefix" />
<xsl:template name="aplaws:pageTitle"> <xsl:template name="aplaws:pageTitle">
<xsl:value-of select="/bebop:page/bebop:title"/> <xsl:value-of select="/bebop:page/bebop:title"/>
@ -28,7 +29,7 @@
ccm-cms/web/__ccm__/static/cms/admin/page/page.css ccm-cms/web/__ccm__/static/cms/admin/page/page.css
may be a copy&paste error --> may be a copy&paste error -->
<xsl:template name="aplaws:headerStyleSheets"> <xsl:template name="aplaws:headerStyleSheets">
<link rel="stylesheet" href="/__ccm__/themes/aplaws/lib/page.css" type="text/css" media="screen"/> <link rel="stylesheet" href="{$theme-prefix}/lib/page.css" type="text/css" media="screen"/>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -15,7 +15,8 @@
<xsl:when test="@userID"> <xsl:when test="@userID">
<table class="globalAdminHeader"> <table class="globalAdminHeader">
<tr> <tr>
<td id="logo"><img src="{$theme-prefix}/images/aplaws-logo-small.png" height="30" width="30"/></td> <td id="logo"><img src="{$theme-prefix}/images/aplaws-logo-small.png"
height="30" width="30"/></td>
<td><xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text></td> <td><xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text></td>
<td style="margin: 0; border: 0; padding: 0;"> <td style="margin: 0; border: 0; padding: 0;">
<table align="center" style="margin: 0; border: 0; padding: 0;"> <table align="center" style="margin: 0; border: 0; padding: 0;">
@ -39,7 +40,7 @@
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="@workspaceURL"/> <xsl:value-of select="@workspaceURL"/>
</xsl:attribute> </xsl:attribute>
<img src="/assets/home.png" height="18" width="18"/> <img src="{$theme-prefix}/images/home.png" height="18" width="18"/>
</a> </a>
</td> </td>
<td class="global-link"> <td class="global-link">
@ -56,7 +57,7 @@
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="@logoutURL"/> <xsl:value-of select="@logoutURL"/>
</xsl:attribute> </xsl:attribute>
<img src="/assets/lock.png" height="18" width="14"/> <img src="{$theme-prefix}/images/lock.png" height="18" width="14"/>
</a> </a>
</td> </td>
<td class="global-link"> <td class="global-link">
@ -77,7 +78,11 @@
<table class="globalAdminHeader"> <table class="globalAdminHeader">
<tr> <tr>
<!-- Shadow man logo by default --> <!-- Shadow man logo by default -->
<!--
<a href="http://www.redhat.com"><td class="globalLogo"></td></a> <a href="http://www.redhat.com"><td class="globalLogo"></td></a>
-->
<td id="logo"><img src="{$theme-prefix}/images/aplaws-logo-small.png"
height="30" width="30"/></td>
<td><xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text></td> <td><xsl:text>&#160;&#160;&#160;&#160;&#160;&#160;</xsl:text></td>
<td style="margin: 0; border: 0; padding: 0;"> <td style="margin: 0; border: 0; padding: 0;">
<table align="center" style="margin: 0; border: 0; padding: 0;"> <table align="center" style="margin: 0; border: 0; padding: 0;">

View File

@ -1,2 +1,2 @@
@import url("/css/acs-master.css"); @import url("/themes/heirloom/css/acs-master.css");
@import url("/themes/heirloom/apps/navigation/xsl/admin.css"); @import url("/themes/heirloom/apps/navigation/xsl/admin.css");

View File

@ -1,14 +1,13 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:admin="http://www.arsdigita.com/admin-ui/1.0" xmlns:admin="http://www.arsdigita.com/admin-ui/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0" xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0" xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0"
exclude-result-prefixes="xsl admin bebop portal portlet" exclude-result-prefixes="xsl admin bebop portal portlet"
version="1.0"> version="1.0">
<xsl:param name="context-prefix"/> <xsl:param name="internal-theme"/>
<xsl:template match="portlet:contentSection"> <xsl:template match="portlet:contentSection">
<div> <div>
@ -18,7 +17,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/images/arrow-box.gif"/> <img border="0" width="11" height="11" alt="admin" src="{$internal-theme}/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>

View File

@ -1 +1 @@
@import url(/css/acs-master.css); @import url(/themes/heirloom/css/acs-master.css);

View File

@ -9,7 +9,7 @@
--> -->
<!-- path to xsl if installed in the main (common) web context <!-- path to xsl if installed in the main (common) web context
--> -->
<xsl:import href="../../../__ccm__/apps/shortcuts/xsl/index.xsl"/> <xsl:import href="../../heirloom/apps/shortcuts/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/> <xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/> <xsl:param name="theme-prefix"/>

View File

@ -1 +1 @@
@import url(/css/acs-master.css); @import url(/themes/heirloom/css/acs-master.css);

View File

@ -1,6 +1,6 @@
@import url(/css/acs-master.css); @import url(../../heirloom/css/acs-master.css);
/* Following import is valid if terms is executed in its own */ /* Following import is valid if terms is executed in its own */
/* web application context (ccm-ldn-terms) */ /* web application context (ccm-ldn-terms) */
/* @import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css); */ /* @import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css); */
/* import if installed in the main (common) web context */ /* import if installed in the main (common) web context */
@import url(/__ccm__/apps/terms/xsl/index.css); @import url(../../heirloom/apps/terms/xsl/index.css);

View File

@ -5,11 +5,11 @@
version="1.0"> version="1.0">
<!-- path if installed in its own web context ccm-ldn-terms <!-- path if installed in its own web context ccm-ldn-terms
<xsl:import href="../../../../ccm-ldn-terms/__ccm__/apps/terms/xsl/index.xsl"/> <xsl:import href="../../../../ccm-ldn-terms/themes/heirloom/apps/terms/xsl/index.xsl"/>
--> -->
<!-- path to xsl if installed in the main (common) web context <!-- path to xsl if installed in the main (common) web context
--> -->
<xsl:import href="../../../__ccm__/apps/terms/xsl/index.xsl"/> <xsl:import href="../../heirloom/apps/terms/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/> <xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/> <xsl:param name="theme-prefix"/>

View File

@ -1 +1 @@
@import url(/css/acs-master.css); @import url(/themes/heirloom/css/acs-master.css);

View File

@ -3,10 +3,10 @@
]> ]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
exclude-result-prefixes="xsl bebop cms" exclude-result-prefixes="xsl bebop cms"
version="1.0"> version="1.0">
@ -15,15 +15,15 @@ version="1.0">
<xsl:import href="MultiPartArticle.xsl"/> <xsl:import href="MultiPartArticle.xsl"/>
<xsl:import href="FileStorageItem.xsl"/> <xsl:import href="FileStorageItem.xsl"/>
<xsl:import href="Event.xsl"/> <xsl:import href="Event.xsl"/>
<xsl:import href="Address.xsl"/>
<xsl:import href="Agenda.xsl"/> <xsl:import href="Agenda.xsl"/>
<xsl:import href="InlineSite.xsl"/>
<xsl:import href="Job.xsl"/> <xsl:import href="Job.xsl"/>
<xsl:import href="LegalNotice.xsl"/> <xsl:import href="LegalNotice.xsl"/>
<xsl:import href="Minutes.xsl"/> <xsl:import href="Minutes.xsl"/>
<xsl:import href="Service.xsl"/>
<xsl:import href="PressRelease.xsl"/>
<xsl:import href="NewsItem.xsl"/> <xsl:import href="NewsItem.xsl"/>
<xsl:import href="InlineSite.xsl"/> <xsl:import href="PressRelease.xsl"/>
<xsl:import href="Service.xsl"/>
<xsl:import href="SimpleAddress.xsl"/>
<xsl:import href="SiteProxy.xsl"/> <xsl:import href="SiteProxy.xsl"/>
@ -39,7 +39,7 @@ version="1.0">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Event' and not(@useContext = 'itemAdminSummary')]"> <xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Event' and not(@useContext = 'itemAdminSummary')]">
<xsl:call-template name="CT_Event_graphics"/> <xsl:call-template name="CT_Event_graphics"/>
</xsl:template> </xsl:template>
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address' and not(@useContext = 'itemAdminSummary')]"> <xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SimpleAddress' and not(@useContext = 'itemAdminSummary')]">
<xsl:call-template name="CT_Address_graphics"/> <xsl:call-template name="CT_Address_graphics"/>
</xsl:template> </xsl:template>
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Agenda' and not(@useContext = 'itemAdminSummary')]"> <xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Agenda' and not(@useContext = 'itemAdminSummary')]">

View File

@ -9,7 +9,7 @@ version="1.0">
<xsl:template name="CT_Address_graphics"> <xsl:template name="CT_SimpleAddress_graphics">
<div id="details"> <div id="details">
<xsl:if test="./address"> <xsl:if test="./address">
<p> <p>

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<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/content-section/xsl/cms-public.xsl"/>
<xsl:import href="../../../../packages/content-section/xsl/cms-item.xsl"/>
</xsl:stylesheet>

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<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/content-section/xsl/cms-public.xsl"/>
<xsl:import href="../../../packages/content-section/xsl/cms-item.xsl"/>
</xsl:stylesheet>

View File

@ -6,8 +6,9 @@
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
version="1.0"> version="1.0">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']" mode="cms:CT_graphics" <xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']"
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_Address"> mode="cms:CT_graphics"
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_Address">
<table width="435" border="0" cellspacing="0" cellpadding="0"> <table width="435" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="contentTitle" align="left" valign="top"> <td class="contentTitle" align="left" valign="top">
@ -20,25 +21,33 @@
<xsl:if test="./address"> <xsl:if test="./address">
<tr> <tr>
<th>Address:</th> <th>Address:</th>
<td class="contentText" valign="top" align="left"><xsl:value-of select="./address"/></td> <td class="contentText" valign="top" align="left">
<xsl:value-of select="./address"/>
</td>
</tr> </tr>
</xsl:if> </xsl:if>
<xsl:if test="./postalCode"> <xsl:if test="./postalCode">
<tr> <tr>
<th>Postal Code:</th> <th>Postal Code:</th>
<td class="contentText" valign="top" align="left"><xsl:value-of select="./postalCode"/></td> <td class="contentText" valign="top" align="left">
<xsl:value-of select="./postalCode"/>
</td>
</tr> </tr>
</xsl:if> </xsl:if>
<xsl:if test="./city"> <xsl:if test="./city">
<tr> <tr>
<th>City:</th> <th>City:</th>
<td class="contentText" valign="top" align="left"><xsl:value-of select="./city"/></td> <td class="contentText" valign="top" align="left">
<xsl:value-of select="./city"/>
</td>
</tr> </tr>
</xsl:if> </xsl:if>
<xsl:if test="./isoCountryCode/countryName"> <xsl:if test="./isoCountryCode/countryName">
<tr> <tr>
<th>Country:</th> <th>Country:</th>
<td class="contentText" valign="top" align="left"><xsl:value-of select="./country"/></td> <td class="contentText" valign="top" align="left">
<xsl:value-of select="./country"/>
</td>
</tr> </tr>
</xsl:if> </xsl:if>
</table> </table>
@ -47,8 +56,9 @@
</table> </table>
</xsl:template> </xsl:template>
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']" mode="cms:CT_text" <xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']"
name="cms:CT_text_com_arsdigita_cms_contenttypes_Address"> mode="cms:CT_text"
name="cms:CT_text_com_arsdigita_cms_contenttypes_Address">
<h1 class="title"><xsl:value-of select="./title"/></h1> <h1 class="title"><xsl:value-of select="./title"/></h1>
<xsl:if test="./address"> <xsl:if test="./address">
<span class="subtitle">Address</span> <span class="subtitle">Address</span>

View File

@ -67,6 +67,7 @@ public class Article extends GenericArticle {
super( type ); super( type );
} }
@Override
public void beforeSave() { public void beforeSave() {
super.beforeSave(); super.beforeSave();
@ -82,6 +83,7 @@ public class Article extends GenericArticle {
} }
public static final int SUMMARY_LENGTH = 200; public static final int SUMMARY_LENGTH = 200;
@Override
public String getSearchSummary() { public String getSearchSummary() {
return com.arsdigita.util.StringUtils.truncateString(getLead(), return com.arsdigita.util.StringUtils.truncateString(getLead(),
SUMMARY_LENGTH, SUMMARY_LENGTH,

View File

@ -50,9 +50,11 @@ public class GlossaryItemInitializer extends ContentTypeInitializer {
* methods. * methods.
* @return * @return
*/ */
@Override
public String[] getStylesheets() { public String[] getStylesheets() {
return new String[] { return new String[] {
"/static/content-types/com/arsdigita/cms/contenttypes/GlossaryItem.xsl" // "/static/content-types/com/arsdigita/cms/contenttypes/GlossaryItem.xsl"
"/themes/heirloom/contenttypes/GlossaryItem.xsl"
}; };
} }
} }

View File

@ -43,6 +43,11 @@ public class GlossaryItemCreate extends PageCreate {
private CreationSelector m_parent; private CreationSelector m_parent;
/**
*
* @param itemModel
* @param parent
*/
public GlossaryItemCreate(ItemSelectionModel itemModel, public GlossaryItemCreate(ItemSelectionModel itemModel,
CreationSelector parent) { CreationSelector parent) {
@ -50,6 +55,10 @@ public class GlossaryItemCreate extends PageCreate {
m_parent = parent; m_parent = parent;
} }
/**
*
*/
@Override
protected void addWidgets() { protected void addWidgets() {
super.addWidgets(); super.addWidgets();
@ -58,6 +67,12 @@ public class GlossaryItemCreate extends PageCreate {
add(builder.makeDefinitionArea()); add(builder.makeDefinitionArea());
} }
/**
*
* @param e
* @throws FormProcessException
*/
@Override
public void process(FormSectionEvent e) throws FormProcessException { public void process(FormSectionEvent e) throws FormProcessException {
FormData data = e.getFormData(); FormData data = e.getFormData();

View File

@ -1,30 +0,0 @@
<!DOCTYPE stylesheet [
<!ENTITY nbsp "&#160;" ><!-- 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:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GlossaryItem']" mode="cms:CT_graphics"
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_GlossaryItem">
<table width="435" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="contentTitle" align="left" valign="top">
<xsl:value-of select="./title"/>
</td>
</tr>
<tr>
<td class="contentText" align="left" valign="top"><xsl:value-of disable-output-escaping="yes" select="./definition"/></td>
</tr>
</table>
</xsl:template>
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GlossaryItem']" mode="cms:CT_text"
name="cms:CT_text_com_arsdigita_cms_contenttypes_GlossaryItem">
<h1 class="mainTitle"><xsl:value-of select="./title"/></h1>
<span class="text"><xsl:value-of disable-output-escaping="yes" select="./definition"/></span><br/>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,37 @@
<!DOCTYPE stylesheet [
<!ENTITY nbsp "&#160;" ><!-- 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:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GlossaryItem']"
mode="cms:CT_graphics"
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_GlossaryItem">
<table width="435" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="contentTitle" align="left" valign="top">
<i><b><xsl:value-of select="./title"/></b></i>
</td>
</tr>
<tr>
<td class="contentText" align="left" valign="top">
<xsl:value-of disable-output-escaping="yes" select="./definition"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GlossaryItem']"
mode="cms:CT_text"
name="cms:CT_text_com_arsdigita_cms_contenttypes_GlossaryItem">
<h1 class="mainTitle"><strong><xsl:value-of select="./title"/></strong></h1>
<span class="text">
<xsl:value-of disable-output-escaping="yes" select="./definition"/>
</span>
<br/>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ctd:content-types xmlns:ctd="http://xmlns.redhat.com/cms/content-types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.redhat.com/cms/content-types content-types.xsd"> <ctd:content-types xmlns:ctd="http://xmlns.redhat.com/cms/content-types"
<ctd:content-type label="HTML Form" description="An HTML Form" objectType="com.arsdigita.cms.contenttypes.HTMLForm" classname="com.arsdigita.cms.contenttypes.HTMLForm"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.redhat.com/cms/content-types content-types.xsd">
<ctd:content-type label="HTML Form"
description="An HTML Form"
objectType="com.arsdigita.cms.contenttypes.HTMLForm"
classname="com.arsdigita.cms.contenttypes.HTMLForm">
<ctd:authoring-kit createComponent="com.arsdigita.cms.ui.authoring.PageCreate"> <ctd:authoring-kit createComponent="com.arsdigita.cms.ui.authoring.PageCreate">
<ctd:authoring-step <ctd:authoring-step
labelKey="cms.contenttypes.shared.basic_properties.title" labelKey="cms.contenttypes.shared.basic_properties.title"
@ -14,4 +20,5 @@
<ctd:include href="/WEB-INF/content-types/assign-categories-step.xml"/> <ctd:include href="/WEB-INF/content-types/assign-categories-step.xml"/>
</ctd:authoring-kit> </ctd:authoring-kit>
</ctd:content-type> </ctd:content-type>
</ctd:content-types> </ctd:content-types>

View File

@ -38,7 +38,7 @@ public class HTMLForm extends GenericArticle {
/** Data object type for this domain object */ /** Data object type for this domain object */
public static final String BASE_DATA_OBJECT_TYPE public static final String BASE_DATA_OBJECT_TYPE
= "com.arsdigita.cms.contenttypes.HTMLForm"; = "com.arsdigita.cms.contenttypes.HTMLForm";
/** Data object type for this domain object (for CMS compatibility) */ /** Data object type for this domain object (for CMS compatibility) */
public static final String TYPE public static final String TYPE
@ -66,6 +66,7 @@ public class HTMLForm extends GenericArticle {
super( type ); super( type );
} }
@Override
public void beforeSave() { public void beforeSave() {
super.beforeSave(); super.beforeSave();
@ -81,6 +82,7 @@ public class HTMLForm extends GenericArticle {
} }
public static final int SUMMARY_LENGTH = 200; public static final int SUMMARY_LENGTH = 200;
@Override
public String getSearchSummary() { public String getSearchSummary() {
return com.arsdigita.util.StringUtils.truncateString(getLead(), return com.arsdigita.util.StringUtils.truncateString(getLead(),
SUMMARY_LENGTH, SUMMARY_LENGTH,

View File

@ -32,6 +32,7 @@ public class HTMLFormInitializer extends ContentTypeInitializer {
@Override @Override
public String[] getStylesheets() { public String[] getStylesheets() {
return new String[] { return new String[] {
"/static/content-types/com/arsdigita/cms/contenttypes/HTMLForm.xsl" }; // "/static/content-types/com/arsdigita/cms/contenttypes/HTMLForm.xsl" };
"/themes/heirloom/contenttypes/HTMLForm.xsl" };
} }
} }

View File

@ -36,6 +36,7 @@ extends ContentPageMetadataProvider {
private static final Logger s_log = private static final Logger s_log =
Logger.getLogger(ArticleSectionMetadataProvider.class); Logger.getLogger(ArticleSectionMetadataProvider.class);
@Override
public String getTitle(DomainObject dobj) { public String getTitle(DomainObject dobj) {
ArticleSection section = (ArticleSection)dobj; ArticleSection section = (ArticleSection)dobj;
StringBuffer title = new StringBuffer(); StringBuffer title = new StringBuffer();

View File

@ -42,10 +42,12 @@ public class MultiPartArticleInitializer extends ContentTypeInitializer {
} }
@Override
public String getTraversalXML() { public String getTraversalXML() {
return "WEB-INF/traversal-adapters/com/arsdigita/cms/contenttypes/MultiPartArticle.xml"; return "WEB-INF/traversal-adapters/com/arsdigita/cms/contenttypes/MultiPartArticle.xml";
} }
@Override
public String[] getStylesheets() { public String[] getStylesheets() {
return new String [] { return new String [] {
"/static/content-types/com/arsdigita/cms/contenttypes/MultiPartArticle.xsl", "/static/content-types/com/arsdigita/cms/contenttypes/MultiPartArticle.xsl",
@ -55,6 +57,7 @@ public class MultiPartArticleInitializer extends ContentTypeInitializer {
// Previously used LegacyInitEvent, allthough no legacy init functionality // Previously used LegacyInitEvent, allthough no legacy init functionality
// is used here. Wondering. // is used here. Wondering.
@Override
public void init(DomainInitEvent evt) { public void init(DomainInitEvent evt) {
super.init(evt); super.init(evt);

View File

@ -71,13 +71,14 @@ public class SimpleAddressInitializer extends ContentTypeInitializer {
/** /**
* Provides location of the stylesheets assoziated with this content type. * Provides location of the stylesheets assoziated with this content type.
* (As of 6.6.x it is really used tp locate the content type stylesheet, * (As of 6.6.x it is really used to locate the content type stylesheet,
* in distinction from location of applications stylesheets.) * in distinction from locating application stylesheets.)
* @return * @return
*/ */
@Override @Override
public String[] getStylesheets() { public String[] getStylesheets() {
return new String[] { return new String[] {
"/static/content-types/com/arsdigita/cms/contenttypes/SimpleAddress.xsl" }; // "/static/content-types/com/arsdigita/cms/contenttypes/SimpleAddress.xsl" };
"/themes/heirloom/contenttypes/SimpleAddress.xsl" };
} }
} }

View File

@ -229,7 +229,7 @@ cms.ui.assigned_categories=Zugewiesene&nbsp;Kategorien:
cms.ui.attention=Obacht! cms.ui.attention=Obacht!
cms.ui.Authoring=Verfassen cms.ui.Authoring=Verfassen
cms.ui.available_categories=Verf\u00fcgbare&nbsp;Kategorien: cms.ui.available_categories=Verf\u00fcgbare&nbsp;Kategorien:
cms.ui.browse=Navigation cms.ui.browse=Dokumente
cms.ui.browse_items_by_category=Durchsicht der Elemente nach Kategorien cms.ui.browse_items_by_category=Durchsicht der Elemente nach Kategorien
cms.ui.cancel=Abbruch cms.ui.cancel=Abbruch
cms.ui.cancel_hit=Abbruch dr\u00fccken cms.ui.cancel_hit=Abbruch dr\u00fccken

View File

@ -599,8 +599,7 @@ public class ContentType extends ACSObject {
* @param type the content type * @param type the content type
* @param path the path relative to the server root * @param path the path relative to the server root
*/ */
public static void registerXSLFile(ContentType type, public static void registerXSLFile(ContentType type, String path) {
String path) {
s_xsl.add(new XSLEntry(type, path)); s_xsl.add(new XSLEntry(type, path));
} }

View File

@ -189,7 +189,7 @@ public abstract class ContentTypeInitializer extends CompoundInitializer {
* file patterns. Not used anymore (pb 2011.01.20) * file patterns. Not used anymore (pb 2011.01.20)
* *
* Correction: * Correction:
* As of 6.6.x it is really used tp locate the content type stylesheet, * As of 6.6.x it is really used to locate the content type stylesheet,
* in distinction from location of applications stylesheets. * in distinction from location of applications stylesheets.
* *
*/ */

View File

@ -121,8 +121,8 @@ public class TasksPanel extends CMSContainer {
private static final String SORT_WORKFLOW = "workflow"; private static final String SORT_WORKFLOW = "workflow";
// IMAGES // IMAGES
public static final String UP_ARROW_IMAGE = "/assets/gray-triangle-up.gif"; public static final String UP_ARROW_IMAGE = "/themes/heirfloom/images/gray-triangle-up.gif";
public static final String DOWN_ARROW_IMAGE = "/assets/gray-triangle-down.gif"; public static final String DOWN_ARROW_IMAGE = "/themes/heirfloom/images/gray-triangle-down.gif";
// CREATION PANE CONSTANTS // CREATION PANE CONSTANTS
private Label m_selectorLabel; private Label m_selectorLabel;

View File

@ -416,6 +416,7 @@ public class FolderBrowser extends Table {
m_key = key; m_key = key;
} }
@Override
public Component getComponent(final Table table, final PageState state, public Component getComponent(final Table table, final PageState state,
Object value, Object value,
boolean isSelected, Object key, boolean isSelected, Object key,
@ -435,6 +436,7 @@ public class FolderBrowser extends Table {
ControlLink cl = new ControlLink(headerName) { ControlLink cl = new ControlLink(headerName) {
@Override
public void setControlEvent(PageState ps) { public void setControlEvent(PageState ps) {
String sortDirectionAction = null; String sortDirectionAction = null;
// by default, everything sorts "up" unless it // by default, everything sorts "up" unless it
@ -651,6 +653,7 @@ public class FolderBrowser extends Table {
// Deletes an item // Deletes an item
private class ItemDeleter extends TableActionAdapter { private class ItemDeleter extends TableActionAdapter {
@Override
public void cellSelected(TableActionEvent e) { public void cellSelected(TableActionEvent e) {
int col = e.getColumn().intValue(); int col = e.getColumn().intValue();
@ -846,6 +849,7 @@ public class FolderBrowser extends Table {
m_fol = fol; m_fol = fol;
} }
@Override
public void cellSelected(TableActionEvent e) { public void cellSelected(TableActionEvent e) {
PageState state = e.getPageState(); PageState state = e.getPageState();

View File

@ -1,9 +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/content-section/xsl/content-center.xsl"/>
</xsl:stylesheet>

View File

@ -1,9 +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/content-section/xsl/cms.xsl"/>
</xsl:stylesheet>

View File

@ -1,12 +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/content-section/xsl/cms-public.xsl"/>
<xsl:import href="../../../../packages/content-section/xsl/cms-item.xsl"/>
</xsl:stylesheet>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

View File

@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
>
<xsl:import href="../../../../../packages/ui/xsl/debug-panel.xsl"/>
<xsl:import href="../../../../../packages/bebop/xsl/dcp.xsl"/>
<xsl:variable name="here"><xsl:value-of select="$static-prefix"/>/cms/admin/page</xsl:variable>
<xsl:template match="bebop:page[@class = 'cms-admin']">
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
<head>
<xsl:call-template name="bebop:dcpJavascript"/>
<title><xsl:value-of select="bebop:title"/></title>
<link rel="stylesheet" type="text/css" href="{$legacy-asset-prefix}/css/acs-master.css"/>
<link rel="stylesheet" type="text/css" href="{$static-prefix}/cms/admin/cms-admin.css"/>
</head>
<body>
<table id="global-header">
<tr>
<td id="logo"><img src="{$here}/logo.png" height="30" width="30"/></td>
<td id="context"><xsl:apply-templates select="bebop:contextBar"/></td>
<td style="margin: 0; color: #3f3f3f; border: 0; padding: 0; padding-right: 18px;">Welcome <strong><xsl:value-of select="@name" /></strong></td>
<td>
<table id="global-links">
<tr>
<!-- Disabled since there's no online help at present -->
<!-- <td class="global-link-icon"><a href="{cms:globalNavigation/cms:help/@href}"><img src="{$here}/lifesaver.png" height="18" width="21"/></a></td> -->
<!-- <td class="global-link"><a href="{cms:globalNavigation/cms:help/@href}"><xsl:value-of select="cms:globalNavigation/cms:help/@title"/></a></td> -->
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:workspace/@href}"><img src="{$here}/home.png" height="18" width="18"/></a></td>
<td class="global-link"><a href="{cms:globalNavigation/cms:workspace/@href}"><xsl:value-of select="cms:globalNavigation/cms:workspace/@title"/></a></td>
<td class="global-link-icon"><a href="{cms:globalNavigation/cms:signOut/@href}"><img src="{$here}/lock.png" height="18" width="14"/></a></td>
<td class="global-link"><a href="{cms:globalNavigation/cms:signOut/@href}"><xsl:value-of select="cms:globalNavigation/cms:signOut/@title"/></a></td>
</tr>
</table>
</td>
</tr>
</table>
<div id="page-title"><xsl:value-of select="bebop:title"/></div>
<xsl:if test="bebop:link[@id = 'preview_link']">
<xsl:choose>
<xsl:when test="bebop:link[@target]">
<div style="float: right; margin-right: 12px"><a target="{bebop:link/@target}" href="{bebop:link[@id = 'preview_link']/@href}"><xsl:value-of select="bebop:link[@id = 'preview_link']/bebop:label"/></a></div>
</xsl:when>
<xsl:otherwise>
<div style="float: right; margin-right: 12px"><a href="{bebop:link[@id = 'preview_link']/@href}"><xsl:value-of select="bebop:link[@id = 'preview_link']/bebop:label"/></a></div>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<div><xsl:apply-templates select="*[@id = 'page-body']"/></div>
<xsl:choose>
<xsl:when test="bebop:structure">
<div><xsl:apply-templates select="bebop:structure"/></div>
</xsl:when>
<xsl:when test="ui:debugPanel">
<div><xsl:apply-templates select="ui:debugPanel"/></div>
</xsl:when>
</xsl:choose>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
>
<xsl:import href="../../../../../packages/bebop/xsl/Label.xsl"/>
<xsl:template match="bebop:label[@class='preformatted']">
<pre>
<xsl:call-template name="bebop-label-text">
<xsl:with-param name="text" select="text()"/>
<xsl:with-param name="escape" select="@escape"/>
</xsl:call-template>
</pre>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms">
<xsl:template match="cms:contentPanel">
<xsl:apply-templates />
</xsl:template>
<xsl:template name="bebop:pageTitle">
<xsl:text>CMS: </xsl:text><xsl:value-of select="/bebop:page/cms:contentPanel/cms:item/displayName"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,12 +0,0 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0">
<xsl:import href="../../../../../packages/content-section/xsl/cms-item.xsl"/>
<xsl:template match="portlet:contentItem">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>

View File

@ -4,6 +4,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"> version="1.0">
<xsl:import href="../../../../packages/login/xsl/login_en.xsl"/> <xsl:import href="../../../packages/cms/xsl/content-center.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -4,6 +4,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"> version="1.0">
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/> <xsl:import href="../../../packages/cms/xsl/cms.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -0,0 +1,12 @@
<?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/cms/xsl/cms-public.xsl"/>
<xsl:import href="../../../packages/cms/xsl/cms-item.xsl"/>
</xsl:stylesheet>

View File

@ -1,8 +1,11 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" <xsl:stylesheet
xmlns:cms="http://www.arsdigita.com/cms/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"
exclude-result-prefixes="cms"> xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms"
version="1.0">
<xsl:output method="html" indent="yes"/> <xsl:output method="html" indent="yes"/>

View File

@ -1,8 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms"> exclude-result-prefixes="cms"
version="1.0">
<xsl:output method="html" indent="yes"/> <xsl:output method="html" indent="yes"/>

View File

@ -1,5 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html" indent="yes"/> <xsl:output method="html" indent="yes"/>

View File

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:param name="internal-theme"/>
<xsl:template match="bebop:actionGroup"> <xsl:template match="bebop:actionGroup">
<div class="action-group"> <div class="action-group">
<div class="subject"> <div class="subject">
@ -16,11 +18,16 @@
<td class="action-icon"> <td class="action-icon">
<xsl:choose> <xsl:choose>
<xsl:when test="@class"> <xsl:when test="@class">
<img src="{$static-prefix}/cms/admin/action-group/action-{@class}.png" height="14" width="14"/> <!-- set in c.ad.bebop.page.PageTransformer
<img src="{$internal-theme}/images/action-{@class}.png" height="14" width="14"/>
-->
<img src="{$internal-theme}/images/action-{@class}.png"
height="14" width="14"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<img src="{$static-prefix}/cms/admin/action-group/action-generic.png" height="14" width="14"/> <img src="{$internal-theme}/images/action-generic.png"
height="14" width="14"/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</td> </td>
@ -31,4 +38,5 @@
</table> </table>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -9,8 +9,8 @@ div.action-link {
} }
div.action-link div.link-icon { div.action-link div.link-icon {
height: 14; height: 14px;
width: 14; width: 14px;
margin-right: 3px; margin-right: 3px;
background: white url(action-generic.png) no-repeat; background: white url(../../../../../images/action-generic.png) no-repeat;
} }

View File

@ -0,0 +1,263 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
version="1.0">
<xsl:output method="html" indent="yes"/>
<xsl:template match="cms:categoryStep">
<h2>Assign categories</h2>
<xsl:apply-templates select="*"/>
</xsl:template>
<xsl:template match="cms:categoryStepSummary">
<xsl:for-each select="cms:categoryRoots/cms:categoryRoot">
<xsl:sort select="@name"/>
<xsl:variable name="name">
<xsl:value-of select="@name"/>
</xsl:variable>
<h3><xsl:value-of select="$name"/></h3>
<xsl:if test="@addAction">
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="{$internal-theme}/images/action-add.png" border="0"/></a>')]]>
<![CDATA[ document.write("\<!--") ]]>
<![CDATA[ // end script --> ]]>
</script>
<a href="{@addAction}">
<img src="../../../../../images/action-add.png" border="0"/>
</a>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write("--\>") ]]>
<![CDATA[ // end script --> ]]>
</script>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA[">Add categories</a>')]]>
<![CDATA[ document.write("\<!--") ]]>
<![CDATA[ // end script --> ]]>
</script>
<xsl:text>&#160;</xsl:text>
<a href="{@addAction}">
<xsl:text>Add categories</xsl:text>
</a>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write("--\>") ]]>
<![CDATA[ // end script --> ]]>
</script>
</xsl:if>
<xsl:choose>
<xsl:when test="count(../../cms:itemCategories/cms:itemCategory[starts-with(@path, $name)]) = 0">
<div>
There are no categories assigned in this context
</div>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each
select="../../cms:itemCategories/cms:itemCategory[starts-with(@path, $name)]">
<xsl:sort select="@path"/>
<li>
<xsl:value-of select="substring(@path, string-length($name) + 5)"/>&#160;
<xsl:if test="@deleteAction">
<a href="{@deleteAction}">
<img src="{$internal-theme}/images/action-delete.png"
border="0"/>
</a>
<xsl:text>&#160;</xsl:text>
<a href="{@deleteAction}">Remove</a>
</xsl:if>
</li>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
<xsl:template match="cms:categoryWidget">
<xsl:choose>
<xsl:when test="@mode = 'javascript'">
<xsl:apply-templates select="." mode="cms:javascript"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="cms:plain"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="cms:categoryWidget" mode="cms:javascript">
<xsl:if test="cms:autoCategories">
<h3>Suggested categories</h3>
<xsl:choose>
<xsl:when test="cms:autoCategories/cms:category">
<xsl:for-each select="cms:autoCategories/cms:category">
<div style="padding: 5px 15px 5px 5px; float: left;">
<input name="{../../@name}" type="checkbox" value="{@id}">
<xsl:value-of select="@fullname"/>
</input>
</div>
</xsl:for-each>
<br clear="both"/>
</xsl:when>
<xsl:otherwise>
None
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<script type="text/javascript" src="/assets/prototype.js"/>
<script type="text/javascript" src="/assets/category-step/category-step.js"/>
<h3>Select categories</h3>
<div>
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
<xsl:with-param name="expand" select="'block'"/>
</xsl:apply-templates>
</div>
<h4>Selected categories</h4>
<select id="catWd" size="5" onClick="catDeselect()"
style="width: 400px; height=200px">
</select>
<select id="catWdHd" name="{@name}" size="5" multiple="multiple"
style="display: none">
</select>
</xsl:template>
<xsl:template match="cms:category" mode="cms:javascriptCat">
<xsl:param name="expand" select="'none'"/>
<xsl:variable name="linkStyle">
<xsl:choose>
<xsl:when test="@isAbstract != '1' and @isSelected != '1'">inline</xsl:when>
<xsl:otherwise>none</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="nameStyle">
<xsl:choose>
<xsl:when test="@isAbstract != '1' and @isSelected != '1'">none</xsl:when>
<xsl:otherwise>inline</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="toggle">
<xsl:choose>
<xsl:when test="@root = '1' or ancestor::cms:category/@expand='all'">catBranchToggle</xsl:when>
<xsl:otherwise>catToggle</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div id="catSelf{@id}">
<xsl:choose>
<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="{$internal-theme}/images/action-add.png"
width="14" height="14" border="0"/></a>
</xsl:when>
<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="{$internal-theme}/images/action-delete.png"
width="14" height="14" border="0"/></a>
</xsl:when>
<xsl:otherwise>
<img src="{$internal-theme}/images/action-generic.png"
width="14" height="14" border="0"/>
</xsl:otherwise>
</xsl:choose>
<a id="catLn{@id}" href="#" style="padding-left: 6px; display: {$linkStyle}">
<xsl:attribute name="onclick">catSelect('<xsl:value-of select="@id"/>', '<xsl:call-template name="escape-apostrophes">
<xsl:with-param name="text" select="@fullname"/>
</xsl:call-template>')</xsl:attribute>
<xsl:if test="@description">
<xsl:attribute name="title">
<xsl:value-of select="@description"/>
</xsl:attribute>
</xsl:if>
<xsl:call-template name="cat-widget-cat-name"/>
</a>
<span id="catNm{@id}" style="padding-left: 6px; display: {$nameStyle}">
<xsl:if test="@description">
<xsl:attribute name="title">
<xsl:value-of select="@description"/>
</xsl:attribute>
</xsl:if>
<xsl:call-template name="cat-widget-cat-name"/>
</span>
</div>
<div id="catCh{@node-id}" style="margin-left: 20px; display: {$expand}">
<xsl:choose>
<xsl:when test="@order='sortKey'">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat">
<xsl:sort data-type="text" select="@name"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</div>
</xsl:template>
<xsl:template name="cat-widget-cat-name">
<xsl:value-of select="@name"/>
</xsl:template>
<xsl:template match="cms:categoryWidget" mode="cms:plain">
<select name="{@name}" size="30" multiple="multiple">
<xsl:apply-templates
select="cms:category[position() = 1]/cms:category[@isAbstract = '0']"
mode="cms:plainCat"/>
</select>
</xsl:template>
<xsl:template match="cms:category" mode="cms:plainCat">
<xsl:if test="@isSelected != '1' and @isAbstract != '1'">
<option value="{@id}"><xsl:value-of select="@fullname"/></option>
</xsl:if>
<xsl:apply-templates select="cms:category[@isAbstract = '0']"
mode="cms:plainCat">
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template name="escape-apostrophes">
<xsl:param name="text"/>
<xsl:variable name="apostrophe">'</xsl:variable>
<xsl:variable name="escaped-apostrophe">\'</xsl:variable>
<xsl:call-template name="do-replace">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="replace" select="$apostrophe"/>
<xsl:with-param name="by" select="$escaped-apostrophe"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="do-replace">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="by"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:value-of select="substring-before($text, $replace)"/>
<xsl:value-of select="$by"/>
<xsl:call-template name="do-replace">
<xsl:with-param name="text" select="substring-after($text, $replace)"/>
<xsl:with-param name="replace" select="$replace"/>
<xsl:with-param name="by" select="$by"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:param name="context-prefix"/> <xsl:param name="context-prefix"/>
<xsl:param name="static-prefix"/> <xsl:param name="static-prefix"/>
<xsl:param name="dispatcher-prefix"/> <xsl:param name="dispatcher-prefix"/>
@ -20,4 +22,5 @@
<xsl:include href="section/section.xsl"/> <xsl:include href="section/section.xsl"/>
<xsl:include href="tree/tree.xsl"/> <xsl:include href="tree/tree.xsl"/>
<xsl:include href="category-step/category-step.xsl"/> <xsl:include href="category-step/category-step.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template match="bebop:contextBar"> <xsl:template match="bebop:contextBar">
<div class="context-bar"> <div class="context-bar">
<xsl:for-each select="bebop:entry"> <xsl:for-each select="bebop:entry">
@ -20,4 +20,5 @@
</xsl:for-each> </xsl:for-each>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" version="1.0">
>
<xsl:template match="bebop:layoutPanel"> <xsl:template match="bebop:layoutPanel">
<div class="layout-panel"> <div class="layout-panel">
<xsl:if test="bebop:top"> <xsl:if test="bebop:top">
@ -54,4 +54,5 @@
</xsl:if> </xsl:if>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 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:ui="http://www.arsdigita.com/ui/1.0"
version="1.0">
<xsl:import href="../../../../ui/xsl/debug-panel.xsl"/>
<xsl:import href="../../../../bebop/xsl/dcp.xsl"/>
<xsl:template match="bebop:page[@class = 'cms-admin']">
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
<head>
<xsl:call-template name="bebop:dcpJavascript"/>
<title><xsl:value-of select="bebop:title"/></title>
<link rel="stylesheet" type="text/css" href="{$internal-theme}/css/acs-master.css"/>
<link rel="stylesheet" type="text/css" href="{$internal-theme}/packages/cms/xsl/admin/cms-admin.css"/>
</head>
<body>
<table id="global-header">
<tr>
<td id="logo"><img src="{$internal-theme}/images/logo.png"
height="30" width="30"/></td>
<td id="context"><xsl:apply-templates select="bebop:contextBar"/></td>
<td style="margin: 0; color: #3f3f3f; border: 0; padding: 0; padding-right: 18px;">Welcome <strong><xsl:value-of select="@name" /></strong></td>
<td>
<table id="global-links">
<tr>
<!-- Disabled since there's no online help at present -->
<!-- <td class="global-link-icon"><a href="{cms:globalNavigation/cms:help/@href}"><img src="../../../../../images/lifesaver.png" height="18" width="21"/></a></td> -->
<!-- <td class="global-link"><a href="{cms:globalNavigation/cms:help/@href}"><xsl:value-of select="cms:globalNavigation/cms:help/@title"/></a></td> -->
<td class="global-link-icon">
<a href="{cms:globalNavigation/cms:workspace/@href}">
<img src="{$internal-theme}/images/home.png"
height="18" width="18"/>
</a>
</td>
<td class="global-link">
<a href="{cms:globalNavigation/cms:workspace/@href}">
<xsl:value-of select="cms:globalNavigation/cms:workspace/@title"/>
</a>
</td>
<td class="global-link-icon">
<a href="{cms:globalNavigation/cms:signOut/@href}">
<img src="{$internal-theme}/images/lock.png"
height="18" width="14"/>
</a>
</td>
<td class="global-link">
<a href="{cms:globalNavigation/cms:signOut/@href}">
<xsl:value-of select="cms:globalNavigation/cms:signOut/@title"/>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="page-title"><xsl:value-of select="bebop:title"/></div>
<xsl:if test="bebop:link[@id = 'preview_link']">
<xsl:choose>
<xsl:when test="bebop:link[@target]">
<div style="float: right; margin-right: 12px">
<a target="{bebop:link/@target}" href="{bebop:link[@id = 'preview_link']/@href}">
<xsl:value-of select="bebop:link[@id = 'preview_link']/bebop:label"/>
</a>
</div>
</xsl:when>
<xsl:otherwise>
<div style="float: right; margin-right: 12px">
<a href="{bebop:link[@id = 'preview_link']/@href}">
<xsl:value-of select="bebop:link[@id = 'preview_link']/bebop:label"/>
</a>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<div><xsl:apply-templates select="*[@id = 'page-body']"/></div>
<xsl:choose>
<xsl:when test="bebop:structure">
<div><xsl:apply-templates select="bebop:structure"/></div>
</xsl:when>
<xsl:when test="ui:debugPanel">
<div><xsl:apply-templates select="ui:debugPanel"/></div>
</xsl:when>
</xsl:choose>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet 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:ui="http://www.arsdigita.com/ui/1.0"
version="1.0">
<xsl:import href="../../../..//bebop/xsl/Label.xsl"/>
<xsl:template match="bebop:label[@class='preformatted']">
<pre>
<xsl:call-template name="bebop-label-text">
<xsl:with-param name="text" select="text()"/>
<xsl:with-param name="escape" select="@escape"/>
</xsl:call-template>
</pre>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template match="bebop:propertyList"> <xsl:template match="bebop:propertyList">
<table class="property-list"> <table class="property-list">
<xsl:for-each select="bebop:property"> <xsl:for-each select="bebop:property">
@ -14,4 +14,5 @@
</xsl:for-each> </xsl:for-each>
</table> </table>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:search="http://rhea.redhat.com/search/1.0"
xmlns:search="http://rhea.redhat.com/search/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" version="1.0">
version="1.0">
<xsl:output method="html"/> <xsl:output method="html"/>
<xsl:param name="internal-theme"/>
<xsl:template match="search:object"> <xsl:template match="search:object">
<xsl:param name="class" select="none"/> <xsl:param name="class" select="none"/>
@ -27,7 +28,8 @@
<td> <td>
<xsl:value-of disable-output-escaping="yes" select="search:jsAction"/> <xsl:value-of disable-output-escaping="yes" select="search:jsAction"/>
<a onClick="{search:jsAction/@name}" href="javascript:{search:jsAction/@name}"> <a onClick="{search:jsAction/@name}" href="javascript:{search:jsAction/@name}">
<img src="/__ccm__/static/cms/admin/action-group/action-generic.png" width="14" height="14" border="0"/> <img src="{$internal-theme}/images/action-generic.png"
width="14" height="14" border="0"/>
<xsl:text> Select item</xsl:text> <xsl:text> Select item</xsl:text>
</a> </a>
</td> </td>
@ -39,12 +41,15 @@
<tr class="{$class}"> <tr class="{$class}">
<td><xsl:value-of select="@rank"/></td> <td><xsl:value-of select="@rank"/></td>
<td><input type="radio" name="{@field}" value="{@oid}"/><a href="{@url}"><xsl:value-of select="@title"/></a></td> <td><input type="radio" name="{@field}" value="{@oid}"/>
<a href="{@url}"><xsl:value-of select="@title"/></a>
</td>
<td><em><xsl:value-of select="@summary"/></em></td> <td><em><xsl:value-of select="@summary"/></em></td>
<td> <td>
<xsl:value-of disable-output-escaping="yes" select="search:jsAction"/> <xsl:value-of disable-output-escaping="yes" select="search:jsAction"/>
<a onClick="{search:jsAction/@name}" href="javascript:{search:jsAction/@name}"> <a onClick="{search:jsAction/@name}" href="javascript:{search:jsAction/@name}">
<img src="/__ccm__/static/cms/admin/action-group/action-generic.png" width="14" height="14" border="0"/> <img src="{$internal-theme}/images//action-generic.png"
width="14" height="14" border="0"/>
<xsl:text> Select item</xsl:text> <xsl:text> Select item</xsl:text>
</a> </a>
</td> </td>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template match="bebop:section"> <xsl:template match="bebop:section">
<div class="section"> <div class="section">
<div class="heading"> <div class="heading">
@ -15,4 +15,5 @@
</div> </div>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template match="bebop:segmentedPanel"> <xsl:template match="bebop:segmentedPanel">
<div class="segmented-panel"> <div class="segmented-panel">
<xsl:for-each select="bebop:segment"> <xsl:for-each select="bebop:segment">
@ -19,4 +19,5 @@
</xsl:for-each> </xsl:for-each>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 236 B

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" version="1.0">
>
<xsl:template match="bebop:tabbedPane"> <xsl:template match="bebop:tabbedPane">
<div class="tabbed-pane"> <div class="tabbed-pane">
<table class="tab-set"> <table class="tab-set">
@ -34,4 +34,5 @@
</div> </div>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template match="bebop:table"> <xsl:template match="bebop:table">
<table class="data"> <table class="data">
<xsl:if test="bebop:thead"> <xsl:if test="bebop:thead">
@ -31,4 +31,5 @@
</tbody> </tbody>
</table> </table>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" version="1.0">
>
<xsl:template name="write-node"> <xsl:template name="write-node">
<xsl:param name="node"/> <xsl:param name="node"/>
<xsl:param name="total-indent"/> <xsl:param name="total-indent"/>
@ -56,4 +56,5 @@
</xsl:for-each> </xsl:for-each>
</table> </table>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms" exclude-result-prefixes="cms"
> version="1.0">
<xsl:param name="internal-theme"/>
<xsl:template match="cms:sortableList"> <xsl:template match="cms:sortableList">
<table> <table>
<xsl:for-each select="bebop:cell"> <xsl:for-each select="bebop:cell">
@ -14,12 +16,18 @@
<td align="left" valign="top"><xsl:apply-templates/></td> <td align="left" valign="top"><xsl:apply-templates/></td>
<td align="left" valign="top"> <td align="left" valign="top">
<xsl:if test="@prevURL"> <xsl:if test="@prevURL">
<a href="{@prevURL}"><img src="{$context-prefix}/assets/gray-triangle-up.gif" width="10" height="9" alt="Move Category Up" border="0"/></a> <a href="{@prevURL}">
<img src="{$internal-theme}/images/gray-triangle-up.gif"
width="10" height="9" alt="Move Category Up" border="0"/>
</a>
</xsl:if> </xsl:if>
</td> </td>
<td align="left" valign="top"> <td align="left" valign="top">
<xsl:if test="@nextURL"> <xsl:if test="@nextURL">
<a href="{@nextURL}"><img src="{$context-prefix}/assets/gray-triangle-down.gif" width="10" height="9" alt="Move Category Down" border="0"/></a> <a href="{@nextURL}">
<img src="{$internal-theme}/images/gray-triangle-down.gif"
width="10" height="9" alt="Move Category Down" border="0"/>
</a>
</xsl:if> </xsl:if>
</td> </td>
</xsl:when> </xsl:when>

View File

@ -1,23 +1,28 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms" exclude-result-prefixes="cms"
version="1.0"
> >
<xsl:import href="../../bebop/xsl/DimensionalNavbar.xsl"/> <xsl:import href="../../bebop/xsl/DimensionalNavbar.xsl"/>
<xsl:import href="CMSContainer.xsl"/> <xsl:import href="CMSContainer.xsl"/>
<xsl:import href="../../bebop/xsl/DataTable.xsl"/> <xsl:import href="../../bebop/xsl/DataTable.xsl"/>
<xsl:import href="../../acs-admin/xsl/split-panel.xsl"/> <xsl:import href="../../acs-admin/xsl/split-panel.xsl"/>
<xsl:import href="../../../__ccm__/static/cms/admin/cms-admin.xsl"/> <xsl:import href="admin/cms-admin.xsl"/>
<xsl:param name="context-prefix"/> <xsl:param name="context-prefix"/>
<xsl:param name="static-prefix"/> <xsl:param name="static-prefix"/>
<xsl:param name="internal-theme"/>
<!-- GENERAL CMS ADMIN STYLING --> <!-- GENERAL CMS ADMIN STYLING -->
<!-- Reusable template to style a table header cell, when the title doesn't contain special stuff --> <!-- Reusable template to style a table header cell, when the title
doesn't contain special stuff -->
<!-- <!--
<xsl:template name="styled-table-header-cell-simple"> <xsl:template name="styled-table-header-cell-simple">
<xsl:param name="title"/> <xsl:param name="title"/>
@ -35,11 +40,12 @@
</xsl:template> </xsl:template>
--> -->
<!-- Stylesheets cut and pasted from permissions.xsl; couldn't just import permissions.xsl, <!-- Stylesheets cut and pasted from permissions.xsl; couldn't just import
because it imports cms.xsl, causing a loop --> permissions.xsl, because it imports cms.xsl, causing a loop -->
<xsl:template match="bebop:link[@class='checkBoxChecked']"> <xsl:template match="bebop:link[@class='checkBoxChecked']">
<a href="{@href}" onclick="{@onclick}"> <a href="{@href}" onclick="{@onclick}">
<img src="{$context-prefix}/assets/checkbox-checked.gif" border="0" width="12" height="12" alt="{./bebop:label}"> <img src="{$internal-theme}/images/checkbox-checked.gif"
border="0" width="12" height="12" alt="{./bebop:label}">
</img> </img>
</a> </a>
<xsl:text>&#160;</xsl:text> <xsl:text>&#160;</xsl:text>
@ -50,7 +56,8 @@
<xsl:template match="bebop:link[@class='checkBoxUnchecked']"> <xsl:template match="bebop:link[@class='checkBoxUnchecked']">
<a href="{@href}" onclick="{@onclick}"> <a href="{@href}" onclick="{@onclick}">
<img src="{$context-prefix}/assets/checkbox-unchecked.gif" border="0" width="12" height="12" alt="{./bebop:label}"> <img src="{$internal-theme}/images/checkbox-unchecked.gif"
border="0" width="12" height="12" alt="{./bebop:label}">
</img> </img>
</a> </a>
<xsl:text>&#160;</xsl:text> <xsl:text>&#160;</xsl:text>
@ -60,15 +67,18 @@
</xsl:template> </xsl:template>
<xsl:template match="bebop:label[@class='checkBoxGreyChecked']"> <xsl:template match="bebop:label[@class='checkBoxGreyChecked']">
<img src="{$context-prefix}/assets/checkbox-checked-gray.gif" border="0" width="12" height="12" alt="{./bebop:label}"> <img src="{$internal-theme}/images/checkbox-checked-gray.gif"
border="0" width="12" height="12" alt="{./bebop:label}">
</img> </img>
<xsl:text>&#160;</xsl:text> <xsl:text>&#160;</xsl:text>
</xsl:template> </xsl:template>
<xsl:template match="bebop:label[@class='checkBoxGreyUnchecked']"> <xsl:template match="bebop:label[@class='checkBoxGreyUnchecked']">
<img src="{$context-prefix}/assets/checkbox-unchecked-gray.gif" border="0" width="12" height="12" alt="{./bebop:label}"> <img src="{$internal-theme}/images/checkbox-unchecked-gray.gif"
border="0" width="12" height="12" alt="{./bebop:label}">
</img> </img>
<xsl:text>&#160;</xsl:text> <xsl:text>&#160;</xsl:text>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" exclude-result-prefixes="cms"
exclude-result-prefixes="cms"> version="1.0">
<!-- Folder information --> <!-- Folder information -->

View File

@ -1,10 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms"> exclude-result-prefixes="cms"
version="1.0">
<xsl:import href="types/default.xsl"/> <xsl:import href="types/default.xsl"/>
<xsl:import href="types/udct.xsl"/> <xsl:import href="types/udct.xsl"/>
@ -46,4 +46,5 @@
<xsl:call-template name="cms:links_text"/> <xsl:call-template name="cms:links_text"/>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
exclude-result-prefixes="cms"
version="1.0">
<xsl:template match="cms:contentPanel">
<xsl:apply-templates />
</xsl:template>
<xsl:template name="bebop:pageTitle">
<xsl:text>CMS: </xsl:text>
<xsl:value-of select="/bebop:page/cms:contentPanel/cms:item/displayName"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" exclude-result-prefixes="cms"
exclude-result-prefixes="cms"> version="1.0">
<xsl:template match="cms:workflowSummary"> <xsl:template match="cms:workflowSummary">
<table cellspacing="0" cellpadding="0" border="0" width="100%"> <table cellspacing="0" cellpadding="0" border="0" width="100%">
@ -19,7 +19,9 @@
<div class="action-group"> <div class="action-group">
<div class="subject"> <div class="subject">
<table class="property-list"> <table class="property-list">
<xsl:if test="@restartWorkflowURL"><tr><td><a href="{@restartWorkflowURL}">Restart editing</a></td></tr></xsl:if> <xsl:if test="@restartWorkflowURL">
<tr><td><a href="{@restartWorkflowURL}">Restart editing</a></td></tr>
</xsl:if>
<xsl:for-each select="cms:task"> <xsl:for-each select="cms:task">
<tr> <tr>
<td class="form_label"> <td class="form_label">

View File

@ -1,11 +1,12 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> version="1.0">
<!-- COmment --> <!-- COmment -->
<xsl:import href="../../bebop/xsl/bebop.xsl"/> <xsl:import href="../../bebop/xsl/bebop.xsl"/>
<xsl:import href="../../ui/xsl/ui.xsl"/> <xsl:import href="../../ui/xsl/ui.xsl"/>
<xsl:import href="../../search/xsl/search.xsl"/> <xsl:import href="../../search/xsl/search.xsl"/>
<xsl:import href="../../../__ccm__/static/cms/admin/search/search.xsl"/> <xsl:import href="admin/search/search.xsl"/>
<xsl:import href="ItemPath.xsl"/> <xsl:import href="ItemPath.xsl"/>

Some files were not shown because too many files have changed in this diff Show More