[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1548] trunk



Revision: 1548
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1548&view=rev
Author:   einhverfr
Date:     2007-09-09 10:32:24 -0700 (Sun, 09 Sep 2007)

Log Message:
-----------
Fixing frameset title

Modified Paths:
--------------
    trunk/LedgerSMB.pm
    trunk/UI/frameset.html
    trunk/scripts/menu.pl

Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm	2007-09-09 06:34:43 UTC (rev 1547)
+++ trunk/LedgerSMB.pm	2007-09-09 17:32:24 UTC (rev 1548)
@@ -139,6 +139,7 @@
     bless $self, $type;
     my $query = ($argstr) ? new CGI($argstr) : new CGI;
     my $params = $query->Vars;
+    $self->{VERSION} = $VERSION;
 
     $self->merge($params);
 

Modified: trunk/UI/frameset.html
===================================================================
--- trunk/UI/frameset.html	2007-09-09 06:34:43 UTC (rev 1547)
+++ trunk/UI/frameset.html	2007-09-09 17:32:24 UTC (rev 1548)
@@ -2,7 +2,7 @@
 		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
 <head>
-	<title></title>
+	<title><?lsmb title ?><title>
 	<meta http-equiv="Pragma" content="no-cache" />
 	<meta http-equiv="Expires" content="-1" />
 	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

Modified: trunk/scripts/menu.pl
===================================================================
--- trunk/scripts/menu.pl	2007-09-09 06:34:43 UTC (rev 1547)
+++ trunk/scripts/menu.pl	2007-09-09 17:32:24 UTC (rev 1548)
@@ -64,6 +64,10 @@
 sub root_doc {
     my ($request) = @_;
     my $template;
+
+    $request->{title} = "LedgerSMB $request->{VERSION} -- ".
+	"$request->{login} -- $request->{_user}->{dbname}";
+
     if (!$request->{menubar}){
         $request->{main} = "splash.html" if $request->{main} eq 'company_logo';
         $request->{main} = "am.pl?action=recurring_transactions"


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