예제 #1
0
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_DEVELOPER_COL_NAME', 'name', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_DEVELOPER_COL_STATE');
?>
</th>
				<th scope="col" class="priority-5"><?php 
echo Html::grid('sort', 'COM_DEVELOPER_COL_CREATED', 'created', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_DEVELOPER_COL_CREATED_BY', 'created_by', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Lang::txt('COM_DEVELOPER_COL_HUB_ACCOUNT');
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7">
					<?php 
// Initiate paging
echo $this->rows->pagination;
?>
예제 #2
0
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_FORUM_COL_TITLE', 'title', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_FORUM_COL_STATE', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_FORUM_COL_ACCESS', 'access', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_FORUM_COL_SCOPE', 'scope', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_FORUM_CATEGORIES');
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7"><?php 
// initiate paging
echo $this->rows->pagination;
?>
</td>
예제 #3
0
        echo Lang::txt('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));
        ?>
							<?php 
    } else {
        ?>
								<?php 
        echo Lang::txt('JGLOBAL_LIST_ALIAS_NOTE', $this->escape($item->alias), $this->escape($item->note));
        ?>
							<?php 
    }
    ?>
</p>
					</td>
					<td class="priority-2 center">
						<?php 
    echo Html::grid('published', $item->published, $i, 'categories.', $canChange);
    ?>
					</td>
					<td class="priority-2 order">
						<?php 
    if ($canChange) {
        ?>
							<?php 
        if ($saveOrder) {
            ?>
								<span><?php 
            echo $this->pagination->orderUpIcon($i, isset($this->ordering[$item->parent_id][$orderkey - 1]), 'categories.orderup', 'JLIB_HTML_MOVE_UP', $ordering);
            ?>
</span>
								<span><?php 
            echo $this->pagination->orderDownIcon($i, $this->pagination->total, isset($this->ordering[$item->parent_id][$orderkey + 1]), 'categories.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering);
예제 #4
0
}
?>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_TAGS_COL_TBL', 'tbl', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_TAGS_COL_OBJECTID', 'objectid', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_TAGS_COL_CREATED', 'taggedon', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_TAGS_COL_CREATED_BY', 'taggerid', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="<?php 
echo !$this->filters['tagid'] ? 7 : 6;
?>
"><?php 
// Initiate paging
echo $this->rows->pagination;
?>
</td>
			</tr>
예제 #5
0
    $info .= Lang::txt('COM_PUBLICATIONS_FIELD_CREATOR') . ': ' . $this->escape($row->created_by) . '<br />';
    // Get the published status
    $now = Date::toSql();
    // See if it's checked out or not
    $checked = '';
    $checkedInfo = '';
    if ($row->checked_out || $row->checked_out_time != '0000-00-00 00:00:00') {
        $date = Date::of($row->checked_out_time)->toLocal(Lang::txt('DATE_FORMAT_LC1'));
        $time = Date::of($row->checked_out_time)->toLocal('H:i');
        $checked = '<span class="editlinktip hasTip" title="' . Lang::txt('JLIB_HTML_CHECKED_OUT') . '::' . $this->escape($row->checked_out) . '<br />' . $date . '<br />' . $time . '">';
        $checked .= Html::asset('image', 'admin/checked_out.png', null, null, true) . '</span>';
        $info .= $row->checked_out_time != '0000-00-00 00:00:00' ? Lang::txt('COM_PUBLICATIONS_FIELD_CHECKED_OUT') . ': ' . $date . '<br />' : '';
        $info .= $row->checked_out ? Lang::txt('COM_PUBLICATIONS_FIELD_CHECKED_OUT_BY') . ': ' . $row->checked_out . '<br />' : '';
        $checkedInfo = ' [' . Lang::txt('COM_PUBLICATIONS_FIELD_CHECKED_OUT') . ']';
    } else {
        $checked = Html::grid('id', $i, $row->id, false, 'id');
    }
    // What's the publication status?
    $status = $this->model->getStatusName($row->state);
    $class = $this->model->getStatusCss($row->state);
    $date = $row->modified() ? $row->modified('datetime') : $row->created('datetime');
    ?>
			<tr class="<?php 
    echo "row{$k}";
    ?>
 <?php 
    echo $row->isPending() ? 'attention' : '';
    ?>
">
				<td>
					<?php 
예제 #6
0
				<td class="order">
					<?php 
    if ($canDo->get('core.edit')) {
        ?>
						<span><?php 
        if ($i > 0) {
            echo Html::grid('orderUp', $i, 'orderup', '', 'JLIB_HTML_MOVE_UP', true, 'cb');
        } else {
            echo '&#160;';
        }
        //echo $pageNav->orderUpIcon($i, $row->ordering, 'orderup', 'JLIB_HTML_MOVE_UP', $row->ordering);
        ?>
</span>
						<span><?php 
        if ($i < $n - 1) {
            echo Html::grid('orderDown', $i, 'orderdown', '', 'JLIB_HTML_MOVE_DOWN', true, 'cb');
        } else {
            echo '&#160;';
        }
        //echo $pageNav->orderDownIcon($i, $n, $row->ordering, 'orderdown', 'JLIB_HTML_MOVE_DOWN', $row->ordering);
        ?>
</span>
						<?php 
        $disabled = $row->get('ordering') ? '' : 'disabled="disabled"';
        ?>
						<input type="text" name="order[]" size="5" value="<?php 
        echo $row->get('ordering');
        ?>
" <?php 
        echo $disabled;
        ?>
예제 #7
0
    ?>
">
						<?php 
    echo $this->escape($item->item_type);
    ?>
					</span>
				</td>
				<td class="center priority-2">
					<?php 
    if ($item->type == 'component') {
        ?>
						<?php 
        if ($item->language == '*' || $item->home == '0') {
            ?>
							<?php 
            echo Html::grid('isdefault', $item->home, $i, 'items.', ($item->language != '*' || !$item->home) && $canChange);
            ?>
						<?php 
        } elseif ($canChange) {
            ?>
							<a href="<?php 
            echo Route::url('index.php?option=com_menus&task=items.unsetDefault&cid[]=' . $item->id . '&' . Session::getFormToken() . '=1');
            ?>
">
								<?php 
            echo Html::asset('image', 'mod_languages/' . $item->image . '.gif', $item->language_title, array('title' => Lang::txt('COM_MENUS_GRID_UNSET_LANGUAGE', $item->language_title)), true);
            ?>
							</a>
						<?php 
        } else {
            ?>
예제 #8
0
    echo $this->escape($item->lang_code);
    ?>
				</td>
				<td class="priority-6">
					<?php 
    echo $this->escape($item->sef);
    ?>
				</td>
				<td class="priority-6">
					<?php 
    echo $this->escape($item->image);
    ?>
				</td>
				<td>
					<?php 
    echo Html::grid('published', $item->published, $i, 'languages.', $canChange);
    ?>
				</td>
				<td class="order">
					<?php 
    if ($canChange) {
        ?>
						<?php 
        if ($saveOrder) {
            ?>
							<?php 
            if ($listDirn == 'asc') {
                ?>
								<span><?php 
                echo $this->pagination->orderUpIcon($i, true, 'languages.orderup', 'JLIB_HTML_MOVE_UP', $ordering);
                ?>
예제 #9
0
        ?>
						<?php 
        echo $this->escape($item->title);
        ?>
					<?php 
    }
    ?>
					<p class="smallsub">
						<?php 
    echo Lang::txt('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));
    ?>
</p>
				</td>
				<td class="center">
					<?php 
    echo Html::grid('published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down);
    ?>
				</td>
				<?php 
    /*<td class="priority-4 center">
    			<?php echo Html::contentadministrator('featured', $item->featured, $i, $canChange); ?>
    		</td>*/
    ?>
				<td class="priority-2 center">
					<?php 
    echo $this->escape($item->category_title);
    ?>
				</td>
				<td class="priority-3 order">
					<?php 
    if ($canChange) {
예제 #10
0
 /**
  * Display a list of polls
  *
  * @return  void
  */
 public function displayTask()
 {
     $db = \App::get('db');
     $filter_order = Request::getState($this->_option . '.' . $this->_controller . '.filter_order', 'filter_order', 'm.id', 'cmd');
     $filter_order_Dir = Request::getState($this->_option . '.' . $this->_controller . '.filter_order_Dir', 'filter_order_Dir', '', 'word');
     $filter_state = Request::getState($this->_option . '.' . $this->_controller . '.filter_state', 'filter_state', '', 'word');
     $search = Request::getState($this->_option . '.' . $this->_controller . '.search', 'search', '', 'string');
     if (strpos($search, '"') !== false) {
         $search = str_replace(array('=', '<'), '', $search);
     }
     $search = \JString::strtolower($search);
     $limit = Request::getState('global.list.limit', 'limit', Config::get('list_limit'), 'int');
     $limitstart = Request::getState($this->_option . '.' . $this->_controller . '.limitstart', 'limitstart', 0, 'int');
     $where = array();
     if ($filter_state) {
         if ($filter_state == 'P') {
             $where[] = 'm.published = 1';
         } else {
             if ($filter_state == 'U') {
                 $where[] = 'm.published = 0';
             }
         }
     }
     if ($search) {
         $where[] = 'LOWER(m.title) LIKE ' . $db->Quote('%' . $search . '%');
     }
     $where = count($where) ? ' WHERE ' . implode(' AND ', $where) : '';
     // sanitize $filter_order
     if (!in_array($filter_order, array('m.title', 'm.published', 'a.ordering', 'catname', 'm.voters', 'numoptions', 'm.lag', 'm.id'))) {
         $filter_order = 'm.id';
     }
     if (!in_array(strtoupper($filter_order_Dir), array('ASC', 'DESC'))) {
         $filter_order_Dir = '';
     }
     $orderby = ' ORDER BY ' . $filter_order . ' ' . $filter_order_Dir;
     $db->setQuery('SELECT COUNT(m.id) FROM `#__polls` AS m' . $where);
     $total = $db->loadResult();
     $query = 'SELECT m.*, u.name AS editor, COUNT(d.id) AS numoptions' . ' FROM `#__polls` AS m' . ' LEFT JOIN `#__users` AS u ON u.id = m.checked_out' . ' LEFT JOIN `#__poll_data` AS d ON d.pollid = m.id AND d.text <> ""' . $where . ' GROUP BY m.id' . $orderby;
     $db->setQuery($query, $limitstart, $limit);
     $rows = $db->loadObjectList();
     if ($db->getErrorNum()) {
         throw new Exception($db->stderr(), 500);
     }
     $lists = array();
     // State filter
     $lists['state'] = \Html::grid('states', $filter_state);
     // Table ordering
     $lists['order_Dir'] = $filter_order_Dir;
     $lists['order'] = $filter_order;
     // Dearch filter
     $lists['search'] = $search;
     $this->view->set('user', User::getRoot())->set('lists', $lists)->set('items', $rows)->set('limit', $limit)->set('limitstart', $limitstart)->set('total', $total)->display();
 }
예제 #11
0
 /**
  * Returns a published state on a grid
  *
  * @param   integer       $value			The state value.
  * @param   integer       $i				The row index
  * @param   boolean       $enabled			An optional setting for access control on the action.
  * @param   string        $checkbox			An optional prefix for checkboxes.
  *
  * @return  string        The Html code
  *
  * @see JHtmlJGrid::state
  *
  * @since   1.7.1
  */
 public static function state($value, $i, $enabled = true, $checkbox = 'cb')
 {
     $states = array(1 => array('unpublish', 'COM_MODULES_EXTENSION_PUBLISHED_ENABLED', 'COM_MODULES_HTML_UNPUBLISH_ENABLED', 'COM_MODULES_EXTENSION_PUBLISHED_ENABLED', true, 'publish', 'publish'), 0 => array('publish', 'COM_MODULES_EXTENSION_UNPUBLISHED_ENABLED', 'COM_MODULES_HTML_PUBLISH_ENABLED', 'COM_MODULES_EXTENSION_UNPUBLISHED_ENABLED', true, 'unpublish', 'unpublish'), -1 => array('unpublish', 'COM_MODULES_EXTENSION_PUBLISHED_DISABLED', 'COM_MODULES_HTML_UNPUBLISH_DISABLED', 'COM_MODULES_EXTENSION_PUBLISHED_DISABLED', true, 'warning', 'warning'), -2 => array('publish', 'COM_MODULES_EXTENSION_UNPUBLISHED_DISABLED', 'COM_MODULES_HTML_PUBLISH_DISABLED', 'COM_MODULES_EXTENSION_UNPUBLISHED_DISABLED', true, 'unpublish', 'unpublish'));
     return Html::grid('state', $states, $value, $i, 'modules.', $enabled, true, $checkbox);
 }
예제 #12
0
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_TOOLS_COL_STARTED', 'start', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_TOOLS_COL_LAST_ACCESSED', 'accesstime', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_TOOLS_COL_TOOL', 'appname', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_TOOLS_COL_EXEC_HOST', 'exechost', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_TOOLS_COL_STOP');
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="9">
					<?php 
// Initiate paging
echo $this->pagination($this->total, $this->filters['start'], $this->filters['limit']);
?>
예제 #13
0
        ?>
							<?php 
        echo $this->escape($item->name);
        ?>
					<?php 
    }
    ?>
					<p class="smallsub">
						<?php 
    echo Lang::txt('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));
    ?>
</p>
				</td>
				<td class="center">
					<?php 
    echo Html::grid('published', $item->published, $i, 'newsfeeds.', $canChange, 'cb', $item->publish_up, $item->publish_down);
    ?>
				</td>
				<td class="center">
					<?php 
    echo $this->escape($item->category_title);
    ?>
				</td>
				<td class="order">
					<?php 
    if ($canChange) {
        ?>
						<?php 
        if ($saveOrder) {
            ?>
							<?php 
예제 #14
0
?>
);" /></th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_KB_TITLE', 'title', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_KB_PUBLISHED', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_KB_ACCESS', 'a.access', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_KB_CATEGORY', 'section', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-5"><?php 
echo Lang::txt('COM_KB_VOTES');
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="6"><?php 
echo $this->rows->pagination;
?>
</td>
			</tr>
예제 #15
0
?>
);" /></th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_GROUPS_USERID', 'uidNumber', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_GROUPS_NAME', 'name', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_GROUPS_USERNAME', 'username', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-5"><?php 
echo Html::grid('sort', 'COM_GROUPS_EMAIL', 'email', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_GROUPS_MEMBER_STATUS');
?>
</th>
				<th scope="col" colspan="2"><?php 
echo Lang::txt('COM_GROUPS_MEMBER_ACTION');
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="8"><?php 
예제 #16
0
                echo $i > 0 ? Html::grid('orderUp', $i, 'orderup', '', 'JLIB_HTML_MOVE_UP', true, 'cb') : '&#160;';
                ?>
</span>
								<span><?php 
                echo $i < $n - 1 ? Html::grid('orderDown', $i, 'orderdown', '', 'JLIB_HTML_MOVE_DOWN', true, 'cb') : '&#160;';
                ?>
</span>
							<?php 
            } elseif ($listDirn == 'desc') {
                ?>
								<span><?php 
                echo $i > 0 ? Html::grid('orderUp', $i, 'orderdown', '', 'JLIB_HTML_MOVE_UP', true, 'cb') : '&#160;';
                ?>
</span>
								<span><?php 
                echo $i < $n - 1 ? Html::grid('orderDown', $i, 'orderup', '', 'JLIB_HTML_MOVE_DOWN', true, 'cb') : '&#160;';
                ?>
</span>
							<?php 
            }
            ?>
						<?php 
        }
        ?>
						<?php 
        $disabled = $saveOrder ? '' : 'disabled="disabled"';
        ?>
						<input type="text" name="order[]" size="5" value="<?php 
        echo $row->get('ordering');
        ?>
" <?php 
예제 #17
0
		<thead>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
//echo $this->rows->count();
?>
);" /></th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_SEARCH_COL_NAME', 'name', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_SEARCH_COL_FIELD_COUNT', 'field_count', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_SEARCH_COL_DOCUMENT_COUNT', 'document_count', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scop="col">&nbsp;</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7"><?php 
// Initiate paging
//echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
예제 #18
0
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_STATE', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_CREATED', 'created', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_CREATOR', 'created_by', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-1"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_ANSWERS', 'rcount', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7"><?php 
// Initiate paging
echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
예제 #19
0
$count = count($this->items);
?>
		<?php 
foreach ($this->items as $i => $item) {
    $ordering = $listOrder == 'a.ordering';
    $canCreate = $user->authorise('core.create', 'com_users');
    $canEdit = $user->authorise('core.edit', 'com_users');
    $canChange = $user->authorise('core.edit.state', 'com_users');
    ?>
			<tr class="row<?php 
    echo $i % 2;
    ?>
">
				<td class="center">
					<?php 
    echo Html::grid('id', $i, $item->id);
    ?>
				</td>
				<td class="center priority-3">
					<?php 
    echo (int) $item->id;
    ?>
				</td>
				<td>
					<?php 
    if ($canEdit) {
        ?>
					<a href="<?php 
        echo Route::url('index.php?option=com_users&task=level.edit&id=' . $item->id);
        ?>
">
예제 #20
0
"><?php 
    echo Lang::txt($key);
    ?>
</span>
					</th>
				<?php 
}
?>
				<th>
					<?php 
echo Html::grid('sort', 'COM_MEMBERS_HEADING_LFT', 'lft', $listDirn, $listOrder);
?>
				</th>
				<th>
					<?php 
echo Html::grid('sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder);
?>
				</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="15">
					<?php 
echo $this->assets->pagination;
?>
				</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
예제 #21
0
) <?php 
echo $this->escape(stripslashes($this->group->get('description')));
?>
				</th>
			</tr>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
echo count($this->rows);
?>
);" /></th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_GROUPS_FIELD_ID', 'id', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_GROUPS_NAME', 'name', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="3"><?php 
echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
$k = 0;
예제 #22
0
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_CRON_COL_ENDS', 'publish_down', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_CRON_COL_ACTIVE', 'active', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_CRON_COL_LAST_RUN', 'last_run', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_CRON_COL_NEXT_RUN', 'next_run', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="9"><?php 
echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
foreach ($this->rows as $i => $row) {
예제 #23
0
" />
	</fieldset>

	<table class="adminlist">
		<thead>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
echo $this->rows->count();
?>
);" /></th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_RESOURCES_COL_ID', 'authorid', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_RESOURCES_COL_NAME', 'name', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Lang::txt('COM_RESOURCES_COL_MEMBER');
?>
</th>
				<?php 
/* Temporarily removed until query can be rewritten
			<th scope="col" class="priority-3"><?php echo Html::grid('sort', 'COM_RESOURCES_COL_RESOURCES', 'resources', @$this->filters['sort_Dir'], @$this->filters['sort']); ?></th> */
?>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="4"><?php 
예제 #24
0
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_WIKI_COL_CREATOR', 'created_by', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-5"><?php 
echo Html::grid('sort', 'COM_WIKI_COL_ANONYMOUS', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_WIKI_COL_STATE', 'status', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_WIKI_COL_CREATED', 'created', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7"><?php 
// Initiate paging
echo $this->pagination($this->total, $this->filters['start'], $this->filters['limit']);
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
예제 #25
0
echo $this->optionGroup->getName();
?>
</a>
				</th>
			</tr>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
echo count($this->rows);
?>
);" /></th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_STOREFRONT_TITLE', 'title', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_STOREFRONT_PUBLISHED', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
		<tr>
			<td colspan="6"><?php 
// Initiate paging
echo $this->pagination($this->total, $this->filters['start'], $this->filters['limit']);
?>
</td>
		</tr>
		</tfoot>
		<tbody>
<?php 
예제 #26
0
					<?php 
    }
    ?>
				</td>
				<td class="center">
					<?php 
    if ($canChange) {
        ?>
						<?php 
        echo Html::grid('boolean', $i, $item->approved, 'users.approve', null);
        ?>
					<?php 
    } else {
        ?>
						<?php 
        echo Html::grid('boolean', $i, $item->approved, null, null);
        ?>
					<?php 
    }
    ?>
				</td>
				<td class="center priority-3">
					<?php 
    if (substr_count($item->group_names, "\n") > 1) {
        ?>
						<span class="hasTip" title="<?php 
        echo Lang::txt('COM_USERS_HEADING_GROUPS') . '::' . nl2br($item->group_names);
        ?>
"><?php 
        echo Lang::txt('COM_USERS_USERS_MULTIPLE_GROUPS');
        ?>
예제 #27
0
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_ACCEPTED', 'state', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_CREATED', 'created', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_CREATOR', 'created_by', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_ANSWERS_COL_VOTES', 'helpful', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="6"><?php 
// initiate paging
echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php 
예제 #28
0
?>
</th>
				<th scope="col"><input type="checkbox" name="toggle" value="" onClick="checkAll(<?php 
echo count($this->rows);
?>
);" /></th>
				<th scope="col" class="priority-2"><?php 
echo Html::grid('sort', 'COM_FEEDBACK_COL_SUBMITTED', 'date', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-3"><?php 
echo Html::grid('sort', 'COM_FEEDBACK_COL_AUTHOR', 'fullname', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col" class="priority-5"><?php 
echo Html::grid('sort', 'COM_FEEDBACK_COL_ORGANIZATION', 'org', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_FEEDBACK_COL_QUOTE');
?>
</th>
				<th scope="col"><?php 
echo Lang::txt('COM_FEEDBACK_COL_QUOTES');
?>
</th>
				<th scope="col" class="priority-4"><?php 
echo Lang::txt('COM_FEEDBACK_COL_OK_PUBLISH');
?>
</th>
			</tr>
예제 #29
0
    ?>
			<tr class="row<?php 
    echo $i % 2;
    ?>
">
				<td class="center">
					<?php 
    echo Html::grid('id', $i, $item->id);
    ?>
				</td>
				<td>
					<?php 
    if ($item->checked_out) {
        ?>
						<?php 
        echo Html::grid('checkedout', $i, $item->editor, $item->checked_out_time, 'modules.', $canCheckin);
        ?>
					<?php 
    }
    ?>
					<?php 
    if ($canEdit) {
        ?>
						<a href="<?php 
        echo Route::url('index.php?option=com_modules&task=module.edit&id=' . (int) $item->id);
        ?>
">
							<?php 
        echo $this->escape($item->title);
        ?>
</a>
예제 #30
0
		<thead>
			<tr>
				<th scope="col"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
echo $this->rows->count();
?>
);" /></th>
				<th scope="col" class="priority-4"><?php 
echo Html::grid('sort', 'COM_SUPPORT_COL_ID', 'id', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_SUPPORT_COL_TITLE', 'title', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
				<th scope="col"><?php 
echo Html::grid('sort', 'COM_SUPPORT_COL_ALIAS', 'alias', @$this->filters['sort_Dir'], @$this->filters['sort']);
?>
</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="4"><?php 
// Initiate paging
echo $this->rows->pagination;
?>
</td>
			</tr>
		</tfoot>
		<tbody>
		<?php