Esempio n. 1
0
                    <th class="nowrap" width="8%" ><?php 
echo JText::_('COM_JEPROSHOP_POSITION_LABEL');
?>
</th>
                    <th class="nowrap" width="8%" ><?php 
echo JText::_('COM_JEPROSHOP_ACTIONS_LABEL');
?>
</th>
                </tr>
            </thead>
            <tbody>
            	<?php 
if (isset($this->features) && count($this->features)) {
    foreach ($this->features as $index => $feature) {
        $editLink = JRoute::_('index.php?option=com_jeproshop&view=feature&task=edit&feature_id=' . $feature->feature_id . '&' . JeproshopTools::getFeatureToken() . '=1');
        $deleteLink = JRoute::_('index.php?option=com_jeproshop&view=feature&task=delete&feature_id=' . $feature->feature_id . '&' . JeproshopTools::getFeatureToken() . '=1');
        ?>
            	<tr class="row_<?php 
        echo $index % 2;
        ?>
" >
            		<td class="nowrap center"><?php 
        echo $index + 1;
        ?>
</td>
            		<td class="nowrap center"><?php 
        echo JHtml::_('grid.id', $index, $feature->feature_id);
        ?>
</td>
            		<td class="nowrap "><a href="<?php 
        echo $editLink;
Esempio n. 2
0
                }
                ?>
						</select>
						<?php 
            } else {
                ?>
						<input type="hidden" name="feature[feature_<?php 
                echo $available_feature->feature_id;
                ?>
_value]" value="0" />
						<span><?php 
                echo JText::_('COM_JEPROSHOP_NOT_ASSIGNED_LABEL');
                ?>
 - 
							<a href="<?php 
                echo JRoute::_('index.php?option=com_jeproshop&view=feature&task=add_value&feature_id=' . $available_feature->feature_id . '&' . JeproshopTools::getFeatureToken() . '=1');
                ?>
" class="confirm_leave btn btn-link">
                                <i class="icon-plus-sign"></i> <?php 
                echo JText::_('COM_JEPROSHOP_ADD_PREDEFINED_VALUES_FIRST_LABEL');
                ?>
 <i class="icon-external-link-sign"></i>
                            </a>
						</span>
						<?php 
            }
            ?>
					</td>
					<td>				
						<div class="row lang-0" style='display: none;'><?php 
            ?>