2024-10-10
This commit is contained in:
17
web/template/bs3/css.php
Normal file
17
web/template/bs3/css.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$dir=basename(getcwd());
|
||||
if($dir=="discuss3"||$dir=="admin") $path_fix="../";
|
||||
else $path_fix="";
|
||||
?>
|
||||
|
||||
<!-- 新 Bootstrap 核心 CSS 文件 -->
|
||||
<link rel="stylesheet" href="<?php echo $path_fix."template/$OJ_TEMPLATE/"?>bootstrap.min.css">
|
||||
|
||||
<?php if(!isset($OJ_FLAT)||!$OJ_FLAT){?>
|
||||
<!-- 可选的Bootstrap主题文件(一般不用引入) -->
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>bootstrap-theme.min.css">
|
||||
<?php }?>
|
||||
<link rel="stylesheet" href="<?php echo $path_fix."template/$OJ_TEMPLATE/$OJ_CSS"?>?v=0.1">
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>katex.min.css">
|
||||
<link rel="stylesheet" href="<?php echo $OJ_CDN_URL.$path_fix."template/$OJ_TEMPLATE/"?>mathjax.css">
|
||||
Reference in New Issue
Block a user