本文整理汇总了PHP中AdminUIHelper::buildTabs方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminUIHelper::buildTabs方法的具体用法?PHP AdminUIHelper::buildTabs怎么用?PHP AdminUIHelper::buildTabs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminUIHelper
的用法示例。
在下文中一共展示了AdminUIHelper::buildTabs方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage
* @author
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 6053 2012-06-05 12:36:21Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea();
JToolBarHelper::title(JText::_('COM_VIRTUEMART') . " " . JText::_('COM_VIRTUEMART_CONTROL_PANEL'), 'head vm_store_48');
// Loading Templates in Tabs
AdminUIHelper::buildTabs($this, array('controlpanel' => 'COM_VIRTUEMART_CONTROL_PANEL', 'statisticspage' => 'COM_VIRTUEMART_STATISTIC_STATISTICS'));
AdminUIHelper::endAdminArea();
示例2: myValidator
<form method="post" id="adminForm" name="adminForm" action="index.php" enctype="multipart/form-data" class="form-validate" onSubmit="return myValidator(this);">
<?php
$tabarray = array();
if ($this->userDetails->user_is_vendor) {
$tabarray['vendor'] = 'COM_VIRTUEMART_VENDOR';
}
$tabarray['shopper'] = 'COM_VIRTUEMART_SHOPPER_FORM_LBL';
//$tabarray['user'] = 'COM_VIRTUEMART_USER_FORM_TAB_GENERALINFO';
if ($this->shipToId != 0 || $this->new) {
$tabarray['shipto'] = 'COM_VIRTUEMART_USER_FORM_SHIPTO_LBL';
}
if (($_ordcnt = count($this->orderlist)) > 0) {
$tabarray['orderlist'] = 'COM_VIRTUEMART_ORDER_LIST_LBL';
}
AdminUIHelper::buildTabs($this, $tabarray, 'vm-user');
?>
<?php
echo $this->addStandardHiddenToForm();
?>
</form>
<script language="javascript">
function myValidator(f) {
if (f.task.value=='cancel') {
return true;
}
if (document.formvalidator.isValid(f)) {
f.submit();
return true;
} else {
示例3: array
<?php
// Loading Templates in Tabs
$tabarray = array();
$tabarray['information'] = 'COM_VIRTUEMART_PRODUCT_FORM_PRODUCT_INFO_LBL';
$tabarray['description'] = 'COM_VIRTUEMART_PRODUCT_FORM_DESCRIPTION';
$tabarray['status'] = 'COM_VIRTUEMART_PRODUCT_FORM_PRODUCT_STATUS_LBL';
$tabarray['dimensions'] = 'COM_VIRTUEMART_PRODUCT_FORM_PRODUCT_DIM_WEIGHT_LBL';
$tabarray['images'] = 'COM_VIRTUEMART_PRODUCT_FORM_PRODUCT_IMAGES_LBL';
if (!empty($this->product_childs)) {
$tabarray['childs'] = 'COM_VIRTUEMART_PRODUCT_CHILD_LIST';
}
$tabarray['custom'] = 'COM_VIRTUEMART_PRODUCT_FORM_PRODUCT_CUSTOM_TAB';
//$tabarray['emails'] = 'COM_VIRTUEMART_PRODUCT_FORM_EMAILS_TAB';
// $tabarray['customer'] = 'COM_VIRTUEMART_PRODUCT_FORM_CUSTOMER_TAB';
AdminUIHelper::buildTabs($this, $tabarray, $this->product->virtuemart_product_id);
// Loading Templates in Tabs END
?>
<!-- Hidden Fields -->
<?php
echo $this->addStandardHiddenToForm();
?>
<input type="hidden" name="virtuemart_product_id" value="<?php
echo $this->product->virtuemart_product_id;
?>
" />
<input type="hidden" name="product_parent_id" value="<?php
echo vRequest::getInt('product_parent_id', $this->product->product_parent_id);
示例4: defined
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: edit.php 8508 2014-10-22 18:57:14Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
$tabarray = array();
$tabarray['edit'] = 'com_tsmart_ADMIN_PAYMENT_FORM';
$tabarray['config'] = 'com_tsmart_ADMIN_PAYMENT_CONFIGURATION';
AdminUIHelper::buildTabs($this, $tabarray, $this->payment->tsmart_paymentmethod_id);
// Loading Templates in Tabs END
?>
<!-- Hidden Fields -->
<input type="hidden" name="option" value="com_tsmart" />
<input type="hidden" name="tsmart_paymentmethod_id" value="<?php
echo $this->payment->tsmart_paymentmethod_id;
?>
" />
<input type="hidden" name="task" value="" />
<?php
echo VmHTML::inputHidden(array(show_in_parent_window => $this->show_in_parent_window));
?>
示例5: defined
* other free or open source software licenses.
* @version $Id: edit.php 8330 2014-09-25 15:23:30Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
?>
<form enctype="multipart/form-data" action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
$tabarray = array();
$tabarray['description'] = 'COM_VIRTUEMART_DESCRIPTION';
$tabarray['images'] = 'COM_VIRTUEMART_IMAGES';
AdminUIHelper::buildTabs($this, $tabarray, $this->manufacturer->virtuemart_manufacturer_id);
// Loading Templates in Tabs END
?>
<input type="hidden" name="virtuemart_manufacturer_id" value="<?php
echo $this->manufacturer->virtuemart_manufacturer_id;
?>
" />
<?php
echo $this->addStandardHiddenToForm();
?>
</form>
<?php
vmJsApi::addJScript('vm.toggle', '
function toggleDisable( elementOnChecked, elementDisable, disableOnChecked ) {
try {
示例6: defined
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage Calculation tool
* @author Max Milbers
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: edit.php 6053 2012-06-05 12:36:21Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea();
// Loading Templates in Tabs
$tabarray = array();
$tabarray['calc'] = 'COM_VIRTUEMART_CALC_DETAILS';
AdminUIHelper::buildTabs ( $this, $tabarray );
// Loading Templates in Tabs END
AdminUIHelper::endAdminArea();
示例7: defined
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage
* @author
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 8532 2014-10-27 14:47:41Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
JToolBarHelper::title(vmText::_('COM_VIRTUEMART') . " " . vmText::_('COM_VIRTUEMART_CONTROL_PANEL'), 'head vm_store_48');
$tabs = array('controlpanel' => 'COM_VIRTUEMART_CONTROL_PANEL');
if ($this->manager('report')) {
$tabs['statisticspage'] = 'COM_VIRTUEMART_STATISTIC_STATISTICS';
}
// Loading Templates in Tabs
AdminUIHelper::buildTabs($this, $tabs);
AdminUIHelper::endAdminArea();
示例8: defined
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: edit.php 6350 2012-08-14 17:18:08Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea();
$editor = JFactory::getEditor();
?>
<form action="index.php" method="post" id="adminForm" name="adminForm" enctype="multipart/form-data">
<?php // Loading Templates in Tabs
AdminUIHelper::buildTabs ( $this, array ( 'categoryform' => 'COM_VIRTUEMART_CATEGORY_FORM_LBL',
'images' => 'COM_VIRTUEMART_IMAGES'
),$this->category->virtuemart_category_id );
?>
<input type="hidden" name="virtuemart_category_id" value="<?php echo $this->category->virtuemart_category_id; ?>" />
<?php echo $this->addStandardHiddenToForm(); ?>
</form>
<?php AdminUIHelper::endAdminArea(); ?>
示例9: defined
* tsmart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: edit.php 8508 2014-10-22 18:57:14Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
$editor = JFactory::getEditor();
?>
<form action="index.php" method="post" id="adminForm" name="adminForm" enctype="multipart/form-data">
<?php
// Loading Templates in Tabs
AdminUIHelper::buildTabs($this, array('categoryform' => 'com_tsmart_CATEGORY_FORM_LBL', 'images' => 'com_tsmart_IMAGES'), $this->category->tsmart_category_id);
?>
<input type="hidden" name="tsmart_category_id" value="<?php
echo $this->category->tsmart_category_id;
?>
" />
<?php
echo $this->addStandardHiddenToForm();
?>
</form>
<?php
AdminUIHelper::endAdminArea();
示例10: defined
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage UpdatesMigration
* @author Max Milbers
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 6058 2012-06-06 08:19:35Z alatak $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die;
AdminUIHelper::startAdminArea();
AdminUIHelper::buildTabs($this, array('tools' => 'COM_VIRTUEMART_UPDATE_TOOLS_TAB', 'migrator' => 'COM_VIRTUEMART_MIGRATION_TAB'));
AdminUIHelper::endAdminArea();
示例11: defined
* @author RickG
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 7153 2013-09-02 07:44:54Z alatak $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
AdminUIHelper::buildTabs($this, array('shop' => 'COM_VIRTUEMART_ADMIN_CFG_SHOPTAB', 'shopfront' => 'COM_VIRTUEMART_ADMIN_CFG_SHOPFRONTTAB', 'templates' => 'COM_VIRTUEMART_ADMIN_CFG_TEMPLATESTAB', 'pricing' => 'COM_VIRTUEMART_ADMIN_CFG_PRICINGTAB', 'checkout' => 'COM_VIRTUEMART_ADMIN_CFG_CHECKOUTTAB', 'product_order' => 'COM_VIRTUEMART_ADMIN_CFG_PRODUCTORDERTAB', 'sef' => 'COM_VIRTUEMART_ADMIN_CFG_SEF'));
?>
<!-- Hidden Fields --> <input type="hidden" name="task" value="" /> <input
type="hidden" name="option" value="com_virtuemart" /> <input
type="hidden" name="view" value="config" />
<?php
echo JHTML::_('form.token');
?>
</form>
<?php
AdminUIHelper::endAdminArea();
示例12: defined
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
JHtml::_('formbehavior.chosen', 'select');
vmJsApi::JvalideForm();
AdminUIHelper::startAdminArea();
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
$tabarray = array();
$tabarray['edit'] = 'COM_VIRTUEMART_PRODUCT_CUSTOM_FIELD';
if ($this->custom->form) {
$tabarray['options'] = 'JGLOBAL_FIELDSET_OPTIONS';
}
AdminUIHelper::buildTabs($this, $tabarray, $this->custom->virtuemart_custom_id);
// Loading Templates in Tabs END
?>
</form>
<?php
AdminUIHelper::endAdminArea();
?>
<script type="text/javascript">
function submitbutton(pressbutton) {
if (pressbutton=='cancel') submitform(pressbutton);
if (jQuery('#adminForm').validationEngine('validate')== true) submitform(pressbutton);
else return false ;
}
示例13: defined
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: edit.php 8508 2014-10-22 18:57:14Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
$tabarray = array();
$tabarray['edit'] = 'COM_VIRTUEMART_ADMIN_SHIPMENT_FORM';
$tabarray['config'] = 'COM_VIRTUEMART_ADMIN_SHIPMENT_CONFIGURATION';
AdminUIHelper::buildTabs($this, $tabarray, $this->shipment->virtuemart_shipmentmethod_id);
// Loading Templates in Tabs END
?>
<!-- Hidden Fields -->
<?php
echo $this->addStandardHiddenToForm();
?>
<input type="hidden" name="virtuemart_shipmentmethod_id" value="<?php
echo $this->shipment->virtuemart_shipmentmethod_id;
?>
" />
<input type="hidden" name="xxcontroller" value="shipmentmethod" />
</form>
<?php
示例14: defined
<?php
/**
*
* Description
*
* @package tsmart
* @subpackage UpdatesMigration
* @author Max Milbers
* @link http://www.tsmart.net
* @copyright Copyright (c) 2004 - 2010 tsmart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* tsmart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 8508 2014-10-22 18:57:14Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
AdminUIHelper::buildTabs($this, array('tools' => 'com_tsmart_UPDATE_TOOLS_TAB', 'migrator' => 'com_tsmart_MIGRATION_TAB'));
AdminUIHelper::endAdminArea();
示例15: defined
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 6053 2012-06-05 12:36:21Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
AdminUIHelper::startAdminArea($this);
$zas_model = VmModel::getModel('zasilkovna');
$zas_model->loadLanguage();
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php
// Loading Templates in Tabs
AdminUIHelper::buildTabs($this, array('config' => JText::_('PLG_VMSHIPMENT_ZASILKOVNA_CONFIG_TAB'), 'export' => JText::_('PLG_VMSHIPMENT_ZASILKOVNA_ORDERS_TAB')));
?>
<!-- Hidden Fields --> <input type="hidden" name="task" value="" /> <input
type="hidden" name="option" value="com_virtuemart" /> <input
type="hidden" name="view" value="zasilkovna" />
<?php
echo JHTML::_('form.token');
?>
</form>
<?php
AdminUIHelper::endAdminArea();
?>
<script>
$("a.toolbar").each(function(){
var onClickStr = $(this).attr("onclick");