diff options
-rwxr-xr-x | LedgerSMB.pm | 1 | ||||
-rw-r--r-- | UI/frameset.html | 2 | ||||
-rw-r--r-- | scripts/menu.pl | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm index 6f32167d..37652d5b 100755 --- a/LedgerSMB.pm +++ b/LedgerSMB.pm @@ -139,6 +139,7 @@ sub new { bless $self, $type; my $query = ($argstr) ? new CGI($argstr) : new CGI; my $params = $query->Vars; + $self->{VERSION} = $VERSION; $self->merge($params); diff --git a/UI/frameset.html b/UI/frameset.html index 57a10768..4049f5c0 100644 --- a/UI/frameset.html +++ b/UI/frameset.html @@ -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" /> diff --git a/scripts/menu.pl b/scripts/menu.pl index 4e81b331..dec08671 100644 --- a/scripts/menu.pl +++ b/scripts/menu.pl @@ -64,6 +64,10 @@ creates the root document (currently a frameset). 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" |