예제 #1
0
<?php

//error_reporting(E_ALL);
include_once '../../config/symbini.php';
include_once $SERVER_ROOT . '/classes/TaxonomyDisplayManager.php';
header("Content-Type: text/html; charset=" . $charset);
header("Cache-Control: no-cache, must-revalidate");
// HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Date in the past
$target = array_key_exists("target", $_REQUEST) ? $_REQUEST["target"] : "";
$displayAuthor = array_key_exists('displayauthor', $_REQUEST) ? $_REQUEST['displayauthor'] : 0;
$displayFullTree = array_key_exists('displayfulltree', $_REQUEST) ? $_REQUEST['displayfulltree'] : 0;
$taxAuthId = array_key_exists("taxauthid", $_REQUEST) ? $_REQUEST["taxauthid"] : 1;
$statusStr = array_key_exists('statusstr', $_REQUEST) ? $_REQUEST['statusstr'] : '';
$taxonDisplayObj = new TaxonomyDisplayManager();
$taxonDisplayObj->setTargetStr($target);
$taxonDisplayObj->setTaxAuthId($taxAuthId);
if ($displayAuthor) {
    $taxonDisplayObj->setDisplayAuthor(1);
}
$editable = false;
if ($IS_ADMIN || array_key_exists("Taxonomy", $USER_RIGHTS)) {
    $editable = true;
}
?>
<html>
<head>
	<title><?php 
echo $DEFAULT_TITLE . " Taxonomy Display: " . $taxonDisplayObj->getTargetStr();
?>
//error_reporting(E_ALL);
include_once '../../config/symbini.php';
include_once $serverRoot . '/classes/TaxonomyDisplayManager.php';
header("Content-Type: text/html; charset=" . $charset);
header("Cache-Control: no-cache, must-revalidate");
// HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Date in the past
if (!$SYMB_UID) {
    header('Location: ../../profile/index.php?refurl=../taxa/admin/taxonomydynamicdisplay.php?' . $_SERVER['QUERY_STRING']);
}
$target = array_key_exists("target", $_REQUEST) ? $_REQUEST["target"] : "";
$displayAuthor = array_key_exists('displayauthor', $_REQUEST) ? $_REQUEST['displayauthor'] : 0;
$taxAuthId = array_key_exists("taxauthid", $_REQUEST) ? $_REQUEST["taxauthid"] : 1;
$statusStr = array_key_exists('statusstr', $_REQUEST) ? $_REQUEST['statusstr'] : '';
$taxonDisplayObj = new TaxonomyDisplayManager($target);
$editable = false;
if ($isAdmin || array_key_exists("Taxonomy", $userRights)) {
    $editable = true;
}
if ($target) {
    $treePath = $taxonDisplayObj->getDynamicTreePath();
    $targetId = end($treePath);
    reset($treePath);
    //echo json_encode($treePath);
}
?>
<html>
<head>
	<title><?php 
echo $defaultTitle . " Taxonomy Dynamic Display: " . $taxonDisplayObj->getTargetStr();
예제 #3
0
include_once '../../config/symbini.php';
include_once $serverRoot . '/classes/TaxonomyDisplayManager.php';
header("Content-Type: text/html; charset=" . $charset);
header("Cache-Control: no-cache, must-revalidate");
// HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Date in the past
if (!$SYMB_UID) {
    header('Location: ../../profile/index.php?refurl=../taxa/admin/taxonomydisplay.php?' . $_SERVER['QUERY_STRING']);
}
$target = array_key_exists("target", $_REQUEST) ? $_REQUEST["target"] : "";
$displayAuthor = array_key_exists('displayauthor', $_REQUEST) ? $_REQUEST['displayauthor'] : 0;
$displayFullTree = array_key_exists('displayfulltree', $_REQUEST) ? $_REQUEST['displayfulltree'] : 0;
$taxAuthId = array_key_exists("taxauthid", $_REQUEST) ? $_REQUEST["taxauthid"] : 1;
$statusStr = array_key_exists('statusstr', $_REQUEST) ? $_REQUEST['statusstr'] : '';
$taxonDisplayObj = new TaxonomyDisplayManager($target);
if ($displayAuthor) {
    $taxonDisplayObj->setDisplayAuthor(1);
}
$editable = false;
if ($isAdmin || array_key_exists("Taxonomy", $userRights)) {
    $editable = true;
}
?>
<html>
<head>
	<title><?php 
echo $defaultTitle . " Taxonomy Display: " . $taxonDisplayObj->getTargetStr();
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
예제 #4
0
<?php

//error_reporting(E_ALL);
include_once '../../config/symbini.php';
include_once $serverRoot . '/classes/TaxonomyDisplayManager.php';
header("Content-Type: text/html; charset=" . $charset);
header("Cache-Control: no-cache, must-revalidate");
// HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Date in the past
$target = array_key_exists("target", $_REQUEST) ? $_REQUEST["target"] : "";
$displayAuthor = array_key_exists('displayauthor', $_REQUEST) ? $_REQUEST['displayauthor'] : 0;
$taxAuthId = array_key_exists("taxauthid", $_REQUEST) ? $_REQUEST["taxauthid"] : 1;
$statusStr = array_key_exists('statusstr', $_REQUEST) ? $_REQUEST['statusstr'] : '';
$taxonDisplayObj = new TaxonomyDisplayManager();
$taxonDisplayObj->setTargetStr($target);
$taxonDisplayObj->setTaxAuthId($taxAuthId);
$editable = false;
if ($isAdmin || array_key_exists("Taxonomy", $userRights)) {
    $editable = true;
}
if ($target) {
    $treePath = $taxonDisplayObj->getDynamicTreePath();
    $targetId = end($treePath);
    reset($treePath);
    //echo json_encode($treePath);
}
?>
<html>
<head>
	<title><?php