Minor - Avoid notice and change developers warning - refs CT#7769

1.10.x
Yannick Warnier 10 years ago
parent 7464037d5f
commit 8b5fb2ea9f
  1. 6
      main/inc/lib/display.lib.php

@ -2151,14 +2151,14 @@ class Display
$html .= '<div id="' . $id . '" class="actions">';
$html .= '<div class="row">';
if ($col > 4) {
$html = '<div class="alert alert-warning" role="alert">Not exceeding four columns</div>';
$html = '<div class="alert alert-warning" role="alert">Action toolbar design does not work when exceeding four columns - check Display::toolbarAction()</div>';
} else {
for ( $i = 0; $i < $col; $i++ ) {
$html .= '<div class="col-md-' . $columns . '">';
if ( $col == 2 && $i == 1 ) {
if($right === true){
if ($right === true) {
$html .= '<div class="pull-right">';
$html .= $content[$i];
$html .= (isset($content[$i])?$content[$i]:'');
$html .= '</div>';
} else {
$html .= $content[$i];

Loading…
Cancel
Save