<form name="tcEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('tax_class_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_tax_class'); ?> </p> <fieldset> <p><label for="tax_class_title"><?php echo OSCOM::getDef('field_title'); ?> </label><?php echo osc_draw_input_field('tax_class_title', $OSCOM_ObjectInfo->get('tax_class_title')); ?> </p> <p><label for="tax_class_description"><?php echo OSCOM::getDef('field_description'); ?> </label><?php echo osc_draw_input_field('tax_class_description', $OSCOM_ObjectInfo->get('tax_class_description')); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
</h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('trash.png') . ' ' . $OSCOM_ObjectInfo->getProtected('name'); ?> </h3> <?php if ($OSCOM_ObjectInfo->get('code') == DEFAULT_LANGUAGE) { ?> <p><?php echo '<b>' . OSCOM::getDef('introduction_delete_language_invalid') . '</b>'; ?> </p> <p><?php echo HTML::button(array('href' => OSCOM::getLink(), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))); ?> </p> <?php } else { ?>
?> <div class="infoBox"> <h3><?php echo osc_icon('trash.png') . ' ' . $OSCOM_ObjectInfo->getProtected('user_name'); ?> </h3> <form name="aDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Delete&Process&id=' . $OSCOM_ObjectInfo->getInt('id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_administrator'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->get('user_name') . '</b>'; ?> </p> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> </form> </div>
?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_definition_group'); ?> </p> <p><?php echo '<b>' . osc_output_string_protected($_GET['group']) . '</b>'; ?> </p> <p> <?php foreach ($OSCOM_ObjectInfo->get('entries') as $l) { echo Languages::get($l['languages_id'], 'name') . ': ' . (int) $l['total_entries'] . '<br />'; } ?> </p> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> </form> </div>
</div> </form> <script> function loadImageSelector() { $('#cImages').imageSelector({ json: '<?php echo OSCOM::getRPCLink(null, null, 'GetAvailableImages'); ?> ', imagePath: 'public/upload', show: 5, selector: 'cImage', images: <?php echo strlen($OSCOM_ObjectInfo->get('categories_image')) > 0 ? '\'public/categories/' . $OSCOM_ObjectInfo->get('categories_image') . '\'' : 'null'; ?> }); } $(function() { loadImageSelector(); var uploader = new qq.FileUploader({ element: document.getElementById('fileUploader'), action: '<?php echo OSCOM::getRPCLink(null, null, 'SaveUploadedImage'); ?> ', allowedExtensions: ['gif', 'jpg', 'png'], textUpload: '<?php
<form name="cEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $_GET['id']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_country'); ?> </p> <fieldset> <p><label for="countries_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo HTML::inputField('countries_name', $OSCOM_ObjectInfo->get('countries_name')); ?> </p> <p><label for="countries_iso_code_2"><?php echo OSCOM::getDef('field_iso_code_2'); ?> </label><?php echo HTML::inputField('countries_iso_code_2', $OSCOM_ObjectInfo->get('countries_iso_code_2')); ?> </p> <p><label for="countries_iso_code_3"><?php echo OSCOM::getDef('field_iso_code_3'); ?> </label><?php echo HTML::inputField('countries_iso_code_3', $OSCOM_ObjectInfo->get('countries_iso_code_3')); ?>
?> <h1><?php echo $OSCOM_Template->getIcon(32) . osc_link_object(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo osc_icon('trash.png') . ' ' . $OSCOM_ObjectInfo->get('tax_class_title') . ': ' . $OSCOM_ObjectInfo->getProtected('geo_zone_name'); ?> </h3> <form name="rDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EntryDelete&Process&id=' . $_GET['id'] . '&rID=' . $OSCOM_ObjectInfo->getInt('tax_rates_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_tax_rate'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->getProtected('tax_class_title') . ': ' . $OSCOM_ObjectInfo->getProtected('geo_zone_name') . '</b>';
<form name="aEdit" class="dataForm" autocomplete="off" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_administrator'); ?> </p> <fieldset> <p><label for="user_name"><?php echo OSCOM::getDef('field_username'); ?> </label><?php echo osc_draw_input_field('user_name', $OSCOM_ObjectInfo->get('user_name')); ?> </p> <p><label for="user_password"><?php echo OSCOM::getDef('field_password'); ?> </label><?php echo osc_draw_password_field('user_password'); ?> </p> <p><select name="accessModules" id="modulesList"><option value="-1" disabled="disabled">-- Access Modules --</option><option value="0"><?php echo OSCOM::getDef('global_access'); ?> </option></select></p>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 (1991) as published by the Free Software Foundation. */ use osCommerce\OM\Core\ObjectInfo; use osCommerce\OM\Core\Site\Admin\Application\ZoneGroups\ZoneGroups; use osCommerce\OM\Core\OSCOM; use osCommerce\OM\Core\Site\Shop\Address; $OSCOM_ObjectInfo = new ObjectInfo(ZoneGroups::getEntry($_GET['zID'])); $countries_array = array(array('id' => '', 'text' => OSCOM::getDef('all_countries'))); foreach (Address::getCountries() as $country) { $countries_array[] = array('id' => $country['id'], 'text' => $country['name']); } $zones_array = array(array('id' => '', 'text' => OSCOM::getDef('all_zones'))); if ($OSCOM_ObjectInfo->get('zone_country_id') > 0) { foreach (Address::getZones($OSCOM_ObjectInfo->get('zone_country_id')) as $zone) { $zones_array[] = array('id' => $zone['id'], 'text' => $zone['name']); } } ?> <script type="text/javascript"> function update_zone(theForm) { var NumState = theForm.zone_id.options.length; var SelectedCountry = ""; while(NumState > 0) { NumState--; theForm.zone_id.options[NumState] = null; }
<form name="ccEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_card'); ?> </p> <fieldset> <p><label for="credit_card_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo osc_draw_input_field('credit_card_name', $OSCOM_ObjectInfo->get('credit_card_name')); ?> </p> <p><label for="pattern"><?php echo OSCOM::getDef('field_pattern'); ?> </label><?php echo osc_draw_input_field('pattern', $OSCOM_ObjectInfo->get('pattern')); ?> </p> <p><label for="sort_order"><?php echo OSCOM::getDef('field_sort_order'); ?> </label><?php echo osc_draw_input_field('sort_order', $OSCOM_ObjectInfo->get('sort_order')); ?>
?> </p> <fieldset> <p><label for="tax_zone_id"><?php echo OSCOM::getDef('field_tax_rate_zone_group'); ?> </label><?php echo osc_draw_pull_down_menu('tax_zone_id', $zones_array, $OSCOM_ObjectInfo->getInt('geo_zone_id')); ?> </p> <p><label for="tax_rate"><?php echo OSCOM::getDef('field_tax_rate'); ?> </label><?php echo osc_draw_input_field('tax_rate', $OSCOM_ObjectInfo->get('tax_rate')); ?> </p> <p><label for="tax_description"><?php echo OSCOM::getDef('field_tax_rate_description'); ?> </label><?php echo osc_draw_input_field('tax_description', $OSCOM_ObjectInfo->get('tax_description')); ?> </p> <p><label for="tax_priority"><?php echo OSCOM::getDef('field_tax_rate_priority'); ?> </label><?php echo osc_draw_input_field('tax_priority', $OSCOM_ObjectInfo->getInt('tax_priority')); ?>
use osCommerce\OM\Core\ObjectInfo; use osCommerce\OM\Core\Site\Admin\Application\Configuration\Configuration; use osCommerce\OM\Core\OSCOM; $OSCOM_ObjectInfo = new ObjectInfo(Configuration::getEntry($_GET['pID'])); ?> <h1><?php echo $OSCOM_Template->getIcon(32) . osc_link_object(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } if (!osc_empty($OSCOM_ObjectInfo->get('set_function'))) { $value_field = osc_call_user_func($OSCOM_ObjectInfo->get('set_function'), $OSCOM_ObjectInfo->get('configuration_value'), $osC_ObjectInfo->get('configuration_key')); } else { $value_field = osc_draw_input_field('configuration[' . $OSCOM_ObjectInfo->get('configuration_key') . ']', $OSCOM_ObjectInfo->get('configuration_value')); } ?> <div class="infoBox"> <h3><?php echo osc_icon('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('configuration_title'); ?> </h3> <form name="cEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EntrySave&Process&id=' . $_GET['id']); ?>
?> </p> <fieldset> <p><label for="tax_zone_id"><?php echo OSCOM::getDef('field_tax_rate_zone_group'); ?> </label><?php echo HTML::selectMenu('tax_zone_id', $zones_array, $OSCOM_ObjectInfo->getInt('geo_zone_id')); ?> </p> <p><label for="tax_rate"><?php echo OSCOM::getDef('field_tax_rate'); ?> </label><?php echo HTML::inputField('tax_rate', $OSCOM_ObjectInfo->get('tax_rate')); ?> </p> <p><label for="tax_description"><?php echo OSCOM::getDef('field_tax_rate_description'); ?> </label><?php echo HTML::inputField('tax_description', $OSCOM_ObjectInfo->get('tax_description')); ?> </p> <p><label for="tax_priority"><?php echo OSCOM::getDef('field_tax_rate_priority'); ?> </label><?php echo HTML::inputField('tax_priority', $OSCOM_ObjectInfo->getInt('tax_priority')); ?>
<form name="zEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'ZoneSave&Process&id=' . $_GET['id'] . '&zID=' . $_GET['zID']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_zone'); ?> </p> <fieldset> <p><label for="zone_name"><?php echo OSCOM::getDef('field_zone_name'); ?> </label><?php echo HTML::inputField('zone_name', $OSCOM_ObjectInfo->get('zone_name')); ?> </p> <p><label for="zone_code"><?php echo OSCOM::getDef('field_zone_code'); ?> </label><?php echo HTML::inputField('zone_code', $OSCOM_ObjectInfo->get('zone_code')); ?> </p> </fieldset> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . HTML::button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
<form name="cEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $_GET['id']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_country'); ?> </p> <fieldset> <p><label for="countries_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo osc_draw_input_field('countries_name', $OSCOM_ObjectInfo->get('countries_name')); ?> </p> <p><label for="countries_iso_code_2"><?php echo OSCOM::getDef('field_iso_code_2'); ?> </label><?php echo osc_draw_input_field('countries_iso_code_2', $OSCOM_ObjectInfo->get('countries_iso_code_2')); ?> </p> <p><label for="countries_iso_code_3"><?php echo OSCOM::getDef('field_iso_code_3'); ?> </label><?php echo osc_draw_input_field('countries_iso_code_3', $OSCOM_ObjectInfo->get('countries_iso_code_3')); ?>
<form name="ccEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_card'); ?> </p> <fieldset> <p><label for="credit_card_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo HTML::inputField('credit_card_name', $OSCOM_ObjectInfo->get('credit_card_name')); ?> </p> <p><label for="pattern"><?php echo OSCOM::getDef('field_pattern'); ?> </label><?php echo HTML::inputField('pattern', $OSCOM_ObjectInfo->get('pattern')); ?> </p> <p><label for="sort_order"><?php echo OSCOM::getDef('field_sort_order'); ?> </label><?php echo HTML::inputField('sort_order', $OSCOM_ObjectInfo->get('sort_order')); ?>
</h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo osc_icon('trash.png') . ' ' . $OSCOM_ObjectInfo->getProtected('title'); ?> </h3> <?php if ($OSCOM_ObjectInfo->get('code') == DEFAULT_CURRENCY) { ?> <p><?php echo '<b>' . OSCOM::getDef('introduction_delete_currency_invalid') . '</b>'; ?> </p> <p><?php echo osc_draw_button(array('href' => OSCOM::getLink(), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))); ?> </p> <?php } else { ?>
<form name="cEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $_GET['id']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_currency'); ?> </p> <fieldset> <p><label for="title"><?php echo OSCOM::getDef('field_title'); ?> </label><?php echo osc_draw_input_field('title', $OSCOM_ObjectInfo->get('title')); ?> </p> <p><label for="code"><?php echo OSCOM::getDef('field_code'); ?> </label><?php echo osc_draw_input_field('code', $OSCOM_ObjectInfo->get('code')); ?> </p> <p><label for="symbol_left"><?php echo OSCOM::getDef('field_symbol_left'); ?> </label><?php echo osc_draw_input_field('symbol_left', $OSCOM_ObjectInfo->get('symbol_left')); ?>
<form name="zEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('geo_zone_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_zone_group'); ?> </p> <fieldset> <p><label for="zone_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo osc_draw_input_field('zone_name', $OSCOM_ObjectInfo->get('geo_zone_name')); ?> </p> <p><label for="zone_description"><?php echo OSCOM::getDef('field_description'); ?> </label><?php echo osc_draw_input_field('zone_description', $OSCOM_ObjectInfo->get('geo_zone_description')); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
</h3> <form name="lDefineBatch" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'BatchSaveDefinitions&Process&id=' . $_GET['id'] . '&group=' . $_GET['group']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_language_definitions'); ?> </p> <fieldset> <?php foreach ($_POST['batch'] as $id) { $OSCOM_ObjectInfo = new ObjectInfo(Languages::getDefinition($id)); echo '<p><label for="def[' . $OSCOM_ObjectInfo->getProtected('definition_key') . ']">' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</label>' . osc_draw_textarea_field('def[' . $OSCOM_ObjectInfo->get('definition_key') . ']', $OSCOM_ObjectInfo->get('definition_value')) . osc_draw_hidden_field('batch[]', $OSCOM_ObjectInfo->getInt('id')) . '</p>'; } ?> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id'] . '&group=' . $_GET['group']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> </form> </div>
<form name="lEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $_GET['id']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_language'); ?> </p> <fieldset> <p><label for="name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo osc_draw_input_field('name', $OSCOM_ObjectInfo->get('name')); ?> </p> <p><label for="code"><?php echo OSCOM::getDef('field_code'); ?> </label><?php echo osc_draw_input_field('code', $OSCOM_ObjectInfo->get('code')); ?> </p> <p><label for="locale"><?php echo OSCOM::getDef('field_locale'); ?> </label><?php echo osc_draw_input_field('locale', $OSCOM_ObjectInfo->get('locale')); ?>
<form name="zEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'ZoneSave&Process&id=' . $_GET['id'] . '&zID=' . $_GET['zID']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_zone'); ?> </p> <fieldset> <p><label for="zone_name"><?php echo OSCOM::getDef('field_zone_name'); ?> </label><?php echo osc_draw_input_field('zone_name', $OSCOM_ObjectInfo->get('zone_name')); ?> </p> <p><label for="zone_code"><?php echo OSCOM::getDef('field_zone_code'); ?> </label><?php echo osc_draw_input_field('zone_code', $OSCOM_ObjectInfo->get('zone_code')); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
</h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('uninstall.png') . ' ' . $OSCOM_ObjectInfo->getProtected('title'); ?> </h3> <form name="mUninstall" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Uninstall&Process&code=' . $OSCOM_ObjectInfo->get('code')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_uninstall_payment_module'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->getProtected('title') . '</b>'; ?> </p> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_uninstall'))) . ' ' . HTML::button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel')));
<form name="lDefine" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EditDefinition&Process&id=' . $_GET['id'] . '&group=' . $_GET['group']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_language_definitions'); ?> </p> <fieldset> <p><label for="def[<?php echo $OSCOM_ObjectInfo->getProtected('definition_key'); ?> ]"><?php echo $OSCOM_ObjectInfo->getProtected('definition_key'); ?> </label><?php echo osc_draw_textarea_field('def[' . $OSCOM_ObjectInfo->get('definition_key') . ']', $OSCOM_ObjectInfo->get('definition_value')); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id'] . '&group=' . $_GET['group']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> </form> </div>
<p><?php echo osc_draw_button(array('href' => OSCOM::getLink(), 'icon' => 'triangle-1-w', 'title' => OSCOM::getDef('button_back'))); ?> </p> <?php } else { ?> <p><?php echo OSCOM::getDef('introduction_delete_tax_class'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->get('tax_class_title') . ' (' . sprintf(OSCOM::getDef('total_entries'), $OSCOM_ObjectInfo->getInt('total_tax_rates')) . ')</b>'; ?> </p> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> <?php } ?> </form> </div>
<form name="zEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('geo_zone_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_zone_group'); ?> </p> <fieldset> <p><label for="zone_name"><?php echo OSCOM::getDef('field_name'); ?> </label><?php echo HTML::inputField('zone_name', $OSCOM_ObjectInfo->get('geo_zone_name')); ?> </p> <p><label for="zone_description"><?php echo OSCOM::getDef('field_description'); ?> </label><?php echo HTML::inputField('zone_description', $OSCOM_ObjectInfo->get('geo_zone_description')); ?> </p> </fieldset> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . HTML::button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
<form name="tcEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('tax_class_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_tax_class'); ?> </p> <fieldset> <p><label for="tax_class_title"><?php echo OSCOM::getDef('field_title'); ?> </label><?php echo HTML::inputField('tax_class_title', $OSCOM_ObjectInfo->get('tax_class_title')); ?> </p> <p><label for="tax_class_description"><?php echo OSCOM::getDef('field_description'); ?> </label><?php echo HTML::inputField('tax_class_description', $OSCOM_ObjectInfo->get('tax_class_description')); ?> </p> </fieldset> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . HTML::button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
</h3> <form name="lDefineBatch" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'BatchSaveDefinitions&Process&id=' . $_GET['id'] . '&group=' . $_GET['group']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_language_definitions'); ?> </p> <fieldset> <?php foreach ($_POST['batch'] as $id) { $OSCOM_ObjectInfo = new ObjectInfo(Languages::getDefinition($id)); echo '<p><label for="def[' . $OSCOM_ObjectInfo->getProtected('definition_key') . ']">' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</label>' . HTML::textareaField('def[' . $OSCOM_ObjectInfo->get('definition_key') . ']', $OSCOM_ObjectInfo->get('definition_value')) . HTML::hiddenField('batch[]', $OSCOM_ObjectInfo->getInt('id')) . '</p>'; } ?> </fieldset> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . HTML::button(array('href' => OSCOM::getLink(null, null, 'id=' . $_GET['id'] . '&group=' . $_GET['group']), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p> </form> </div>
</h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('title'); ?> </h3> <form name="pmEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&code=' . $OSCOM_ObjectInfo->get('code')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_payment_module'); ?> </p> <fieldset> <?php $keys = ''; foreach ($OSCOM_ObjectInfo->get('keys') as $key) { $Qkey = $OSCOM_PDO->prepare('select configuration_title, configuration_value, configuration_description, use_function, set_function from :table_configuration where configuration_key = :configuration_key'); $Qkey->bindValue(':configuration_key', $key);
<form name="aEdit" class="dataForm" autocomplete="off" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&id=' . $OSCOM_ObjectInfo->getInt('id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_administrator'); ?> </p> <fieldset> <p><label for="user_name"><?php echo OSCOM::getDef('field_username'); ?> </label><?php echo HTML::inputField('user_name', $OSCOM_ObjectInfo->get('user_name')); ?> </p> <p><label for="user_password"><?php echo OSCOM::getDef('field_password'); ?> </label><?php echo HTML::passwordField('user_password'); ?> </p> <p><select name="accessModules" id="modulesList"><option value="-1" disabled="disabled">-- Access Modules --</option><option value="0"><?php echo OSCOM::getDef('global_access'); ?> </option></select></p>