Skip to content
Snippets Groups Projects
Commit 1822826a authored by Ryan Dee's avatar Ryan Dee
Browse files

Add 5.0-specific stylesheets in PHP files

parent 986beebb
No related branches found
No related tags found
No related merge requests found
...@@ -61,13 +61,16 @@ if (!$isEmbed) { ...@@ -61,13 +61,16 @@ if (!$isEmbed) {
$page->head = '<link rel="home" href="./" />'; $page->head = '<link rel="home" href="./" />';
$page->pagetitle = ''; $page->pagetitle = '';
$page->breadcrumbs = renderTemplate('templates/breadcrumbs.tpl.php'); $page->breadcrumbs = renderTemplate('templates/breadcrumbs.tpl.php');
$page->addStyleSheet('css/search.css?v=20161215');
}
if ($isEmbed && $_GET['embed'] === '5.0') {
$page->addStyleSheet('css/search-5.0.css?v=20180816');
} }
$localResults = ''; $localResults = '';
$context = ''; $context = '';
$page->addStyleSheet('css/search.css?v=20161215');
//u is referring site //u is referring site
if (isset($_GET['u']) && $scanned = UNL_Search::getScannedPage($_GET['u'])) { if (isset($_GET['u']) && $scanned = UNL_Search::getScannedPage($_GET['u'])) {
// Add local site search results // Add local site search results
......
...@@ -19,7 +19,7 @@ require(['jquery', '<?php echo $localScriptUrl ?>'], function($, UNLSearch) { ...@@ -19,7 +19,7 @@ require(['jquery', '<?php echo $localScriptUrl ?>'], function($, UNLSearch) {
}).appendTo($('body')); }).appendTo($('body'));
var $localCss = $('<link>', { var $localCss = $('<link>', {
'href': './css/search-google.css?v=20170404' 'href': './css/search-google-5.0.css?v=20180816'
}); });
gSearchDefer.done(function(google) { gSearchDefer.done(function(google) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment