local-footer.tpl.php 1.34 KB
Newer Older
Jeff Sturek's avatar
Jeff Sturek committed
1
2
<nav id="dcf-footer-group-1" role="navigation" aria-labelledby="dcf-footer-group-1-heading">
  <h3 class="dcf-txt-md dcf-bold dcf-uppercase dcf-lh-3 unl-ls-2 unl-cream" id="dcf-footer-group-1-heading">About UNL Search</h3>
Jeff Sturek's avatar
Jeff Sturek committed
3
  <p>This application is a product of the <a href="https://dxg.unl.edu/">Digital Experience Group at Nebraska</a>. DXG is a partnership of <a href="https://ucomm.unl.edu/">University Communication</a> and <a href="https://its.unl.edu/">Information Technology Services</a>.</p>
Jeff Sturek's avatar
Jeff Sturek committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
    <?php
      // TODO: Verify file will continue to exist and correct
      echo file_get_contents('http://www.unl.edu/ucomm/sharedcode/footerContactInfo.html');
      ?>
</nav>
<nav id="dcf-footer-group-2" role="navigation" aria-labelledby="dcf-footer-group-2-heading">
  <h3 class="dcf-txt-md dcf-bold dcf-uppercase dcf-lh-3 unl-ls-2 unl-cream" id="dcf-footer-group-2-heading">Related Links</h3>
  <ul class="dcf-list-bare dcf-mb-0">
      <?php
        //TODO: Verify file will continue to exist and if correct list of links
        $relatedLinks = file_get_contents('http://www.unl.edu/sharedcode/relatedLinks.html');
        preg_match_all('|<li>(.*)<\/li>|', $relatedLinks, $matches);
        if (is_array($matches[0])) {
          foreach($matches[0] as $link) {
            echo "<li>" . $link . "</li>", PHP_EOL;
          }
        }
      ?>
  </ul>
</nav>