Rewritten upgrade procedures, added fa_patch class, utf8 collation can be set before...
[fa-stable.git] / includes / ui / view_package.php
index 9e68d046dbf1ef7800a6015cd42c6c7cfd9cdbe5..6d957720e98dfec2a3bfd7056302330c63566fa1 100644 (file)
@@ -1,4 +1,14 @@
 <?php
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
 $page_security = 'SA_OPEN';
 $path_to_root = "../..";
 include_once($path_to_root . "/includes/session.inc");
@@ -41,7 +51,7 @@ foreach ($pkg as $field => $value) {
        if ($value == '')
                continue;
        start_row();
-       label_cells($field, nl2br(htmlentities(is_array($value) ? implode("\n", $value) :$value)),
+       label_cells($field, nl2br(html_specials_encode(is_array($value) ? implode("\n", $value) :$value)),
                 "class='tableheader2'");
        end_row();
 }