Ejemplo n.º 1
0
        </tr>
    </thead>
    <?php 
$k = 0;
$n = count($this->items);
for ($i = 0; $i < $n; $i++) {
    $row = $this->items[$i];
    $checked = JHTML::_('grid.id', $i, $row->id);
    $link = JRoute::_('index.php?option=com_contentbuilder&controller=users&tmpl=' . JRequest::getCmd('tmpl', '') . '&task=edit&form_id=' . JRequest::getInt('form_id', 0) . '&joomla_userid=' . $row->id);
    if ($row->published === null) {
        $row->published = 1;
    }
    $published = JHTML::_('grid.published', $row, $i);
    $verified_view = contentbuilder_helpers::listVerifiedView($row, $i);
    $verified_new = contentbuilder_helpers::listVerifiedNew($row, $i);
    $verified_edit = contentbuilder_helpers::listVerifiedEdit($row, $i);
    ?>
        <tr class="<?php 
    echo "row{$k}";
    ?>
">
            <td>
                <?php 
    echo $row->id;
    ?>
            </td>
            <td>
              <?php 
    echo $checked;
    ?>
            </td>
Ejemplo n.º 2
0
        echo isset($this->state_colors[$row->colRecord]) ? $this->state_colors[$row->colRecord] : 'FFFFFF';
        ?>
;">
                <?php 
        echo isset($this->state_titles[$row->colRecord]) ? htmlentities($this->state_titles[$row->colRecord], ENT_QUOTES, 'UTF-8') : '';
        ?>
            </td>
            <?php 
    }
    ?>
            <?php 
    if ($this->list_publish && $publish_allowed) {
        ?>
            <td align="center" valign="middle">
                <?php 
        echo contentbuilder_helpers::publishButton(isset($this->published_items[$row->colRecord]) && $this->published_items[$row->colRecord] ? true : false, $publish_link, $unpublish_link, 'tick.png', 'publish_x.png', $publish_allowed);
        ?>
            </td>
            <?php 
    }
    ?>
            <?php 
    if ($this->list_language) {
        ?>
            <td class="hidden-phone">
                <?php 
        echo isset($this->lang_codes[$row->colRecord]) && $this->lang_codes[$row->colRecord] ? $this->lang_codes[$row->colRecord] : '*';
        ?>
            </td>
            <?php 
    }
Ejemplo n.º 3
0
}
?>
                    </th>
                </tr>
            </thead>
            <?php 
$k = 0;
$n = count($this->elements);
for ($i = 0; $i < $n; $i++) {
    $row = $this->elements[$i];
    $checked = JHTML::_('grid.id', $i, $row->id);
    $published = JHTML::_('grid.published', $row, $i);
    $list_include = contentbuilder_helpers::listIncludeInList($row, $i);
    $search_include = contentbuilder_helpers::listIncludeInSearch($row, $i);
    $linkable = contentbuilder_helpers::listLinkable($row, $i);
    $editable = contentbuilder_helpers::listEditable($row, $i);
    ?>
                <tr class="<?php 
    echo "row{$k}";
    ?>
">
                    <td valign="top">
                        <?php 
    echo $row->id;
    ?>
                    </td>
                    <td valign="top">
                      <?php 
    echo $checked;
    ?>
                    </td>