Ignore:
Timestamp:
Oct 15, 2010, 9:38:35 PM (10 years ago)
Author:
grum
Message:

Admin interface implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase_ajax.php

    r7196 r7207  
    6262
    6363      // check if asked function is valid
    64       if(!($_REQUEST['ajaxfct']=='admin.maps.getList'
    65            //$_REQUEST['ajaxfct']=='public.maps.getMarkerInfos'
     64      if(!($_REQUEST['ajaxfct']=='admin.config.setConfig'
    6665           )) $_REQUEST['ajaxfct']='';
    6766
     
    7170      if($_REQUEST['ajaxfct']!='')
    7271      {
    73         /*
    74          * no check for admin.maps.getList & admin.assoc.getList requests
    75          */
    76 
    7772
    7873      }
     
    8681    {
    8782      $result="<p class='errors'>An error has occured</p>";
    88       /*
     83
    8984      switch($_REQUEST['ajaxfct'])
    9085      {
    91         case 'admin.maps.getList':
     86        case 'admin.config.setConfig':
    9287          $result=$this->ajax_gmaps_admin_mapsGetList();
    9388          break;
    9489      }
    95       */
    9690      GPCAjax::returnResult($result);
    9791    }
Note: See TracChangeset for help on using the changeset viewer.