add redirect url, modcfg, options, test and debug modes, documentation etc.
This commit is contained in:
@ -7,4 +7,12 @@
|
||||
</SUBMENU>
|
||||
</MAINMENU>
|
||||
</OXMENU>
|
||||
<OXMENU id="d3mxd3modules">
|
||||
<MAINMENU id="d3mxgeoip">
|
||||
<SUBMENU id="d3mxgeoip_settings" cl="d3_cfg_geoipset" list="d3_cfg_geoipset_list">
|
||||
<TAB id="d3tbclgeoip_settings_main" cl="d3_cfg_geoipset_main" />
|
||||
<TAB id="d3tbcl_licence" cl="d3_cfg_geoipset_licence" />
|
||||
</SUBMENU>
|
||||
</MAINMENU>
|
||||
</OXMENU>
|
||||
</OX>
|
||||
|
15
copy_this/modules/d3_geoip/metadata.php
Normal file
15
copy_this/modules/d3_geoip/metadata.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Module information
|
||||
*/
|
||||
$aModule = array(
|
||||
'id' => 'd3ordermanager',
|
||||
'title' => 'D<> Auftragsmanager Pro / Order Manager Pro',
|
||||
'description' => 'F<>hrt ausgef<65>hrte Auftr<74>ge nach definierten Regeln weiter.<br>Aktiviere Sie die Moduleintr<74>ge bitte immer und steuern Sie die Modulaktivit<69>t ausschlie<69>lich im Adminbereich des Moduls.',
|
||||
'thumbnail' => 'picture.png',
|
||||
'version' => '1.0.0',
|
||||
'author' => 'D<> Data Development',
|
||||
'extend' => array(
|
||||
'oxemail' => 'd3ordermanager/core/d3_oxemail_ordermanager'
|
||||
)
|
||||
);
|
BIN
copy_this/modules/d3_geoip/picture.png
Normal file
BIN
copy_this/modules/d3_geoip/picture.png
Normal file
Binair bestand niet weergegeven.
Na Breedte: | Hoogte: | Grootte: 7.9 KiB |
@ -1,12 +1,18 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_cur_geoip extends d3_oxcmp_cur_geoip_parent
|
||||
{
|
||||
|
||||
private $_sModId = 'd3_geoip';
|
||||
|
||||
public function init()
|
||||
{
|
||||
|
||||
$oLocation = &oxNew('d3geoip');
|
||||
if (d3_cfg_mod::get($this->_sModId)->getValue('blDebugmodeGlobal'))
|
||||
{
|
||||
$oGeoIp = oxNew('d3geoip');
|
||||
echo $oGeoIp->getIP();
|
||||
}
|
||||
|
||||
$oLocation = oxNew('d3geoip');
|
||||
//$oLocation->setUserCountry();
|
||||
$oLocation->setCountryCurrency();
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?
|
||||
<?php
|
||||
|
||||
class d3_oxcmp_lang_geoip extends d3_oxcmp_lang_geoip_parent
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
$oLocation = &oxNew('d3geoip');
|
||||
$oLocation = oxNew('d3geoip');
|
||||
//$oLocation->setUserCountry();
|
||||
$oLocation->setCountryLanguage();
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user