Skip to content

Commit

Permalink
Adapts includes files to new framework structure
Browse files Browse the repository at this point in the history
Works on #6
  • Loading branch information
arbolitoloco committed Feb 6, 2020
1 parent b513cd9 commit 96332dd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions includes/usagepolicy_template.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@
<html>
<head>
<title><?php echo $DEFAULT_TITLE; ?> Data Usage Guidelines</title>
<link href="../css/base.css?ver=<?php echo $CSS_VERSION; ?>" type="text/css" rel="stylesheet" />
<link href="../css/main.css<?php echo (isset($CSS_VERSION_LOCAL)?'?ver='.$CSS_VERSION_LOCAL:''); ?>" type="text/css" rel="stylesheet" />
<?php
$activateJQuery = false;
if(file_exists($SERVER_ROOT.'/includes/head.php')){
include_once($SERVER_ROOT.'/includes/head.php');
}
else{
echo '<link href="'.$CLIENT_ROOT.'/css/jquery-ui.css" type="text/css" rel="stylesheet" />';
echo '<link href="'.$CLIENT_ROOT.'/css/base.css?ver=1" type="text/css" rel="stylesheet" />';
echo '<link href="'.$CLIENT_ROOT.'/css/main.css?ver=1" type="text/css" rel="stylesheet" />';
}
?>
</head>
<body>
<?php
Expand Down

0 comments on commit 96332dd

Please sign in to comment.