$pageTitle = $organization->name;
include 'templates/header.php';
//set referring page
if (isset($_GET['ref']) && $_GET['ref'] == 'new') {
    $_SESSION['ref_script'] = "new";
} else {
    $_SESSION['ref_script'] = $currentPage;
}
//as long as organization is valid...
if ($organization->name) {
    //if the licensing module is installed display licensing tab
    $config = new Configuration();
    $showLicensing = 'N';
    if ($config->settings->licensingModule == 'Y') {
        $showLicensing = 'Y';
        $numLicenses = count($organization->getLicenses());
    }
    ?>

	<table class="headerTable" style="background-image:url('images/header.gif');background-repeat:no-repeat;">
	<tr><td align='left'>
		<table style='width:100%;'>
		<tr style='vertical-align:top'>
		<td><span class="headerText" id='span_orgName'><?php 
    echo $organization->name;
    ?>
</span><br />
		<br />

		</td>
		<td style='text-align:right;width:50px;'>
示例#2
0
*/
session_start();
include_once 'directory.php';
$organizationID = $_GET['organizationID'];
$organization = new Organization(new NamedArguments(array('primaryKey' => $organizationID)));
$pageTitle = $organization->name;
$config = new Configuration();
$util = new Utility();
//as long as organization is valid...
if ($organization->name) {
    //if the licensing module is installed display licensing info
    $config = new Configuration();
    $showLicensing = 'N';
    if ($config->settings->licensingModule == 'Y') {
        $showLicensing = 'Y';
        $numLicenses = count($organization->getLicenses());
    }
    ?>

	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
	<title>Organizations Module - <?php 
    echo $pageTitle;
    ?>
</title>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="public">
	
'>export these issues</a> - <a href='issues_export.php'>export all issues</a>
    <?php 
        break;
    case 'getLicenseDetails':
        $organizationID = $_GET['organizationID'];
        $organization = new Organization(new NamedArguments(array('primaryKey' => $organizationID)));
        //if the licensing module is installed get license info for this organization
        $config = new Configuration();
        $util = new Utility();
        if ($config->settings->licensingModule == 'Y') {
            //get licenses
            $sanitizedInstance = array();
            $instance = new Alias();
            $licenseArray = array();
            try {
                $licenseArray = $organization->getLicenses();
                if (count($licenseArray) > 0) {
                    ?>
					<table class='linedFormTable' style='width:440px;'>
					<tr>
					<th>License</th>
					<th>Consortium</th>
					<th>Status</th>
					</tr>

					<?php 
                    $licensingPath = $util->getLicensingURL();
                    foreach ($licenseArray as $license) {
                        echo "<tr>\n";
                        echo "<td><a href='" . $licensingPath . $license['licenseID'] . "' target='_blank'>" . $license['licenseName'] . "</a></td>\n";
                        echo "<td>" . $license['consortiumName'] . "</td>\n";