From f3c5f4c57362a893868976054c00dd7d9f37e721 Mon Sep 17 00:00:00 2001 From: Steve Beaver Date: Wed, 27 Sep 2017 16:06:00 -0400 Subject: Add copyright notice to dashboard page (but only once per upgrade) --- src/usr/local/www/copynotice.inc | 78 ++++++++++++++++++++++++++++++++++++++++ src/usr/local/www/index.php | 45 +++++++++++++---------- 2 files changed, 105 insertions(+), 18 deletions(-) create mode 100644 src/usr/local/www/copynotice.inc (limited to 'src/usr/local/www') diff --git a/src/usr/local/www/copynotice.inc b/src/usr/local/www/copynotice.inc new file mode 100644 index 0000000..1c26625 --- /dev/null +++ b/src/usr/local/www/copynotice.inc @@ -0,0 +1,78 @@ +. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +##|+PRIV +##|*IDENT=page-system-copyright +##|*NAME=System: Copyright notice +##|*DESCR=Copyright and usage notice. +##|*MATCH=copynitice.inc* +##|-PRIV + +$logincssfile = "#1e3f75"; + +if (isset($user_settings['webgui']['logincss']) && strlen($user_settings['webgui']['logincss']) == 6) { + $logincssfile = "#" . $user_settings['webgui']['logincss']; +} + +?> + + + + + + + - - - <?=$g['product_name']?>.localdomain - <?=$g['product_name']?> first time setup - - - -
-
-
- -

-

-

-

-
+ + + <?=$g['product_name']?>.localdomain - <?=$g['product_name']?> first time setup + + + +
+
+
+ +

+

+

+

+
+
-
- + $widgetconfig) {
+ +