diff options
| author | Mark Wells <mark@freeside.biz> | 2012-04-14 15:36:20 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-04-14 15:36:20 -0700 |
| commit | 5371ad9dd6bf63e29ffc85c8381f1ea2630b1749 (patch) | |
| tree | 0109d86cf93a84697fe84fc29927a9f058cf3d93 /httemplate/docs/about.html | |
| parent | 5abe1300f16cf01a6311203deee29373162491c7 (diff) | |
| parent | 401ba3ab0637de1bc460370949b75dca092375d8 (diff) | |
merge master
Diffstat (limited to 'httemplate/docs/about.html')
| -rw-r--r-- | httemplate/docs/about.html | 50 |
1 files changed, 43 insertions, 7 deletions
diff --git a/httemplate/docs/about.html b/httemplate/docs/about.html index f0994e506..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') %> <CENTER> -<IMG SRC="<%$fsurl%>images/small-logo.png" BORDER="0"><BR> -<H3>version <% $FS::VERSION %></H3> +% if ( $agentnum ) { + + <IMG SRC="<%$fsurl%>view/logo-agent.cgi?agentnum=<%$agentnum%>" BORDER="0"><BR> + +% my $url = $conf->config('company_url', $agentnum); +% if ( $url ) { + <BR><BR> + <A HREF="<% $conf->config('company_url', $agentnum) %>" TARGET="_blank"><%$title%> homepage</A> +% } + +% } else { + + <IMG SRC="<%$fsurl%>images/small-logo.png" BORDER="0"><BR> + <H3>version <% $FS::VERSION %></H3> + +% } </CENTER> <CENTER> -<FONT SIZE="-1">© 2011 Freeside Internet Services, Inc.<BR> +% if ( $agentnum ) { + <BR><BR> + <FONT SIZE="-2">Based on Freeside version <% $FS::VERSION %><BR> +% } else { + <FONT SIZE="-1"> +% } +© 2012 Freeside Internet Services, Inc.<BR> All rights reserved.<BR> Licensed under the terms of the<BR> GNU <b>Affero</b> General Public License.<BR> @@ -17,6 +37,9 @@ GNU <b>Affero</b> General Public License.<BR> <BR> <CENTER> +% if ( $agentnum ) { + <FONT SIZE="-2"> +% } <A HREF="credits.html">Credits</A> <A HREF="javascript:void(0)" onClick="openLicense()">License</A> @@ -24,13 +47,18 @@ GNU <b>Affero</b> General Public License.<BR> <BR><BR> <A HREF="http://www.freeside.biz/freeside" TARGET="_blank">Freeside homepage</A> +% if ( $agentnum ) { + </FONT> +% } </CENTER> <BR> -<CENTER> -<FONT SIZE="-3">"The sky was yellow and the sun was blue" -R. Hunter</FONT> -</CENTER> +% unless ( $agentnum ) { + <CENTER> + <FONT SIZE="-3">"A selfish heart is trouble, but a foolish heart is worse" -R. Hunter</FONT> + </CENTER> +% } <SCRIPT TYPE="text/javascript"> @@ -51,3 +79,11 @@ function openLicense() { </BODY> </HTML> +<%init> + +my $conf = new FS::Conf; +my $agentnum = $conf->config('brand-agent'); + +my $title = $agentnum ? $conf->config('company_name', $agentnum) : 'Freeside'; + +</%init> |
