?>
			<a href='ajax_forms.php?action=getLicenseForm&licenseID=<?php 
            echo $licenseID;
            ?>
&height=260&width=260&modal=true' class='thickbox'>edit license</a>  |  <a href='javascript:deleteLicense("<?php 
            echo $licenseID;
            ?>
");'>remove license</a>
		<?php 
        }
        echo "<div style='margin-bottom:8px;'>";
        //make sure they have org module installed before we give them a link to view the organization
        $config = new Configuration();
        if ($config->settings->organizationsModule == 'Y') {
            $util = new Utility();
            echo $license->getOrganizationName() . "  <a href='" . $util->getOrganizationURL() . $license->organizationID . "' target='_blank'>edit organization</a>";
            if ($license->consortiumID) {
                echo "<br />" . $license->getConsortiumName();
            }
        } else {
            echo $license->getOrganizationName();
            if ($license->consortiumID) {
                echo "<br />" . $license->getConsortiumName();
            }
        }
        ?>
		</div>
		</td>
		<td style='text-align:right'>
		<?php 
        if ($user->canEdit()) {
Example #2
0
            ?>
</a>  |  <a href='javascript:deleteLicense("<?php 
            echo $licenseID;
            ?>
");'><?php 
            echo _("remove license");
            ?>
</a>
		<?php 
        }
        echo "<div style='margin-top:10px;margin-bottom:20px;'>";
        //make sure they have org module installed before we give them a link to view the organization
        $config = new Configuration();
        if ($config->settings->organizationsModule == 'Y') {
            $util = new Utility();
            echo $license->getOrganizationName() . "  <a href='" . $util->getOrganizationURL() . $license->organizationID . "' target='_blank' style='text-decoration:none;'><i class='fa fa-pencil-square-o' style='margin-left:15px;'></i>" . _("edit organization") . "</a>";
            if ($license->consortiumID) {
                echo "<br />" . $license->getConsortiumName();
            }
        } else {
            echo $license->getOrganizationName();
            if ($license->consortiumID) {
                echo "<br />" . $license->getConsortiumName();
            }
        }
        ?>
		</div>
		</td>
		<td style='text-align:right'>
		<?php 
        if ($user->canEdit()) {