Removing notices

skala
Julio Montoya 15 years ago
parent b057400e7f
commit fde96bf76e
  1. 6
      main/inc/lib/banner.lib.php
  2. 6
      main/inc/lib/group_portal_manager.lib.php
  3. 1
      main/inc/lib/sortabletable.class.php

@ -360,9 +360,9 @@ function show_header_3() {
$homep = api_get_path(SYS_PATH).'home/';
}
$ext = '.html';
$ext = '.html';
$menutabs = 'home_tabs';
$home_top = '';
if (is_file($homep.$menutabs.'_'.$lang.$ext) && is_readable($homep.$menutabs.'_'.$lang.$ext)) {
$home_top = @(string)file_get_contents($homep.$menutabs.'_'.$lang.$ext);
} elseif (is_file($homep.$menutabs.$lang.$ext) && is_readable($homep.$menutabs.$lang.$ext)) {
@ -376,6 +376,8 @@ function show_header_3() {
//if (api_get_self() != '/main/admin/configure_homepage.php') {
$open = str_replace('{rel_path}',api_get_path(REL_PATH), $home_top);
$open = api_to_system_encoding($open, api_detect_encoding(strip_tags($open)));
$lis = '';
if (!empty($open)) {
$lis .= Display::tag('li', $open);
$show_bar = true;

@ -311,9 +311,9 @@ class GroupPortalManager
}
$limit_text = '';
if ($empty != '' && $limit != '') {
$from = intval($from);
$limit = intval($limit);
if (isset($from) && isset($limit)) {
$from = intval($from);
$limit = intval($limit);
$limit_text = "LIMIT $from, $limit";
}

@ -490,6 +490,7 @@ class SortableTable extends HTML_Table {
$filter = $visibility_options !== false;
}
$item_css_class = $item_css_style = $grid_css_class = $grid_css_style = '';
if (!empty($grid_class)) {
$grid_css_class = $grid_class['main']['class'];
$item_css_class = $grid_class['item']['class'];

Loading…
Cancel
Save