예제 #1
0
<?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
0
파일: edit.php 프로젝트: Gskflute/joomla25
<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'] = '******';
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
0
<?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
0
* 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
0
파일: edit.php 프로젝트: cybershocik/Darek
* 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
0
<?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
0
<?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
0
* @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
0
* 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();
<?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
0
 * @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();
// 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
0
파일: edit.php 프로젝트: cybershocik/Darek
 * 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
0
<?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
0
 * 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");