Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_Search
Commits
9ff83745
Commit
9ff83745
authored
9 years ago
by
Michael Fairchild
Browse files
Options
Downloads
Patches
Plain Diff
Use the shared iim app footer
parent
6926bc2b
No related branches found
Branches containing commit
No related tags found
1 merge request
!6
4.1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
src/UNL/Search.php
+5
-0
5 additions, 0 deletions
src/UNL/Search.php
www/templates/local-footer.tpl.php
+7
-1
7 additions, 1 deletion
www/templates/local-footer.tpl.php
with
13 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
9ff83745
...
...
@@ -7,3 +7,4 @@
/www/less/lib
/.buildpath
/vendor
/tmp
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/UNL/Search.php
+
5
−
0
View file @
9ff83745
...
...
@@ -96,4 +96,9 @@ class UNL_Search
{
return
self
::
$linkedCSEServer
.
'?u='
.
urlencode
(
$referrer
);
}
public
static
function
getProjectRoot
()
{
return
dirname
(
dirname
(
__DIR__
));
}
}
This diff is collapsed.
Click to expand it.
www/templates/local-footer.tpl.php
+
7
−
1
View file @
9ff83745
...
...
@@ -8,7 +8,13 @@
<div
class=
"bp960-wdn-col-one-half"
>
<div
class=
"wdn-footer-module"
>
<span
role=
"heading"
class=
"wdn-footer-heading"
>
About UNL Search
</span>
<?php
echo
file_get_contents
(
'http://iim.unl.edu/iim-app-footer?format=partial'
);
?>
<?php
if
(
$file
=
file_get_contents
(
UNL_Search
::
getProjectRoot
()
.
'/tmp/iim-app-footer.html'
))
{
echo
$file
;
}
else
{
echo
file_get_contents
(
'http://iim.unl.edu/iim-app-footer?format=partial'
);
}
?>
</div>
</div>
<div
class=
"bp960-wdn-col-one-fourth"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment