Skip to content
Snippets Groups Projects
Commit dfa7753c authored by Kevin Abel's avatar Kevin Abel
Browse files

Add template files to support some controller/view separation.

parent 177d712b
No related branches found
No related tags found
1 merge request!1WDN 4.0 Theme
<ul>
<li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln">UNL</a></li>
<li>Search</li>
</ul>
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="ie iem7 embed"><![endif]-->
<!--[if lt IE 7 ]><html class="ie ie6 embed" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="ie ie7 embed" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="ie ie8 embed" lang="en"><![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie embed" lang="en"><![endif]-->
<!--[if !(IEMobile) | !(IE)]><!--><html class="embed" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>UNL Search | University of Nebraska&ndash;Lincoln</title>
<!-- Load Cloud.typography fonts -->
<link rel="stylesheet" type="text/css" href="//cloud.typography.com/7717652/616662/css/fonts.css" />
<!-- Load our base CSS file -->
<!--[if gte IE 9]><!-->
<link rel="stylesheet" type="text/css" media="all" href="//unlcms.unl.edu/wdn/templates_4.0/css/all.css" />
<!--<![endif]-->
<!-- Load the template JS file -->
<script type="text/javascript" src="/wdn/templates_4.0/scripts/compressed/all.js?dep=4.0.7" id="wdn_dependents"></script>
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" media="all" href="//unlcms.unl.edu/wdn/templates_4.0/css/all_oldie.css" />
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- For all IE versions, bring in the tweaks -->
<!--[if IE]>
<link rel="stylesheet" type="text/css" media="all" href="//unlcms.unl.edu/wdn/templates_4.0/css/ie.css" />
<![endif]-->
<?php echo $head ?>
</head>
<body>
<div id="wdn_wrapper">
<div id="wdn_content_wrapper">
<div id="maincontent" class="wdn-main">
<?php echo $maincontent ?>
</div>
</div>
</div>
</body>
</html>
<?php if (isset($title)): ?>
<h3><?php echo $title ?> Results</h3>
<?php endif; ?>
<div id="<?php echo isset($id) ? $id : '' ?>" class="google-results"></div>
<div id="searchform" class="wdn-band">
<form action="./" method="get" class="wdn-inner-wrapper">
<div class="input-group">
<input type="text" value="" name="q" id="search_q" title="Search Query" placeholder="e.g., Herbert Husker, Ph.D." />
<span class="input-group-btn"><button class="button wdn-icon-search" title="Search" type="submit"></button></span>
</div>
<?php if (!empty($local_results)): ?>
<input type="hidden" name="u" value="<?php echo htmlentities($_GET['u'], ENT_QUOTES) ?>" />
<?php endif; ?>
</form>
</div>
<section class="wdn-band" id="search_wrapper">
<div class="<?php if (!$isEmbed): ?>wdn-inner-wrapper wdn-inner-padding-sm<?php endif; ?>">
<div class="wdn-grid-set search-set">
<div id="search_results" class="results-group">
<div class="result-head">
<h2>UNL Web</h2>
<ul class="result-tab">
<?php if (!empty($local_results)): ?>
<li><a href="#">This unit</a></li>
<?php endif; ?>
<li><a href="#">All of UNL</a></li>
</ul>
</div>
<div class="search-results">
<?php echo $local_results ?>
<?php renderTemplate('templates/google-results.tpl.php', array(
'title' => 'All of UNL',
'id' => 'unl_results',
)) ?>
</div>
</div>
<div id="directory_results" class="results-group">
<div class="result-head">
<h2>UNL Directory</h2>
<ul class="result-tab">
<li><a href="#">People</a></li>
<li><a href="#">Departments</a></li>
</ul>
</div>
<div id="ppl_results" class="search-results"></div>
</div>
</div>
</div>
</section>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment