本文整理汇总了PHP中JToolBarHelper::unpublishList方法的典型用法代码示例。如果您正苦于以下问题:PHP JToolBarHelper::unpublishList方法的具体用法?PHP JToolBarHelper::unpublishList怎么用?PHP JToolBarHelper::unpublishList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JToolBarHelper
的用法示例。
在下文中一共展示了JToolBarHelper::unpublishList方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: addToolbar
/**
* Add Toolbar
*/
protected function addToolbar()
{
JToolBarHelper::title(JText::_('COM_JEM_EVENTS'), 'events');
/* retrieving the allowed actions for the user */
$canDo = JEMHelperBackend::getActions(0);
/* create */
if ($canDo->get('core.create')) {
JToolBarHelper::addNew('event.add');
}
/* edit */
if ($canDo->get('core.edit')) {
JToolBarHelper::editList('event.edit');
JToolBarHelper::divider();
}
/* state */
if ($canDo->get('core.edit.state')) {
JToolBarHelper::publishList('events.publish', 'JTOOLBAR_PUBLISH', true);
JToolBarHelper::unpublishList('events.unpublish', 'JTOOLBAR_UNPUBLISH', true);
JToolBarHelper::custom('events.featured', 'featured.png', 'featured_f2.png', 'JFEATURED', true);
JToolBarHelper::archiveList('events.archive');
JToolBarHelper::checkin('events.checkin');
}
if ($this->state->get('filter.published') == -2 && $canDo->get('core.delete')) {
JToolBarHelper::deleteList('COM_JEM_CONFIRM_DELETE', 'events.delete', 'JTOOLBAR_EMPTY_TRASH');
} elseif ($canDo->get('core.edit.state')) {
JToolBarHelper::trash('events.trash');
}
JToolBarHelper::divider();
JToolBarHelper::help('listevents', true);
}
示例2: display
function display($tpl = null)
{
$mainframe = JFactory::getApplication('site');
$task = $mainframe->input->get('task', 'manage_scores');
$this->task = $task;
$filter_order = $mainframe->getUserStateFromRequest('com_jvarcade.manage_scores.filter_order', 'filter_order', 'p.date', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest('com_jvarcade.manage_scores.filter_order_Dir', 'filter_order_Dir', '', 'word');
$filter_order_Dir = $filter_order_Dir ? $filter_order_Dir : 'DESC';
// ensure filter_order has a valid value.
if (!in_array($filter_order, array('g.title', 'u.username', 'p.ip', 'p.score', 'p.date', 'p.published'))) {
$filter_order = 'p.date';
}
$model = $this->getModel();
$model->setOrderBy($filter_order);
$model->setOrderDir($filter_order_Dir);
$lists['order_Dir'] = $filter_order_Dir;
$lists['order'] = $filter_order;
$this->lists = $lists;
$scores = $model->getScores();
$pagination = $model->getPagination();
$this->pagination = $pagination;
$this->scores = $scores;
JToolBarHelper::title(JText::_('COM_JVARCADE_MANAGE_SCORES'), 'jvascores');
JToolBarHelper::deleteList(JText::_('COM_JVARCADE_SCORES_ASK_DELETE'), 'deletescore', JText::_('COM_JVARCADE_SCORES_DELETE'));
JToolBarHelper::publishList('scorePublish', JText::_('COM_JVARCADE_SCORES_PUBLISH'));
JToolBarHelper::unpublishList('scoreUnPublish', JText::_('COM_JVARCADE_SCORES_UNPUBLISH'));
jvarcadeToolbarHelper::addSubmenu($this->getName());
$this->addSidebar('manage_scores');
parent::display($tpl);
}
示例3: addToolbar
protected function addToolbar()
{
$bar = JToolBar::getInstance('toolbar');
$canDo = JCKHelper::getActions();
JToolBarHelper::title(JText::_('COM_JCKMAN_SUBMENU_PLUGIN_NAME'), 'plugin.png');
if ($canDo->get('core.edit')) {
JToolBarHelper::editList('list.edit');
}
//end if
if ($canDo->get('core.edit.state')) {
JToolBarHelper::publishList('list.publish');
JToolBarHelper::unpublishList('list.unpublish');
JToolbarHelper::checkin('list.checkin');
}
//end if
// Add a Link button for Control Panel
$bar->appendButton('Link', 'cpanel', JText::_('COM_JCKMAN_SUBMENU_CPANEL_NAME'), 'index.php?option=com_jckman&view=cpanel');
JToolBarHelper::help($this->app->input->get('view'), false, 'http://www.joomlackeditor.com/installation-guide?start=14#plugin_man_help');
JCKHelper::addSubmenu($this->app->input->get('view'));
JHtmlSidebar::setAction('index.php?option=com_jckman&view=list');
// FILTERS
JHtmlSidebar::addFilter(JText::_('JOPTION_SELECT_PUBLISHED'), 'filter_state', JHtml::_('select.options', JCKHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state')));
JHtmlSidebar::addFilter(JText::_('- Select Core Type -'), 'filter_iscore', JHtml::_('select.options', array(JHtml::_('select.option', '1', 'Core Plugins'), JHtml::_('select.option', '0', 'Not Core Plugins')), 'value', 'text', $this->state->get('filter.iscore')));
$this->sidebar = JHtmlSidebar::render();
}
示例4: addToolbar
/**
* Method to configure the toolbar for this view.
*
* @return void
*
* @since 2.5
*/
protected function addToolbar()
{
$canDo = FinderHelper::getActions();
JToolBarHelper::title(JText::_('COM_FINDER_FILTERS_TOOLBAR_TITLE'), 'finder');
$toolbar = JToolBar::getInstance('toolbar');
if ($canDo->get('core.create')) {
JToolBarHelper::addNew('filter.add');
JToolBarHelper::editList('filter.edit');
JToolBarHelper::divider();
}
if ($canDo->get('core.edit.state')) {
JToolBarHelper::publishList('filters.publish');
JToolBarHelper::unpublishList('filters.unpublish');
JToolBarHelper::divider();
}
if ($canDo->get('core.delete')) {
JToolBarHelper::deleteList('', 'filters.delete');
JToolBarHelper::divider();
}
if ($canDo->get('core.admin')) {
JToolBarHelper::preferences('com_finder');
}
JToolBarHelper::divider();
$toolbar->appendButton('Popup', 'stats', 'COM_FINDER_STATISTICS', 'index.php?option=com_finder&view=statistics&tmpl=component', 550, 500);
JToolBarHelper::divider();
JToolBarHelper::help('JHELP_COMPONENTS_FINDER_MANAGE_SEARCH_FILTERS');
}
示例5: setToolbar
function setToolbar()
{
switch ($this->_task) {
default:
JToolBarHelper::title(JText::_('Tags Manager'));
JToolBarHelper::editList();
JToolBarHelper::divider();
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
JToolBarHelper::divider();
JToolBarHelper::deleteList(JText::_('COM_TZ_PINBOARD_QUESTION_DELETE'));
JToolBarHelper::preferences('com_tz_pinboard');
break;
case 'add':
case 'new':
JRequest::setVar('hidemainmenu', true);
JToolBarHelper::title(JText::_('Tags Manager: <small><small>' . JText::_(ucfirst($this->_task)) . '</small></small>'));
JToolBarHelper::save2new();
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel();
break;
case 'edit':
JRequest::setVar('hidemainmenu', true);
JToolBarHelper::title(JText::_('Tags Manager: <small><small>' . JText::_(ucfirst(JRequest::getCmd('task'))) . '</small></small>'));
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel('cancel', JText::_('JTOOLBAR_CLOSE'));
break;
}
$state = array('P' => JText::_('JPUBLISHED'), 'U' => JText::_('JUNPUBLISHED'));
JHtmlSidebar::addFilter(JText::_('JOPTION_SELECT_PUBLISHED'), 'filter_state', JHtml::_('select.options', $state, 'value', 'text', $this->state->filter_state));
}
示例6: display
function display()
{
// Das Modell wird instanziert und steht als Objekt in der Variable $model zur Verfügung
$model =& $this->getModel();
// Die Toolbar erstellen, die über der Seite angezeigt wird
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_clm' . DS . 'images' . DS . 'admin_menue_images.php';
JToolBarHelper::title($model->turnier->name . ": " . JText::_('ROUNDS'), 'clm_turnier.png');
JToolBarHelper::spacer();
if (CLM_usertype == 'admin' or CLM_usertype == 'tl') {
// auslosen
if ($model->turnier->roundToDraw != 0) {
JToolBarHelper::spacer();
JToolBarHelper::custom('assignMatches', 'edit.png', 'edit_f2.png', JText::_('MATCHES_ASSIGN'), FALSE);
}
JToolBarHelper::spacer();
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
}
JToolBarHelper::spacer();
JToolBarHelper::cancel();
if (CLM_usertype == 'admin' or CLM_usertype == 'tl') {
JToolBarHelper::divider();
JToolBarHelper::spacer();
JToolBarHelper::custom('turform', 'config.png', 'config_f2.png', JText::_('TOURNAMENT'), false);
}
// Daten an Template übergeben
$this->assignRef('user', $model->user);
$this->assignRef('turrounds', $model->turRounds);
$this->assignRef('form', $model->form);
$this->assignRef('param', $model->param);
$this->assignRef('pagination', $model->pagination);
// zusätzliche Funktionalitäten
JHTML::_('behavior.tooltip');
parent::display();
}
示例7: setVereineToolbar
public static function setVereineToolbar()
{
$clmAccess = clm_core::$access;
// Menubilder laden
clm_core::$load->load_css("icons_images");
JToolBarHelper::title(JText::_('TITLE_VEREIN'), 'clm_headmenu_vereine.png');
if ($clmAccess->access('BE_club_copy') === true) {
//if (clm_core::$access->getType() === 'admin') {
JToolBarHelper::custom('copy_saison', 'copy.png', 'copy_f2.png', 'VEREIN_BUTTON_COPY_LAST_YEAR', false);
}
if ($clmAccess->access('BE_club_general') === true) {
JToolBarHelper::custom('gruppen', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_GROUP_EDIT', false);
JToolBarHelper::custom('rangliste', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_RANG_EDIT', false);
}
if ($clmAccess->access('BE_club_edit_member') === true) {
//if (clm_core::$access->getType() === 'admin' OR clm_core::$access->getType() === 'dv' OR clm_core::$access->getType() === 'dwz') {
JToolBarHelper::custom('dwz', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_MEMBER_EDIT', false);
}
if ($clmAccess->access('BE_club_general') === true) {
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
}
if ($clmAccess->access('BE_club_create') === true) {
JToolBarHelper::custom('copy', 'copy.png', 'copy_f2.png', 'VEREIN_BUTTON_COPY');
JToolBarHelper::custom('remove', 'delete.png', 'delete_f2.png', 'VEREIN_BUTTON_DEL', false);
JToolBarHelper::editList();
JToolBarHelper::custom('add', 'new.png', 'new_f2.png', 'VEREIN_BUTTON_NEW', false);
}
JToolBarHelper::help('screen.clm.verein');
}
示例8: display
public function display($tpl = null)
{
if ($this->getLayout() == 'edit') {
$this->_displayEditLayout($tpl);
return;
}
// Set the titlebar text
JToolBarHelper::title(JText::_('COM_COMMUNITY_CONFIGURATION_BADGES'), 'badges');
// Add the necessary buttons
JToolBarHelper::addNew('newBadge', JText::_('COM_COMMUNITY_BADGES_NEW_BADGE'));
JToolBarHelper::deleteList(JText::_('COM_COMMUNITY_BADGES_DELETION_WARNING'), 'deleteBadge', JText::_('COM_COMMUNITY_DELETE'));
JToolBarHelper::divider();
JToolBarHelper::publishList('publish', JText::_('COM_COMMUNITY_PUBLISH'));
JToolBarHelper::unpublishList('unpublish', JText::_('COM_COMMUNITY_UNPUBLISH'));
// Get badges
$badgesTable = JTable::getInstance('Badges', 'CommunityTable');
$this->assign('badges', $this->prepare($badgesTable->getBadges()));
$mainframe = JFactory::getApplication();
$filter_order = $mainframe->getUserStateFromRequest("com_community.badges.filter_order", 'filter_order', 'a.points', 'cmd');
$filter_order_Dir = $mainframe->getUserStateFromRequest("com_community.badges.filter_order_Dir", 'filter_order_Dir', '', 'word');
// table ordering
$lists['order_Dir'] = $filter_order_Dir;
$lists['order'] = $filter_order;
$this->assign('lists', $lists);
parent::display($tpl);
}
示例9: addToolbar
/**
* Method to configure the toolbar for this view.
*
* @return void
*
* @since 2.5
*/
protected function addToolbar()
{
$canDo = FinderHelper::getActions();
JToolBarHelper::title(JText::_('COM_FINDER_INDEX_TOOLBAR_TITLE'), 'finder');
$toolbar = JToolBar::getInstance('toolbar');
$toolbar->appendButton('Popup', 'archive', 'COM_FINDER_INDEX', 'index.php?option=com_finder&view=indexer&tmpl=component', 500, 210);
JToolBarHelper::divider();
if ($canDo->get('core.edit.state')) {
JToolBarHelper::publishList('index.publish');
JToolBarHelper::unpublishList('index.unpublish');
JToolBarHelper::divider();
}
if ($canDo->get('core.delete')) {
JToolBarHelper::deleteList('', 'index.delete');
JToolBarHelper::divider();
}
if ($canDo->get('core.edit.state')) {
JToolBarHelper::trash('index.purge', 'COM_FINDER_INDEX_TOOLBAR_PURGE', false);
JToolBarHelper::divider();
}
if ($canDo->get('core.admin')) {
JToolBarHelper::preferences('com_finder');
}
JToolBarHelper::divider();
$toolbar->appendButton('Popup', 'stats', 'COM_FINDER_STATISTICS', 'index.php?option=com_finder&view=statistics&tmpl=component', 550, 500);
JToolBarHelper::divider();
JToolBarHelper::help('JHELP_COMPONENTS_FINDER_MANAGE_INDEXED_CONTENT');
}
示例10: display
/**
* Easybook view display method
* @return void
**/
function display($tpl = null)
{
global $mainframe;
JToolBarHelper::title(JText::_('Easybook'), 'easybook');
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
JToolBarHelper::deleteList();
JToolBarHelper::editListX();
JToolBarHelper::addNewX();
JToolBarHelper::preferences('com_easybook', '500');
JHTML::_('stylesheet', 'easybook.css', 'administrator/components/com_easybook/css/');
// Get data from the model
$items =& $this->get('Data');
$pagination = $this->get('Pagination');
$version =& $this->get('Version');
switch ($version->checkVersion(_EASYBOOK_VERSION)) {
case 1:
$this->assign('version', "<span style='border-bottom: dotted 1px #b9b9b9; padding-right: 5px; padding-left: 5px;'><b>EasyBook " . _EASYBOOK_VERSION . "</b></span><br /><div style='margin-top: 5px;'><a href='http://www.easy-joomla.org/index.php?option=com_versions&catid=3&myVersion=" . _EASYBOOK_VERSION . "' target='_blank'><img src='" . JURI::base() . "components/com_easybook/images/shield.gif' border='0' style='vertical-align: text-bottom; padding-right: 5px;'/> <span style='color: #e2ad43;'><b>" . JTEXT::_('no updates available') . "</b></span></a></div>");
break;
case -1:
$this->assign('version', "<span style='border-bottom: dotted 1px #b9b9b9; padding-right: 5px; padding-left: 5px;'><b>EasyBook " . _EASYBOOK_VERSION . "</b></span><br /><div style='margin-top: 5px;'><a href='http://www.easy-joomla.org/index.php?option=com_versions&catid=3&myVersion=" . _EASYBOOK_VERSION . "' target='_blank'><img src='" . JURI::base() . "components/com_easybook/images/box.gif' border='0' style='vertical-align: text-bottom; padding-right: 5px;'/> <span style='color: #ce763a;'><b>" . JTEXT::_('updates available') . "</b> EasyBook " . $version->_current . "</span></a></div>");
break;
case -2:
$this->assign('version', "<span style='border-bottom: dotted 1px #b9b9b9; padding-right: 5px; padding-left: 5px;'><b>EasyBook " . _EASYBOOK_VERSION . "</b></span><br /><div style='margin-top: 5px;'><a href='http://www.easy-joomla.org/index.php?option=com_versions&catid=3&myVersion=" . _EASYBOOK_VERSION . "' target='_blank'><img src='" . JURI::base() . "components/com_easybook/images/fail.gif' border='0' style='vertical-align: middle; padding-right: 5px;'/><span style='color: #e34639;'><b>" . JTEXT::_('connection failed') . "</b></span></a></div>");
break;
}
$this->assignRef('pagination', $pagination);
$this->assignRef('items', $items);
parent::display($tpl);
}
示例11: display
function display($tpl = null)
{
$document =& JFactory::getDocument();
$document->addStyleSheet('components/com_acepolls/assets/css/acepolls.css');
JToolBarHelper::title(JText::_('COM_ACEPOLLS_POLLS'), 'acepolls');
JToolBarHelper::addNewX();
JToolBarHelper::editListX();
JToolBarHelper::deleteList();
JToolBarHelper::divider();
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
JToolBarHelper::divider();
JToolBarHelper::custom('resetVotes', 'cancel.png', 'cancel.png', JText::_('COM_ACEPOLLS_RESET_VOTES'), true, false);
JToolBarHelper::preferences('com_acepolls');
$this->mainframe = JFactory::getApplication();
$this->option = JRequest::getWord('option');
$filter_order = $this->mainframe->getUserStateFromRequest($this->option . '.polls.filter_order', 'filter_order', 'm.title', 'string');
$filter_order_Dir = $this->mainframe->getUserStateFromRequest($this->option . '.polls.filter_order_Dir', 'filter_order_Dir', '', 'word');
$filter_state = $this->mainframe->getUserStateFromRequest($this->option . '.polls.filter_state', 'filter_state', '', 'word');
$search = $this->mainframe->getUserStateFromRequest($this->option . '.polls.search', 'search', '', 'string');
JHTML::_('behavior.tooltip');
// state filter
$lists['state'] = JHTML::_('grid.state', $filter_state);
// table ordering
$lists['order_Dir'] = $filter_order_Dir;
$lists['order'] = $filter_order;
// search filter
$lists['search'] = $search;
$this->assignRef('user', JFactory::getUser());
$this->assignRef('lists', $lists);
$this->assignRef('items', $this->get('Data'));
$this->assignRef('pagination', $this->get('Pagination'));
parent::display($tpl);
}
示例12: setVereineToolbar
function setVereineToolbar()
{
// Menubilder laden
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_clm' . DS . 'images' . DS . 'admin_menue_images.php';
JToolBarHelper::title(JText::_('TITLE_VEREIN'), 'clm_headmenu_vereine.png');
if (CLM_usertype === 'admin') {
JToolBarHelper::custom('copy_saison', 'copy.png', 'copy_f2.png', 'VEREIN_BUTTON_COPY_LAST_YEAR', false);
}
//if (CLM_sl_count !== '0' OR CLM_usertype === 'admin') {
if (CLM_usertype === 'admin' || CLM_usertype === 'sl') {
JToolBarHelper::custom('gruppen', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_GROUP_EDIT', false);
JToolBarHelper::custom('rangliste', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_RANG_EDIT', false);
}
if (CLM_usertype === 'admin' or CLM_usertype === 'dv' or CLM_usertype === 'dwz') {
JToolBarHelper::custom('dwz', 'send.png', 'send_f2.png', 'VEREIN_BUTTON_MEMBER_EDIT', false);
}
if (CLM_usertype === 'admin' || CLM_usertype === 'dv' || CLM_usertype === 'sl') {
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
}
if (CLM_usertype === 'admin') {
JToolBarHelper::customX('copy', 'copy.png', 'copy_f2.png', 'VEREIN_BUTTON_COPY');
JToolBarHelper::custom('remove', 'delete.png', 'delete_f2.png', 'VEREIN_BUTTON_DEL', false);
}
JToolBarHelper::editListX();
if (CLM_usertype === 'admin') {
JToolBarHelper::custom('add', 'new.png', 'new_f2.png', 'VEREIN_BUTTON_NEW', false);
}
JToolBarHelper::help('screen.clm.verein');
}
示例13: _defaultToolbar
/**
* (non-PHPdoc)
* @see Citruscart/admin/views/CitruscartViewBase#_defaultToolbar()
*/
function _defaultToolbar()
{
JToolBarHelper::publishList('coupon_enabled.enable');
JToolBarHelper::unpublishList('coupon_enabled.disable');
JToolBarHelper::divider();
parent::_defaultToolbar();
}
示例14: MENU_Default
function MENU_Default()
{
JToolBarHelper::title(JText::_('Forms Manager'));
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
//JToolBarHelper::divider();
JToolBarHelper::addNew();
JToolBarHelper::custom($task = 'copy', $icon = 'copy_f2.png', $iconOver = 'copy_f2.png', $alt = JText::_('Copy form'), $listSelect = true);
JToolBarHelper::editList();
JToolBarHelper::deleteList();
JToolBarHelper::divider();
JToolBarHelper::custom($task = 'transform', $icon = 'transform.png', $iconOver = 'transform.png', $alt = JText::_('Transform Form'), $listSelect = true);
JToolBarHelper::custom($task = 'wizardedit', $icon = 'wizardedit.png', $iconOver = 'wizardedit.png', $alt = JText::_('Wizard Edit'), $listSelect = true);
JToolBarHelper::divider();
//JToolBarHelper::custom($task = 'adminview', $icon = 'person2_f2.png', $iconOver = 'person2_f2.png', $alt = 'Admin View', $listSelect = true) ;
//JToolBarHelper::custom($task = 'show', $icon = 'extensions_f2.png', $iconOver = 'extensions_f2.png', $alt = 'Show Data', $listSelect = true) ;
JToolBarHelper::custom($task = 'createtable', $icon = 'properties_f2.png', $iconOver = 'properties_f2.png', $alt = JText::_('Create table'), $listSelect = true);
//JToolBarHelper::custom($task = 'tablemanager', $icon = 'properties_f2.png', $iconOver = 'properties_f2.png', $alt = JText::_('Tables Manager'), $listSelect = false) ;
JToolBarHelper::deleteList('', 'deletetable', 'Remove Table');
JToolBarHelper::custom($task = 'backup', $icon = 'downloads_f2.png', $iconOver = 'downloads_f2.png', $alt = JText::_('Backup Form'), $listSelect = true);
JToolBarHelper::custom($task = 'backupall', $icon = 'downloads_f2.png', $iconOver = 'downloads_f2.png', $alt = JText::_('Backup Forms'), $listSelect = false);
JToolBarHelper::custom($task = 'restore1', $icon = 'restore_f2.png', $iconOver = 'restore_f2.png', $alt = JText::_('Restore Form(s)'), $listSelect = false);
//JToolBarHelper::divider();
//JToolBarHelper::preferences('com_chronocontact', '500' , '750');
}
示例15: addToolbar
function addToolbar()
{
$task = JRequest::getWord('task', '');
JToolBarHelper::title(JText::_('EMAIL_TEMPLATE_MANAGER'));
switch ($task) {
case 'add':
case 'edit':
JToolBarHelper::apply();
JToolBarHelper::save();
JToolBarHelper::cancel();
break;
case 'show_duplicate':
case 'show_import':
case 'show_export':
break;
default:
JToolBarHelper::custom('show_duplicate', 'copy', '', JText::_('COPY_TO'));
JToolBarHelper::custom('show_import', 'upload', '', JText::_('IMPORT'), false);
JToolBarHelper::custom('export', 'export', '', JText::_('EXPORT'));
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
JToolBarHelper::deleteList(JText::_('ARE_YOU_SURE_TO_DELETE'));
JToolBarHelper::editList();
JToolBarHelper::addNew();
break;
}
}