Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #20 from jmr06005/master
Update to UConn Health copyright
  • Loading branch information
jmr06005 committed Dec 4, 2014
2 parents 61f45c4 + d96411a commit 1cdf51c
Showing 1 changed file with 65 additions and 65 deletions.
130 changes: 65 additions & 65 deletions footer.php
@@ -1,66 +1,66 @@
</div><!--#uc-main-->

<div id="uc-footer">
<?php get_template_part('mega-footer'); ?>
<div class="container">
<ul id="uc-footer-links" class="clearfix">
<?php
$options = get_option('uconn_banner_options');
$text_string = $options['text_string'];
$location = $text_string;
if($location == 'uchc'){
?>
<li>
<a href="http://www.uchc.edu/siteindex/index.html">A-Z Index</a>
</li>
<li>
<a href="http://www.uchc.edu/" >UConn Health</a>
</li>
<li>
<a href="http://www.uchc.edu/disclaimer/index.html">Disclaimer, Privacy Notice &amp; Copyright</a>
</li>
<li>
<a href="http://www.uchc.edu/directions/index.html" >Maps &amp; Directions</a>
</li>
<!-- <li>
<a href="http://www.uchc.edu/contact/index.html">Contact Us</a>
</li> -->
<li>
&copy; University of Connecticut Health Center
</li>
<?php
} else {
?>
<li>
&copy; <a href="http://uconn.edu">University of Connecticut</a>
</li>
<li>
<a href="http://uconn.edu/disclaimers-and-copyrights.php">Disclaimers, Privacy &amp; Copyright</a>
</li>
<?php
}
?>
<li>
<a href="<?php echo site_url(); ?>/wp-admin/">Webmaster Login</a>
</li>
<?php

// Only display the footer if a menu of "Footer" exists in the site.
if (wp_get_nav_menu_object('Footer') && count(wp_get_nav_menu_items('Footer')) > 0){
$defaults = array(
'menu' => 'Footer',
'container' => false,
'items_wrap' => '%3$s',
'depth' => 1
);
wp_nav_menu( $defaults );
}

?>

</ul>
</div>
</div>
<?php wp_footer();?>
</body>
</div><!--#uc-main-->

<div id="uc-footer">
<?php get_template_part('mega-footer'); ?>
<div class="container">
<ul id="uc-footer-links" class="clearfix">
<?php
$options = get_option('uconn_banner_options');
$text_string = $options['text_string'];
$location = $text_string;
if($location == 'uchc'){
?>
<li>
<a href="http://www.uchc.edu/siteindex/index.html">A-Z Index</a>
</li>
<li>
<a href="http://www.uchc.edu/" >UConn Health</a>
</li>
<li>
<a href="http://www.uchc.edu/disclaimer/index.html">Disclaimer, Privacy Notice &amp; Copyright</a>
</li>
<li>
<a href="http://www.uchc.edu/directions/index.html" >Maps &amp; Directions</a>
</li>
<!-- <li>
<a href="http://www.uchc.edu/contact/index.html">Contact Us</a>
</li> -->
<li>
&copy; UConn Health
</li>
<?php
} else {
?>
<li>
&copy; <a href="http://uconn.edu">University of Connecticut</a>
</li>
<li>
<a href="http://uconn.edu/disclaimers-and-copyrights.php">Disclaimers, Privacy &amp; Copyright</a>
</li>
<?php
}
?>
<li>
<a href="<?php echo site_url(); ?>/wp-admin/">Webmaster Login</a>
</li>
<?php

// Only display the footer if a menu of "Footer" exists in the site.
if (wp_get_nav_menu_object('Footer') && count(wp_get_nav_menu_items('Footer')) > 0){
$defaults = array(
'menu' => 'Footer',
'container' => false,
'items_wrap' => '%3$s',
'depth' => 1
);
wp_nav_menu( $defaults );
}

?>

</ul>
</div>
</div>
<?php wp_footer();?>
</body>
</html>

0 comments on commit 1cdf51c

Please sign in to comment.