fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16969] api: formatting upgrade message


From: sigurdne
Subject: [Fmsystem-commits] [16969] api: formatting upgrade message
Date: Fri, 11 Aug 2017 05:08:54 -0400 (EDT)

Revision: 16969
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16969
Author:   sigurdne
Date:     2017-08-11 05:08:54 -0400 (Fri, 11 Aug 2017)
Log Message:
-----------
api: formatting upgrade message

Modified Paths:
--------------
    trunk/admin/inc/hook_after_navbar.inc.php

Modified: trunk/admin/inc/hook_after_navbar.inc.php
===================================================================
--- trunk/admin/inc/hook_after_navbar.inc.php   2017-08-11 07:56:11 UTC (rev 
16968)
+++ trunk/admin/inc/hook_after_navbar.inc.php   2017-08-11 09:08:54 UTC (rev 
16969)
@@ -58,7 +58,7 @@
                                                $_current[$app_name] = True;
                                                if($app_name == 'phpgwapi')
                                                {
-                                                       $api_str = lang('The 
API is current') . '::OK';
+                                                       $api_str = '<li>' . 
lang('The API is current') . ': OK</li>';
                                                }
                                        }
                                        else
@@ -65,7 +65,7 @@
                                        {
                                                if($app_name == 'phpgwapi')
                                                {
-                                                       $api_str = lang('The 
API requires an upgrade');
+                                                       $api_str = '<li>' . 
lang('The API requires an upgrade') . '</li>';
                                                        $require_upgrade = true;
                                                }
                                        }
@@ -78,8 +78,8 @@
                        }
                        
if(!isset($_current[$GLOBALS['phpgw_info']['flags']['currentapp']]))
                        {
-                               $app_str  = '<br>' . lang('This application 
requires an upgrade') . ": {$GLOBALS['phpgw_info']['flags']['currentapp']}\n";
-                               $app_str .= '<br>' . lang('Please run setup to 
become current') . '.' . "\n";
+                               $app_str  = '<li>' . lang('This application 
requires an upgrade') . ": 
{$GLOBALS['phpgw_info']['flags']['currentapp']}</li>";
+//                             $app_str .= '<br>' . lang('Please run setup to 
become current') . '.' . "\n";
                                $require_upgrade = true;
                        }
                        else
@@ -89,10 +89,10 @@
                
                        if($require_upgrade)
                        {
-                               echo '<div class="error">';
+                               echo '<div class="error"><ul>';
                                echo $api_str;
                                echo $app_str;
-                               echo '</div>';
+                               echo '</ul></div>';
                        }
                }
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]