$gBitSmarty->assign('expungeSucces', true); } else { $XMLContent = tra("Sorry, there was an unknown error trying to delete the markerset."); } } else { $XMLContent = tra("You do not have the required permission to delete this markerset."); } } else { $gContent->invokeServices('content_edit_function'); $markerset = $gContent->mInfo; $icon = $gContent->getIcon($gContent->getField('icon_id')); $gBitSmarty->assign_by_ref('icon', $icon); require_once GMAP_PKG_PATH . 'BitGmap.php'; $gmap = new BitGmap(); // $iconStyles = $gmap->getIconStyles(); $markerStyles = $gmap->getMarkerStyles(); // $gBitSmarty->assign( 'iconStyles', $iconStyles ); $gBitSmarty->assign('markerStyles', $markerStyles); $gBitSmarty->assign('updateShared', $gContent->isUpdateShared()); $gBitSmarty->assign('childrenAllowed', $gContent->childrenAllowed()); $gBitSmarty->assign_by_ref('markersetInfo', $markerset); $gBitSystem->display('bitpackage:gmap/edit_markerset.tpl', NULL, array('format' => 'center_only', 'display_mode' => 'edit')); die; } if (count($gContent->mErrors) > 0) { $XMLContent = "There were errors with your request:"; foreach ($gContent->mErrors as $key => $error) { $XMLContent .= "\n" . $error . "\n"; } } $gBitSmarty->assign('statusCode', $statusCode);