Permalink
Browse files

# [#29050] Page Navigation in Extension Manager not working. Thanks

yannick
  • Loading branch information...
1 parent 89ecc5c commit 2e9f9aff63828a3badcd49d55f3b67f917b46545 @shumisha shumisha committed with infograf768 Sep 22, 2012
Showing with 5,648 additions and 4,770 deletions.
  1. +4 −4 administrator/components/com_banners/helpers/banners.php
  2. +201 −192 administrator/components/com_banners/views/banners/tmpl/default.php
  3. +6 −5 administrator/components/com_banners/views/banners/view.html.php
  4. +158 −149 administrator/components/com_banners/views/clients/tmpl/default.php
  5. +3 −2 administrator/components/com_banners/views/clients/view.html.php
  6. +96 −87 administrator/components/com_banners/views/tracks/tmpl/default.php
  7. +5 −4 administrator/components/com_banners/views/tracks/view.html.php
  8. +3 −3 administrator/components/com_cache/helpers/cache.php
  9. +67 −58 administrator/components/com_cache/views/cache/tmpl/default.php
  10. +3 −2 administrator/components/com_cache/views/cache/view.html.php
  11. +17 −8 administrator/components/com_cache/views/purge/tmpl/default.php
  12. +2 −1 administrator/components/com_cache/views/purge/view.html.php
  13. +181 −172 administrator/components/com_categories/views/categories/tmpl/default.php
  14. +6 −5 administrator/components/com_categories/views/categories/view.html.php
  15. +1 −1 administrator/components/com_categories/views/category/view.html.php
  16. +3 −3 administrator/components/com_checkin/controller.php
  17. +50 −41 administrator/components/com_checkin/views/checkin/tmpl/default.php
  18. +1 −0 administrator/components/com_checkin/views/checkin/view.html.php
  19. +2 −2 administrator/components/com_contact/helpers/contact.php
  20. +207 −198 administrator/components/com_contact/views/contacts/tmpl/default.php
  21. +6 −5 administrator/components/com_contact/views/contacts/view.html.php
  22. +3 −3 administrator/components/com_content/helpers/content.php
  23. +202 −193 administrator/components/com_content/views/articles/tmpl/default.php
  24. +8 −7 administrator/components/com_content/views/articles/view.html.php
  25. +198 −189 administrator/components/com_content/views/featured/tmpl/default.php
  26. +8 −7 administrator/components/com_content/views/featured/view.html.php
  27. +3 −3 administrator/components/com_finder/helpers/finder.php
  28. +118 −109 administrator/components/com_finder/views/filters/tmpl/default.php
  29. +3 −3 administrator/components/com_finder/views/filters/view.html.php
  30. +115 −106 administrator/components/com_finder/views/index/tmpl/default.php
  31. +4 −4 administrator/components/com_finder/views/index/view.html.php
  32. +95 −86 administrator/components/com_finder/views/maps/tmpl/default.php
  33. +4 −4 administrator/components/com_finder/views/maps/view.html.php
  34. +7 −7 administrator/components/com_installer/helpers/installer.php
  35. +78 −67 administrator/components/com_installer/views/database/tmpl/default.php
  36. +3 −0 administrator/components/com_installer/views/default/view.php
  37. +72 −61 administrator/components/com_installer/views/discover/tmpl/default.php
  38. +80 −67 administrator/components/com_installer/views/install/tmpl/default.php
  39. +81 −68 administrator/components/com_installer/views/languages/tmpl/default.php
  40. +124 −114 administrator/components/com_installer/views/manage/tmpl/default.php
  41. +8 −6 administrator/components/com_installer/views/manage/view.html.php
  42. +79 −69 administrator/components/com_installer/views/update/tmpl/default.php
  43. +26 −17 administrator/components/com_installer/views/warnings/tmpl/default.php
  44. +4 −4 administrator/components/com_languages/helpers/languages.php
  45. +101 −90 administrator/components/com_languages/views/installed/tmpl/default.php
  46. +2 −0 administrator/components/com_languages/views/installed/view.html.php
  47. +69 −66 administrator/components/com_languages/views/language/view.html.php
  48. +144 −135 administrator/components/com_languages/views/languages/tmpl/default.php
  49. +6 −4 administrator/components/com_languages/views/languages/view.html.php
  50. +87 −78 administrator/components/com_languages/views/overrides/tmpl/default.php
  51. +4 −2 administrator/components/com_languages/views/overrides/view.html.php
  52. +0 −1 administrator/components/com_media/views/media/view.html.php
  53. +2 −2 administrator/components/com_menus/helpers/menus.php
  54. +220 −212 administrator/components/com_menus/views/items/tmpl/default.php
  55. +8 −7 administrator/components/com_menus/views/items/view.html.php
  56. +114 −105 administrator/components/com_menus/views/menus/tmpl/default.php
  57. +2 −1 administrator/components/com_menus/views/menus/view.html.php
  58. +2 −2 administrator/components/com_messages/controller.php
  59. +2 −2 administrator/components/com_messages/helpers/messages.php
  60. +84 −75 administrator/components/com_messages/views/messages/tmpl/default.php
  61. +2 −1 administrator/components/com_messages/views/messages/view.html.php
  62. +207 −196 administrator/components/com_modules/views/modules/tmpl/default.php
  63. +11 −9 administrator/components/com_modules/views/modules/view.html.php
  64. +2 −2 administrator/components/com_newsfeeds/helpers/newsfeeds.php
  65. +195 −186 administrator/components/com_newsfeeds/views/newsfeeds/tmpl/default.php
  66. +7 −6 administrator/components/com_newsfeeds/views/newsfeeds/view.html.php
  67. +141 −130 administrator/components/com_plugins/views/plugins/tmpl/default.php
  68. +103 −99 administrator/components/com_plugins/views/plugins/view.html.php
  69. +100 −91 administrator/components/com_redirect/views/links/tmpl/default.php
  70. +4 −3 administrator/components/com_redirect/views/links/view.html.php
  71. +2 −2 administrator/components/com_templates/helpers/templates.php
  72. +120 −110 administrator/components/com_templates/views/styles/tmpl/default.php
  73. +4 −3 administrator/components/com_templates/views/styles/view.html.php
  74. +103 −93 administrator/components/com_templates/views/templates/tmpl/default.php
  75. +4 −2 administrator/components/com_templates/views/templates/view.html.php
  76. +5 −5 administrator/components/com_users/helpers/users.php
  77. +108 −99 administrator/components/com_users/views/debuggroup/tmpl/default.php
  78. +6 −4 administrator/components/com_users/views/debuggroup/view.html.php
  79. +108 −99 administrator/components/com_users/views/debuguser/tmpl/default.php
  80. +7 −4 administrator/components/com_users/views/debuguser/view.html.php
  81. +90 −81 administrator/components/com_users/views/groups/tmpl/default.php
  82. +2 −0 administrator/components/com_users/views/groups/view.html.php
  83. +102 −93 administrator/components/com_users/views/levels/tmpl/default.php
  84. +2 −1 administrator/components/com_users/views/levels/view.html.php
  85. +106 −97 administrator/components/com_users/views/notes/tmpl/default.php
  86. +139 −136 administrator/components/com_users/views/notes/view.html.php
  87. +148 −139 administrator/components/com_users/views/users/tmpl/default.php
  88. +6 −5 administrator/components/com_users/views/users/view.html.php
  89. +2 −2 administrator/components/com_weblinks/helpers/weblinks.php
  90. +154 −145 administrator/components/com_weblinks/views/weblinks/tmpl/default.php
  91. +6 −5 administrator/components/com_weblinks/views/weblinks/view.html.php
  92. +24 −3 administrator/includes/toolbar.php
  93. +1 −1 installation/CHANGELOG
  94. +1 −0 layouts/index.html
  95. +1 −0 layouts/joomla/index.html
  96. +1 −0 layouts/joomla/sidebars/index.html
  97. +59 −0 layouts/joomla/sidebars/submenu.php
  98. +157 −0 libraries/cms/html/sidebar.php
  99. +69 −0 libraries/cms/layout/base.php
  100. +103 −0 libraries/cms/layout/file.php
  101. +1 −0 libraries/cms/layout/index.html
  102. +43 −0 libraries/cms/layout/layout.php
@@ -28,13 +28,13 @@ class BannersHelper
*/
public static function addSubmenu($vName)
{
- JSubMenuHelper::addEntry(
+ JHtmlSidebar::addEntry(
JText::_('COM_BANNERS_SUBMENU_BANNERS'),
'index.php?option=com_banners&view=banners',
$vName == 'banners'
);
- JSubMenuHelper::addEntry(
+ JHtmlSidebar::addEntry(
JText::_('COM_BANNERS_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_banners',
$vName == 'categories'
@@ -45,13 +45,13 @@ public static function addSubmenu($vName)
'banners-categories');
}
- JSubMenuHelper::addEntry(
+ JHtmlSidebar::addEntry(
JText::_('COM_BANNERS_SUBMENU_CLIENTS'),
'index.php?option=com_banners&view=clients',
$vName == 'clients'
);
- JSubMenuHelper::addEntry(
+ JHtmlSidebar::addEntry(
JText::_('COM_BANNERS_SUBMENU_TRACKS'),
'index.php?option=com_banners&view=tracks',
$vName == 'tracks'

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -57,6 +57,7 @@ public function display($tpl = null)
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
+ $this->sidebar = JHtmlSidebar::render();
parent::display($tpl);
}
@@ -139,27 +140,27 @@ protected function addToolbar()
}
JToolbarHelper::help('JHELP_COMPONENTS_BANNERS_BANNERS');
- JSubMenuHelper::setAction('index.php?option=com_banners&view=banners');
+ JHtmlSidebar::setAction('index.php?option=com_banners&view=banners');
- JSubMenuHelper::addFilter(
+ JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_PUBLISHED'),
'filter_state',
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true)
);
- JSubMenuHelper::addFilter(
+ JHtmlSidebar::addFilter(
JText::_('COM_BANNERS_SELECT_CLIENT'),
'filter_client_id',
JHtml::_('select.options', BannersHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'))
);
- JSubMenuHelper::addFilter(
+ JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_CATEGORY'),
'filter_category_id',
JHtml::_('select.options', JHtml::_('category.options', 'com_banners'), 'value', 'text', $this->state->get('filter.category_id'))
);
- JSubMenuHelper::addFilter(
+ JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_LANGUAGE'),
'filter_language',
JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'))
@@ -38,154 +38,163 @@
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_banners&view=clients'); ?>" method="post" name="adminForm" id="adminForm">
- <div id="filter-bar" class="btn-toolbar">
- <div class="filter-search btn-group pull-left">
- <label for="filter_search" class="element-invisible"><?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE');?></label>
- <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" />
- </div>
- <div class="btn-group pull-left">
- <button class="btn hasTooltip" type="submit" title="<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button>
- <button class="btn hasTooltip" type="button" title="<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button>
- </div>
- <div class="btn-group pull-right hidden-phone">
- <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label>
- <?php echo $this->pagination->getLimitBox(); ?>
- </div>
- <div class="btn-group pull-right hidden-phone">
- <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label>
- <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()">
- <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option>
- <option value="asc" <?php if ($listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option>
- <option value="desc" <?php if ($listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option>
- </select>
- </div>
- <div class="btn-group pull-right">
- <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label>
- <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()">
- <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option>
- <?php echo JHtml::_('select.options', $sortFields, 'value', 'text', $listOrder);?>
- </select>
- </div>
+<?php if(!empty( $this->sidebar)): ?>
+ <div id="j-sidebar-container" class="span2">
+ <?php echo $this->sidebar; ?>
+ </div>
+ <div id="j-main-container" class="span10">
+ <?php else : ?>
+ <div id="j-main-container">
+ <?php endif;?>
+ <div id="filter-bar" class="btn-toolbar">
+ <div class="filter-search btn-group pull-left">
+ <label for="filter_search" class="element-invisible"><?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE');?></label>
+ <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" />
+ </div>
+ <div class="btn-group pull-left">
+ <button class="btn hasTooltip" type="submit" title="<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button>
+ <button class="btn hasTooltip" type="button" title="<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button>
+ </div>
+ <div class="btn-group pull-right hidden-phone">
+ <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label>
+ <?php echo $this->pagination->getLimitBox(); ?>
+ </div>
+ <div class="btn-group pull-right hidden-phone">
+ <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label>
+ <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()">
+ <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option>
+ <option value="asc" <?php if ($listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option>
+ <option value="desc" <?php if ($listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option>
+ </select>
+ </div>
+ <div class="btn-group pull-right">
+ <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label>
+ <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()">
+ <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option>
+ <?php echo JHtml::_('select.options', $sortFields, 'value', 'text', $listOrder);?>
+ </select>
+ </div>
+ </div>
+ <div class="clearfix"> </div>
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th width="1%" class="hidden-phone">
+ <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
+ </th>
+ <th width="5%" class="center">
+ <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?>
+ </th>
+ <th>
+ <?php echo JText::_('COM_BANNERS_HEADING_CLIENT'); ?>
+ </th>
+ <th width="20%" class="hidden-phone">
+ <?php echo JText::_('COM_BANNERS_HEADING_CONTACT'); ?>
+ </th>
+ <th width="5%" class="hidden-phone">
+ <?php echo JText::_('COM_BANNERS_HEADING_ACTIVE'); ?>
+ </th>
+ <th width="10%" class="hidden-phone">
+ <?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?>
+ </th>
+ <th width="1%" class="nowrap hidden-phone">
+ <?php echo JText::_('JGRID_HEADING_ID'); ?>
+ </th>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr>
+ <td colspan="8">
+ <?php echo $this->pagination->getListFooter(); ?>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody>
+ <?php foreach ($this->items as $i => $item) :
+ $ordering = ($listOrder == 'ordering');
+ $canCreate = $user->authorise('core.create', 'com_banners');
+ $canEdit = $user->authorise('core.edit', 'com_banners');
+ $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0;
+ $canChange = $user->authorise('core.edit.state', 'com_banners') && $canCheckin;
+ ?>
+ <tr class="row<?php echo $i % 2; ?>">
+ <td class="center hidden-phone">
+ <?php echo JHtml::_('grid.id', $i, $item->id); ?>
+ </td>
+ <td class="center">
+ <?php echo JHtml::_('jgrid.published', $item->state, $i, 'clients.', $canChange);?>
+ </td>
+ <td class="nowrap has-context">
+ <div class="pull-left">
+ <?php if ($item->checked_out) : ?>
+ <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'clients.', $canCheckin); ?>
+ <?php endif; ?>
+ <?php if ($canEdit) : ?>
+ <a href="<?php echo JRoute::_('index.php?option=com_banners&task=client.edit&id='.(int) $item->id); ?>">
+ <?php echo $this->escape($item->name); ?></a>
+ <?php else : ?>
+ <?php echo $this->escape($item->name); ?>
+ <?php endif; ?>
+ </div>
+ <div class="pull-left">
+ <?php
+ // Create dropdown items
+ JHtml::_('dropdown.edit', $item->id, 'client.');
+ JHtml::_('dropdown.divider');
+ if ($item->state) :
+ JHtml::_('dropdown.unpublish', 'cb' . $i, 'clients.');
+ else :
+ JHtml::_('dropdown.publish', 'cb' . $i, 'clients.');
+ endif;
+
+ JHtml::_('dropdown.divider');
+
+ if ($archived) :
+ JHtml::_('dropdown.unarchive', 'cb' . $i, 'clients.');
+ else :
+ JHtml::_('dropdown.archive', 'cb' . $i, 'clients.');
+ endif;
+
+ if ($item->checked_out) :
+ JHtml::_('dropdown.checkin', 'cb' . $i, 'clients.');
+ endif;
+
+ if ($trashed) :
+ JHtml::_('dropdown.untrash', 'cb' . $i, 'clients.');
+ else :
+ JHtml::_('dropdown.trash', 'cb' . $i, 'clients.');
+ endif;
+
+ // render dropdown list
+ echo JHtml::_('dropdown.render');
+ ?>
+ </div>
+ </td>
+ <td class="small hidden-phone">
+ <?php echo $item->contact;?>
+ </td>
+ <td class="center hidden-phone">
+ <?php echo $item->nbanners; ?>
+ </td>
+ <td class="small hidden-phone">
+ <?php if ($item->purchase_type < 0):?>
+ <?php echo JText::sprintf('COM_BANNERS_DEFAULT', JText::_('COM_BANNERS_FIELD_VALUE_'.$params->get('purchase_type')));?>
+ <?php else:?>
+ <?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?>
+ <?php endif;?>
+ </td>
+ <td class="center hidden-phone">
+ <?php echo $item->id; ?>
+ </td>
+ </tr>
+ <?php endforeach; ?>
+ </tbody>
+ </table>
+
+ <input type="hidden" name="task" value="" />
+ <input type="hidden" name="boxchecked" value="0" />
+ <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
+ <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
+ <?php echo JHtml::_('form.token'); ?>
</div>
- <div class="clearfix"> </div>
- <table class="table table-striped">
- <thead>
- <tr>
- <th width="1%" class="hidden-phone">
- <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
- </th>
- <th width="5%" class="center">
- <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?>
- </th>
- <th>
- <?php echo JText::_('COM_BANNERS_HEADING_CLIENT'); ?>
- </th>
- <th width="20%" class="hidden-phone">
- <?php echo JText::_('COM_BANNERS_HEADING_CONTACT'); ?>
- </th>
- <th width="5%" class="hidden-phone">
- <?php echo JText::_('COM_BANNERS_HEADING_ACTIVE'); ?>
- </th>
- <th width="10%" class="hidden-phone">
- <?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?>
- </th>
- <th width="1%" class="nowrap hidden-phone">
- <?php echo JText::_('JGRID_HEADING_ID'); ?>
- </th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- <td colspan="8">
- <?php echo $this->pagination->getListFooter(); ?>
- </td>
- </tr>
- </tfoot>
- <tbody>
- <?php foreach ($this->items as $i => $item) :
- $ordering = ($listOrder == 'ordering');
- $canCreate = $user->authorise('core.create', 'com_banners');
- $canEdit = $user->authorise('core.edit', 'com_banners');
- $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0;
- $canChange = $user->authorise('core.edit.state', 'com_banners') && $canCheckin;
- ?>
- <tr class="row<?php echo $i % 2; ?>">
- <td class="center hidden-phone">
- <?php echo JHtml::_('grid.id', $i, $item->id); ?>
- </td>
- <td class="center">
- <?php echo JHtml::_('jgrid.published', $item->state, $i, 'clients.', $canChange);?>
- </td>
- <td class="nowrap has-context">
- <div class="pull-left">
- <?php if ($item->checked_out) : ?>
- <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'clients.', $canCheckin); ?>
- <?php endif; ?>
- <?php if ($canEdit) : ?>
- <a href="<?php echo JRoute::_('index.php?option=com_banners&task=client.edit&id='.(int) $item->id); ?>">
- <?php echo $this->escape($item->name); ?></a>
- <?php else : ?>
- <?php echo $this->escape($item->name); ?>
- <?php endif; ?>
- </div>
- <div class="pull-left">
- <?php
- // Create dropdown items
- JHtml::_('dropdown.edit', $item->id, 'client.');
- JHtml::_('dropdown.divider');
- if ($item->state) :
- JHtml::_('dropdown.unpublish', 'cb' . $i, 'clients.');
- else :
- JHtml::_('dropdown.publish', 'cb' . $i, 'clients.');
- endif;
-
- JHtml::_('dropdown.divider');
-
- if ($archived) :
- JHtml::_('dropdown.unarchive', 'cb' . $i, 'clients.');
- else :
- JHtml::_('dropdown.archive', 'cb' . $i, 'clients.');
- endif;
-
- if ($item->checked_out) :
- JHtml::_('dropdown.checkin', 'cb' . $i, 'clients.');
- endif;
-
- if ($trashed) :
- JHtml::_('dropdown.untrash', 'cb' . $i, 'clients.');
- else :
- JHtml::_('dropdown.trash', 'cb' . $i, 'clients.');
- endif;
-
- // render dropdown list
- echo JHtml::_('dropdown.render');
- ?>
- </div>
- </td>
- <td class="small hidden-phone">
- <?php echo $item->contact;?>
- </td>
- <td class="center hidden-phone">
- <?php echo $item->nbanners; ?>
- </td>
- <td class="small hidden-phone">
- <?php if ($item->purchase_type < 0):?>
- <?php echo JText::sprintf('COM_BANNERS_DEFAULT', JText::_('COM_BANNERS_FIELD_VALUE_'.$params->get('purchase_type')));?>
- <?php else:?>
- <?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?>
- <?php endif;?>
- </td>
- <td class="center hidden-phone">
- <?php echo $item->id; ?>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
-
- <input type="hidden" name="task" value="" />
- <input type="hidden" name="boxchecked" value="0" />
- <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
- <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
- <?php echo JHtml::_('form.token'); ?>
</form>
Oops, something went wrong.

0 comments on commit 2e9f9af

Please sign in to comment.