Created a fork of the Mandalay theme which will use YAML (http://www.yaml.de)

git-svn-id: https://svn.libreccm.org/ccm/trunk@2518 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-02-11 15:27:59 +00:00
parent d7360e8ae7
commit 6e26f104ab
674 changed files with 103445 additions and 2 deletions

View File

@ -6,10 +6,10 @@
<ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ccm="http://ccm.redhat.com/ccm-project" xmlns:ccm="http://ccm.redhat.com/ccm-project"
ccmVersion="6.1" ccmVersion="6.1"
name="scientificcms" name="ScientificCMS"
prettyName="Scientific CMS" prettyName="Scientific CMS"
version="2.2.0" version="2.2.0"
release="SNAPSHOT-r2482" release="SNAPSHOT-r2517"
webxml="web-sci.xml" webxml="web-sci.xml"
webapp="ROOT" webapp="ROOT"
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd"> xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- DE
Hier werden die verarbeitet
-->
<!-- EN
Processing
-->
<!-- Autor: Sören Bernstein -->
<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:nav="http://ccm.redhat.com/navigation"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav mandalay"
version="1.0">
</xsl:stylesheet>

View File

@ -0,0 +1,46 @@
/*
Copyright: 2011 Sören Bernstein
*/
#content {
width: 596px;
margin-top: 0px;
margin-bottom: 50px;
padding-right: 10px;
text-align: left;
position: absolute;
left: 200px;
padding-left: 15px;
top: 128px;
padding-top: 0px;
background-color: #FFFFFF;
}
#content.colorset_1 {
text-align: left;
position: relative;
}
#content #colorset_2 {
text-align: left;
background-color: #FFD700;
position: relative;
}
#content #colorset_3 {
text-align: left;
background-color: #FDFAD7;
position: relative;
}
#menu {
position: absolute;
margin-top: 18px;
}

View File

@ -0,0 +1,996 @@
/*
Copyright: 2011 Sören Bernstein
*/
/* *************************************************************** */
/* DE CSS für das Standard-Aplaws-Theme, adaptiert für Mandalay */
/* EN CSS for the standard aplaws theme, adapted for Mandalay */
/* ************************************************************** */
/* DE Dieses CSS ist für alle Browser gedacht */
/* EN This CSS is for all browsers */
/*
DE Erlaubte Techniken / Befehle:
- HTML-Formate (CSS 1.0 - Standard, keine Wildcards)
- Individualformate (#)
- Klassendefinitionen (.)
- Pseudoformate (:active, ...) nur für <a></a>
- Postionsangaben absolute, relative, float, normal
- Display-Angaben
- Größenangaben width, height
- float, clear, z-index
*/
/*
EN Useable methods / statements
- HTML-formats (CSS 1.0 standard, no wildcards)
- individual formats (#)
- class specific formats (.)
- pseudo formats (:active, ... only for <a></a>
- position statements: relative, float, normal
- display statements
- size statements: width, height
- float, clear, z-index
*/
/*
DE Standardwerte für die Schriftgrößen
- Firefox:
Proportionale Schrift: 16pt
Feste Breite: 13pt
Minimale Größe: Keine
*/
* {
margin: 0em;
padding: 0em;
}
html {
}
body {
margin: 0em auto;
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #4a4a4a;
}
/* Überschriften */
h1 {
border-bottom: 1px dotted #75051d;
font-family: Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
font-size: 1.5em;
color: #75051d;
font-weight: normal;
margin-bottom: 0.15em;
padding-bottom: 0em;
line-height: 1.3em;
page-break-after: avoid;
}
h2 {
font-family: Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
font-size: 1.3em;
color: #75051d;
padding-bottom: 0em;
margin-bottom: 0.15em;
font-weight: normal;
line-height: 1.2em;
page-break-after: avoid;
}
h3 {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1.15em;
margin-top: 1.5em;
margin-bottom: 0.5em;
padding: 0em;
page-break-after: avoid;
}
h4 {
margin-top: 1em;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1.1em;
font-weight: bold;
}
h5 {
margin: 0.5em 0em 0.7em 0em;
padding: 0.5em 0em;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 1.05em;
color: #75051d;
}
h6 {
margin: 0.25em 0em 0.7em 0em;
padding: 0.5em 0.7em;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1em;
color: #75051d;
}
h3 a, h5 a {
color: #75051d;
letter-spacing: 0.05em;
}
/* Absätze */
p + p {
margin-top: 1em;
}
/* Tabellen */
table {
}
th {
}
td {
}
/* Listen-Elemente */
#content ul,
#content ol {
margin: 1em 0em;
margin-left: 2.5em ;
/* color: #75051d !important; */
}
#content li {
/* color: #75051d; */
}
#itemList ul,
#itemList ol {
margin: 0em !important;
}
/* Definitionslisten */
dl {
margin: 1em 0em;
}
dt {
}
dd {
margin-left: 2em;
margin-bottom: 0.5em;
}
/* Links */
a, a:link, a:visited {
color: #75051d;
text-decoration: none;
}
a:focus, a:hover, a:active {
color: #cc0033;
}
/* Bilder in einem Link */
a img {
border: none;
}
/* Spezielle styles für die barrierefreie Anzeige, werden von
grafischen Browsern ausgeblendet */
.hide,
.navHide {
display: none;
}
div.startLeftFloat {
clear:both;
float:left;
}
div.addLeftFloat {
float:left;
}
div.endFloat {
clear:both;
}
/* Layout-Boxen */
#head,
#contentWrap
{
width: 100%;
}
#footer{}
/* Dynamisches 3-Spalten-Layout */
#leftWrap {
width: 100%;
}
#left {
}
#center {
}
#right {
margin-top: 3em;
}
/* Colorset-Angaben */
.colorset_1 h1,
.colorset_1 h2,
.colorset_1 h3,
.colorset_1 h4,
.colorset_1 h5,
.colorset_1 h6,
.colorset_1 #eventList h2,
.colorset_1 #info h2 {
border-color: #661111;
color: #661111;
}
.colorset_2 h1,
.colorset_2 h2,
.colorset_2 h3,
.colorset_2 h4,
.colorset_2 h5,
.colorset_2 h6,
.colorset_2 #eventList h2,
.colorset_2 #info h2 {
border-color: #116611;
color: #116611;
}
.colorset_3 h1,
.colorset_3 h2,
.colorset_3 h3,
.colorset_3 h4,
.colorset_3 h5,
.colorset_3 h6,
.colorset_3 #eventList h2,
.colorset_3 #info h2 {
border-color: #111166;
color: #111166;
}
.colorset_1 a, .colorset_1 a:link, .colorset_1 a:visited {
color: #661111;
text-decoration: none;
}
.colorset_1 a:focus, .colorset_1 a:hover, .colorset_1 a:active {
color: #ff3333;
}
.colorset_2 a, .colorset_2 a:link, .colorset_2 a:visited {
color: #116611;
text-decoration: none;
}
.colorset_2 a:focus, .colorset_2 a:hover, .colorset_2 a:active {
color: #33ff33;
}
.colorset_3 a, .colorset_3 a:link, .colorset_3 a:visited {
color: #111166;
text-decoration: none;
}
.colorset_3 a:focus, .colorset_3 a:hover, .colorset_3 a:active {
color: #3333ff;
}
/* Header Menu */
.languageSelector {
float: left;
margin-top: 0.45em;
margin-left: 0.8em;
color: #ffffff;
}
.languageSelector .languageEntry {
color: #999999;
font-weight: bold;
}
.languageSelector a, .languageSelector a:visited {
color: #999999;
font-weight: normal;
text-decoration: none;
}
.languageSelector a:hover {
color: #ffffff;
}
#headerOverlayTop > div {
float: right;
margin: 0.2em 0em 0.1em 0em;
}
#topMenu {
float: left;
margin-top: 0.3em;
}
#topMenu a, #topMenu a:link, #topMenu a:visited {
color: #ffffff;
text-decoration: none;
}
#topMenu a:hover, #topMenu a:focus, #topMenu a:active {
color: #cc3366;
text-decoration: none;
}
#quicksearch {
float: left;
margin-left: 0.95em;
color: #ffffff;
}
/* TopRow */
#topRow {
display: none;
}
/* Header */
#header {
display: none;
}
/* Navigation */
#menu {
display: none;
}
#breadcrumbs {
display: none;
}
/* Content */
#content {
color: #000000;
font-size: 0.75em;
line-height: 1.5em;
}
#content h1 {
letter-spacing: 0.2em;
}
#content #lead {
color: #000000;
font-weight: bold;
font-style: italic;
}
#content #lead + div {
padding-top: 1em;
}
#content #mainBody,
#content .mainBody,
#content .MPASection {
margin: 1em 0em;
padding: 1em 1em;
}
#content h2.itemListHeader {
margin: 3em -0.65em 0em -0.65em;
border-top: solid 2.5em #ffffff;
padding: 0.3em 0.65em 0em 0.65em;
font-size: 1.7em;
}
/* ItemList */
#itemList,
.itemList,
#contentEventList,
.contentEventList {
margin: 2.5em 0em 0em 0em;
}
#itemList ul,
#contentEventList ul {
list-style-type: none;
margin: 0em;
padding: 0em;
text-indent: 0em;
}
#itemList li,
.itemList li,
#contentEventList li,
.contentEventList li {
margin: 1em 0em 0em 0em;
border-bottom: 2px dotted #75051d;
padding: 1em;
}
#itemList li .CIname,
.itemList li .CIname,
#contentEventList li .CIname,
.contentEventList li .CIname {
font-family: Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
font-size: 1.5em;
padding-bottom: 0em;
margin-bottom: 0.15em;
font-weight: normal;
line-height: 1.3em;
page-break-after: avoid;
}
#itemList li > a,
.itemList li > a,
#contentEventList li > a,
.contentEventList li > a {
color: #75051d;
}
#itemList .dateline,
.itemList .dateline,
#contentEventList .dateline,
.contentEventList .dateline {
float: right;
margin: -1em -1em 0em 0em;
padding: 0.5em 0.8em;
width: 6em;
background-color: #ffffff;
}
#itemList .dateline .date .separator,
.itemList .dateline .date .separator,
#contentEventList .dateline .date .separator,
.contentEventList .dateline .date .separator {
display: block;
line-height: 0.3em;
text-align: center;
}
/* EventList */
#eventList {
}
#eventList h2,
#info h2 {
border-bottom: 2px dotted #75051d;
font-size: 0.8em;
font-weight: bold;
text-transform: uppercase;
text-align: right;
page-break-after: avoid;
}
#eventList h2 a:before,
#info h2 a:before {
content: url('../../../images/icons/menu_active.png');
padding-right: 0.5em;
}
#eventList h2 a:focus:before,
#eventList h2 a:hover:before,
#eventList h2 a:active:before,
#info h2 a:focus:before,
#info h2 a:hover:before,
#info h2 a:active:before {
content: url('../../../images/icons/menu_hover.png');
padding-right: 0.5em;
}
#eventList ul,
#info ul {
list-style-type: none;
margin: 0.2em 0em 2em 0em;
padding: 0em;
font-size: 0.7em;
}
#eventList li,
#info li{
border-bottom: 1px dotted #666666;
padding: 0.5em 0em;
}
/* Info */
#info {
width: 100%;
}
/* Footer */
#footer {
clear: both;
float: left;
min-height: 5em;
width: 100%;
border-top: 0.06em solid #999999;
}
#footer #footerContent {
margin: 0em auto;
padding: 1.5em 4em;
color: #000000;
font-size: 0.625em;
}
#footer #footerMenu {
display: none;
}
#pageFooter {
padding-top: 1em;
padding-bottom: 0.5em;
font-size: 0.675em;
min-height: 1em;
}
#lastModifiedDate,
#lastModifiedDate #lastModifiedDetails {
display: inline;
}
#lastModifiedDetails a:after {
padding-left: 0.3em;
content: url('../../../images/icon_email_inaktiv.gif');
}
#toTop {
display: none;
}
/*---------Images in Floats--------------------*/
.imageFloatLeft {
float: left;
}
.imageFloatRight {
float: right;
}
/*--------Images in CT---------------*/
#content div.image {
float: right;
margin: 2em 1em 0.75em 1.25em;
}
div#mainBody div.image {
margin: 0em 0em 0.75em 1.25em;
}
div.image span.caption {
display: block;
color: #75051d;
font-size: 0.85em;
}
/*-------CT NewsItem--------*/
#content #newsDate {
float: right;
margin-top: 0.5em;
padding: 1em;
background-color: #efefef;
font-size: 0.8em;
text-align: right;
}
#content #newsDate + .image {
clear: both;
margin-top: 1em;
}
/* -------More-Button-------------- */
.moreButton {
}
.moreButton a {
font-weight: bold;
}
.moreButton a:active,
.moreButton a:hover,
.moreButton a:focus {
text-decoration: underline;
}
/*---------Paginator---------*/
#paginator.header,
#paginator.navbar {
padding: 1em;
background-color: #efefef;
}
#paginator.header {
margin-top: 1em;
}
#paginator.navbar {
margin: 1em 0em;
}
#paginator.header + #paginator.navbar {
margin: 0em;
padding-top: 0em;
}
/*---------------*/
ul.availableData {
display: none;
}
/*---------CT MPA-----------------*/
#sectionList {
margin: 0.2em 0em;
padding: 1em 1em;
background-color: #efefef;
text-align:center;
}
/*-------Key / Value------------------*/
.key {
width: 12em;
padding-right: 0.8em;
font-weight: bold;
}
.value {
font-weight: normal;
}
/*------CT Event-----------------*/
.Event .value {
display: block;
margin-bottom: 1em;
}
.Event .value p + p {
margin-top: 0em !important;
}
/*-------------CT Sci*----------*/
#content ul.availableData {
float: left;
width: 100%;
margin: 0em;
padding: 0em;
list-style: none;
}
#content ul.availableData li {
float: left;
margin-right: -2px;
padding: 0.5em;
border: 2px solid #ffffff;
border-bottom: none;
}
#content ul.availableData li.active {
font-weight: bold;
background-color: #ffffff;
}
#content .sectionHeading {
margin-bottom: 0.5em;
}
#content .activeTab + .sectionHeading {
margin-top: 1em;
}
#content .activeTab {
clear: both;
padding: 1em;
background-color: #ffffff;
}
#content .duration {
float: right;
margin: -1em -1em -1.5em 1em;
padding: 1em;
text-align: right;
background-color: #ffffff;
}
#content .duration .date span {
font-weight: bold;
}
#content .activeTab ul.memberList,
#content .activeTab ul.projectList,
#content .activeTab ul.publicationList,
#content .activeTab ul.departmentList {
margin-left: 0em;
list-style: none;
}
#content .activeTab ul.memberList li.sciMember,
#content .activeTab ul.projectList li.sciProject,
#content .activeTab ul.publicationList li.sciPublication,
#content .activeTab ul.departmentList li.sciDepartment {
margin-bottom: 1em;
padding: 1em;
background-color: #efefef;
}
#content ul.memberList .memberName,
#content ul.projectList .projectName,
#content ul.departmentList .departmentName {
display: block;
font-family: Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
font-size: 1.5em;
line-height: 1.3em;
}
#content ul.memberList .contact {
display: block;
padding-left: 2em;
}
#content ul.memberList .contactentryKey {
color: #4e4e4e;
font-weight: bold;
}
#content ul.memberList .contactentryValue {
padding-right: 1em;
}
#content .publicationDetails dl {
}
#content .publicationDetails dt {
float: left;
font-weight: bold;
}
#content .publicationDetails dd {
margin-left: 13em;
}
#content .publicationCollectedVolumeDetails dd {
margin-left: 18.5em;
}
#content .projectList .dateline {
width: 12.3em;
text-align: right;
}
#content .projectList .dateline .date .separator {
display: block;
padding-right: 4em;
line-height: 0.3em;
text-align: right;
}
/*-----Sitemap----------------*/
#content.sitemap {
padding: 1em;
}
#content.sitemap ul {
margin-left: 0em !important;
padding: 2.5em 0em 1em 2.5em;
list-style: disc;
list-style-position: inside;
color: #75051d;
}
#content.sitemap ul ul {
margin: 0.2em 2em !important;
padding: 0em;
}
#content.sitemap ul li {
font-weight: bold;
}
#content.sitemap ul li li {
font-weight: normal;
}
#content.sitemap ul li li li{
font-size: 0.95em;
}
/*--------Suche---------------*/
#content.search .searchForm {
padding: 1em;
}
#content.search form {
background-color: transparent;
}
#content.search form #search{
float: left;
background-color: transparent;
}
#content.search .query {
display: block;
color: #75051d;
font-family: Trebuchet MS,Verdana,Helvetica,Arial,sans-serif;
font-size: 1.5em;
font-weight: normal;
line-height: 1.3em;
text-align: left;
}
#content.search .terms {
display: block;
}
#content.search .terms input{
margin: 0.3em 0em 1.1em 0em;
}
#content.search input[type="submit"] {
margin-top: 2.4em;
background-color: #75051d !important;
}
#content.search ul {
clear: both;
margin-left: 0em !important;
list-style: none;
}
#content.search ul li {
margin-bottom: 1em;
padding: 1em;
background-color: #ffffff;
}
#content.search ul li .score {
margin-bottom: 0.3em;
}
#content.search ul li h3 {
margin-bottom: 0em !important;
}
/* Forms */
#content form {
padding: 1em;
background-color: #efefef;
}
#content form fieldset {
border: none;
margin: 0.5em 0em 1em 0.3em;
border-top: 1px dotted #75051d;
border-bottom: 1px dotted #75051d;
padding: 0.3em 0em;
color: #75051d;
font-weight: bold;
}
#content form label {
clear: left;
float: left;
width: 12em;
margin-bottom: 0.2em;
color: #666666;
font-weight: bold;
}
#content form input,
#content form select {
float: left;
border: 1px dotted #75051d;
padding: 0.2em;
}
#content form select {
padding: 0.1em;
min-width: 11.4em;
}
#content form input[type="submit"] {
margin-left: 1em;
border: none;
padding: 0.2em 3em;
color: #ffffff;
background-color: #75051d;
}
#content form.multiline input[type="submit"] {
clear: both;
margin-left : 12.7em;
}
/*---Profile-----*/
#content.profile .ownerName {
background-color:#c60931;
color:#ffffff;
text-align:center;
}
.contactEntryKey {
font-weight:bold;
color:#8a8988;
display:inline;
float:left;
}
.contactEntryValue {
margin-left:8em;
}
.postalCodeCity {
padding-left:.7em;
}
#content.profile div.address {
float: none;
}
div.address span.postalCodeCity {
display:block;
padding: 0;
margin: 0;
}
div.address {
line-height:1.2em;
}
ul.publicationsAuthorsList {
list-style: none;
padding: 0em;
}
ul.publicationsAuthorsList li {
list-style-image: none !important;
}
#content.profile #sectionList {
text-align:center;
}
.top {
margin-top: 0.2em;
font-size: 0.9em;
text-align:right;
}
/* Table on PPP */
#content.profile table, #content.profile tr {
width: 100%;
border-width: 0 !important;
}
#content.profile td {
width: 20%;
border-width: 0 !important;
vertical-align: top;
padding: 0.2em;
background-color: #ffffff;
}
#content.profile td + td {
width: 80%;
border-width: 0 !important;
}
#content a.completeResetButtonLink {
margin-left: 0.5em;
border: 1px dotted #75051d;
padding: 0.3em 2.4em;
font-weight: normal;
font-size: 0.8em;
}
#content div.filterSubmitResetSection
{
clear:both;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
/*
Copyright: 2011 Sören Bernstein
*/
/* DE Dieses CSS ist speziell für den IE bis Version 6 gedacht. Hier können die verschiedenen
Fehler des IE korrigert werden*/
/* EN This CSS is for the IE version 6 or lower. Here you can correct the bugs of the IE */
#quicksearch #quicksearchbox { padding:0em;
}
#content { }
#menu { }
#menu li { padding:0em;
}
#menu li a { height:100%;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<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">
<xsl:template match="cms:emptyPage[@title='childCategories']">
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="cms:emptyPage[@title='autoCategories']">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" />
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="../../../../../ROOT/__ccm__/apps/navigation/lib/category-panel.xsl"/>
<xsl:import href="../../../../../ROOT/__ccm__/apps/navigation/lib/quick-link-form.xsl"/>
<xsl:import href="../../../../../ROOT/__ccm__/apps/navigation/lib/quick-link-panel.xsl"/>
<xsl:import href="../../../../../ROOT/__ccm__/apps/navigation/lib/quick-link-listing.xsl"/>
</xsl:stylesheet>

View File

@ -0,0 +1,446 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<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"
xmlns:mandalay="http://mandalay.quasiweb.de"
version="1.0">
<xsl:import href="../includes/search.xsl"/>
<!-- DE Zeige das Suchformular für die Admin-Oberfläche an -->
<xsl:template match="search:query">
<style type="text/css" media="screen">
#resultList {display: table; }
#resultList .resultListHeader {display: table-row; background-color: #eee; width: 100%; color: #999; font-weight: bold; }
#resultList .resultListHeader span {display: table-cell; padding-top: 0.1em; padding-bottom: 0.1em;}
#resultList .result {display: table-row; }
#resultList .result span {display: table-cell; padding-bottom: 0.7em; padding-right: 1em; }
#resultList .result.even {background-color: #f6f6f6;}
#search {display: table;}
#search .query {display: table-cell; text-align: right; vertical-align: top; font-weight: bold; padding-right: 1em;}
#search .terms {display: table-cell; padding-bottom: 1.2em;}
#search .filter {display: table-row;}
#search .filterName {display: table-cell; text-align: right; vertical-align: top; font-weight: bold; padding-right: 1em;}
#search .filterParam {display: table-cell; padding-bottom: 1.2em;}
</style>
<div id="search">
<!-- DE Nicht anzeigen, wenn bereits ein Suchergebnis vorliegt -->
<xsl:if test="not(../search:results)">
<xsl:apply-templates select="search:*"/>
</xsl:if>
</div>
</xsl:template>
<!-- DE Zeigt das Ergebnis in der Admin-Oberfläche an -->
<xsl:template match="search:results">
<xsl:apply-templates select="search:paginator" mode="header"/>
<xsl:apply-templates select="search:documents" mode="admin"/>
<xsl:apply-templates select="search:paginator" mode="navbar"/>
</xsl:template>
<xsl:template match="search:documents" mode="admin">
<div id="resultList">
<div class="resultListHeader">
<span style="width: 4em;">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'listheader/score'"/>
</xsl:call-template>
</span>
<span>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'listheader/title'"/>
</xsl:call-template>
</span>
<span>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'listheader/summary'"/>
</xsl:call-template>
</span>
<span style="width: 10em;">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'listheader/addlink'"/>
</xsl:call-template>
</span>
</div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="search:object[@class='jsButton']">
<div>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">result even</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">result odd</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<span style="text-align: center;"><xsl:value-of select="@score"/>%</span>
<span><a href="{@url}"><xsl:value-of select="@title"/></a></span>
<span><em><xsl:value-of select="@summary"/></em></span>
<span>
<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"/>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'resultlist/select'"/>
</xsl:call-template>
</a>
</span>
</div>
</xsl:template>
<xsl:template match="search:object[@class='radioButton']">
<div>
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:attribute name="class">result even</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">result odd</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<span style="text-align: center;"><xsl:value-of select="@score"/>%</span>
<span><input type="radio" name="{@field}" value="{@oid}"/><a href="{@url}"><xsl:value-of select="@title"/></a></span>
<span><em><xsl:value-of select="@summary"/></em></span>
<span>
<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"/>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'resultlist/select'"/>
</xsl:call-template>
</a>
</span>
</div>
</xsl:template>
<xsl:template match="search:partyText">
<xsl:param name="filterName"/>
<div class="filter">
<span class="filterName">
<xsl:value-of select="$filterName"/>
</span>
<span class="filterParam">
<input size="30">
<xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="@value"/></xsl:attribute>
</input>
</span>
</div>
</xsl:template>
<!-- ****** -->
<!-- Filter -->
<!-- ****** -->
<xsl:template match="search:filter[@type='contentType']">
<div class="filter">
<span class="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/types'"/>
</xsl:call-template>
</span>
<span class="filterParam">
<select size="10" name="{@param}" multiple="multiple">
<xsl:for-each select="search:contentType">
<xsl:sort select="@title"/>
<option value="{@name}">
<xsl:if test="@isSelected">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</span>
</div>
</xsl:template>
<xsl:template match="search:filter[@type='objectType']">
<div class="filter">
<span class="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/types'"/>
</xsl:call-template>
</span>
<span class="filterParam">
<select size="10" name="{@param}" multiple="multiple">
<xsl:for-each select="search:objectType">
<xsl:sort select="@name"/>
<option value="{@name}">
<xsl:if test="@isSelected">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@name"/>
</option>
</xsl:for-each>
</select>
</span>
</div>
</xsl:template>
<xsl:template match="search:filter[@type='host']">
<div class="filter">
<span class="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/sites'"/>
</xsl:call-template>
</span>
<span class="filterParam">
<select size="10" name="{@param}" multiple="multiple">
<xsl:for-each select="search:remoteHost">
<option value="{@oid}">
<xsl:if test="@isSelected">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</span>
</div>
</xsl:template>
<xsl:template match="search:filter[@type='category']">
<div class="filter">
<span class="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/categories'"/>
</xsl:call-template>
</span>
<span class="filterParam">
<select size="10" name="{@param}" multiple="multiple">
<xsl:for-each select="search:category">
<xsl:sort select="@title"/>
<option value="{@oid}">
<xsl:if test="@isSelected">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
<br/>
<input type="checkbox" value="true">
<xsl:attribute name="name">
<xsl:value-of select="search:includeSubCats/@name"/>
</xsl:attribute>
<xsl:if test="search:includeSubCats/@value = 'true'">
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:if>
</input>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/searchRecursiv'"/>
</xsl:call-template>
</span>
</div>
</xsl:template>
<xsl:template match="search:filter[@type='creationUser']">
<xsl:apply-templates select="search:partyText">
<xsl:with-param name="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/creationUser'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="search:filter[@type='lastModifiedUser']">
<xsl:apply-templates select="search:partyText">
<xsl:with-param name="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/lastModUser'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="search:filter[@type='launchDate']">
<xsl:call-template name="search:dateRangeFilter">
<xsl:with-param name="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/lauchDate'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template match="search:filter[@type='lastModifiedDate']">
<xsl:call-template name="search:dateRangeFilter">
<xsl:with-param name="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/lastModDate'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template match="search:filter[@type='creationDate']">
<xsl:call-template name="search:dateRangeFilter">
<xsl:with-param name="filterName">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/creationDate'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="search:dateRangeFilter">
<xsl:param name="filterName"/>
<div class="filter">
<span class="filterName">
<xsl:value-of select="$filterName"/>
</span>
<span class="filterParam">
<table>
<tr>
<td></td>
<th>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/dateRange/day'"/>
</xsl:call-template>
</th>
<th>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/dateRange/month'"/>
</xsl:call-template>
</th>
<th>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/dateRange/year'"/>
</xsl:call-template>
</th>
</tr>
<tr>
<th align="right">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/dateRange/from'"/>
</xsl:call-template>
</th>
<td>
<input size="2" type="text" name="{@param}.start.day">
<xsl:if test="search:day/@startDay">
<xsl:attribute name="value">
<xsl:value-of select="@search:day/@startDay"/>
</xsl:attribute>
</xsl:if>
</input>
</td>
<td>
<select name="{@param}.start.month">
<xsl:for-each select="search:month">
<option value="{@value}">
<xsl:if test="@startMonth">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</td>
<td>
<select name="{@param}.start.year">
<xsl:for-each select="search:year">
<option value="{@value}">
<xsl:if test="@startYear">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</td>
</tr>
<tr>
<th align="right">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'search'"/>
<xsl:with-param name="id" select="'searchfilter/dateRange/to'"/>
</xsl:call-template>
</th>
<td>
<input size="2" type="text" name="{@param}.end.day">
<xsl:if test="search:day/@endDay">
<xsl:attribute name="value">
<xsl:value-of select="@search:day/@endDay"/>
</xsl:attribute>
</xsl:if>
</input>
</td>
<td>
<select name="{@param}.end.month">
<xsl:for-each select="search:month">
<option value="{@value}">
<xsl:if test="@endMonth">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</td>
<td>
<select name="{@param}.end.year">
<xsl:for-each select="search:year">
<option value="{@value}">
<xsl:if test="@endYear">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@title"/>
</option>
</xsl:for-each>
</select>
</td>
</tr>
</table>
</span>
</div>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:subsite="http://ccm.redhat.com/london/subsite/1.0"
version="1.0">
<xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/>
<xsl:param name="dispatcher-prefix"/>
<xsl:template match="bebop:form[@class='simpleForm']">
<form>
<xsl:for-each select="@*[not(self::method)]">
<xsl:attribute name="{name()}">
<xsl:value-of select="."/>
</xsl:attribute>
<xsl:attribute name="method">
<xsl:choose>
<xsl:when test="string-length(../@method)=0">post</xsl:when>
<xsl:otherwise><xsl:value-of select="../@method"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:for-each>
<table>
<xsl:for-each select="*[not(name() = 'bebop:pageState') and not(name() = 'bebop:formWidget' and @type = 'hidden')]">
<tr>
<th align="right"><xsl:if test="@metadata.title"><xsl:value-of select="@metadata.title"/>:</xsl:if></th>
<td><xsl:apply-templates select="."/></td>
</tr>
</xsl:for-each>
</table>
<xsl:apply-templates select="bebop:formWidget[@type='hidden']"/>
<xsl:apply-templates select="bebop:pageState"/>
</form>
</xsl:template>
<xsl:template match="subsite:controlCenter">
<h3>Subsite listing</h3>
<xsl:apply-templates select="subsite:siteListing"/>
<xsl:choose>
<xsl:when test="subsite:siteListing/@selected">
<h3>Edit subsite details</h3>
</xsl:when>
<xsl:otherwise>
<h3>Create new subsite</h3>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates select="bebop:form"/>
</xsl:template>
<xsl:template match="subsite:siteListing">
<table>
<xsl:for-each select="object">
<tr>
<td><xsl:value-of select="title"/></td>
<td><a title="View the site" href="http://{hostname}/"><xsl:value-of select="hostname"/></a></td>
<td><a href="?site={id}">[edit]</a></td>
</tr>
<tr>
<td colspan="3" style="font-size: smaller; font-style: italic; text-indent: 2em"><xsl:value-of select="description"/></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:terms="http://xmlns.redhat.com/london/terms/1.0"
version="1.0">
<xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/domain-listing.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/domain-panel.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/domain-form.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/domain-details.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/domain-usage.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-listing.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-panel.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-form.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-details.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-picker.xsl"/>
<xsl:import href="../../../../../../ccm-ldn-terms/__ccm__/apps/terms/lib/term-name-search.xsl"/>
<xsl:param name="contextPath"/>
<xsl:template name="bebop:pageCSS">
<xsl:call-template name="bebop:pageCSSMain"/>
<xsl:call-template name="terms:pageCSSMain"/>
</xsl:template>
<xsl:template name="terms:pageCSSMain">
<link href="{$contextPath}/__ccm__/apps/terms/xsl/index.css" rel="stylesheet" type="text/css"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:theme="http://ccm.redhat.com/london/theme/1.0"
version="1.0">
<xsl:import href="../../../../../ROOT/packages/ui/xsl/ui.xsl"/>
<xsl:template name="bebop:pageCSS">
<xsl:call-template name="bebop:pageCSSMain"/>
</xsl:template>
<xsl:template match="theme:folder|theme:file" name="themeFolder">
<tr>
<td align="left">
<img src="/assets/pix.gif"><xsl:attribute name="width"><xsl:value-of select="@depth"/></xsl:attribute></img>
</td>
<xsl:if test="name()='theme:folder'">
<td colspan="4">
<i><xsl:value-of select="@name"/></i>
</td>
</xsl:if>
<xsl:if test="name()='theme:file'">
<xsl:choose>
<xsl:when test="@isDeleted='true' or @inWhiteList!='true'">
<td><strike><xsl:value-of select="@name"/></strike></td>
<td><strike><xsl:value-of select="@size"/></strike></td>
<td><strike><xsl:value-of select="@lastModified"/></strike></td>
<td>
<xsl:choose>
<xsl:when test="@isDeleted='true'">
<font color="red">(scheduled for removal)</font>
</xsl:when>
<xsl:otherwise>
(ignored)
</xsl:otherwise>
</xsl:choose>
</td>
</xsl:when>
<xsl:otherwise>
<td><xsl:value-of select="@name"/></td>
<td><xsl:value-of select="@size"/></td>
<td><xsl:value-of select="@lastModified"/></td>
<td>
<xsl:if test="@removeURL">
<a>
<xsl:attribute name="href">
<xsl:value-of select="@removeURL"/>
</xsl:attribute>
<xsl:attribute name="onclick">return confirm('Are you sure?')</xsl:attribute>
Remove
</a>
</xsl:if>
</td>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</tr>
<xsl:apply-templates select="theme:file">
<xsl:sort select="./@name" data-type="text" order="ascending"/>
</xsl:apply-templates>
<xsl:apply-templates select="theme:folder">
<xsl:sort select="./@name" data-type="text" order="ascending"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="theme:fileList">
<p/>
<b><xsl:value-of select="bebop:label[@class='heading']"/></b>
<br/>
<table border="0">
<tr>
<th></th>
<th align="left">File Name</th>
<th align="left">Size</th>
<th align="left">Last Modified</th>
</tr>
<xsl:apply-templates select="theme:folder"/>
</table>
</xsl:template>
<xsl:template match="theme:xslWarnings">
<p/>
<b>Warning Messages:</b><br/>
<xsl:apply-templates select="theme:xslErrorInfo"/>
<p/>
</xsl:template>
<xsl:template match="theme:xslErrors">
<p/>
<b>Error Messages:</b><br/>
<xsl:apply-templates select="theme:xslErrorInfo"/>
<p/>
</xsl:template>
<xsl:template match="theme:xslFatals">
<p/>
<b>Fatal Messages:</b><br/>
<xsl:apply-templates select="theme:xslErrorInfo"/>
<p/>
</xsl:template>
<xsl:template match="theme:xslErrorInfo">
<b><xsl:value-of select="position()"/>.</b>
<xsl:choose>
<xsl:when test="@message"><xsl:value-of select="@message"/></xsl:when>
<xsl:otherwise><xsl:value-of select="@location"/></xsl:otherwise>
</xsl:choose>
<blockquote>
<xsl:if test="@message and @location"><b>Location:</b> <xsl:value-of select="@location"/><br/></xsl:if>
<xsl:if test="@column and @line and (@column>-1 or @test>-1)">
<b>Line:</b> <xsl:value-of select="@line"/> <br/>
<b>Column:</b> <xsl:value-of select="@column"/> <br/>
</xsl:if>
<xsl:choose>
<xsl:when test="@causeMessage and not(@causeMessage = @message)">
<b>Message From Original Exception:</b> <xsl:value-of select="@causeMessage"/>
</xsl:when>
</xsl:choose>
</blockquote>
<br/>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet version="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"
exclude-result-prefixes="admin">
<xsl:import href="../../../../../ROOT/packages/acs-admin/xsl/split-panel.xsl"/>
<!-- Importiert eine Menge anderer XSL-Dateien. Ich bin mir nicht sicher, wofür die gebraucht werden. Daher lasse ich sie erstmal weg.
<xsl:import href="../../../../../ROOT/packages/content-section/xsl/cms.xsl"/>
-->
<!-- Anzeige der Bilder bei AddImage -->
<xsl:import href="../../../../../ROOT/packages/content-section/xsl/CaptionedImage.xsl"/>
<!-- this rule matches one user -->
<xsl:template match="admin:userInfo">
<!-- Feature #166221 capitalize form labels -->
<ul>
<li> Name: <xsl:value-of select="@name"/> </li>
<li> Email:
<table>
<xsl:apply-templates select="admin:email" />
</table>
</li>
<li> Screen Name: <xsl:value-of select="@screenName"/> </li>
<li> URL: <a href="{@URI}"><xsl:value-of select="@URI"/> </a> </li>
<li> User ID: <xsl:value-of select="@id"/> </li>
<li> Member State: <xsl:value-of select="@memberState"/>
</li>
</ul>
</xsl:template>
<!-- used to format the list of actions available for one user -->
<xsl:template match="admin:userActions">
<h3>Adminstrative Actions</h3>
<ul>
<li><a href="password-update?user_id={@id}">Update password</a></li>
<li><a href="login?user_id={@id}">Become this user</a></li>
</ul>
</xsl:template>
<!-- used to format the header of the password update page -->
<xsl:template match="bebop:label[@class='UserPasswordHeader']">
For <xsl:value-of select="text()"/>
<hr />
</xsl:template>
<!-- usage note displayed on the password-update page -->
<xsl:template match="admin:PasswordNote">
<h4>Note</h4>
<p>If this user does not currently have an authentication record,
one will be created when you submit this form and the account
will be enabled for login to the system.</p>
</xsl:template>
<!-- used to format primary email for display -->
<xsl:template match="admin:email[@primary='t']">
<tr>
<td>
<a href="mailto:{@address}"><xsl:value-of select="@address"/></a>
</td>
<td>
(primary)
</td>
</tr>
</xsl:template>
<!-- used to format non-primary email for display -->
<xsl:template match="admin:email">
<tr>
<td>
<a href="mailto:{@address}"><xsl:value-of select="@address"/></a>
</td>
<td>
</td>
</tr>
</xsl:template>
<!-- Access Denied Page -->
<xsl:template match="bebop:label[@class='AccessDenied']">
<hr />
<p>You don't have permission to perform the requested action.</p>
<hr />
</xsl:template>
<!-- Display search error message -->
<xsl:template match="bebop:list[@class='SearchResultList'][count(bebop:cell)=0]">
<p><font color="red">Your search returned no results.</font></p>
</xsl:template>
<!-- Display search error message -->
<xsl:template match="bebop:list[@class='SearchResultList'][count(bebop:cell)>0]">
<p>Results matching your query:</p>
<ul>
<xsl:for-each select="bebop:cell">
<li><xsl:apply-templates/></li>
</xsl:for-each>
</ul>
</xsl:template>
<!-- used to format the basic information and actions available for one group -->
<xsl:template match="admin:groupInfo">
<ul>
<li> Group Name: <xsl:value-of select="@name"/> </li>
<li> Primary Email: <xsl:value-of select="@email"/> </li>
</ul>
</xsl:template>
<xsl:template match="bebop:list[@class='UserGroupsResultList'][count(bebop:cell)=0]">
<p><font color="red">None</font></p>
</xsl:template>
<xsl:template match="bebop:link[@class='deleteLink']">
<xsl:text>&#160;</xsl:text>
(<a href="{@href}" onclick="{@onclick}" class="action_link">
<xsl:apply-templates/>
</a>)
</xsl:template>
<!-- ContextBar formatting -->
<xsl:template match="bebop:boxPanel[@class='ContextBar']">
<xsl:apply-imports/>
<hr />
</xsl:template>
<!-- Table with alternate color for each column. -->
<xsl:template match="bebop:table[@class='AlternateTable']"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
<table>
<xsl:for-each select="@*">
<xsl:attribute name="{name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates select="bebop:thead"/>
<xsl:for-each select="bebop:tbody">
<xsl:call-template name="AlternateTableBody"/>
</xsl:for-each>
</table>
</xsl:template>
<xsl:template name="AlternateTableBody"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
<tbody>
<xsl:for-each select="bebop:trow">
<tr>
<xsl:attribute name="bgcolor">
<xsl:choose>
<xsl:when test="position() mod 2">#e1d5b0</xsl:when>
<xsl:otherwise>#ffffff</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:for-each select="bebop:cell">
<td>
<xsl:for-each select="@align|@valign|@colspan|@width">
<xsl:attribute name="{local-name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</tbody>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;'>]>
<!--
Copyright: 2006, 2007, 2008 Sören Bernstein
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:mandalay="http://mandalay.quasiweb.de"
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"
exclude-result-prefixes="xsl bebop nav cms ui aplaws mandalay"
version="1.0">
<xsl:import href="../../../../../ROOT/packages/content-section/xsl/cms.xsl"/>
<xsl:import href="../../../../../ROOT/packages/content-section/xsl/content-center.xsl"/>
<xsl:import href="../../../../../ROOT/__ccm__/assets/notes/index.xsl"/>
<xsl:import href="../fallback/admin.xsl"/>
<xsl:import href="../fallback/admin-navigation.xsl"/>
<xsl:import href="../fallback/admin-search.xsl"/>
<xsl:import href="../fallback/admin-subsite.xsl"/>
<xsl:import href="../fallback/admin-terms.xsl"/>
<xsl:import href="../fallback/admin-themes.xsl"/>
<xsl:import href="../fallback/admin-category-step.xsl"/> <!-- Support for AJAXed load-cat.jsp -->
<xsl:import href="../../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
<xsl:variable name="here"><xsl:value-of select="$static-prefix"/>/cms/admin/page</xsl:variable>
<!-- DE: Einstiegspunkt -->
<xsl:template name="mandalay:fallbackEntryPoint">
<xsl:choose>
<!-- DE Adminoberfläche -->
<xsl:when test="@class='cms-admin'">
<xsl:call-template name="mandalay:fallbackAdminLayout"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="mandalay:fallbackAplawsPage"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- DE: Ab hier folgen die "geliehenen" Templates des Standard-Aplaws-Theme -->
<xsl:template name="mandalay:fallbackAdminLayout">
<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"/>
<xsl:call-template name="mandalay:fallbackHeaderStyleSheets"/>
</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="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: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>
</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:template name="mandalay:fallbackAplawsPage">
<html>
<head>
<title><xsl:value-of select="/bebop:page/bebop:title"/></title>
<meta name="title">
<xsl:attribute name="content">
<xsl:value-of select="/bebop:page/bebop:title"/>
</xsl:attribute>
</meta>
<link rel="stylesheet" href="{$legacy-asset-prefix}/css/acs-master.css" type="text/css" media="screen"/>
<xsl:call-template name="mandalay:fallbackHeaderStyleSheets"/>
</head>
<body style="margin: 0em">
<xsl:call-template name="bebop:dcpJavascript"/>
<div class="bodyHeader">
<xsl:apply-templates select="ui:userBanner"/>
</div>
<div class="bodyBreadcrumb">
<a href="/">APLAWS</a>&gt;<xsl:value-of select="/bebop:page/bebop:title"/>
</div>
<h1><xsl:value-of select="/bebop:page/bebop:title"/></h1>
<div class="bodyContent">
<xsl:apply-templates select="*[not(@metadata.tag)]"/>
</div>
<div class="bodyFooter">
<xsl:apply-templates select="ui:siteBanner"/>
</div>
<div class="bodyDebug">
<xsl:apply-templates select="ui:debugPanel"/>
<xsl:apply-templates select="bebop:structure"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="cat-widget-cat-name">
<xsl:value-of select="@name"/>
<xsl:if test="@pid and @domain='LGSL'">
(<xsl:value-of select="@pid"/>)
</xsl:if>
</xsl:template>
<xsl:template name="mandalay:fallbackHeaderStyleSheets">
<xsl:choose>
<xsl:when test="@application='navigation'">
<link rel="stylesheet" href="/__ccm__/apps/navigation/xsl/admin.css" type="text/css" media="screen"/>
</xsl:when>
<xsl:when test="@application='terms'">
<link rel="stylesheet" href="/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css" type="text/css" media="screen"/>
</xsl:when>
<!--
<xsl:when test="@application=''">
<link rel="stylesheet" href="{$theme-prefix}/css/fallback/terms-index.css" type="text/css" media="screen"/>
</xsl:when>
-->
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 303 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 304 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 320 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 319 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 344 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 372 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 349 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 347 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 347 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 326 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 363 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 358 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

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