Improved the style features in he advanced tap area of the module
This commit is contained in:
parent
18f50efa61
commit
d34279eecb
@ -17,6 +17,7 @@ MOD_PERGROUP_NOT_IN_GROUP="Not In Group"
|
||||
MOD_PERGROUP_EXECUTION_DIRECTION="Execution Direction"
|
||||
MOD_PERGROUP_UP="Up"
|
||||
MOD_PERGROUP_DOWN="Down"
|
||||
MOD_PERGROUP_NONE="None"
|
||||
MOD_PERGROUP_BREAK="New Line"
|
||||
MOD_PERGROUP_CLASS="Class [<div class="separator">]"
|
||||
MOD_PERGROUP_BOOTSTRAP="Bootstrap"
|
||||
|
@ -306,10 +306,11 @@
|
||||
<option value="0">MOD_PERGROUP_DOWN</option>
|
||||
</field>
|
||||
<field name="separator" type="radio" default="0" label="MOD_PERGROUP_SEPERATOR" description="">
|
||||
<option value="0">MOD_PERGROUP_BREAK</option>
|
||||
<option value="1">MOD_PERGROUP_CLASS</option>
|
||||
<option value="2">MOD_PERGROUP_BOOTSTRAP</option>
|
||||
<option value="3">MOD_PERGROUP_DIV</option>
|
||||
<option value="0">MOD_PERGROUP_NONE</option>
|
||||
<option value="1">MOD_PERGROUP_BREAK</option>
|
||||
<option value="2">MOD_PERGROUP_CLASS</option>
|
||||
<option value="3">MOD_PERGROUP_BOOTSTRAP</option>
|
||||
<option value="4">MOD_PERGROUP_DIV</option>
|
||||
</field>
|
||||
<field
|
||||
name="layout"
|
||||
|
@ -15,17 +15,33 @@ $separator_value = $params->get('separator');
|
||||
?>
|
||||
|
||||
<?php if(is_array($module->results)): ?>
|
||||
<div>
|
||||
<?php $i = 0; ?>
|
||||
<?php foreach($module->results as $group_id => &$group): ?>
|
||||
<?php if(is_array($group)): ?>
|
||||
<?php foreach($group as $text): ?>
|
||||
<?php if($counter): ?>
|
||||
<?php echo '<br/>'; ?>
|
||||
<?php if($text): ?>
|
||||
|
||||
<?php if($separator_value): ?>
|
||||
<?php if($separator_value == 1): ?>
|
||||
<?php echo ($i) ? '<br/>' : ''; ?>
|
||||
<?php else: ?>
|
||||
<div<?php echo ($separator_value == 2) ? ' class="separator"' : ''; echo ($separator_value == 3) ? ' class="jumbotron"' : ''; ?>>
|
||||
<?php endif; ?>
|
||||
<?php echo ($prepare_content) ? JHtml::_('content.prepare', $text) : $text; $i++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<!-- the main text -->
|
||||
<?php echo ($prepare_content) ? JHtml::_('content.prepare', $text) : $text; ?>
|
||||
|
||||
<?php if($separator_value): ?>
|
||||
<?php if($separator_value != 1): ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php $i++; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue
Block a user