Added icons and avatars.

This commit is contained in:
2022-05-02 15:23:56 -05:00
parent 28ea1febec
commit 156e568222
6 changed files with 14 additions and 1 deletions

BIN
assets/avatar/fathom-avatar.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
assets/avatar/favicon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/avatar/og-image.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 KiB

BIN
assets/avatar/subicon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -116,6 +116,12 @@
</label><span class="far fa-question-circle icon-sm" data-placement="right" data-toggle="tooltip" title="This requires a numerical code, contact your ILS admin for a list."></span>
<input id="material" name="material" class="form-control" />
</div>
<div class="form-group">
<label>
Collection Code<br>
</label><span class="far fa-question-circle icon-sm" data-placement="right" data-toggle="tooltip" title="This requires a numerical code, contact your ILS admin for a list."></span>
<input id="collection" name="collection" class="form-control" />
</div>
<div class="form-group">
<label>
Type of Material<br>

View File

@ -16,6 +16,8 @@ $incomingauthor = $_POST['author'];
$author = filter_var($incomingauthor, FILTER_SANITIZE_STRING);
$incomingmaterial = $_POST['material'];
$material = filter_var($incomingmaterial, FILTER_SANITIZE_STRING);
$incomingcollection = $_POST['collection'];
$collection = filter_var($incomingcollection, FILTER_SANITIZE_STRING);
$incomingtom = filter_input(INPUT_POST, 'tom', FILTER_SANITIZE_STRING);
@ -46,6 +48,10 @@ if (!empty($material)) {
$mat = $searchjoiner.'mat='.$material;
}
if (!empty($collection)) {
$col = $searchjoiner.'col='.$collection;
}
if (!empty($incomingtom)) {
$tom = $searchjoiner.'tom='.$incomingtom;
}
@ -57,7 +63,7 @@ if (!empty($title)) {
$urlend = $searchsuffix;
}
$SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmiddle, $la, $au, $kw, $su, $mat, $tom, $urlend)));
$SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmiddle, $la, $au, $kw, $su, $mat, $col, $tom, $urlend)));
?>
@ -153,6 +159,7 @@ $SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmi
echo '<strong>Author:</strong> '.$author.'<br />';
echo '<strong>Subjects:</strong> '.$subject.'<br />';
echo '<strong>Material Type Code:</strong> '.$material.'<br />';
echo '<strong>Collection Code:</strong> '.$collection.'<br />';
echo '<strong>Type of Material:</strong> '.$incomingtom.'<br />';
echo '<strong>Langauge:</strong> '.$language.'<br />';
?>