0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: shipmentmethod.tar
tmpl/index.html 0000666 00000000000 15137216027 0007513 0 ustar 00 tmpl/edit_edit.php 0000666 00000003677 15137216027 0010210 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Paymentmethod * @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_edit.php 3420 2011-06-04 12:37:20Z Electrocity $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); ?> <?php echo $this->langList; ?> <div class="col50"> <fieldset> <legend><?php echo JText::_('COM_VIRTUEMART_SHIPMENTMETHOD'); ?></legend> <table class="admintable"> <?php echo VmHTML::row('input', 'COM_VIRTUEMART_SHIPPING_FORM_NAME', 'shipment_name', $this->shipment->shipment_name); ?> <?php echo VmHTML::row('input', 'COM_VIRTUEMART_SLUG', 'slug', $this->shipment->slug); ?> <?php echo VmHTML::row('booleanlist', 'COM_VIRTUEMART_PUBLISHED', 'published', $this->shipment->published); ?> <?php echo VmHTML::row('textarea', 'COM_VIRTUEMART_SHIPPING_FORM_DESCRIPTION', 'shipment_desc', $this->shipment->shipment_desc); ?> <?php echo VmHTML::row('raw', 'COM_VIRTUEMART_SHIPPING_CLASS_NAME', $this->pluginList); ?> <?php echo VmHTML::row('raw', 'COM_VIRTUEMART_SHIPPING_FORM_SHOPPER_GROUP', $this->shopperGroupList); ?> <?php echo VmHTML::row('input', 'COM_VIRTUEMART_LIST_ORDER', 'ordering', $this->shipment->ordering, 'class="inputbox"', '', 4, 4); ?> <?php if (Vmconfig::get('multix', 'none') !== 'none') { echo VmHTML::row('raw', 'COM_VIRTUEMART_VENDOR', $this->vendorList); } ?> </table> </fieldset> </div> tmpl/edit_config.php 0000666 00000004025 15137216027 0010514 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage shipment * @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_config.php 3386 2011-05-27 12:34:11Z alatak $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); if ($this->shipment->shipment_name) { $parameters = new vmParameters($this->shipment, $this->shipment->shipment_element, 'plugin', 'vmshipment'); echo $rendered = $parameters->render(); } else { echo JText::_('COM_VIRTUEMART_SELECT_SHIPPING_METHOD'); } /* <script type="text/javascript"> function check() { if (document.adminForm.type[0].checked == true || document.adminForm.type[1].checked == true) { document.getElementById('accepted_creditcards1').innerHTML = '<strong><?php echo JText::_('COM_VIRTUEMART_PAYMENT_ACCEPTED_CREDITCARDS') ?>:'; if (document.getElementById('accepted_creditcards_store').innerHTML != '') document.getElementById('accepted_creditcards2').innerHTML ='<input type="text" name="accepted_creditcards" value="' + document.getElementById('accepted_creditcards_store').innerHTML + '" class="inputbox" />'; else document.getElementById('accepted_creditcards2').innerHTML = '<?php ps_creditcard::creditcard_checkboxes( $this->paym->payment_creditcards ); ?>'; } else { try { document.getElementById('accepted_creditcards_store').innerHTML = document.adminForm.accepted_creditcards.value; } catch (e) {} document.getElementById('accepted_creditcards1').innerHTML = ''; document.getElementById('accepted_creditcards2').innerHTML = ''; } } check(); </script> */ tmpl/default.php 0000666 00000006567 15137216027 0007703 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Shipment * @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 5628 2012-03-08 09:00:21Z 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"> <div id="editcell"> <table class="adminlist" cellspacing="0" cellpadding="0"> <thead> <tr> <th width="10"> <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->shipments); ?>);" /> </th> <th> <?php echo $this->sort('shipment_name', 'COM_VIRTUEMART_SHIPMENT_NAME_LBL'); ?> </th> <th> <?php echo JText::_('COM_VIRTUEMART_SHIPMENT_LIST_DESCRIPTION_LBL'); ?> </th> <th width="20"> <?php echo JText::_('COM_VIRTUEMART_SHIPPING_SHOPPERGROUPS'); ?> </th> <th> <?php echo $this->sort('shipment_element', 'COM_VIRTUEMART_SHIPMENTMETHOD'); ?> </th> <th> <?php echo $this->sort('ordering', 'COM_VIRTUEMART_LIST_ORDER'); ?> </th> <th width="20"><?php echo $this->sort('published', 'COM_VIRTUEMART_PUBLISHED'); ?></th> <th><?php echo $this->sort('virtuemart_shipmentmethod_id', 'COM_VIRTUEMART_ID') ?></th> </tr> </thead> <?php $k = 0; for ($i=0, $n=count( $this->shipments ); $i < $n; $i++) { $row = $this->shipments[$i]; $published = JHTML::_('grid.published', $row, $i ); /** * @todo Add to database layout published column */ $row->published = 1; $checked = JHTML::_('grid.id', $i, $row->virtuemart_shipmentmethod_id); $editlink = JROUTE::_('index.php?option=com_virtuemart&view=shipmentmethod&task=edit&cid[]=' . $row->virtuemart_shipmentmethod_id); ?> <tr class="row<?php echo $k ; ?>"> <td width="10"> <?php echo $checked; ?> </td> <td align="left"> <?php echo JHTML::_('link', $editlink, JText::_($row->shipment_name)); ?> </td> <td align="left"> <?php echo $row->shipment_desc; ?> </td> <td> <?php echo $row->shipmentShoppersList; ?> </td> <td align="left"> <?php echo $row->shipment_element; //JHTML::_('link', $editlink, JText::_($row->shipment_element)); ?> </td> <td align="left"> <?php echo JText::_($row->ordering); ?> </td> <td><?php echo $published; ?></td> <td align="center"> <?php echo $row->virtuemart_shipmentmethod_id; ?> </td> </tr> <?php $k = 1 - $k; } ?> <tfoot> <tr> <td colspan="10"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> </table> </div> <?php echo $this->addStandardHiddenToForm(); ?> </form> <?php AdminUIHelper::endAdminArea(); ?>