Kleinere Korrekturen, Formatierung, Dokumentation.

git-svn-id: https://svn.libreccm.org/ccm/trunk@895 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2011-05-04 22:48:55 +00:00
parent cb5e7b8130
commit 90b0f6e70e
23 changed files with 39 additions and 32 deletions

View File

@ -17,7 +17,7 @@
<xsl:output method="html" indent="yes"/> <xsl:output method="html" indent="yes"/>
<xsl:param name="contextPath"/> <xsl:param name="contextPath"/>
<!-- not used in docrepo xsl. may be a copy&paste error -->
<xsl:variable name="assets-dir">/packages/portalserver/www/assets</xsl:variable> <xsl:variable name="assets-dir">/packages/portalserver/www/assets</xsl:variable>
<xsl:variable name="css-dir">/packages/portalserver/www/css</xsl:variable> <xsl:variable name="css-dir">/packages/portalserver/www/css</xsl:variable>

View File

@ -18,6 +18,13 @@ package com.arsdigita.portalworkspace.ui;
import com.arsdigita.bebop.Image; import com.arsdigita.bebop.Image;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
// ////////////////////////////////////////////////////////////////////
// This class is AWFULL! Images are part of the theme, not of the code.
// Should be removed as soon as possible (pboy)
// ////////////////////////////////////////////////////////////////////
/** /**
* This class contains Images for the various CW icons. These image * This class contains Images for the various CW icons. These image
* instances are all locked, so they may not be directly added to a * instances are all locked, so they may not be directly added to a
@ -44,61 +51,61 @@ public class Icons {
static { static {
logger.debug("Static initalizer starting..."); logger.debug("Static initalizer starting...");
USER_16 = new Image("/packages/workspace/www/assets/User16.gif"); USER_16 = new Image("/themes/heirloom/packages/portal-workspace/images/User16.gif");
USER_16.setBorder("0"); USER_16.setBorder("0");
USER_16.lock(); USER_16.lock();
GROUP_16 = new Image("/packages/workspace/www/assets/Group16.gif"); GROUP_16 = new Image("/themes/heirloom/packages/portal-workspace/images/Group16.gif");
GROUP_16.setBorder("0"); GROUP_16.setBorder("0");
GROUP_16.lock(); GROUP_16.lock();
LEFT_16 = new Image("/packages/workspace/www/assets/left.gif"); LEFT_16 = new Image("/themes/heirloom/packages/portal-workspace/images/left.gif");
LEFT_16.setBorder("0"); LEFT_16.setBorder("0");
LEFT_16.lock(); LEFT_16.lock();
RIGHT_16 = new Image("/packages/workspace/www/assets/right.gif"); RIGHT_16 = new Image("/themes/heirloom/packages/portal-workspace/images/right.gif");
RIGHT_16.setBorder("0"); RIGHT_16.setBorder("0");
RIGHT_16.lock(); RIGHT_16.lock();
UP_16 = new Image("/packages/workspace/www/assets/up.gif"); UP_16 = new Image("/themes/heirloom/packages/portal-workspace/images/up.gif");
UP_16.setBorder("0"); UP_16.setBorder("0");
UP_16.lock(); UP_16.lock();
DOWN_16 = new Image("/packages/workspace/www/assets/down.gif"); DOWN_16 = new Image("/themes/heirloom/packages/portal-workspace/images/down.gif");
DOWN_16.setBorder("0"); DOWN_16.setBorder("0");
DOWN_16.lock(); DOWN_16.lock();
RADIO_EMPTY_16 = RADIO_EMPTY_16 =
new Image("/packages/workspace/www/assets/RadioEmpty16.gif"); new Image("/themes/heirloom/packages/portal-workspace/imagesRadioEmpty16.gif");
RADIO_EMPTY_16.setBorder("0"); RADIO_EMPTY_16.setBorder("0");
RADIO_EMPTY_16.lock(); RADIO_EMPTY_16.lock();
RADIO_FULL_16 = RADIO_FULL_16 =
new Image("/packages/workspace/www/assets/RadioFull16.gif"); new Image("/themes/heirloom/packages/portal-workspace/images/RadioFull16.gif");
RADIO_FULL_16.setBorder("0"); RADIO_FULL_16.setBorder("0");
RADIO_FULL_16.lock(); RADIO_FULL_16.lock();
RADIO_EMPTY_GRAYED_16 = RADIO_EMPTY_GRAYED_16 =
new Image("/packages/workspace/www/assets/RadioEmptyGrayed16.gif"); new Image("/themes/heirloom/packages/portal-workspace/images/RadioEmptyGrayed16.gif");
RADIO_EMPTY_GRAYED_16.setBorder("0"); RADIO_EMPTY_GRAYED_16.setBorder("0");
RADIO_EMPTY_GRAYED_16.lock(); RADIO_EMPTY_GRAYED_16.lock();
RADIO_FULL_GRAYED_16 = RADIO_FULL_GRAYED_16 =
new Image("/packages/workspace/www/assets/RadioFullGrayed16.gif"); new Image("/themes/heirloom/packages/portal-workspace/images/RadioFullGrayed16.gif");
RADIO_FULL_GRAYED_16.setBorder("0"); RADIO_FULL_GRAYED_16.setBorder("0");
RADIO_FULL_GRAYED_16.lock(); RADIO_FULL_GRAYED_16.lock();
CHECK_EMPTY_16 = CHECK_EMPTY_16 =
new Image("/packages/workspace/www/assets/CheckEmpty16.gif"); new Image("/themes/heirloom/packages/portal-workspace/images/CheckEmpty16.gif");
CHECK_EMPTY_16.setBorder("0"); CHECK_EMPTY_16.setBorder("0");
CHECK_EMPTY_16.lock(); CHECK_EMPTY_16.lock();
CHECK_FULL_16 = CHECK_FULL_16 =
new Image("/packages/workspace/www/assets/CheckFull16.gif"); new Image("/themes/heirloom/packages/portal-workspace/images/CheckFull16.gif");
CHECK_FULL_16.setBorder("0"); CHECK_FULL_16.setBorder("0");
CHECK_FULL_16.lock(); CHECK_FULL_16.lock();
TRASH_16 = new Image("/packages/workspace/www/assets/delete.gif"); TRASH_16 = new Image("/themes/heirloom/packages/portal-workspace/images/delete16.gif");
TRASH_16.setBorder("0"); TRASH_16.setBorder("0");
TRASH_16.lock(); TRASH_16.lock();
logger.debug("Static initalizer finished."); logger.debug("Static initalizer finished.");

View File

@ -17,7 +17,7 @@ package com.arsdigita.portalworkspace.ui;
import com.arsdigita.bebop.*; import com.arsdigita.bebop.*;
import com.arsdigita.bebop.event.*; import com.arsdigita.bebop.event.*;
import com.arsdigita.bebop.form.*; // import com.arsdigita.bebop.form.*;
import com.arsdigita.kernel.*; import com.arsdigita.kernel.*;
import com.arsdigita.kernel.permissions.*; import com.arsdigita.kernel.permissions.*;
import com.arsdigita.bebop.list.ListModel; import com.arsdigita.bebop.list.ListModel;

View File

@ -1,10 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:admin="http://www.arsdigita.com/admin-ui/1.0" xmlns:admin="http://www.arsdigita.com/admin-ui/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0" xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0"> xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0">
<!-- rules needed to process the admin components properly. --> <!-- rules needed to process the admin components properly. -->

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0" xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0" xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0"
version="1.0"> version="1.0">
@ -46,7 +46,7 @@
</xsl:variable> </xsl:variable>
<a href="{@url}" title="{$title}"> <a href="{@url}" title="{$title}">
<img src="{@name}.gif" border="0" alt="{$title}"/> <img src="../images/{@name}.gif" border="0" alt="{$title}"/>
</a> </a>
</th> </th>
</xsl:for-each> </xsl:for-each>
@ -151,16 +151,16 @@
<xsl:when test="@isSelected = 'false'"> <xsl:when test="@isSelected = 'false'">
<td class="tab-label"> <td class="tab-label">
<a href="{@moveLeftAction}"> <a href="{@moveLeftAction}">
<img src="moveLeft.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveLeft.gif" border="0" style="margin-left: 5px"/>
</a> </a>
<a href="{@moveRightAction}"> <a href="{@moveRightAction}">
<img src="moveRight.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveRight.gif" border="0" style="margin-left: 5px"/>
</a> </a>
<a href="{@selectAction}"> <a href="{@selectAction}">
<xsl:value-of select="title"/> <xsl:value-of select="title"/>
</a> </a>
<a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')"> <a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')">
<img src="delete.gif" border="0" style="margin-left: 5px"/> <img src="../images/delete.gif" border="0" style="margin-left: 5px"/>
</a> </a>
</td> </td>
<td class="tab-end"/> <td class="tab-end"/>
@ -172,12 +172,12 @@
<tr> <tr>
<td> <td>
<a href="{@moveLeftAction}"> <a href="{@moveLeftAction}">
<img src="moveLeft.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveLeft.gif" border="0" style="margin-left: 5px"/>
</a> </a>
</td> </td>
<td> <td>
<a href="{@moveRightAction}"> <a href="{@moveRightAction}">
<img src="moveRight.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveRight.gif" border="0" style="margin-left: 5px"/>
</a> </a>
</td> </td>
<td> <td>
@ -185,7 +185,7 @@
</td> </td>
<td> <td>
<a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')"> <a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')">
<img src="delete.gif" border="0" style="margin-left: 5px"/> <img src="../images/delete.gif" border="0" style="margin-left: 5px"/>
</a> </a>
</td> </td>
</tr> </tr>
@ -197,14 +197,14 @@
<xsl:otherwise> <xsl:otherwise>
<td class="current-tab-label"> <td class="current-tab-label">
<a href="{@moveLeftAction}"> <a href="{@moveLeftAction}">
<img src="moveLeft.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveLeft.gif" border="0" style="margin-left: 5px"/>
</a> </a>
<a href="{@moveRightAction}"> <a href="{@moveRightAction}">
<img src="moveRight.gif" border="0" style="margin-left: 5px"/> <img src="../images/moveRight.gif" border="0" style="margin-left: 5px"/>
</a> </a>
<xsl:value-of select="title"/> <xsl:value-of select="title"/>
<a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')"> <a href="{@deleteAction}" onclick="return confirm('Are you sure you want to delete this pane')">
<img src="delete.gif" border="0" style="margin-left: 5px"/> <img src="../images/delete.gif" border="0" style="margin-left: 5px"/>
</a> </a>
</td> </td>
<td class="current-tab-end"/> <td class="current-tab-end"/>