Layout-Einstellungen
Anzahl Spalten:
Anzahl Blöcke:
Block-Mindestbreite in px:
Horiz. Abstand in px:
Vert. Abstand in px:
get($cms_template_base_id . "layout_flex_columns")); $columns = stre($columns) ? 3 : min(max((int)$columns, 1), 100); $blocks = l($cms_template_document->get($cms_template_base_id . "layout_flex_blocks")); $blocks = stre($blocks) ? 3 : max((int)$blocks, 0); $minwidth = l($cms_template_document->get($cms_template_base_id . "layout_flex_minwidth")); $minwidth = stre($minwidth) ? 100 : max((int)$minwidth, 0); $hspacing = l($cms_template_document->get($cms_template_base_id . "layout_flex_hspacing")); $hspacing = stre($hspacing) ? 25 : max((int)$hspacing, 0); $_minwidth = $minwidth + $hspacing; $vspacing = l($cms_template_document->get($cms_template_base_id . "layout_flex_vspacing")); $vspacing = stre($vspacing) ? 20 : max((int)$vspacing, 0); $i = 3; ?>
", $columns)?>
get($index)); $width = stre($width) ? $columns : (int)$width; $width = 100 / $columns * min(max($width, 1), $columns); ?>