projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Table editor fills the new entry form with the default values of the fields
[platal.git]
/
modules
/
geoloc.php
diff --git
a/modules/geoloc.php
b/modules/geoloc.php
index
ceb3243
..
f54f57e
100644
(file)
--- a/
modules/geoloc.php
+++ b/
modules/geoloc.php
@@
-69,13
+69,7
@@
class GeolocModule extends PLModule
if (!empty($GLOBALS['IS_XNET_SITE'])) {
$page->assign('no_annu', 1);
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');
}
} else {
$page->changeTpl('geoloc/index.tpl');
}