mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 23:28:40 +00:00
refactor: blog_write page with bs5
This commit is contained in:
parent
8ca3b7b2b5
commit
cad5bb9a44
@ -14,6 +14,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($_COOKIE['bootstrap4'])) {
|
||||||
|
$REQUIRE_LIB['bootstrap5'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
$blog_editor = new UOJBlogEditor();
|
$blog_editor = new UOJBlogEditor();
|
||||||
$blog_editor->name = 'blog';
|
$blog_editor->name = 'blog';
|
||||||
if ($blog) {
|
if ($blog) {
|
||||||
@ -69,8 +73,16 @@
|
|||||||
$blog_editor->runAtServer();
|
$blog_editor->runAtServer();
|
||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader('写博客') ?>
|
<?php echoUOJPageHeader('写博客') ?>
|
||||||
<div class="text-right">
|
<div class="
|
||||||
<a href="http://uoj.ac/blog/7">这玩意儿怎么用?</a>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
text-end
|
||||||
|
<?php else: ?>
|
||||||
|
text-right
|
||||||
|
<?php endif ?>">
|
||||||
|
<a class="
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
text-decoration-none
|
||||||
|
<?php endif ?>" href="http://uoj.ac/blog/7">这玩意儿怎么用?</a>
|
||||||
</div>
|
</div>
|
||||||
<?php $blog_editor->printHTML() ?>
|
<?php $blog_editor->printHTML() ?>
|
||||||
<?php echoUOJPageFooter() ?>
|
<?php echoUOJPageFooter() ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user