/** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { $canDo = UserNotesHelper::getActions(); JToolBarHelper::title(JText::_('COM_USERNOTES_MENU') . ' : ' . JText::_('COM_USERNOTES_MANAGER_UNOTES'), 'stack usernotes'); JToolBarHelper::deleteList(JText::_('COM_USERNOTES_MANAGER_DELETEOK')); //JToolBarHelper::trash('usernotes.trash'); // if ($canDo->get('core.edit.state')) { // JToolBarHelper::custom('notes.reset', 'refresh.png', 'refresh_f2.png', 'JUSERSCHED_RESET', false); // } JToolBarHelper::divider(); if ($canDo->get('core.admin')) { JToolBarHelper::preferences('com_usernotes'); } JToolBarHelper::divider(); JToolBarHelper::help('user_schedulers', true); }
/** * @package com_usernotes * * @copyright Copyright (C) 2016 RJCreations - All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include the component HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.multiselect'); //var_dump('vdf',$this);jexit(); $listOrder = $this->state('list.ordering'); $listDirn = $this->state('list.direction'); $canDo = UserNotesHelper::getActions(); ?> <form action="<?php echo JRoute::_('index.php?option=com_usernotes&view=usernotes'); ?> " method="post" name="adminForm" id="adminForm"> <div id="j-sidebar-container" class="span2"> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class="span10"> <table class="table table-striped adminlist"> <thead> <tr> <th width="1%"></th>