Revision: 8063
          http://sourceforge.net/p/ipcop/svn/8063
Author:   owes
Date:     2016-01-10 09:17:41 +0000 (Sun, 10 Jan 2016)
Log Message:
-----------
Add width/height to images. Quick hack to easily show SVN revisions.

Modified Paths:
--------------
    ipcop/trunk/src/libs/header.pl

Modified: ipcop/trunk/src/libs/header.pl
===================================================================
--- ipcop/trunk/src/libs/header.pl      2016-01-10 09:16:29 UTC (rev 8062)
+++ ipcop/trunk/src/libs/header.pl      2016-01-10 09:17:41 UTC (rev 8063)
@@ -324,13 +324,13 @@
 <!-- IPCOP HEADER -->
 <table width='100%' border='0' cellpadding='0' cellspacing='0'>
 <col width='719' /><col /><col width='32' />
-<tr><td align='center' colspan='3'><img src='/images/header_top.png' alt='' 
/></td></tr>
+<tr><td align='center' colspan='3'><img src='/images/header_top.png' 
width='310' height='14' alt='' /></td></tr>
 <tr><td style='background: url(/images/header_left.png); 
background-repeat:no-repeat;'>
     <table width='100%' border='0' cellpadding='0' cellspacing='0' 
style='table-layout:fixed;'>
     <col width='75' /><col width='182' /><col />
     <tr valign='bottom'><td></td>
         <td class='ipcop_menuLocationMain' colspan='2' height='25'><img 
src='/images/null.gif' width='8' height='1' alt='' />$location
-        <img src='/images/null.gif' width='16' alt='' /><img 
src='/images/header_arrow.gif' width='20' height='12' alt='' /><img 
src='/images/null.gif' width='24' height='1' alt='' /><font style='font-size: 
12px;'>$sublocation</font></td>
+        <img src='/images/null.gif' width='16' height='1' alt='' /><img 
src='/images/header_arrow.gif' width='20' height='12' alt='' /><img 
src='/images/null.gif' width='24' height='1' alt='' /><font style='font-size: 
12px;'>$sublocation</font></td>
     </tr>
     <tr valign='bottom'><td colspan='3' height='3'></td></tr>
     <tr valign='bottom'><td height='27'></td>
@@ -362,7 +362,9 @@
 sub closepage
 {
     my $connected = shift;
-    my $status = "<small>IPCop v${General::version} &copy; 2001-2016 The IPCop 
Team</small>";
+    my $extraversion = '';
+    $extraversion = '| ' . `cat /etc/svn-install` . ' ' if (! -e 
'/var/log/updates/update.check');
+    my $status = "<small>IPCop v${General::version} $extraversion &copy; 
2001-2016 The IPCop Team</small>";
 
     $status = &General::connectionstatus() . "<br />" . `/bin/date "+%Y-%m-%d 
%H:%M:%S"`. "<br /><br />$status" if ($connected ne 'skip_connected');
 
@@ -461,7 +463,7 @@
     print <<END
             </td></tr></table>
         </td>
-        <td style='background: 
url(/images/${Header::boxframe}boxright.png);'><img src='/images/null.gif' 
width='12' alt='' /></td>
+        <td style='background: 
url(/images/${Header::boxframe}boxright.png);'><img src='/images/null.gif' 
width='18' height='1' alt='' /></td>
     </tr><tr>
         <td style='background: 
url(/images/${Header::boxframe}boxbottom1.png);background-repeat:no-repeat;'><img
 src='/images/null.gif' width='18' height='18' alt='' /></td>
         <td style='background: 
url(/images/${Header::boxframe}boxbottom2.png);background-repeat:repeat-x;' 
colspan='3'><img src='/images/null.gif' width='1' height='18' alt='' /></td>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to