Beispiel #1
0
     display_history(filter_input(INPUT_POST, 'id', FILTER_SANITIZE_NUMBER_INT));
     break;
 case "display_queue":
     display_queue();
     break;
 case "fetch_required_filter_status":
     fetch_required_filter_status();
     break;
 case "is_it_active":
     is_it_active(filter_input(INPUT_POST, 'id', FILTER_SANITIZE_NUMBER_INT));
     break;
 case "echo_if_filter_active":
     echo_if_filter_active();
     break;
 case "list_children":
     list_children(filter_input(INPUT_POST, 'parent', FILTER_SANITIZE_NUMBER_INT));
     break;
 case "list_actions":
     list_actions(filter_input(INPUT_POST, 'achievement_id', FILTER_SANITIZE_NUMBER_INT));
     break;
 case "list_filter_tags":
     list_filter_tags();
     break;
 case "list_new_actions":
     list_new_actions();
     break;
 case "list_new_relations":
     list_new_relations();
     break;
 case "list_new_requirements":
     list_new_requirements(filter_input(INPUT_POST, 'id', FILTER_SANITIZE_NUMBER_INT));
Beispiel #2
0
function load_index($path, MCSession $curusr)
{
    if (empty($path) || $path == "/") {
        require_once dirname(__FILE__) . "/appmodules/series.mod.php";
        return list_projects($curusr, $_GET['q']);
    } else {
        require_once dirname(__FILE__) . "/appmodules/children.mod.php";
        return list_children($path, $curusr, $_GET['q']);
    }
}