svn commit: samba r8353 - in branches/SAMBA_4_0/swat: images scripting

2005-07-12 Thread tpot
Author: tpot
Date: 2005-07-12 06:31:17 + (Tue, 12 Jul 2005)
New Revision: 8353

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8353

Log:
Use a PNG instead of a GIF for padding.  Also fixes a file not found
error as only PNG files were being installed by 'make installswat'.

Added:
   branches/SAMBA_4_0/swat/images/linkpad.png
Removed:
   branches/SAMBA_4_0/swat/images/linkpad.gif
Modified:
   branches/SAMBA_4_0/swat/scripting/common.js
   branches/SAMBA_4_0/swat/scripting/header_columns.esp
   branches/SAMBA_4_0/swat/scripting/header_plain.esp


Changeset:
Deleted: branches/SAMBA_4_0/swat/images/linkpad.gif
===
(Binary files differ)

Added: branches/SAMBA_4_0/swat/images/linkpad.png
===
(Binary files differ)


Property changes on: branches/SAMBA_4_0/swat/images/linkpad.png
___
Name: svn:mime-type
   + application/octet-stream

Modified: branches/SAMBA_4_0/swat/scripting/common.js
===
--- branches/SAMBA_4_0/swat/scripting/common.js 2005-07-12 06:17:40 UTC (rev 
8352)
+++ branches/SAMBA_4_0/swat/scripting/common.js 2005-07-12 06:31:17 UTC (rev 
8353)
@@ -55,9 +55,8 @@
 */
 function always_allowed(uri) {
var allowed = new Array(/images/favicon.ico, 
-   /images/linkpad.gif,
+   /images/linkpad.png,
/images/logo.png,
-   /images/logo.gif,
/style/main.css,
/style/common.css);
for (i in allowed) {

Modified: branches/SAMBA_4_0/swat/scripting/header_columns.esp
===
--- branches/SAMBA_4_0/swat/scripting/header_columns.esp2005-07-12 
06:17:40 UTC (rev 8352)
+++ branches/SAMBA_4_0/swat/scripting/header_columns.esp2005-07-12 
06:31:17 UTC (rev 8353)
@@ -49,7 +49,7 @@
 /div
 
 div id=logo
-  div class=logo_hacka href=/@@global.SESSIONURIimg 
src=/images/linkpad.gif alt=SWAT //a/div
+  div class=logo_hacka href=/@@global.SESSIONURIimg 
src=/images/linkpad.png alt=SWAT //a/div
 /div
 
 div class=slogan

Modified: branches/SAMBA_4_0/swat/scripting/header_plain.esp
===
--- branches/SAMBA_4_0/swat/scripting/header_plain.esp  2005-07-12 06:17:40 UTC 
(rev 8352)
+++ branches/SAMBA_4_0/swat/scripting/header_plain.esp  2005-07-12 06:31:17 UTC 
(rev 8353)
@@ -40,7 +40,7 @@
 /div
 
 div id=logo
-  div class=logo_hacka href=/img src=/images/linkpad.gif alt=SWAT 
//a/div
+  div class=logo_hacka href=/img src=/images/linkpad.png alt=SWAT 
//a/div
 /div
 
 div class=slogan



Re: svn commit: samba r8353 - in branches/SAMBA_4_0/swat: images scripting

2005-07-12 Thread Deryck Hodge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Author: tpot
 Date: 2005-07-12 06:31:17 + (Tue, 12 Jul 2005)
 New Revision: 8353
 
 WebSVN: 
 http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=8353
 
 Log:
 Use a PNG instead of a GIF for padding.  Also fixes a file not found
 error as only PNG files were being installed by 'make installswat'.
 
 Added:
branches/SAMBA_4_0/swat/images/linkpad.png
 Removed:
branches/SAMBA_4_0/swat/images/linkpad.gif

Hey, tpot.

The use of linkpad as a gif was a workaround to enable the PNG logo in
IE.  IE doesn't handle full-alpha transparency for PNGs, so I dropped the
logo in via a CSS background rule and used IE's AlphaImageLoader to handle
the transparency.  The linkpad image was just a blank GIF to make the logo
a link.  Background images in CSS can't be linked otherwise.  If linkpad is
a PNG, it won't be transparent in IE.

Cheers,
deryck
- --
Deryck Hodgehttp://www.devurandom.org/
Samba Team  http://www.samba.org/
...it is not the spoon that bends, it is only yourself. --from The Matrix
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC09t84glRK0DaE8gRAgLCAKCCKVI6wa3E4g3Met9AvYPCAI5OVgCgkSEw
5S3R3dMBqZG/dicA2xOy4yY=
=W4b/
-END PGP SIGNATURE-