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: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="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 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
* instances are all locked, so they may not be directly added to a
@ -44,61 +51,61 @@ public class Icons {
static {
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.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.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.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.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.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.lock();
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.lock();
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.lock();
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.lock();
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.lock();
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.lock();
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.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.lock();
logger.debug("Static initalizer finished.");

View File

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

View File

@ -46,7 +46,7 @@
</xsl:variable>
<a href="{@url}" title="{$title}">
<img src="{@name}.gif" border="0" alt="{$title}"/>
<img src="../images/{@name}.gif" border="0" alt="{$title}"/>
</a>
</th>
</xsl:for-each>
@ -151,16 +151,16 @@
<xsl:when test="@isSelected = 'false'">
<td class="tab-label">
<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 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 href="{@selectAction}">
<xsl:value-of select="title"/>
</a>
<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>
</td>
<td class="tab-end"/>
@ -172,12 +172,12 @@
<tr>
<td>
<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>
</td>
<td>
<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>
</td>
<td>
@ -185,7 +185,7 @@
</td>
<td>
<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>
</td>
</tr>
@ -197,14 +197,14 @@
<xsl:otherwise>
<td class="current-tab-label">
<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 href="{@moveRightAction}">
<img src="moveRight.gif" border="0" style="margin-left: 5px"/>
<img src="../images/moveRight.gif" border="0" style="margin-left: 5px"/>
</a>
<xsl:value-of select="title"/>
<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>
</td>
<td class="current-tab-end"/>