Changeset 574 for trunk/admin

Show
Ignore:
Timestamp:
09/02/07 20:01:27 (15 months ago)
Author:
michiel
Message:

Added dossiers to backend.
Besides categories a post can also be part of a dossier.
The public frontend does not use it yet, but the backend is fully working.

Re #115

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/index.php

    r481 r574  
    6262                                case "save_cat"              : $admin->save_cat($_POST["cat"]);                             break; 
    6363                                case "delete_cat"            : $admin->delete_cat($_REQUEST["cat"]["id"]);                  break; 
     64                                case "show_dossiers"         : $admin->show_dossiers();                                     break; 
     65                                case "edit_dossier"          : $admin->edit_dossier((array_key_exists("id", $_REQUEST))?$_REQUEST["id"]:0);                           break; 
     66                                case "save_dossier"          : $admin->save_dossier($_POST["dossier"]);                             break; 
     67                                case "delete_dossier"        : $admin->delete_dossier($_REQUEST["dossier"]["id"]);                  break; 
    6468                                case "show_posts"            : $admin->show_posts((array_key_exists("options", $_REQUEST))?$_REQUEST["options"]:"");                    break; 
    6569                                case "edit_post"             : $admin->edit_post((array_key_exists("id", $_REQUEST))?$_REQUEST["id"]:0);                          break;