minor changes:

- remove some messages
- changes some images
This commit is contained in:
Carlos Ruiz 2007-04-28 06:15:12 +00:00
parent cdf76fb974
commit 9e22b109b1
10 changed files with 2 additions and 14 deletions

View File

@ -49,8 +49,7 @@ public class WebEnv
private static final String DIR_IMAGE = "images"; // /adempiere/images private static final String DIR_IMAGE = "images"; // /adempiere/images
/** Stylesheet Name */ /** Stylesheet Name */
private static final String STYLE_STD = "standard.css"; // /adempiere/standard.css private static final String STYLE_STD = "standard.css"; // /adempiere/standard.css
/** Small Logo. /** Small Logo. */
/** Removing/modifying the adempiere logo is a violation of the license */
private static final String LOGO = "LogoSmall.gif"; // /adempiere/LogoSmall.gif private static final String LOGO = "LogoSmall.gif"; // /adempiere/LogoSmall.gif
/** Store Sub-Directory under BASE */ /** Store Sub-Directory under BASE */
private static final String DIR_STORE = "store"; // /adempiere/store private static final String DIR_STORE = "store"; // /adempiere/store
@ -217,7 +216,6 @@ public class WebEnv
/** /**
* Get Logo Path. * Get Logo Path.
* Removing/modifying the adempiere logo is a violation of the license
* <p> * <p>
* /adempiere/LogoSmall.gif * /adempiere/LogoSmall.gif
* @return url to logo * @return url to logo
@ -229,15 +227,11 @@ public class WebEnv
/** /**
* Get Logo Image HTML tag. * Get Logo Image HTML tag.
* Removing/modifying the adempiere logo or copyright notice is a violation of the license
* @return Image * @return Image
*/ */
public static img getLogo() public static img getLogo()
{ {
/** Removing/modifying the adempiere logo is a violation of the license */
return new img(getLogoURL()).setAlign(AlignType.RIGHT) return new img(getLogoURL()).setAlign(AlignType.RIGHT)
// Changing the copyright notice in any way violates the license
// and you'll be held liable for any damage claims
.setAlt("&copy; Jorg Janke/adempiere"); .setAlt("&copy; Jorg Janke/adempiere");
} // getLogo } // getLogo

View File

@ -148,7 +148,6 @@ public final class ALogin extends CDialog
titleLabel.setRequestFocusEnabled(false); titleLabel.setRequestFocusEnabled(false);
titleLabel.setToolTipText(Adempiere.getURL()); titleLabel.setToolTipText(Adempiere.getURL());
titleLabel.setHorizontalTextPosition(SwingConstants.CENTER); titleLabel.setHorizontalTextPosition(SwingConstants.CENTER);
/** Removing/modifying the Adempiere logo is a violation of the license */
titleLabel.setIcon(Adempiere.getImageIconLogo()); titleLabel.setIcon(Adempiere.getImageIconLogo());
titleLabel.setText(Adempiere.getSubtitle()); titleLabel.setText(Adempiere.getSubtitle());
titleLabel.setVerticalTextPosition(SwingConstants.BOTTOM); titleLabel.setVerticalTextPosition(SwingConstants.BOTTOM);

View File

@ -48,7 +48,6 @@ public final class AboutBox extends CDialog implements ActionListener
} }
// //
labelVersion.setText(Adempiere.MAIN_VERSION + " @ " + Adempiere.DATE_VERSION); labelVersion.setText(Adempiere.MAIN_VERSION + " @ " + Adempiere.DATE_VERSION);
/** Removing/modifying the Adempiere copyright notice is a violation of the license */
labelCopyright.setText(Adempiere.COPYRIGHT); labelCopyright.setText(Adempiere.COPYRIGHT);
infoArea.setText(CLogMgt.getInfo(null).toString()); infoArea.setText(CLogMgt.getInfo(null).toString());
// create 5 pt border // create 5 pt border
@ -103,7 +102,6 @@ public final class AboutBox extends CDialog implements ActionListener
imageControl.setAlignmentX((float) 0.5); imageControl.setAlignmentX((float) 0.5);
imageControl.setHorizontalAlignment(SwingConstants.CENTER); imageControl.setHorizontalAlignment(SwingConstants.CENTER);
imageControl.setHorizontalTextPosition(SwingConstants.CENTER); imageControl.setHorizontalTextPosition(SwingConstants.CENTER);
/** Removing/modifying the Adempiere copyright notice is a violation of the license */
imageControl.setIcon(Adempiere.getImageIconLogo()); imageControl.setIcon(Adempiere.getImageIconLogo());
imageControl.setText(Adempiere.getSubtitle()); imageControl.setText(Adempiere.getSubtitle());
imageControl.setVerticalTextPosition(SwingConstants.BOTTOM); imageControl.setVerticalTextPosition(SwingConstants.BOTTOM);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 517 B

View File

@ -186,7 +186,6 @@ public class Splash extends Frame
*/ */
public CImage () public CImage ()
{ {
/** Removing/modifying the Adempiere logo is a violation of the license */
m_image = Adempiere.getImageLogo(); m_image = Adempiere.getImageLogo();
tracker.addImage(m_image, 0); tracker.addImage(m_image, 0);
} }

View File

@ -811,7 +811,6 @@ public class LayoutEngine implements Pageable, Printable, Doc
*/ */
private void createStandardHeaderFooter() private void createStandardHeaderFooter()
{ {
/** Removing/modifying the Adempiere logo/trademark/copyright is a violation of the license */
PrintElement element = new ImageElement(org.compiere.Adempiere.getImageLogoSmall(true)); // 48x15 PrintElement element = new ImageElement(org.compiere.Adempiere.getImageLogoSmall(true)); // 48x15
// element = new ImageElement(org.compiere.Adempiere.getImageLogo()); // 100x30 // element = new ImageElement(org.compiere.Adempiere.getImageLogo()); // 100x30
element.layout(48, 15, false, MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft); element.layout(48, 15, false, MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft);
@ -837,9 +836,8 @@ public class LayoutEngine implements Pageable, Printable, Doc
font = tf.getPageFooter_Font(); font = tf.getPageFooter_Font();
color = tf.getPageFooterFG_Color(); color = tf.getPageFooterFG_Color();
// //
/** Removing/modifying the Adempiere logo/trademark/copyright is a violation of the license */
element = new StringElement(Adempiere.ADEMPIERE_R, font, color, null, true); element = new StringElement(Adempiere.ADEMPIERE_R, font, color, null, true);
/** If you have a valid Adempiere support contract, you can use the following */ /** You can use the following to customize reports for your product name */
// element = new StringElement(Adempiere.NAME, font, color, null, true); // element = new StringElement(Adempiere.NAME, font, color, null, true);
element.layout (m_footer.width, 0, true, MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft); element.layout (m_footer.width, 0, true, MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft);
Point ft = m_footer.getLocation(); Point ft = m_footer.getLocation();