Ejemplo n.º 1
0
    die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["browse-folder"])) {
    browse_folder();
    exit;
}
if (isset($_GET["folder-infos"])) {
    folder_infos();
    exit;
}
if (isset($_GET["top-bar"])) {
    top_bar();
    exit;
}
if (isset($_GET["file-info"])) {
    file_info();
    exit;
}
if (isset($_GET["download-file"])) {
    download_file();
    exit;
}
if (isset($_GET["create-folder"])) {
    create_folder();
    exit;
}
if (isset($_GET["delete-folder"])) {
Ejemplo n.º 2
0
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 or later of the GPL.
######################################################################
require "include/prepend.php3";
page_open(array("sess" => "SourceAgency_Session"));
if (isset($auth) && !empty($auth->auth["perm"])) {
    page_close();
    page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm"));
}
require "include/header.inc";
require "include/contentlib.inc";
$bx = new box('100%', $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = "modify contents";
if (check_proid($proid)) {
    top_bar($proid, $page);
    print $t->translate('Technical contents') . "\n<br><p>\n";
    if ((!isset($preview) || empty($preview)) && (!isset($submit) || empty($submit))) {
        $db->query("SELECT * FROM tech_content WHERE content_id='4'");
        $db->next_record();
        $content_id = $db->f("content_id");
        $skills = $db->f("skills");
        $platform = $db->f("platform");
        $architecture = $db->f("architecture");
        $environment = $db->f("environment");
        $docs = $db->f("docs");
        $specification = $db->f("specification");
        $creation = $db->f("creation");
    }
    if (!isset($submit) || empty($submit)) {
        content_modify_form($proid);
Ejemplo n.º 3
0
			$tpl=new templates();
			$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
			echo "alert('$error')";
			die();
		}
		

		if(isset($_GET["chgperms-js"])){chgperms_js();exit;}
		if(isset($_POST["chgperms-file"])){chgperms_file();exit;}
		
		if(isset($_GET["remove-file-js"])){remove_file_js();exit;}
		if(isset($_POST["remove-file"])){remove_file();exit;}
		if(isset($_GET["popup"])){popup();exit;}
		if(isset($_GET["browse-folder"])){browse_folder();exit;}
		if(isset($_GET["folder-infos"])){folder_infos();exit;}
		if(isset($_GET["top-bar"])){top_bar();exit;}
		if(isset($_GET["file-info"])){file_info();exit;}
		if(isset($_GET["download-file"])){download_file();exit;}
		if(isset($_GET["create-folder"])){create_folder();exit;}
		if(isset($_GET["delete-folder"])){delete_folder();exit;}
		if(isset($_GET["share-folder"])){share_folder();exit;}
		if(isset($_GET["unshare-rsync"])){rsync_unshare();exit;}
		if(isset($_GET["upload-file"])){upload_file_popup();exit;}
		if(isset($_GET["form-upload"])){upload_file_iframe();exit;}
		if( isset($_GET['TargetpathUploaded']) ){upload_form_perform();exit();}
		if(isset($_GET["loupe-js"])){loupe_js();exit;}
		if(isset($_GET["loupe-popup"])){loupe_popup();exit;}
		js();