check for 461 tpls
This commit is contained in:
parent
fc11983f4d
commit
b7a5dd7186
9
.gitattributes
vendored
9
.gitattributes
vendored
@ -1,10 +1,7 @@
|
||||
* text=auto !eol
|
||||
changed_full/EE/EE420-EE456/out/admin/de/d3_geoip_lang.php -text
|
||||
changed_full/EE/EE420-EE456/out/admin/tpl/d3_cfg_geoipset_main.tpl -text
|
||||
changed_full/EE/EE420-EE456/out/admin/tpl/d3_country_geoip.tpl -text
|
||||
changed_full/PE/PE420-PE456/out/admin/de/d3_geoip_lang.php -text
|
||||
changed_full/PE/PE420-PE456/out/admin/tpl/d3_cfg_geoipset_main.tpl -text
|
||||
changed_full/PE/PE420-PE456/out/admin/tpl/d3_country_geoip.tpl -text
|
||||
changed_full/420-461/out/admin/de/d3_geoip_lang.php -text
|
||||
changed_full/420-461/out/admin/tpl/d3_cfg_geoipset_main.tpl -text
|
||||
changed_full/420-461/out/admin/tpl/d3_country_geoip.tpl -text
|
||||
copy_this/admin/d3_cfg_geoipset.php -text
|
||||
copy_this/admin/d3_cfg_geoipset_licence.php -text
|
||||
copy_this/admin/d3_cfg_geoipset_list.php -text
|
||||
|
@ -54,6 +54,9 @@ $aLang = array(
|
||||
'D3_GEOIP_SELURL' => 'zu wechselnde URL',
|
||||
'D3_GEOIP_SELURL_DESC' => 'Sobald im URL-Feld eine Eingabe vorhanden ist, wird bei passenden Kunden versucht, zur hinterlegten URL zu wechseln. Möchten Sie den Mandanten, die Währung und / oder die Sprache einstellen, entfernen Sie die URL.<br><br>Aktivieren / deaktivieren Sie den URL-Wechsel zusätzlich in den Modul-Grundeinstellungen.',
|
||||
|
||||
'D3_GEOIP_METADATA_TITLE' => 'D³ GeoIP Vorauswahl',
|
||||
'D3_GEOIP_METADATA_DESC' => 'Begrüßen Sie Ihre Kunden in seiner Landessprache.',
|
||||
|
||||
);
|
||||
|
||||
/*
|
@ -1,61 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* This Software is the property of OXID eSales and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
*
|
||||
* Any unauthorized use of this software without a valid license key
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
*
|
||||
* @link http://www.oxid-esales.com
|
||||
* @package lang
|
||||
* @copyright (C) OXID eSales AG 2003-2009
|
||||
* @version OXID eShop EE
|
||||
* $Id: lang.php 23594 2009-10-26 13:19:30Z alfonsas $
|
||||
*/
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
$iLangNr = 0;
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
$aLang = array(
|
||||
|
||||
'charset' => 'ISO-8859-15',
|
||||
'd3mxd3modules' => 'D³ Module',
|
||||
'd3mxgeoip' => 'GeoIP',
|
||||
'd3mxgeoip_settings' => 'Einstellungen',
|
||||
'd3tbclgeoip_settings_main' => 'Grundeinstellungen',
|
||||
'tbclcountry_geoip' => 'GeoIP-Kundenumleitungen',
|
||||
|
||||
'D3_GEOIP_TRANSL' => 'GeoIP-Kundenumleitungen',
|
||||
|
||||
'D3_GEOIP_SET_DEBUG_DESC' => 'Mit aktiviertem Debug-Modus wird im Frontend die aktuelle IP-Adresse des Shopbesuchers gezeigt. Beachten Sie, dass Umleitungen, die auf Weiterleitungen basieren, dann nicht ausgeführt werden können.',
|
||||
'D3_GEOIP_SET_OPTIONS' => 'Optionen',
|
||||
'D3_GEOIP_SET_OPTIONS_CHANGESHOP' => 'Mandant wechseln, wenn eingestellt (nur EE)',
|
||||
'D3_GEOIP_SET_OPTIONS_CHANGECURR' => 'Währung wechseln, wenn eingestellt',
|
||||
'D3_GEOIP_SET_OPTIONS_CHANGELANG' => 'Sprache wechseln, wenn eingestellt',
|
||||
'D3_GEOIP_SET_OPTIONS_CHANGEURL' => 'URL wechseln, wenn eingestellt',
|
||||
'D3_GEOIP_SET_OPTIONS_NOCOUNTRY' => 'Shop verwendet die Einstellung dieses Landes, wenn IP nicht zuzuordnen ist',
|
||||
'D3_GEOIP_SET_IP' => 'IP-Einstellungen',
|
||||
'D3_GEOIP_SET_IP_TESTIP' => 'statt Kunden-IP immer diese IP-Adresse verwenden',
|
||||
'D3_GEOIP_SET_IP_CHECKIP' => 'diese IP-Adresse prüfen',
|
||||
'D3_GEOIP_SET_IP_CHECKIP_NOTSET' => 'IP nicht zugewiesen oder Land nicht aktiv',
|
||||
'D3_GENERAL_GEOIP_SAVE' => 'Speichern',
|
||||
|
||||
'D3_GEOIP_SELSHOP' => 'zuständiger Shop',
|
||||
'D3_GEOIP_SELLANG' => 'vorgewählte Sprache',
|
||||
'D3_GEOIP_SELCUR' => 'vorgewählte Währung',
|
||||
'D3_GEOIP_CUSTSELSHOP' => ' - vom Kunden gewählter Shop - ',
|
||||
'D3_GEOIP_CUSTSELLANG' => ' - vom Kunden gewählte Sprache - ',
|
||||
'D3_GEOIP_CUSTSELCUR' => ' - vom Kunden gewählte Währung - ',
|
||||
'D3_GEOIP_OR' => 'oder',
|
||||
'D3_GEOIP_DISABLED' => '(deaktiviert)',
|
||||
'D3_GEOIP_SELURL' => 'zu wechselnde URL',
|
||||
'D3_GEOIP_SELURL_DESC' => 'Sobald im URL-Feld eine Eingabe vorhanden ist, wird bei passenden Kunden versucht, zur hinterlegten URL zu wechseln. Möchten Sie den Mandanten, die Währung und / oder die Sprache einstellen, entfernen Sie die URL.<br><br>Aktivieren / deaktivieren Sie den URL-Wechsel zusätzlich in den Modul-Grundeinstellungen.',
|
||||
|
||||
);
|
||||
|
||||
/*
|
||||
[{ oxmultilang ident='ACTIONS_MAIN_YOUWANTTODELETE' }]
|
||||
*/
|
@ -1,327 +0,0 @@
|
||||
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="[{$oViewConf->getResourceUrl() }]d3_mod_cfg.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
[{ if $updatelist == 1}]
|
||||
UpdateList('[{ $oxid }]');
|
||||
[{ /if}]
|
||||
|
||||
function UpdateList( sID)
|
||||
{
|
||||
var oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.fnc.value='';
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function EditThis( sID)
|
||||
{
|
||||
var oTransfer = document.getElementById("transfer");
|
||||
oTransfer.oxid.value=sID;
|
||||
oTransfer.cl.value='';
|
||||
oTransfer.submit();
|
||||
|
||||
var oSearch = parent.list.document.getElementById("search");
|
||||
oSearch.actedit.value = 0;
|
||||
oSearch.oxid.value=sID;
|
||||
oSearch.submit();
|
||||
}
|
||||
|
||||
function _groupExp(el) {
|
||||
var _cur = el.parentNode;
|
||||
|
||||
if (_cur.className == "exp") _cur.className = "";
|
||||
else _cur.className = "exp";
|
||||
}
|
||||
|
||||
var sOldSettingElem = '';
|
||||
|
||||
function showFormatSettings(sElemId, visible, blUseOldElem)
|
||||
{
|
||||
if (blUseOldElem && sOldSettingElem) {
|
||||
document.getElementById(sOldSettingElem).style.display = 'none';
|
||||
sOldSettingElem = sElemId;
|
||||
} else if (blUseOldElem) {
|
||||
document.getElementById('settings_global').style.display = 'none';
|
||||
document.getElementById('settingstxt_global').style.display = 'none';
|
||||
sOldSettingElem = sElemId;
|
||||
}
|
||||
|
||||
if (visible == true)
|
||||
document.getElementById(sElemId).style.display = 'block';
|
||||
else
|
||||
document.getElementById(sElemId).style.display = 'none';
|
||||
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.questbox{
|
||||
background-color: #07f;
|
||||
color: white;
|
||||
float: right;
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 1px 4px;
|
||||
font-weight: bold;
|
||||
z-index: 98;
|
||||
cursor: help;
|
||||
font-family: Verdana,Arial,Helvetica,sans-serif;
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
.helptextbox{
|
||||
background-color: white;
|
||||
color: black;
|
||||
border: 1px solid black;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
padding: 5px;
|
||||
margin-top: 15px;
|
||||
width: 300px;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
fieldset{
|
||||
border: 1px inset black;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
legend{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dt{
|
||||
font-weight: normal;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.ext_edittext {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
td.edittext {
|
||||
white-space: normal;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
[{ if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{ $oViewConf->getSelfLink() }]" method="post">
|
||||
[{ $oViewConf->getHiddenSid() }]
|
||||
<input type="hidden" name="oxid" value="[{ $oxid }]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="actshop" value="[{ $shop->id }]">
|
||||
<input type="hidden" name="editlanguage" value="[{ $editlanguage }]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{ $oViewConf->getSelfLink() }]" method="post">
|
||||
[{ $oViewConf->getHiddenSid() }]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="save">
|
||||
<input type="hidden" name="oxid" value="[{ $oxid }]">
|
||||
<input type="hidden" name="editval[d3_cfg_mod__oxid]" value="[{ $oxid }]">
|
||||
|
||||
<table border="0" width="98%">
|
||||
<tr>
|
||||
<td valign="top" class="edittext">
|
||||
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td style="width:50%; border-right: 1px solid #999;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULEACTIVE"}]
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="editval[d3_cfg_mod__oxactive]" value='0'>
|
||||
<input class="edittext ext_edittext" type="checkbox" name="editval[d3_cfg_mod__oxactive]" value='1' [{if $edit->d3_cfg_mod__oxactive->value == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_CFG_MOD_GENERAL_MODULEACTIVE_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext">
|
||||
[{if $edit->getValue('blDebugmodeGlobal') == 1}]<span style="font-weight: bold; color: #CD0210;">[{/if}][{oxmultilang ident="D3_CFG_MOD_GENERAL_DEBUGACTIVE"}][{if $edit->getValue('blDebugmodeGlobal') == 1}]</span>[{/if}]
|
||||
</td>
|
||||
<td class="edittext ext_edittext">
|
||||
<input type="hidden" name="value[blDebugmodeGlobal]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blDebugmodeGlobal]" value='1' [{if $edit->getValue('blDebugmodeGlobal') == 1}]checked[{/if}]>
|
||||
[{oxinputhelp ident="D3_GEOIP_SET_DEBUG_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td>
|
||||
[{assign var="blD3HasLog" value=$oView->checkD3Log() }]
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="width: 100%;">
|
||||
[{if $blD3HasLog}]
|
||||
[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING"}]
|
||||
[{/if}]
|
||||
</td>
|
||||
<td class="edittext ext_edittext" align="left">
|
||||
[{if $blD3HasLog}]
|
||||
<select name="editval[d3_cfg_mod__oxismodulelog]" class="edittext">
|
||||
<option value="0" [{if $edit->d3_cfg_mod__oxismodulelog->value == 0}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_NONE"}]</option>
|
||||
<option value="1" [{if $edit->d3_cfg_mod__oxismodulelog->value == 1}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_ALL"}]</option>
|
||||
<option value="2" [{if $edit->d3_cfg_mod__oxismodulelog->value == 2}]selected[{/if}]>[{oxmultilang ident="D3_CFG_MOD_GENERAL_MODULELOGGING_ERRORS"}]</option>
|
||||
</select>
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" style="width: 100%;">
|
||||
|
||||
</td>
|
||||
<td class="edittext ext_edittext" align="left">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS_CHANGESHOP"}]
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blChangeShop]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blChangeShop]" value='1' [{if $edit->getValue('blChangeShop') == 1}]checked[{/if}]>
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_OPTIONS_CHANGESHOP_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS_CHANGECURR"}]
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blChangeCurr]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blChangeCurr]" value='1' [{if $edit->getValue('blChangeCurr') == 1}]checked[{/if}]>
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_OPTIONS_CHANGECURR_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS_CHANGELANG"}]
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blChangeLang]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blChangeLang]" value='1' [{if $edit->getValue('blChangeLang') == 1}]checked[{/if}]>
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_OPTIONS_CHANGELANG_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS_CHANGEURL"}]
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blChangeURL]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blChangeURL]" value='1' [{if $edit->getValue('blChangeURL') == 1}]checked[{/if}]>
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_OPTIONS_CHANGEURL_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_OPTIONS_NOCOUNTRY"}]
|
||||
<input type="hidden" name="value[blUseFallback]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blUseFallback]" value='1' [{if $edit->getValue('blUseFallback') == 1}]checked[{/if}]>
|
||||
</dt>
|
||||
<dd>
|
||||
<select size="5" name="value[sFallbackCountryId]">
|
||||
[{foreach from=$oView->getCountryList() item="oCountry"}]
|
||||
<option value="[{$oCountry->getId()}]" [{if $edit->getValue('sFallbackCountryId') == $oCountry->getId()}] selected[{/if}]>[{$oCountry->oxcountry__oxtitle->value}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_OPTIONS_NOCOUNTRY_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<b>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_IP"}]
|
||||
</b>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_IP_TESTIP"}]
|
||||
<input type="hidden" name="value[blUseTestIp]" value="0">
|
||||
<input class="edittext ext_edittext" type="checkbox" name="value[blUseTestIp]" value='1' [{if $edit->getValue('blUseTestIp') == 1}]checked[{/if}]>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="text" maxlength="15" size="17" name="value[sTestIp]" value="[{$edit->getValue('sTestIp')}]">
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_IP_TESTIP_DESC" }]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
[{oxmultilang ident="D3_GEOIP_SET_IP_CHECKIP"}]
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="text" maxlength="15" size="17" name="value[sCheckIp]" value="[{$edit->getValue('sCheckIp')}]">
|
||||
[{ oxinputhelp ident="D3_GEOIP_SET_IP_CHECKIP_DESC" }]
|
||||
|
||||
[{if $edit->getValue('sCheckIp')}]
|
||||
[{$oView->getIpCountry($edit->getValue('sCheckIp'))}]
|
||||
[{/if}]
|
||||
</dd>
|
||||
<div class="spacer"></div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="edittext ext_edittext" align="left">
|
||||
<span class="d3modcfg_btn icon status_ok">
|
||||
<input type="submit" name="save" value="[{ oxmultilang ident="D3_GENERAL_GEOIP_SAVE" }]">
|
||||
<div></div>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
[{include file="bottomitem.tpl"}]
|
@ -1,120 +0,0 @@
|
||||
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
window.onload = function ()
|
||||
{
|
||||
[{ if $updatelist == 1}]
|
||||
top.oxid.admin.updateList('[{ $oxid }]');
|
||||
[{ /if}]
|
||||
var oField = top.oxid.admin.getLockTarget();
|
||||
oField.onchange = oField.onkeyup = oField.onmouseout = top.oxid.admin.unlockSave;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
[{ if $readonly }]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{ $oViewConf->getSelfLink() }]" method="post">
|
||||
[{ $oViewConf->getHiddenSid() }]
|
||||
<input type="hidden" name="oxid" value="[{ $oxid }]">
|
||||
<input type="hidden" name="oxidCopy" value="[{ $oxid }]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="language" value="[{ $actlang }]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{ $oViewConf->getSelfLink() }]" method="post">
|
||||
[{ $oViewConf->getHiddenSid() }]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="oxid" value="[{ $oxid }]">
|
||||
<input type="hidden" name="voxid" value="[{ $oxid }]">
|
||||
<input type="hidden" name="oxparentid" value="[{ $oxparentid }]">
|
||||
<input type="hidden" name="editval[oxcountry__oxid]" value="[{ $oxid }]">
|
||||
<input type="hidden" name="language" value="[{ $actlang }]">
|
||||
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="98%">
|
||||
<tr>
|
||||
<td valign="top" class="edittext" style="width: 45%">
|
||||
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td class="edittext" width="120">
|
||||
[{oxmultilang ident="D3_GEOIP_SELSHOP"}]:
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<SELECT name="editval[oxcountry__d3geoipshop]" class="edittext" onchange="document.getElementById('myedit').fnc.value = 'saveshop'; document.getElementById('myedit').submit();" [{if !$oView->getModCfgValue('blChangeShop')}]disabled[{/if}]>
|
||||
<option value="-1">[{oxmultilang ident="D3_GEOIP_CUSTSELSHOP"}]</option>
|
||||
[{foreach from=$oView->getShopList() item=shop}]
|
||||
<option value="[{$shop->oxshops__oxid->value}]" [{if $edit->oxcountry__d3geoipshop->value == $shop->oxshops__oxid->value}]selected[{/if}]>[{$shop->oxshops__oxname->value}]</option>
|
||||
[{/foreach}]
|
||||
</SELECT>[{if !$oView->getModCfgValue('blChangeShop')}] [{oxmultilang ident="D3_GEOIP_DISABLED"}][{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3_GEOIP_SELLANG"}]:
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<SELECT name="editval[oxcountry__d3geoiplang]" class="edittext" [{if !$oView->getModCfgValue('blChangeLang')}]disabled[{/if}]>
|
||||
<option value="-1">[{oxmultilang ident="D3_GEOIP_CUSTSELLANG"}]</option>
|
||||
[{foreach from=$oView->getLangList() item=lang}]
|
||||
<option value="[{$lang->id}]" [{if $edit->oxcountry__d3geoiplang->value == $lang->id}]selected[{/if}]>[{$lang->name}]</option>
|
||||
[{/foreach}]
|
||||
</SELECT>[{if !$oView->getModCfgValue('blChangeLang')}] [{oxmultilang ident="D3_GEOIP_DISABLED"}][{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3_GEOIP_SELCUR"}]:
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<SELECT name="editval[oxcountry__d3geoipcur]" class="edittext" [{if !$oView->getModCfgValue('blChangeCurr')}]disabled[{/if}]>
|
||||
<option value="-1">[{oxmultilang ident="D3_GEOIP_CUSTSELCUR"}]</option>
|
||||
[{foreach from=$oView->getCurList() item=cur}]
|
||||
<option value="[{$cur->id}]" [{if $edit->oxcountry__d3geoipcur->value == $cur->id}]selected[{/if}]>[{$cur->name}] ([{$cur->sign}])</option>
|
||||
[{/foreach}]
|
||||
</SELECT>[{if !$oView->getModCfgValue('blChangeCurr')}] [{oxmultilang ident="D3_GEOIP_DISABLED"}][{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext"><br><br>
|
||||
</td>
|
||||
<td class="edittext"><br><br>
|
||||
<input type="submit" class="edittext" id="oLockButton" name="saveArticle" value="[{ oxmultilang ident="GENERAL_SAVE" }]" onClick="Javascript:document.myedit.fnc.value='save'"" [{ $readonly }] [{ if !$edit->oxcountry__oxtitle->value && !$oxparentid }]disabled[{/if}]><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="top" class="edittext" align="left" width="10%">
|
||||
[{oxmultilang ident="D3_GEOIP_OR"}]
|
||||
</td>
|
||||
<!-- Anfang rechte Seite -->
|
||||
<td valign="top" class="edittext" align="left" width="45%">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
|
||||
<tr>
|
||||
<td class="edittext" width="120">
|
||||
[{oxmultilang ident="D3_GEOIP_SELURL"}]:
|
||||
</td>
|
||||
<td class="edittext">
|
||||
<input type="text" maxlength="255" size="50" name="editval[oxcountry__d3geoipurl]" value="[{$edit->oxcountry__d3geoipurl->value}]" [{if !$oView->getModCfgValue('blChangeURL')}]disabled[{/if}]> [{if !$oView->getModCfgValue('blChangeURL')}] [{oxmultilang ident="D3_GEOIP_DISABLED"}][{/if}]
|
||||
[{oxinputhelp ident="D3_GEOIP_SELURL_DESC"}]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- Ende rechte Seite -->
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
[{include file="bottomnaviitem.tpl"}]
|
||||
|
||||
[{include file="bottomitem.tpl"}]
|
@ -3,13 +3,14 @@
|
||||
* Module information
|
||||
*/
|
||||
$aModule = array(
|
||||
'id' => 'd3ordermanager',
|
||||
'title' => 'D³ Auftragsmanager Pro / Order Manager Pro',
|
||||
'description' => 'Führt ausgeführte Aufträge nach definierten Regeln weiter.<br>Aktiviere Sie die Moduleinträge bitte immer und steuern Sie die Modulaktivität ausschließlich im Adminbereich des Moduls.',
|
||||
'id' => 'd3_geoip',
|
||||
'title' => oxLang::getInstance()->translateString('D3_GEOIP_METADATA_TITLE'),
|
||||
'description' => oxLang::getInstance()->translateString('D3_GEOIP_METADATA_DESC'),
|
||||
'thumbnail' => 'picture.png',
|
||||
'version' => '1.0.0',
|
||||
'author' => 'D³ Data Development',
|
||||
'version' => '2.1.1',
|
||||
'author' => oxLang::getInstance()->translateString('D3_MOD_LIB_METADATA_AUTHOR'),
|
||||
'extend' => array(
|
||||
'oxemail' => 'd3ordermanager/core/d3_oxemail_ordermanager'
|
||||
'oxcmp_cur' => 'd3_geoip/views/d3_oxcmp_cur_geoip',
|
||||
'oxcmp_lang' => 'd3_geoip/views/d3_oxcmp_lang_geoip',
|
||||
)
|
||||
);
|
@ -1,11 +1,13 @@
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXREVISION`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 1, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.1', 'EE4', 0, '', '', '', '', 24, 24);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXREVISION`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 2, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.1', 'EE4', 0, '', '', '', '', 24, 24);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXREVISION`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 3, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.1', 'EE4', 0, '', '', '', '', 24, 24);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 1, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.2', 'EE4', 0, '', '', '', '', 26);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 2, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.2', 'EE4', 0, '', '', '', '', 26);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 3, 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.2', 'EE4', 0, '', '', '', '', 26);
|
||||
|
||||
ALTER TABLE `oxcountry` ADD `D3GEOIPSHOP` VARCHAR( 10 ) NOT NULL DEFAULT '-1',
|
||||
ADD `D3GEOIPLANG` TINYINT( 2 ) NOT NULL DEFAULT '-1',
|
||||
ADD `D3GEOIPCUR` TINYINT( 2 ) NOT NULL DEFAULT '-1',
|
||||
ADD `D3GEOIPURL` VARCHAR( 255 ) NOT NULL;
|
||||
ADD `D3GEOIPURL` VARCHAR( 255 ) NOT NULL;
|
||||
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE `OXMODID` = 'd3_geoip';
|
@ -15,4 +15,8 @@ ALTER TABLE `oxcountry` ADD `D3GEOIPURL` VARCHAR( 255 ) NOT NULL;
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.0', `OXREVISION` = '18', `OXNEWREVISION` = '18' WHERE OXMODID = 'd3_geoip';
|
||||
|
||||
# ==== 2.1.0 PE4 => 2.1.1 PE4 ====
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.1', `OXREVISION` = '24', `OXNEWREVISION` = '24' WHERE OXMODID = 'd3_geoip';
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.1', `OXREVISION` = '24', `OXNEWREVISION` = '24' WHERE OXMODID = 'd3_geoip';
|
||||
|
||||
# ==== 2.1.1 PE4 => 2.1.2 PE4 ====
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.2', `OXNEWREVISION` = '26' WHERE OXMODID = 'd3_geoip';
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE `OXMODID` = 'd3_geoip';
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXREVISION`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 'oxbaseshop', 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.1', 'PE4', 0, '', '', '', '', 24, 24);
|
||||
INSERT INTO `d3_cfg_mod` (`OXID`, `OXSHOPID`, `OXMODID`, `OXNAME`, `OXACTIVE`, `OXSERIAL`, `OXINSTALLDATE`, `OXVERSION`, `OXSHOPVERSION`, `OXISMODULELOG`, `OXREQUIREMENTS`, `OXVALUE`, `OXVALUE_1`, `OXVALUE_2`, `OXNEWREVISION`) VALUES
|
||||
(MD5(RAND()), 'oxbaseshop', 'd3_geoip', 'GeoIP', 1, '', NOW(), '2.1.2', 'PE4', 0, '', '', '', '', 26);
|
||||
|
||||
ALTER TABLE `oxcountry` ADD `D3GEOIPSHOP` VARCHAR( 10 ) NOT NULL DEFAULT 'oxbaseshop',
|
||||
ADD `D3GEOIPLANG` TINYINT( 2 ) NOT NULL DEFAULT '-1',
|
||||
ADD `D3GEOIPCUR` TINYINT( 2 ) NOT NULL DEFAULT '-1',
|
||||
ADD `D3GEOIPURL` VARCHAR( 255 ) NOT NULL;
|
||||
ADD `D3GEOIPURL` VARCHAR( 255 ) NOT NULL;
|
||||
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE `OXMODID` = 'd3_geoip';
|
@ -17,4 +17,8 @@ UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE OXMODID = 'd3_geoip
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.1', `OXNEWREVISION` = '24' WHERE OXMODID = 'd3_geoip';
|
||||
ALTER TABLE `oxcountry` CHANGE `D3GEOIPSHOP` `D3GEOIPSHOP` VARCHAR( 10 ) NOT NULL DEFAULT 'oxbaseshop';
|
||||
UPDATE `oxcountry` SET `D3GEOIPSHOP` = 'oxbaseshop' WHERE `D3GEOIPSHOP` = '-1';
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE OXMODID = 'd3_geoip';
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE OXMODID = 'd3_geoip';
|
||||
|
||||
# ==== 2.1.1 PE4 => 2.1.2 PE4 ====
|
||||
UPDATE `d3_cfg_mod` SET `OXVERSION` = '2.1.2', `OXNEWREVISION` = '26' WHERE OXMODID = 'd3_geoip';
|
||||
UPDATE `d3_cfg_mod` SET `OXREVISION` = `OXNEWREVISION` WHERE `OXMODID` = 'd3_geoip';
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user