Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
$location = get_theme_mod( 'templatelocation','uconn');
$secondary = get_theme_mod( 'secondarytitle','-- Choose One --');
$locationnames = array(
'uconn' => 'University of Connecticut',
'uchc' => 'University of Connecticut Health Center'
);
$secondaries = array(
"Center for Continuing Studies"=>"http://continuingstudies.uconn.edu/",
"College of Agriculture and Natural Resources"=>"http://www.cag.uconn.edu/CANR/index.html",
"College of Liberal Arts and Sciences"=>"http://www.clas.uconn.edu/",
"Division of Athletics"=>"http://www.uconnhuskies.com/",
"Division of Enrollment Management"=>"",
"Division of Public Safety"=>"http://web.uconn.edu/publicsafety/",
"Division of Student Affairs"=>"http://www.studentaffairs.uconn.edu/",
"Division of Undergraduate Education and Instruction"=>"http://vped.uconn.edu/",
"Graduate School"=>"http://grad.uconn.edu/",
"Neag School of Education"=>"http://www.education.uconn.edu/",
"Ratcliffe Hicks School of Agriculture"=>"http://www.cag.uconn.edu/rh/rh/",
"School of Business"=>"http://www.business.uconn.edu/cms/",
"School of Dental Medicine"=>"http://sdm.uchc.edu/",
"School of Engineering"=>"http://www.engr.uconn.edu/",
"School of Fine Arts"=>"http://www.sfa.uconn.edu/",
"School of Law"=>"http://www.law.uconn.edu/",
"School of Medicine"=>"http://medicine.uchc.edu/",
"School of Nursing"=>"http://www.nursing.uconn.edu/index.php",
"School of Pharmacy"=>"http://pharmacy.uconn.edu/",
"School of Social Work"=>"http://www.ssw.uconn.edu/",
"Transportation, Logistics and Parking Services"=>"http://park.uconn.edu/",
"University Information Technology Services"=>"http://uits.uconn.edu/",
"University Libraries"=>"http://www.lib.uconn.edu/",
"Carole and Ray Neag Comprehensive Cancer Center" => "http://cancer.uchc.edu/",
"New England Musculoskeletal Institute" => "http://nemsi.uchc.edu/",
"Pat and Jim Calhoun Cardiology Center" => "http://heart.uchc.edu/"
);
?>
<!doctype html>
<!-- UCONN Template v5.0 July 2013 by UITS Web Lab. Help: http://webtools.uconn.edu or contact webdev@uconn.edu -->
<!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 8]> <html class="ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]> <html class="ie ie9 lte9"> <![endif]-->
<!--[if IE 10]> <html class="ie ie10 lte10"> <![endif]-->
<!--[if gt IE 10]> <html class="ie gt10"> <![endif]-->
<!--[if !IE]><!-->
<html>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<head>
<script type="text/javascript">
function transferFieldstart(someval) {
document.form.start.value = someval;
}
function transferFieldend(someval) {
document.form.end.value = someval;
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script>
var directionsDisplay;
var directionsService = new google.maps.DirectionsService();
function initialize() {
directionsDisplay = new google.maps.DirectionsRenderer();
var mapOptions = {
zoom: 7,
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: new google.maps.LatLng(41.850033, -87.6500523)
};
var map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
directionsDisplay.setMap(map);
directionsDisplay.setPanel(document.getElementById('directions-panel'));
var control = document.getElementById('control');
control.style.display = 'block';
map.controls[google.maps.ControlPosition.TOP_CENTER].push(control);
}
function calcRoute() {
var start = document.getElementById('start').value;
var end = document.getElementById('end').value;
var request = {
origin: start,
destination: end,
travelMode: google.maps.TravelMode.DRIVING
};
directionsService.route(request, function(response, status) {
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setDirections(response);
}
});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
<meta charset="utf-8">
<title><?php the_title(); ?> &#8250; <?php bloginfo('name'); ?> &#8250; UCONN</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head();?>
<link href="<?php bloginfo('template_url'); ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php bloginfo('template_url'); ?>/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet">
<link href="<?php bloginfo('template_url'); ?>/uc-print.css" rel="stylesheet" media="print">
</head>
<body class="uc-blue">
<?php if(function_exists('uconn_banner_hook')){uconn_banner_hook();}?>
<br>
<div id="main-content-wrapper" class="container">
<div id="uc-titlebar" class="container clearfix">
<div class="container">
<div id="uc-site-header">
<?php
if($secondary != "-- Choose One --"){
echo '<p id="uc-site-parent" class="clearfix"><a href="'.$secondaries[$secondary].'">'.$secondary.'</a></p>';
}
?>
<h1 id="uc-site-title" class="clearfix"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
</div>
<nav id="uc-navbar" class="navbar">
<div class="navbar-inner"> <a class="btn btn-navbar clearfix" id="uc-nav-mobile" data-toggle="collapse" data-target=".nav-collapse"> <span class="menu-icon"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></span> <span class="menu-label">Menu</span></a>
<div class="nav-collapse collapse">
<?php
wp_nav_menu(
array(
'menu' => 'primary', /* menu name */
'menu_class' => 'nav',
'theme_location' => 'primary', /* where in the theme it's assigned */
'container' => false, /* container class */
'fallback_cb' => 'hale_main_nav_fallback',
'items_wrap' => '<ul id="%1$s" class="%2$s"><li><a href="'.home_url().'">Home</a></li>%3$s</ul>',
'walker' => new UCSBootstrap_Nav_Walker()/*,
'with_search' => true*/
)
);
?>
</div>
</div>
</nav>
</div>
</div>
<div id="top-gradient"></div>
<div id="uc-main" class="container">