RomanL 8 лет назад
Родитель
Сommit
3c544c846a

+ 0 - 13
modules/boonex/mapjoined/install/langs/en.xml

@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources name="en" flag="gb" title="English">
-	<string name="_bx_mapjoined"><![CDATA[Display last joined users on map]]></string>
-  <string name="_bx_mapjoined_adm_stg_cpt_type"><![CDATA[Display last joined users on map]]></string>
-  <string name="_bx_mapjoined_adm_stg_cpt_category_general"><![CDATA[Display last joined users on map]]></string>
-  <string name="_bx_mapjoined_initial_timeframe_users_shown_in_hours"><![CDATA[Initial time frame users are shown in hours]]></string>
-  <string name="_bx_mapjoined_interval_refresh_new_users_in_seconds"><![CDATA[Interval for updating data for new users in seconds]]></string>
-  <string name="_bx_mapjoined_default_center_lat_coordinate"><![CDATA[Default map's center lattitude coordinate]]></string>
-  <string name="_bx_mapjoined_default_center_lon_coordinate"><![CDATA[Default map's center longitude coordinate]]></string>
-  <string name="_bx_mapjoined_default_zoom"><![CDATA[Default map zoom]]></string>
-  <string name="_bx_mapjoined_page_block_title_sys_map_with_joined_users"><![CDATA[Map with last joined users]]></string>
-  <string name="_bx_mapjoined_page_block_title_map_with_joined_users"><![CDATA[Map with last joined users]]></string>
-</resources>

+ 0 - 34
modules/boonex/mapjoined/install/sql/enable.sql

@@ -1,34 +0,0 @@
-SET @sName = 'bx_mapjoined';
-
--- SETTINGS
-SET @iTypeOrder = (SELECT IFNULL(MAX(`order`), 0) + 1 FROM `sys_options_types` WHERE `group` = 'modules');
-
-INSERT INTO `sys_options_types` (`group`, `name`, `caption`, `icon`, `order`) 
-VALUES('modules', @sName, '_bx_mapjoined_adm_stg_cpt_type', 'bx_mapjoined@modules/boonex/mapjoined/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
-
-SET @iTypeId = LAST_INSERT_ID();
-
-INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `hidden`, `order`) VALUES(@iTypeId,  'bx_mapjoined_general', '_bx_mapjoined_adm_stg_cpt_category_general', 0, 1);
-SET @iCategoryId = LAST_INSERT_ID();
-
-INSERT INTO `sys_options` (`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_params`, `check_error`, `order`) VALUES
-(@iCategoryId, 'bx_mapjoined_initial_timeframe_users_shown_in_hours', '_bx_mapjoined_initial_timeframe_users_shown_in_hours', '24', 'digit', '', '', '', '', 1),
-(@iCategoryId, 'bx_mapjoined_interval_refresh_new_users_in_seconds', '_bx_mapjoined_interval_refresh_new_users_in_seconds', '30', 'digit', '', '', '', '', 2),
-(@iCategoryId, 'bx_mapjoined_default_center_lat_coordinate', '_bx_mapjoined_default_center_lat_coordinate', '44.60240', 'digit', '', '', '', '', 3),
-(@iCategoryId, 'bx_mapjoined_default_center_lon_coordinate', '_bx_mapjoined_default_center_lon_coordinate', '32.896372', 'digit', '', '', '', '', 4),
-(@iCategoryId, 'bx_mapjoined_default_zoom', '_bx_mapjoined_default_zoom', '2.3', 'digit', '', '', '', '', 5);
-
--- PAGE: service blocks
-
-SET @iBlockOrder = (SELECT `order` FROM `sys_pages_blocks` WHERE `object` = '' AND `cell_id` = 0 ORDER BY `order` DESC LIMIT 1);
-INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system` , `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES 
-('', 0, @sName, '_bx_mapjoined_page_block_title_sys_map_with_joined_users', '_bx_mapjoined_page_block_title_map_with_joined_users', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:12:"bx_mapjoined";s:6:"method";s:7:"get_map";}', 0, 1, IFNULL(@iBlockOrder, 0) + 1);
-
--- ALERTS
-INSERT INTO `sys_alerts_handlers` (`name`, `class`, `file`, `service_call`) VALUES 
-(@sName, 'BxMapJoinedAlertsResponse', 'modules/boonex/mapjoined/classes/BxMapJoinedAlertsResponse.php', '');
-SET @iHandler := LAST_INSERT_ID();
-
-INSERT INTO `sys_alerts` (`unit`, `action`, `handler_id`) VALUES
-('account', 'added', @iHandler);
-

+ 0 - 1
modules/boonex/mapjoined/template/map.html

@@ -1 +0,0 @@
-<div id="BxMapJoinedContainer" style="min-height:180px;"></div>

+ 3 - 3
modules/boonex/mapjoined/classes/BxMapJoinedAlertsResponse.php → modules/boonex/mapshow/classes/BxMapShowAlertsResponse.php

@@ -3,13 +3,13 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
  */
 
-class BxMapJoinedAlertsResponse extends BxDolAlertsResponse
+class BxMapShowAlertsResponse extends BxDolAlertsResponse
 {
     public function __construct()
     {
@@ -19,7 +19,7 @@ class BxMapJoinedAlertsResponse extends BxDolAlertsResponse
     public function response($oAlert)
     {
         if ($oAlert->sUnit == 'account' && $oAlert->sAction == 'added'){
-            $oModule = BxDolModule::getInstance('bx_mapjoined');
+            $oModule = BxDolModule::getInstance('bx_mapshow');
             $oModule->addIpInfoToDb($oAlert->iObject, $_SERVER['REMOTE_ADDR']);
         }
     }

+ 4 - 4
modules/boonex/mapjoined/classes/BxMapJoinedConfig.php → modules/boonex/mapshow/classes/BxMapShowConfig.php

@@ -3,7 +3,7 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
@@ -11,7 +11,7 @@
 
 bx_import('BxDolModuleConfig');
 
-class BxMapJoinedConfig extends BxBaseModGeneralConfig
+class BxMapShowConfig extends BxBaseModGeneralConfig
 {
     function __construct($aModule)
     {
@@ -30,10 +30,10 @@ class BxMapJoinedConfig extends BxBaseModGeneralConfig
         );
         
         $this->_aJsClasses = array(
-            'map' => 'BxMapJoined'
+            'map' => 'BxMapShow'
         );
         $this->_aJsObjects = array(
-            'map' => 'oMapJoined'
+            'map' => 'oMapShow'
         );
     }
 }

+ 3 - 3
modules/boonex/mapjoined/classes/BxMapJoinedDb.php → modules/boonex/mapshow/classes/BxMapShowDb.php

@@ -3,7 +3,7 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
@@ -11,7 +11,7 @@
 
 bx_import('BxDolModuleDb');
 
-class BxMapJoinedDb extends BxBaseModGeneralDb
+class BxMapShowDb extends BxBaseModGeneralDb
 {
     function __construct(&$oConfig)
     {
@@ -21,7 +21,7 @@ class BxMapJoinedDb extends BxBaseModGeneralDb
     public function getLngLatData($iLastId)
     {
         $CNF = &$this->_oConfig->CNF;
-        $sIntervalInHour = getParam('bx_mapjoined_initial_timeframe_users_shown_in_hours');
+        $sIntervalInHour = getParam('bx_mapshow_initial_timeframe_users_shown_in_hours');
         $sSql = "";
         if ($iLastId == 0) {
             $sSql = $CNF['FIELD_JOINED'] . " > date_sub(now(), INTERVAL " . $sIntervalInHour . " hour) ";

+ 10 - 10
modules/boonex/mapjoined/classes/BxMapJoinedModule.php → modules/boonex/mapshow/classes/BxMapShowModule.php

@@ -3,14 +3,14 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
  */
-define('BX_MAP_JOINED_IP_2_LOCATION_URL', 'http://freegeoip.net/json/');
+define('BX_MAP_SHOW_IP_2_LOCATION_URL', 'http://freegeoip.net/json/');
 
-class BxMapJoinedModule extends BxDolModule
+class BxMapShowModule extends BxDolModule
 {
     function __construct(&$aModule)
     {
@@ -33,20 +33,20 @@ class BxMapJoinedModule extends BxDolModule
     
     /**
      * @page service Service Calls
-     * @section bx_mapjoined MapJoined 
-     * @subsection bx_mapjoined-other Other
-     * @subsubsection bx_mapjoined-get_map
+     * @section bx_mapshow MapShow 
+     * @subsection bx_mapshow-other Other
+     * @subsubsection bx_mapshow-get_map
      * 
-     * @code bx_srv('bx_mapjoined', 'get_map', [...]); @endcode
+     * @code bx_srv('bx_mapshow', 'get_map', [...]); @endcode
      * 
      * Get html for map
      * 
      * @return string - html for map .
      * 
-     * @see BxMapJoinedModule::serviceGetMap
+     * @see BxMapShowModule::serviceGetMap
      */
     /** 
-     * @ref bx_mapjoined-get_map "get_map"
+     * @ref bx_mapshow-get_map "get_map"
      */
     public function serviceGetMap()
     {
@@ -62,7 +62,7 @@ class BxMapJoinedModule extends BxDolModule
     
     private function callApi($sIp)
     {
-        $sApiUrl = BX_MAP_JOINED_IP_2_LOCATION_URL . $sIp;
+        $sApiUrl = BX_MAP_SHOW_IP_2_LOCATION_URL . $sIp;
         return bx_file_get_contents($sApiUrl);
     }
 }

+ 6 - 6
modules/boonex/mapjoined/classes/BxMapJoinedTemplate.php → modules/boonex/mapshow/classes/BxMapShowTemplate.php

@@ -3,7 +3,7 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
@@ -11,7 +11,7 @@
 
 bx_import ('BxDolModuleTemplate');
 
-class BxMapJoinedTemplate extends BxBaseModGeneralTemplate
+class BxMapShowTemplate extends BxBaseModGeneralTemplate
 {
     function __construct(&$oConfig, &$oDb)
     {
@@ -29,10 +29,10 @@ class BxMapJoinedTemplate extends BxBaseModGeneralTemplate
     {
         $aParams = array_merge(array(
             'sPathToJsonData' => $this->_oConfig->getHomeUrl() . 'js/continents.geojson',
-            'iIntervalCheckNewInSeconds' => getParam('bx_mapjoined_interval_refresh_new_users_in_seconds'),
-            'fCenterMapLonCoordinate' => getParam('bx_mapjoined_default_center_lat_coordinate'),
-            'fCenterMapLatCoordinate' => getParam('bx_mapjoined_default_center_lon_coordinate'),
-            'fMapZoom' => getParam('bx_mapjoined_default_zoom')
+            'iIntervalCheckNewInSeconds' => getParam('bx_mapshow_interval_refresh_new_users_in_seconds'),
+            'fCenterMapLonCoordinate' => getParam('bx_mapshow_default_center_lat_coordinate'),
+            'fCenterMapLatCoordinate' => getParam('bx_mapshow_default_center_lon_coordinate'),
+            'fMapZoom' => getParam('bx_mapshow_default_zoom')
         ), $aParams);
         
         return parent::getJsCode($sType, $aParams, $bWrap);

+ 9 - 9
modules/boonex/mapjoined/install/config.php → modules/boonex/mapshow/install/config.php

@@ -3,7 +3,7 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
@@ -15,9 +15,9 @@ $aConfig = array(
      * Main Section.
      */
     'type' => BX_DOL_MODULE_TYPE_MODULE,
-    'name' => 'bx_mapjoined',
-    'title' => 'Map Joined',
-    'note' => 'Map Joined module.',
+    'name' => 'bx_mapshow',
+    'title' => 'Map Show',
+    'note' => 'Map Show module.',
     'version' => '1.0.0.DEV',
     'vendor' => 'BoonEx',
     'help_url' => 'http://feed.una.io/?section={module_name}',
@@ -29,16 +29,16 @@ $aConfig = array(
     /**
      * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
      */
-    'home_dir' => 'boonex/mapjoined/',
-    'home_uri' => 'mapjoined',
+    'home_dir' => 'boonex/mapshow/',
+    'home_uri' => 'mapshow',
 
-    'db_prefix' => 'bx_mapjoined_',
-    'class_prefix' => 'BxMapJoined',
+    'db_prefix' => 'bx_mapshow_',
+    'class_prefix' => 'BxMapShow',
 
     /**
      * Category for language keys.
      */
-    'language_category' => 'MapJoined',
+    'language_category' => 'MapShow',
 
     /**
      * Installation/Uninstallation Section.

+ 2 - 2
modules/boonex/mapjoined/install/installer.php → modules/boonex/mapshow/install/installer.php

@@ -3,13 +3,13 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
  */
 
-class BxMapJoinedInstaller extends BxBaseModTextInstaller
+class BxMapShowInstaller extends BxBaseModTextInstaller
 {
     function __construct($aConfig)
     {

+ 13 - 0
modules/boonex/mapshow/install/langs/en.xml

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources name="en" flag="gb" title="English">
+	<string name="_bx_mapshow"><![CDATA[Map Show]]></string>
+  <string name="_bx_mapshow_adm_stg_cpt_type"><![CDATA[Map Show]]></string>
+  <string name="_bx_mapshow_adm_stg_cpt_category_general"><![CDATA[Map Show]]></string>
+  <string name="_bx_mapshow_initial_timeframe_users_shown_in_hours"><![CDATA[Initial time frame users are shown in hours]]></string>
+  <string name="_bx_mapshow_interval_refresh_new_users_in_seconds"><![CDATA[Interval for updating data for new users in seconds]]></string>
+  <string name="_bx_mapshow_default_center_lat_coordinate"><![CDATA[Default map's center lattitude coordinate]]></string>
+  <string name="_bx_mapshow_default_center_lon_coordinate"><![CDATA[Default map's center longitude coordinate]]></string>
+  <string name="_bx_mapshow_default_zoom"><![CDATA[Default map zoom]]></string>
+  <string name="_bx_mapshow_page_block_title_sys_map_with_joined_users"><![CDATA[Map with last joined users]]></string>
+  <string name="_bx_mapshow_page_block_title_map_with_joined_users"><![CDATA[Map with last joined users]]></string>
+</resources>

+ 1 - 1
modules/boonex/mapjoined/install/sql/disable.sql → modules/boonex/mapshow/install/sql/disable.sql

@@ -1,4 +1,4 @@
-SET @sName = 'bx_mapjoined';
+SET @sName = 'bx_mapshow';
 
 -- SETTINGS
 SET @iTypeId = (SELECT `ID` FROM `sys_options_types` WHERE `name` = @sName LIMIT 1);

+ 34 - 0
modules/boonex/mapshow/install/sql/enable.sql

@@ -0,0 +1,34 @@
+SET @sName = 'bx_mapshow';
+
+-- SETTINGS
+SET @iTypeOrder = (SELECT IFNULL(MAX(`order`), 0) + 1 FROM `sys_options_types` WHERE `group` = 'modules');
+
+INSERT INTO `sys_options_types` (`group`, `name`, `caption`, `icon`, `order`) 
+VALUES('modules', @sName, '_bx_mapshow_adm_stg_cpt_type', 'bx_mapshow@modules/boonex/mapshow/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
+
+SET @iTypeId = LAST_INSERT_ID();
+
+INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `hidden`, `order`) VALUES(@iTypeId,  'bx_mapshow_general', '_bx_mapshow_adm_stg_cpt_category_general', 0, 1);
+SET @iCategoryId = LAST_INSERT_ID();
+
+INSERT INTO `sys_options` (`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_params`, `check_error`, `order`) VALUES
+(@iCategoryId, 'bx_mapshow_initial_timeframe_users_shown_in_hours', '_bx_mapshow_initial_timeframe_users_shown_in_hours', '24', 'digit', '', '', '', '', 1),
+(@iCategoryId, 'bx_mapshow_interval_refresh_new_users_in_seconds', '_bx_mapshow_interval_refresh_new_users_in_seconds', '30', 'digit', '', '', '', '', 2),
+(@iCategoryId, 'bx_mapshow_default_center_lat_coordinate', '_bx_mapshow_default_center_lat_coordinate', '44.60240', 'digit', '', '', '', '', 3),
+(@iCategoryId, 'bx_mapshow_default_center_lon_coordinate', '_bx_mapshow_default_center_lon_coordinate', '32.896372', 'digit', '', '', '', '', 4),
+(@iCategoryId, 'bx_mapshow_default_zoom', '_bx_mapshow_default_zoom', '2.3', 'digit', '', '', '', '', 5);
+
+-- PAGE: service blocks
+
+SET @iBlockOrder = (SELECT `order` FROM `sys_pages_blocks` WHERE `object` = '' AND `cell_id` = 0 ORDER BY `order` DESC LIMIT 1);
+INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system` , `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES 
+('', 0, @sName, '_bx_mapshow_page_block_title_sys_map_with_joined_users', '_bx_mapshow_page_block_title_map_with_joined_users', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:10:"bx_mapshow";s:6:"method";s:7:"get_map";}', 0, 1, IFNULL(@iBlockOrder, 0) + 1);
+
+-- ALERTS
+INSERT INTO `sys_alerts_handlers` (`name`, `class`, `file`, `service_call`) VALUES 
+(@sName, 'BxMapShowAlertsResponse', 'modules/boonex/mapshow/classes/BxMapShowAlertsResponse.php', '');
+SET @iHandler := LAST_INSERT_ID();
+
+INSERT INTO `sys_alerts` (`unit`, `action`, `handler_id`) VALUES
+('account', 'added', @iHandler);
+

+ 5 - 5
modules/boonex/mapjoined/install/sql/install.sql → modules/boonex/mapshow/install/sql/install.sql

@@ -1,7 +1,7 @@
-SET @sName = 'bx_mapjoined';
+SET @sName = 'bx_mapshow';
 
 -- TABLE: data
-CREATE TABLE `bx_mapjoined_accounts` (
+CREATE TABLE `bx_mapshow_accounts` (
   `id` int(11) NOT NULL AUTO_INCREMENT,
   `account_id` int(11) NOT NULL,
   `joined` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
@@ -9,18 +9,18 @@ CREATE TABLE `bx_mapjoined_accounts` (
   `lng` float DEFAULT NULL,
   `lat` float DEFAULT NULL,
   PRIMARY KEY (`id`),
-  INDEX `mapjoined_accounts_join` (`joined`)
+  INDEX `mapshow_accounts_index` (`joined`)
 
 );
 
 -- STUDIO: page & widget
 INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES
-(3, @sName, '_bx_mapjoined', '_bx_mapjoined', 'bx_mapjoined@modules/boonex/mapjoined/|std-icon.svg');
+(3, @sName, '_bx_mapshow', '_bx_mapshow', 'bx_mapshow@modules/boonex/mapshow/|std-icon.svg');
 
 SET @iPageId = LAST_INSERT_ID();
 
 INSERT INTO `sys_std_widgets` (`page_id`, `module`, `url`, `click`, `icon`, `caption`, `cnt_notices`, `cnt_actions`, `bookmark`) 
-VALUES(@iPageId, @sName, '{url_studio}module.php?name=bx_mapjoined', '', 'bx_mapjoined@modules/boonex/mapjoined/|std-icon.svg', '_bx_mapjoined', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}', 0);
+VALUES(@iPageId, @sName, '{url_studio}module.php?name=bx_mapshow', '', 'bx_mapshow@modules/boonex/mapshow/|std-icon.svg', '_bx_mapshow', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}', 0);
 
 SET @iParentPageId = (SELECT `id` FROM `sys_std_pages` WHERE `name` = 'home');
 SET @iParentPageOrder = (SELECT IFNULL(MAX(`order`), 0) + 1 FROM `sys_std_pages_widgets` WHERE `page_id` = @iParentPageId);

+ 2 - 2
modules/boonex/mapjoined/install/sql/uninstall.sql → modules/boonex/mapshow/install/sql/uninstall.sql

@@ -1,7 +1,7 @@
-SET @sName = 'bx_mapjoined';;
+SET @sName = 'bx_mapshow';;
 
 -- TABLES
-DROP TABLE IF EXISTS `bx_mapjoined_accounts`;
+DROP TABLE IF EXISTS `bx_mapshow_accounts`;
 
 -- STUDIO WIDGET
 DELETE FROM `tp`, `tw`, `tpw`

+ 0 - 0
modules/boonex/mapjoined/js/continents.geojson → modules/boonex/mapshow/js/continents.geojson


+ 7 - 7
modules/boonex/mapjoined/js/map.js → modules/boonex/mapshow/js/map.js

@@ -2,14 +2,14 @@
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  *
- * @defgroup    MapJoined Display last joined users on map
+ * @defgroup    MapShow Display last sign up users on map
  * @ingroup     UnaModules
  *
  * @{
  */
 
-function BxMapJoined(oOptions) {
-    this._sContainerId = 'BxMapJoinedContainer';
+function BxMapShow(oOptions) {
+    this._sContainerId = 'BxMapShowContainer';
     this._iMapPointsLastId = 0;
     this._oMap = null;
     this._sActionsUri = oOptions.sActionUri;
@@ -25,7 +25,7 @@ function BxMapJoined(oOptions) {
     $(window).resize(function () { $this.adaptive(); })
 }
 
-BxMapJoined.prototype.init = function () {
+BxMapShow.prototype.init = function () {
     var $this = this;
 
     var oCanvas = document.createElement('canvas');
@@ -84,18 +84,18 @@ BxMapJoined.prototype.init = function () {
     $this.adaptive();
     $this.addPoints();
 }
-BxMapJoined.prototype.adaptive = function () {
+BxMapShow.prototype.adaptive = function () {
     var $this = this;
     var oView = this._oMap.getView();
     var fZoom = this.getZoomValue();
     oView.setZoom(fZoom);
 };
 
-BxMapJoined.prototype.getZoomValue = function () {
+BxMapShow.prototype.getZoomValue = function () {
     return this._fMapZoom * ($('#' + this._sContainerId).width() / 1629);
 };
 
-BxMapJoined.prototype.addPoints = function () {
+BxMapShow.prototype.addPoints = function () {
 
     var $this = this;
     var aPoints = new Array();

+ 1 - 1
modules/boonex/mapjoined/request.php → modules/boonex/mapshow/request.php

@@ -3,7 +3,7 @@
 * Copyright (c) UNA, Inc - https://una.io
 * MIT License - https://opensource.org/licenses/MIT
 *
-* @defgroup    MapJoined Display last joined users on map
+* @defgroup    MapShow Display last sign up users on map
 * @ingroup     UnaModules
 *
 * @{

+ 0 - 0
modules/boonex/mapjoined/template/images/icons/std-icon.svg → modules/boonex/mapshow/template/images/icons/std-icon.svg


+ 1 - 0
modules/boonex/mapshow/template/map.html

@@ -0,0 +1 @@
+<div id="BxMapShowContainer" style="min-height:180px;"></div>