?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </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>';
?> <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>';
?> <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('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('name'); ?> </h3> <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
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('export.png') . ' ' . $OSCOM_ObjectInfo->getProtected('name'); ?> </h3> <form name="lExport" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Export&Process&id=' . $_GET['id']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_export_language'); ?> </p> <fieldset> <p>(<a href="javascript:selectAllFromPullDownMenu('groups');"><u><?php
?> <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->getProtected('definition_key'); ?> </h3> <form name="lDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'DeleteDefinition&Process&id=' . $_GET['id'] . '&group=' . $_GET['group'] . '&dID=' . $_GET['dID']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_language_definition'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</b>';
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </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'))); ?>
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </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>
</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>
?> </h3> <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>
</script> <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('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('countries_name') . ': ' . $OSCOM_ObjectInfo->getProtected('zone_name'); ?> </h3> <form name="zEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EntrySave&Process&id=' . $_GET['id'] . '&zID=' . $OSCOM_ObjectInfo->getInt('association_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_zone_entry'); ?> </p> <fieldset> <p><label for="zone_country_id"><?php
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('credit_card_name'); ?> </h3> <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
?> <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('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('tax_class_title') . ': ' . $OSCOM_ObjectInfo->getProtected('geo_zone_name'); ?> </h3> <form name="rEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EntrySave&Process&id=' . $_GET['id'] . '&rID=' . $OSCOM_ObjectInfo->getInt('tax_rates_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_tax_rate'); ?> </p> <fieldset> <p><label for="tax_zone_id"><?php
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('trash.png') . ' ' . $OSCOM_ObjectInfo->getProtected('countries_name') . ': ' . $OSCOM_ObjectInfo->getProtected('zone_name'); ?> </h3> <form name="zDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'EntryDelete&Process&id=' . $_GET['id'] . '&zID=' . $OSCOM_ObjectInfo->getInt('association_id')); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_zone_entry'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->getProtected('countries_name') . ': ' . $OSCOM_ObjectInfo->getProtected('zone_name') . '</b>';
</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']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_parameter'); ?> </p> <fieldset> <p><label for="configuration[<?php
<form id="cEditForm" name="cEdit" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Save&Process&cid=' . $OSCOM_ObjectInfo->getInt('parent_id') . '&id=' . $OSCOM_ObjectInfo->getInt('categories_id')); ?> " method="post" enctype="multipart/form-data"> <div id="formButtons" style="float: right;"><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . HTML::button(array('type' => 'button', 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'), 'params' => 'onclick="$.safetynet.suppressed(true); window.location.href=\'' . OSCOM::getLink(null, null, 'cid=' . $OSCOM_ObjectInfo->getInt('parent_id')) . '\';"')); ?> </div> <div style="clear: both;"></div> <div class="infoBox"> <h3><?php echo HTML::icon('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('categories_name'); ?> </h3> <fieldset> <p><label for="parent_id"><?php echo OSCOM::getDef('field_parent_category'); ?> </label><?php echo HTML::selectMenu('parent_id', array_merge(array(array('id' => '0', 'text' => OSCOM::getDef('top_category'))), $OSCOM_Application->getCategoryList()), $OSCOM_ObjectInfo->getInt('parent_id')); ?> </p> <p><label><?php echo OSCOM::getDef('field_name'); ?> </label></p>
?> <h1><?php echo $OSCOM_Template->getIcon(32) . HTML::link(OSCOM::getLink(), $OSCOM_Template->getPageTitle()); ?> </h1> <?php if ($OSCOM_MessageStack->exists()) { echo $OSCOM_MessageStack->get(); } ?> <div class="infoBox"> <h3><?php echo HTML::icon('edit.png') . ' ' . $OSCOM_ObjectInfo->getProtected('geo_zone_name'); ?> </h3> <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
?> <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->getProtected('tax_class_title'); ?> </h3> <form name="tcDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Delete&Process&id=' . $OSCOM_ObjectInfo->getInt('tax_class_id')); ?> " method="post"> <?php if (TaxClasses::hasProducts($OSCOM_ObjectInfo->getInt('tax_class_id'))) { ?> <p><?php echo '<b>' . sprintf(OSCOM::getDef('delete_warning_tax_class_in_use'), TaxClasses::getNumberOfProducts($OSCOM_ObjectInfo->getInt('tax_class_id'))) . '</b>'; ?>
?> <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->getProtected('geo_zone_name'); ?> </h3> <form name="zDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Delete&Process&id=' . $OSCOM_ObjectInfo->getInt('geo_zone_id')); ?> " method="post"> <?php if (ZoneGroups::hasTaxRates($OSCOM_ObjectInfo->getInt('geo_zone_id'))) { ?> <p><?php echo '<b>' . sprintf(OSCOM::getDef('delete_warning_group_in_use_tax_rate'), ZoneGroups::getNumberOfTaxRates($OSCOM_ObjectInfo->getInt('geo_zone_id'))) . '</b>'; ?>
?> <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->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>';
</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 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->getProtected('zone_name'); ?> </h3> <form name="zDelete" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'ZoneDelete&Process&id=' . $_GET['id'] . '&zID=' . $_GET['zID']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_delete_zone'); ?> </p> <p><?php echo '<b>' . $OSCOM_ObjectInfo->getProtected('zone_name') . '</b>';
echo OSCOM::getLink(null, null, 'BatchDeleteDefinitions&Process&id=' . $_GET['id'] . '&group=' . $_GET['group']); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_batch_delete_language_definitions'); ?> </p> <fieldset> <?php $names_string = ''; foreach ($_POST['batch'] as $id) { $OSCOM_ObjectInfo = new ObjectInfo(Languages::getDefinition($id)); $names_string .= HTML::hiddenField('batch[]', $OSCOM_ObjectInfo->getInt('id')) . '<b>' . $OSCOM_ObjectInfo->getProtected('definition_key') . '</b><br />'; } if (!empty($names_string)) { $names_string = substr($names_string, 0, -6); } echo '<p>' . $names_string . '</p>'; ?> </fieldset> <p><?php echo HTML::button(array('priority' => 'primary', 'icon' => 'trash', 'title' => OSCOM::getDef('button_delete'))) . ' ' . 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>