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-94f89814c4dfmaster
|
|
@ -1,13 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<!-- IMPORT DEFINITIONS ccm-auth-http installed as separate web application
|
||||
<xsl:import href="../../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
|
||||
<xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/>
|
||||
-->
|
||||
<!-- IMPORT DEFINITIONS ccm-auth-http installed into the main CCM webapp
|
||||
-->
|
||||
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/>
|
||||
<xsl:import href="../../../../packages/ui/xsl/ui.xsl"/>
|
||||
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl"/>
|
||||
<xsl:import href="../../../packages/ui/xsl/ui.xsl"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -9,6 +9,6 @@
|
|||
<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>
|
||||
|
|
@ -1,12 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
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: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">
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
version="1.0">
|
||||
|
||||
<!-- The order of imports below is important. Please don't change
|
||||
them without appropriate testing. -->
|
||||
|
|
@ -18,15 +16,14 @@
|
|||
|
||||
<xsl:output method="html" indent="yes"/>
|
||||
|
||||
<xsl:param name="contextPath"/>
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
|
||||
<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;}
|
||||
|
|
@ -36,8 +33,8 @@
|
|||
</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" />
|
||||
<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" />
|
||||
|
||||
<xsl:for-each select="bebop:stylesheet">
|
||||
<link href="{@href}" rel="stylesheet" type="{@type}"/>
|
||||
|
|
@ -82,7 +79,7 @@
|
|||
<tr>
|
||||
<td class="global-link-icon">
|
||||
<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>
|
||||
</td>
|
||||
<td class="global-link">
|
||||
|
|
@ -141,7 +138,7 @@
|
|||
<!-- 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="3"><td><img src="{$internal-theme}/images/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>
|
||||
|
|
@ -225,7 +222,7 @@
|
|||
</table>
|
||||
</td>
|
||||
</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>
|
||||
<tr>
|
||||
<td class="splitPanelLeft">
|
||||
|
|
@ -233,7 +230,7 @@
|
|||
<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="inactiveTabColor" width="2"><img src="{$internal-theme}/images/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>
|
||||
|
|
@ -337,7 +334,7 @@
|
|||
</xsl:template>
|
||||
|
||||
<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>
|
||||
</xsl:template>
|
||||
|
||||
|
|
@ -385,7 +382,7 @@
|
|||
<![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="/__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[ // end script --> ]]>
|
||||
</script>
|
||||
|
|
@ -398,7 +395,7 @@
|
|||
</script>
|
||||
|
||||
<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:apply-templates/>
|
||||
</xsl:attribute>
|
||||
|
|
@ -1 +1 @@
|
|||
@import url(/css/acs-master.css);
|
||||
@import url(../../heirloom/css/acs-master.css);
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?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"
|
||||
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"
|
||||
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
|
||||
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl">
|
||||
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" />
|
||||
|
||||
|
|
|
|||
|
|
@ -1,42 +1,60 @@
|
|||
<?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"
|
||||
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"
|
||||
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
|
||||
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl">
|
||||
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="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
|
||||
<xsl:import href="../../heirloom/apps/content-center/xsl/index.xsl"/>
|
||||
<xsl:import href="../../heirloom/packages/bebop/xsl/dcp.xsl"/>
|
||||
|
||||
<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']">
|
||||
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
|
||||
<head>
|
||||
<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"/>
|
||||
<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>
|
||||
<xsl:call-template name="bebop:dcpJavascript"/>
|
||||
<table id="global-header">
|
||||
<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 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>
|
||||
<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}">Home</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-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}">Logout</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>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,21 @@
|
|||
<?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"
|
||||
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"
|
||||
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
|
||||
version="1.0" exclude-result-prefixes="bebop cms ui aplaws xsl">
|
||||
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="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
|
||||
<xsl:import href="../../heirloom/apps/content-section/xsl/admin.xsl"/>
|
||||
<xsl:import href="../../heirloom/packages/bebop/xsl/dcp.xsl"/>
|
||||
|
||||
<xsl:import href="category-step.xsl"/>
|
||||
|
||||
<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:value-of select="@name"/>
|
||||
|
|
@ -29,8 +30,8 @@
|
|||
<html xmlns:deditor="http://www.arsdigita.com/deditor/1.0">
|
||||
<head>
|
||||
<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"/>
|
||||
<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>
|
||||
<xsl:call-template name="bebop:dcpJavascript"/>
|
||||
|
|
@ -42,10 +43,10 @@
|
|||
<td>
|
||||
<table id="global-links">
|
||||
<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-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>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
exclude-result-prefixes="xsl bebop aplaws ui cms nav"
|
||||
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/lib.xsl"/>
|
||||
<xsl:import href="lib/leftNav.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="dispatcher-prefix"/>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 857 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 928 B After Width: | Height: | Size: 928 B |
|
|
@ -10,6 +10,7 @@
|
|||
This file contains templates related
|
||||
to generating <head> tags in HTML
|
||||
-->
|
||||
<xsl:param name="theme-prefix" />
|
||||
|
||||
<xsl:template name="aplaws:pageTitle">
|
||||
<xsl:value-of select="/bebop:page/bebop:title"/>
|
||||
|
|
@ -28,7 +29,7 @@
|
|||
ccm-cms/web/__ccm__/static/cms/admin/page/page.css
|
||||
may be a copy&paste error -->
|
||||
<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:stylesheet>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@
|
|||
<xsl:when test="@userID">
|
||||
<table class="globalAdminHeader">
|
||||
<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>      </xsl:text></td>
|
||||
<td 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:value-of select="@workspaceURL"/>
|
||||
</xsl:attribute>
|
||||
<img src="/assets/home.png" height="18" width="18"/>
|
||||
<img src="{$theme-prefix}/images/home.png" height="18" width="18"/>
|
||||
</a>
|
||||
</td>
|
||||
<td class="global-link">
|
||||
|
|
@ -56,7 +57,7 @@
|
|||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="@logoutURL"/>
|
||||
</xsl:attribute>
|
||||
<img src="/assets/lock.png" height="18" width="14"/>
|
||||
<img src="{$theme-prefix}/images/lock.png" height="18" width="14"/>
|
||||
</a>
|
||||
</td>
|
||||
<td class="global-link">
|
||||
|
|
@ -77,7 +78,11 @@
|
|||
<table class="globalAdminHeader">
|
||||
<tr>
|
||||
<!-- Shadow man logo by default -->
|
||||
<!--
|
||||
<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>      </xsl:text></td>
|
||||
<td style="margin: 0; border: 0; padding: 0;">
|
||||
<table align="center" style="margin: 0; border: 0; padding: 0;">
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet 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"
|
||||
|
|
@ -8,7 +7,7 @@
|
|||
exclude-result-prefixes="xsl admin bebop portal portlet"
|
||||
version="1.0">
|
||||
|
||||
<xsl:param name="context-prefix"/>
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
<xsl:template match="portlet:contentSection">
|
||||
<div>
|
||||
|
|
@ -18,7 +17,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<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 href="{@url}admin/index.jsp" class="action_link">admin</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@import url(/css/acs-master.css);
|
||||
@import url(/themes/heirloom/css/acs-master.css);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
-->
|
||||
<!-- 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:param name="theme-prefix"/>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@import url(/css/acs-master.css);
|
||||
@import url(/themes/heirloom/css/acs-master.css);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
/* web application context (ccm-ldn-terms) */
|
||||
/* @import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css); */
|
||||
/* 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);
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
version="1.0">
|
||||
|
||||
<!-- 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
|
||||
-->
|
||||
<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:param name="theme-prefix"/>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@import url(/css/acs-master.css);
|
||||
@import url(/themes/heirloom/css/acs-master.css);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
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="FileStorageItem.xsl"/>
|
||||
<xsl:import href="Event.xsl"/>
|
||||
<xsl:import href="Address.xsl"/>
|
||||
<xsl:import href="Agenda.xsl"/>
|
||||
<xsl:import href="InlineSite.xsl"/>
|
||||
<xsl:import href="Job.xsl"/>
|
||||
<xsl:import href="LegalNotice.xsl"/>
|
||||
<xsl:import href="Minutes.xsl"/>
|
||||
<xsl:import href="Service.xsl"/>
|
||||
<xsl:import href="PressRelease.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"/>
|
||||
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ version="1.0">
|
|||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Event' and not(@useContext = 'itemAdminSummary')]">
|
||||
<xsl:call-template name="CT_Event_graphics"/>
|
||||
</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:template>
|
||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Agenda' and not(@useContext = 'itemAdminSummary')]">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version="1.0">
|
|||
|
||||
|
||||
|
||||
<xsl:template name="CT_Address_graphics">
|
||||
<xsl:template name="CT_SimpleAddress_graphics">
|
||||
<div id="details">
|
||||
<xsl:if test="./address">
|
||||
<p>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -6,7 +6,8 @@
|
|||
xmlns:cms="http://www.arsdigita.com/cms/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']"
|
||||
mode="cms:CT_graphics"
|
||||
name="cms:CT_graphics_com_arsdigita_cms_contenttypes_Address">
|
||||
<table width="435" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
|
|
@ -20,25 +21,33 @@
|
|||
<xsl:if test="./address">
|
||||
<tr>
|
||||
<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>
|
||||
</xsl:if>
|
||||
<xsl:if test="./postalCode">
|
||||
<tr>
|
||||
<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>
|
||||
</xsl:if>
|
||||
<xsl:if test="./city">
|
||||
<tr>
|
||||
<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>
|
||||
</xsl:if>
|
||||
<xsl:if test="./isoCountryCode/countryName">
|
||||
<tr>
|
||||
<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>
|
||||
</xsl:if>
|
||||
</table>
|
||||
|
|
@ -47,7 +56,8 @@
|
|||
</table>
|
||||
</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']"
|
||||
mode="cms:CT_text"
|
||||
name="cms:CT_text_com_arsdigita_cms_contenttypes_Address">
|
||||
<h1 class="title"><xsl:value-of select="./title"/></h1>
|
||||
<xsl:if test="./address">
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ public class Article extends GenericArticle {
|
|||
super( type );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beforeSave() {
|
||||
super.beforeSave();
|
||||
|
||||
|
|
@ -82,6 +83,7 @@ public class Article extends GenericArticle {
|
|||
}
|
||||
|
||||
public static final int SUMMARY_LENGTH = 200;
|
||||
@Override
|
||||
public String getSearchSummary() {
|
||||
return com.arsdigita.util.StringUtils.truncateString(getLead(),
|
||||
SUMMARY_LENGTH,
|
||||
|
|
|
|||
|
|
@ -50,9 +50,11 @@ public class GlossaryItemInitializer extends ContentTypeInitializer {
|
|||
* methods.
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String[] getStylesheets() {
|
||||
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"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,11 @@ public class GlossaryItemCreate extends PageCreate {
|
|||
|
||||
private CreationSelector m_parent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param itemModel
|
||||
* @param parent
|
||||
*/
|
||||
public GlossaryItemCreate(ItemSelectionModel itemModel,
|
||||
CreationSelector parent) {
|
||||
|
||||
|
|
@ -50,6 +55,10 @@ public class GlossaryItemCreate extends PageCreate {
|
|||
m_parent = parent;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
protected void addWidgets() {
|
||||
super.addWidgets();
|
||||
|
||||
|
|
@ -58,6 +67,12 @@ public class GlossaryItemCreate extends PageCreate {
|
|||
add(builder.makeDefinitionArea());
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param e
|
||||
* @throws FormProcessException
|
||||
*/
|
||||
@Override
|
||||
public void process(FormSectionEvent e) throws FormProcessException {
|
||||
|
||||
FormData data = e.getFormData();
|
||||
|
|
|
|||
|
|
@ -1,30 +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: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>
|
||||
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
<!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: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>
|
||||
|
||||
|
|
@ -1,6 +1,12 @@
|
|||
<?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-type label="HTML Form" description="An HTML Form" objectType="com.arsdigita.cms.contenttypes.HTMLForm" classname="com.arsdigita.cms.contenttypes.HTMLForm">
|
||||
<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-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-step
|
||||
labelKey="cms.contenttypes.shared.basic_properties.title"
|
||||
|
|
@ -14,4 +20,5 @@
|
|||
<ctd:include href="/WEB-INF/content-types/assign-categories-step.xml"/>
|
||||
</ctd:authoring-kit>
|
||||
</ctd:content-type>
|
||||
|
||||
</ctd:content-types>
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ public class HTMLForm extends GenericArticle {
|
|||
super( type );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beforeSave() {
|
||||
super.beforeSave();
|
||||
|
||||
|
|
@ -81,6 +82,7 @@ public class HTMLForm extends GenericArticle {
|
|||
}
|
||||
|
||||
public static final int SUMMARY_LENGTH = 200;
|
||||
@Override
|
||||
public String getSearchSummary() {
|
||||
return com.arsdigita.util.StringUtils.truncateString(getLead(),
|
||||
SUMMARY_LENGTH,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ public class HTMLFormInitializer extends ContentTypeInitializer {
|
|||
@Override
|
||||
public String[] getStylesheets() {
|
||||
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" };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ extends ContentPageMetadataProvider {
|
|||
private static final Logger s_log =
|
||||
Logger.getLogger(ArticleSectionMetadataProvider.class);
|
||||
|
||||
@Override
|
||||
public String getTitle(DomainObject dobj) {
|
||||
ArticleSection section = (ArticleSection)dobj;
|
||||
StringBuffer title = new StringBuffer();
|
||||
|
|
|
|||
|
|
@ -42,10 +42,12 @@ public class MultiPartArticleInitializer extends ContentTypeInitializer {
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getTraversalXML() {
|
||||
return "WEB-INF/traversal-adapters/com/arsdigita/cms/contenttypes/MultiPartArticle.xml";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getStylesheets() {
|
||||
return new String [] {
|
||||
"/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
|
||||
// is used here. Wondering.
|
||||
@Override
|
||||
public void init(DomainInitEvent evt) {
|
||||
super.init(evt);
|
||||
|
||||
|
|
|
|||
|
|
@ -71,13 +71,14 @@ public class SimpleAddressInitializer extends ContentTypeInitializer {
|
|||
|
||||
/**
|
||||
* 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,
|
||||
* in distinction from location of applications stylesheets.)
|
||||
* (As of 6.6.x it is really used to locate the content type stylesheet,
|
||||
* in distinction from locating application stylesheets.)
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String[] getStylesheets() {
|
||||
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" };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ cms.ui.assigned_categories=Zugewiesene Kategorien:
|
|||
cms.ui.attention=Obacht!
|
||||
cms.ui.Authoring=Verfassen
|
||||
cms.ui.available_categories=Verf\u00fcgbare Kategorien:
|
||||
cms.ui.browse=Navigation
|
||||
cms.ui.browse=Dokumente
|
||||
cms.ui.browse_items_by_category=Durchsicht der Elemente nach Kategorien
|
||||
cms.ui.cancel=Abbruch
|
||||
cms.ui.cancel_hit=Abbruch dr\u00fccken
|
||||
|
|
|
|||
|
|
@ -599,8 +599,7 @@ public class ContentType extends ACSObject {
|
|||
* @param type the content type
|
||||
* @param path the path relative to the server root
|
||||
*/
|
||||
public static void registerXSLFile(ContentType type,
|
||||
String path) {
|
||||
public static void registerXSLFile(ContentType type, String path) {
|
||||
s_xsl.add(new XSLEntry(type, path));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ public abstract class ContentTypeInitializer extends CompoundInitializer {
|
|||
* file patterns. Not used anymore (pb 2011.01.20)
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -121,8 +121,8 @@ public class TasksPanel extends CMSContainer {
|
|||
private static final String SORT_WORKFLOW = "workflow";
|
||||
|
||||
// IMAGES
|
||||
public static final String UP_ARROW_IMAGE = "/assets/gray-triangle-up.gif";
|
||||
public static final String DOWN_ARROW_IMAGE = "/assets/gray-triangle-down.gif";
|
||||
public static final String UP_ARROW_IMAGE = "/themes/heirfloom/images/gray-triangle-up.gif";
|
||||
public static final String DOWN_ARROW_IMAGE = "/themes/heirfloom/images/gray-triangle-down.gif";
|
||||
|
||||
// CREATION PANE CONSTANTS
|
||||
private Label m_selectorLabel;
|
||||
|
|
|
|||
|
|
@ -416,6 +416,7 @@ public class FolderBrowser extends Table {
|
|||
m_key = key;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Component getComponent(final Table table, final PageState state,
|
||||
Object value,
|
||||
boolean isSelected, Object key,
|
||||
|
|
@ -435,6 +436,7 @@ public class FolderBrowser extends Table {
|
|||
|
||||
ControlLink cl = new ControlLink(headerName) {
|
||||
|
||||
@Override
|
||||
public void setControlEvent(PageState ps) {
|
||||
String sortDirectionAction = null;
|
||||
// by default, everything sorts "up" unless it
|
||||
|
|
@ -651,6 +653,7 @@ public class FolderBrowser extends Table {
|
|||
// Deletes an item
|
||||
private class ItemDeleter extends TableActionAdapter {
|
||||
|
||||
@Override
|
||||
public void cellSelected(TableActionEvent e) {
|
||||
int col = e.getColumn().intValue();
|
||||
|
||||
|
|
@ -846,6 +849,7 @@ public class FolderBrowser extends Table {
|
|||
m_fol = fol;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cellSelected(TableActionEvent e) {
|
||||
PageState state = e.getPageState();
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
Before Width: | Height: | Size: 624 B |
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -4,6 +4,6 @@
|
|||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<xsl:import href="../../../../packages/login/xsl/login_en.xsl"/>
|
||||
<xsl:import href="../../../packages/cms/xsl/content-center.xsl"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -4,6 +4,6 @@
|
|||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/>
|
||||
<xsl:import href="../../../packages/cms/xsl/cms.xsl"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -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>
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
<?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: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"/>
|
||||
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?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: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"/>
|
||||
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
<?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"/>
|
||||
|
||||
|
|
@ -1,9 +1,11 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
<xsl:template match="bebop:actionGroup">
|
||||
<div class="action-group">
|
||||
<div class="subject">
|
||||
|
|
@ -16,11 +18,16 @@
|
|||
<td class="action-icon">
|
||||
<xsl:choose>
|
||||
<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: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:choose>
|
||||
</td>
|
||||
|
|
@ -31,4 +38,5 @@
|
|||
</table>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -9,8 +9,8 @@ div.action-link {
|
|||
}
|
||||
|
||||
div.action-link div.link-icon {
|
||||
height: 14;
|
||||
width: 14;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin-right: 3px;
|
||||
background: white url(action-generic.png) no-repeat;
|
||||
background: white url(../../../../../images/action-generic.png) no-repeat;
|
||||
}
|
||||
|
|
@ -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> </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)"/> 
|
||||
<xsl:if test="@deleteAction">
|
||||
<a href="{@deleteAction}">
|
||||
<img src="{$internal-theme}/images/action-delete.png"
|
||||
border="0"/>
|
||||
</a>
|
||||
<xsl:text> </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>
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
<?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="static-prefix"/>
|
||||
<xsl:param name="dispatcher-prefix"/>
|
||||
|
|
@ -20,4 +22,5 @@
|
|||
<xsl:include href="section/section.xsl"/>
|
||||
<xsl:include href="tree/tree.xsl"/>
|
||||
<xsl:include href="category-step/category-step.xsl"/>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:contextBar">
|
||||
<div class="context-bar">
|
||||
<xsl:for-each select="bebop:entry">
|
||||
|
|
@ -20,4 +20,5 @@
|
|||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,8 +1,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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:layoutPanel">
|
||||
<div class="layout-panel">
|
||||
<xsl:if test="bebop:top">
|
||||
|
|
@ -54,4 +54,5 @@
|
|||
</xsl:if>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:propertyList">
|
||||
<table class="property-list">
|
||||
<xsl:for-each select="bebop:property">
|
||||
|
|
@ -14,4 +14,5 @@
|
|||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
<?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"
|
||||
xmlns:search="http://rhea.redhat.com/search/1.0"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
version="1.0">
|
||||
|
||||
<xsl:output method="html"/>
|
||||
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
<xsl:template match="search:object">
|
||||
<xsl:param name="class" select="none"/>
|
||||
|
||||
|
|
@ -27,7 +28,8 @@
|
|||
<td>
|
||||
<xsl:value-of disable-output-escaping="yes" select="search:jsAction"/>
|
||||
<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>
|
||||
</a>
|
||||
</td>
|
||||
|
|
@ -39,12 +41,15 @@
|
|||
|
||||
<tr class="{$class}">
|
||||
<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>
|
||||
<xsl:value-of disable-output-escaping="yes" select="search:jsAction"/>
|
||||
<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>
|
||||
</a>
|
||||
</td>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:section">
|
||||
<div class="section">
|
||||
<div class="heading">
|
||||
|
|
@ -15,4 +15,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:segmentedPanel">
|
||||
<div class="segmented-panel">
|
||||
<xsl:for-each select="bebop:segment">
|
||||
|
|
@ -19,4 +19,5 @@
|
|||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 236 B |
|
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 258 B |
|
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 575 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 416 B |
|
|
@ -1,8 +1,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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:tabbedPane">
|
||||
<div class="tabbed-pane">
|
||||
<table class="tab-set">
|
||||
|
|
@ -34,4 +34,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="bebop:table">
|
||||
<table class="data">
|
||||
<xsl:if test="bebop:thead">
|
||||
|
|
@ -31,4 +31,5 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:template name="write-node">
|
||||
<xsl:param name="node"/>
|
||||
<xsl:param name="total-indent"/>
|
||||
|
|
@ -56,4 +56,5 @@
|
|||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,10 +1,12 @@
|
|||
<?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"
|
||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
exclude-result-prefixes="cms"
|
||||
>
|
||||
version="1.0">
|
||||
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
<xsl:template match="cms:sortableList">
|
||||
<table>
|
||||
<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: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>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<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>
|
||||
</td>
|
||||
</xsl:when>
|
||||
|
|
@ -1,23 +1,28 @@
|
|||
<?xml version="1.0"?>
|
||||
<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:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
exclude-result-prefixes="cms"
|
||||
version="1.0"
|
||||
>
|
||||
|
||||
|
||||
<xsl:import href="../../bebop/xsl/DimensionalNavbar.xsl"/>
|
||||
<xsl:import href="CMSContainer.xsl"/>
|
||||
<xsl:import href="../../bebop/xsl/DataTable.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="static-prefix"/>
|
||||
<xsl:param name="internal-theme"/>
|
||||
|
||||
<!-- 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:param name="title"/>
|
||||
|
|
@ -35,11 +40,12 @@
|
|||
</xsl:template>
|
||||
-->
|
||||
|
||||
<!-- Stylesheets cut and pasted from permissions.xsl; couldn't just import permissions.xsl,
|
||||
because it imports cms.xsl, causing a loop -->
|
||||
<!-- Stylesheets cut and pasted from permissions.xsl; couldn't just import
|
||||
permissions.xsl, because it imports cms.xsl, causing a loop -->
|
||||
<xsl:template match="bebop:link[@class='checkBoxChecked']">
|
||||
<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>
|
||||
</a>
|
||||
<xsl:text> </xsl:text>
|
||||
|
|
@ -50,7 +56,8 @@
|
|||
|
||||
<xsl:template match="bebop:link[@class='checkBoxUnchecked']">
|
||||
<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>
|
||||
</a>
|
||||
<xsl:text> </xsl:text>
|
||||
|
|
@ -60,15 +67,18 @@
|
|||
</xsl:template>
|
||||
|
||||
<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>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<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>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
exclude-result-prefixes="cms">
|
||||
exclude-result-prefixes="cms"
|
||||
version="1.0">
|
||||
|
||||
|
||||
<!-- Folder information -->
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
<?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: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/udct.xsl"/>
|
||||
|
|
@ -46,4 +46,5 @@
|
|||
<xsl:call-template name="cms:links_text"/>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -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>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?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:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||
exclude-result-prefixes="cms">
|
||||
exclude-result-prefixes="cms"
|
||||
version="1.0">
|
||||
|
||||
<xsl:template match="cms:workflowSummary">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
|
|
@ -19,7 +19,9 @@
|
|||
<div class="action-group">
|
||||
<div class="subject">
|
||||
<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">
|
||||
<tr>
|
||||
<td class="form_label">
|
||||
|
|
@ -1,11 +1,12 @@
|
|||
<?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">
|
||||
<!-- COmment -->
|
||||
<xsl:import href="../../bebop/xsl/bebop.xsl"/>
|
||||
<xsl:import href="../../ui/xsl/ui.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"/>
|
||||
|
||||