| 4 | 
  * $Id$ | 
  * $Id$ | 
| 5 | 
  * | 
  * | 
| 6 | 
  * $Log$ | 
  * $Log$ | 
| 7 | 
  | 
  * Revision 1.17  2003/06/25 23:45:05  joko | 
| 8 | 
  | 
  * trying to switch from "ap" completely to "t" | 
| 9 | 
  | 
  * | 
| 10 | 
  | 
  * Revision 1.16  2003/05/13 14:53:56  joko | 
| 11 | 
  | 
  * reset mvc-params "filter" and "meta" in tree mode!? | 
| 12 | 
  | 
  * | 
| 13 | 
  * Revision 1.15  2003/05/10 18:19:55  jonen | 
  * Revision 1.15  2003/05/10 18:19:55  jonen | 
| 14 | 
  * + added stuff relating to 'create/add new' links/buttons | 
  * + added stuff relating to 'create/add new' links/buttons | 
| 15 | 
  * | 
  * | 
| 271 | 
             case "item": | 
             case "item": | 
| 272 | 
               if ($pre_out[options][ecoms][$label][ecom_data_filter]) { unset($pre_out[options][ecoms][$label][ecom_data_filter]); } | 
               if ($pre_out[options][ecoms][$label][ecom_data_filter]) { unset($pre_out[options][ecoms][$label][ecom_data_filter]); } | 
| 273 | 
               break; | 
               break; | 
| 274 | 
  | 
             case "tree": | 
| 275 | 
  | 
               if ($pre_out[options][ecoms][$label][ecom_data_filter]) { unset($pre_out[options][ecoms][$label][ecom_data_filter]); } | 
| 276 | 
  | 
               if ($pre_out[options][ecoms][$label][ecom_data_meta]) { unset($pre_out[options][ecoms][$label][ecom_data_meta]); } | 
| 277 | 
  | 
               break; | 
| 278 | 
           } | 
           } | 
| 279 | 
           $_out = $pre_out; | 
           $_out = $pre_out; | 
| 280 | 
         '), | 
         '), | 
| 289 | 
  | 
  | 
| 290 | 
         // rewrite idents | 
         // rewrite idents | 
| 291 | 
         create_function('&$_in, &$_out', ' | 
         create_function('&$_in, &$_out', ' | 
| 292 | 
  | 
          | 
| 293 | 
  | 
           // old version: ap == explorer | 
| 294 | 
            // map Topic to Page if exists | 
            // map Topic to Page if exists | 
| 295 | 
            if($_in[topic]) { | 
            //if ($_in[topic]) { | 
| 296 | 
             $_in[ap] = $_in[topic]; | 
            // $_in[ap] = $_in[topic]; | 
| 297 | 
           } | 
            //}           | 
| 298 | 
           $idents = array ( ap, ); | 
           //$idents = array ( ap ); | 
| 299 | 
           foreach($idents as $key) { | 
           //foreach($idents as $key) { | 
| 300 | 
             $_out[options][idents][$key] = $_in[$key]; | 
           //  $_out[options][idents][$key] = $_in[$key]; | 
| 301 | 
           } | 
           //} | 
| 302 | 
  | 
            | 
| 303 | 
  | 
           // 2003-06-26: switched from ap=explorer to t=DataBrowser | 
| 304 | 
  | 
           $_out[options][idents][t] = $_in[topic]; | 
| 305 | 
  | 
  | 
| 306 | 
         '), | 
         '), | 
| 307 | 
          | 
          | 
| 308 | 
         // check right $_GET[ap] | 
         // check right $_GET[ap] |