Browse Source

content element CEimage changed default alignment to be left

master
Dominik Schmidt-Philipp 4 days ago
parent
commit
a204f1a976
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      app/modules/ceimage.php

+ 7
- 3
app/modules/ceimage.php View File

} }


// image positioning // image positioning
if( in_array($request[2],array('left','right','full','auto'))) {
$class = $request[2];
if (count($request) >= 3) {
if( in_array($request[2],array('left','right','full','auto'))) {
$class = $request[2];
} else {
$class = 'left';
}
} else { } else {
$class = 'full';
$class = 'left';
} }
if (isset($request[3])) { if (isset($request[3])) {
$width=self::is_width($request[3]) ? $request[3] : null; $width=self::is_width($request[3]) ? $request[3] : null;

Loading…
Cancel
Save