Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ryan Dee
UNL_Search
Commits
f39f2cd2
Commit
f39f2cd2
authored
Oct 20, 2017
by
Michael Fairchild
Browse files
Merge branch 'webaudit-fixes' into 'master'
Web Audit fixes See merge request !8
parents
5e6a2560
8e134a3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/index.php
View file @
f39f2cd2
...
...
@@ -26,6 +26,9 @@ function loadDefaultSections($page)
$page
->
navlinks
=
file_get_contents
(
'http://www.unl.edu/ucomm/sharedcode/navigation.html'
);
$page
->
contactinfo
=
renderTemplate
(
'templates/local-footer.tpl.php'
);
$page
->
affiliation
=
''
;
//Convert relative paths to absolute
$page
->
navlinks
=
UNL_Search
::
removeRelativePaths
(
$page
->
navlinks
,
'https://www.unl.edu/'
);
}
$isEmbed
=
isset
(
$_GET
[
'embed'
])
&&
$_GET
[
'embed'
];
...
...
www/templates/search-form.tpl.php
View file @
f39f2cd2
...
...
@@ -2,7 +2,7 @@
<form
action=
"./"
method=
"get"
class=
"wdn-inner-wrapper"
>
<div
class=
"wdn-input-group"
>
<input
type=
"text"
name=
"q"
id=
"search_q"
aria-label=
"Search Query"
placeholder=
"e.g., Herbert Husker, Ph.D."
/>
<span
class=
"wdn-input-group-btn"
><button
class=
"button
wdn-icon-search"
type=
"submit"
><span
class=
"wdn-text-hidden"
>
Search
</span></button></span>
<span
class=
"wdn-input-group-btn"
><button
class=
"button
"
type=
"submit"
><span
class=
"wdn-icon-search"
aria-hidden=
"true"
></span
><span
class=
"wdn-text-hidden"
>
Search
</span></button></span>
</div>
<?php
if
(
!
empty
(
$local_results
))
:
?>
<input
type=
"hidden"
name=
"u"
value=
"
<?php
echo
htmlentities
(
$_GET
[
'u'
],
ENT_QUOTES
)
?>
"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment