File Manager

Current Path : /webspace/www.babilon.be/html/modules/CGGoogleMaps/
Upload File :
Current File : //webspace/www.babilon.be/html/modules/CGGoogleMaps/action.admin_delete_category.php

<?php
if( !isset($gCms) ) exit;
if( !$this->CheckPermission('Modify Site Preferences') ) return;

$this->SetCurrentTab('categories');
if( isset($params['catid']) )
  {
    $res = cggm_category_operations::delete($params['catid']);
    if( !$res )
      {
	$this->SetError($this->Lang('error_deletecategory'));
      }
    else
      {
	$this->SetMessage($this->Lang('msg_categorydeleted'));
      }
  }

$this->RedirectToTab();
?>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com