Table editor fills the new entry form with the default values of the fields
[platal.git] / modules / geoloc.php
index ceb3243..f54f57e 100644 (file)
@@ -69,13 +69,7 @@ class GeolocModule extends PLModule
 
         if (!empty($GLOBALS['IS_XNET_SITE'])) {
             $page->assign('no_annu', 1);
-            if ($globals->asso('cat') == 'Promotions') {
-                new_group_open_page('geoloc/index.tpl');
-            } elseif ($globals->asso('pub') == 'public') {
-                new_group_page('geoloc/index.tpl');
-            } else {
-                new_groupadmin_page('geoloc/index.tpl');
-            }
+            new_annu_page('geoloc/index.tpl');
         } else {
             $page->changeTpl('geoloc/index.tpl');
         }