From 6cebc2154e81a0c60a8892fdac88fca5be74f75b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 4 Apr 2012 16:48:01 -0700 Subject: add brand-agent option, RT#17055 --- httemplate/docs/about.html | 50 +++++++++++++++++++++++++++++++++++++------- httemplate/docs/credits.html | 7 +++++-- 2 files changed, 48 insertions(+), 9 deletions(-) (limited to 'httemplate/docs') diff --git a/httemplate/docs/about.html b/httemplate/docs/about.html index 76a477c05..e3bb28298 100644 --- a/httemplate/docs/about.html +++ b/httemplate/docs/about.html @@ -1,14 +1,34 @@ -<% include('/elements/header-popup.html', { title=>'Freeside', nobr=>1 } ) %> +<% include('/elements/header-popup.html', { title=>$title, nobr=>1 } ) %> <% include('/elements/init_overlib.html') %>
-
-

version <% $FS::VERSION %>

+% if ( $agentnum ) { + +
+ +% my $url = $conf->config('company_url', $agentnum); +% if ( $url ) { +

+ <%$title%> homepage +% } + +% } else { + +
+

version <% $FS::VERSION %>

+ +% }
-© 2012 Freeside Internet Services, Inc.
+% if ( $agentnum ) { +

+ Based on Freeside version <% $FS::VERSION %>
+% } else { + +% } +© 2012 Freeside Internet Services, Inc.
All rights reserved.
Licensed under the terms of the
GNU Affero General Public License.
@@ -17,6 +37,9 @@ GNU Affero General Public License.

+% if ( $agentnum ) { + +% } Credits      License @@ -24,13 +47,18 @@ GNU Affero General Public License.


Freeside homepage +% if ( $agentnum ) { +
+% }

-
-"A selfish heart is trouble, but a foolish heart is worse" -R. Hunter -
+% unless ( $agentnum ) { +
+ "A selfish heart is trouble, but a foolish heart is worse" -R. Hunter +
+% }