mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
render searchbox relate icon css
This commit is contained in:
@@ -2254,6 +2254,7 @@ function stdhead($title = "", $msgalert = true, $script = "", $place = "")
|
||||
global $tstart;
|
||||
global $Cache;
|
||||
global $Advertisement;
|
||||
global $browsecatmode;
|
||||
|
||||
$Cache->setLanguage($CURLANGDIR);
|
||||
|
||||
@@ -2322,10 +2323,13 @@ $cssupdatedate=($cssupdatedate ? "?".htmlspecialchars($cssupdatedate) : "");
|
||||
<link rel="stylesheet" href="styles/curtain_imageresizer.css<?php echo $cssupdatedate?>" type="text/css" />
|
||||
<?php
|
||||
if ($CURUSER){
|
||||
$caticonrow = get_category_icon_row($CURUSER['caticon']);
|
||||
if($caticonrow['cssfile']){
|
||||
// $caticonrow = get_category_icon_row($CURUSER['caticon']);
|
||||
// if($caticonrow['cssfile']){
|
||||
|
||||
$icons = (new \App\Repositories\SearchBoxRepository())->listIcon($browsecatmode);
|
||||
foreach ($icons as $icon) {
|
||||
?>
|
||||
<link rel="stylesheet" href="<?php echo htmlspecialchars($caticonrow['cssfile']).$cssupdatedate?>" type="text/css" />
|
||||
<link rel="stylesheet" href="<?php echo htmlspecialchars(trim($icon['cssfile'], '/')).$cssupdatedate?>" type="text/css" />
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user