统一格式
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php $show_title="$MSG_SOURCE - $OJ_NAME"; ?>
|
<?php $show_title="$MSG_SOURCE - $OJ_NAME"; ?>
|
||||||
<?php include("template/$OJ_TEMPLATE/header.php");?>
|
<?php include("template/$OJ_TEMPLATE/header.php");?>
|
||||||
<?php require_once('./include/const.inc.php');?>
|
<?php require_once('./include/const.inc.php');?>
|
||||||
|
|
||||||
<div class="padding">
|
<div class="padding">
|
||||||
<div style="margin-top: 0px; margin-bottom: 14px; padding-bottom: 0px; " >
|
<div style="margin-top: 0px; margin-bottom: 14px; padding-bottom: 0px; " >
|
||||||
<p class="transition visible">
|
<p class="transition visible">
|
||||||
@@ -22,7 +23,7 @@
|
|||||||
// 生成标签地图
|
// 生成标签地图
|
||||||
// 为标签添加颜色样式
|
// 为标签添加颜色样式
|
||||||
function colorize_tag($tag) {
|
function colorize_tag($tag) {
|
||||||
global $color_theme;
|
$color_theme=Array("default","primary","success","info","warning","danger");;
|
||||||
$hash_num = hexdec(substr(md5($tag), 0, 7));
|
$hash_num = hexdec(substr(md5($tag), 0, 7));
|
||||||
$label_theme = $color_theme[$hash_num % count($color_theme)];
|
$label_theme = $color_theme[$hash_num % count($color_theme)];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user