Changeset 1502
- Timestamp:
- 12/28/11 22:54:53 (17 months ago)
- Location:
- g-map
- Files:
-
- 6 modified
-
files/lib/page/MapAjaxPage.class.php (modified) (1 diff)
-
files/lib/page/MapPage.class.php (modified) (1 diff)
-
files/lib/system/event/listener/GMapUserPageListener.class.php (modified) (1 diff)
-
files/lib/system/event/listener/GMapUserProfileEditFormListener.class.php (modified) (1 diff)
-
groupoptions.xml (modified) (1 diff)
-
pagemenu.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
g-map/files/lib/page/MapAjaxPage.class.php
r1442 r1502 167 167 */ 168 168 public function show() { 169 170 // skip 171 if(!MODULE_GMAP) { 172 throw new IllegalLinkException(); 173 } 174 169 175 parent::show(); 170 176 -
g-map/files/lib/page/MapPage.class.php
r1301 r1502 79 79 return $val; 80 80 } 81 82 /** 83 * @see Page::show() 84 */ 85 public function show() { 86 87 // skip 88 if(!MODULE_GMAP) { 89 throw new IllegalLinkException(); 90 } 91 92 parent::show(); 93 } 81 94 } 82 95 ?> -
g-map/files/lib/system/event/listener/GMapUserPageListener.class.php
r1402 r1502 20 20 21 21 // skip 22 if(! WCF::getUser()->getPermission('user.profile.gmap.canViewUsers')) {22 if(!MODULE_GMAP || !WCF::getUser()->getPermission('user.profile.gmap.canViewUsers')) { 23 23 return; 24 24 } -
g-map/files/lib/system/event/listener/GMapUserProfileEditFormListener.class.php
r1445 r1502 17 17 */ 18 18 public function execute($eventObj, $className, $eventName) { 19 20 // skip 21 if(!MODULE_GMAP) { 22 return; 23 } 24 19 25 $this->eventObj = $eventObj; 20 26 $this->className = $className; -
g-map/groupoptions.xml
r1404 r1502 6 6 <category name="user.profile.gmap"> 7 7 <parent>user.profile</parent> 8 <options>module_gmap</options> 8 9 </category> 9 10 </categories> -
g-map/pagemenu.xml
r1239 r1502 9 9 <showorder>10</showorder> 10 10 <position>header</position> 11 <options>module_gmap</options> 11 12 </pagemenuitem> 12 13 </import>
