fix: style

This commit is contained in:
Baoshuo Ren 2022-09-23 21:54:44 +08:00
parent d8f6ffb582
commit 1d142f8cff
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 4 additions and 4 deletions

View File

@ -177,14 +177,14 @@
};
$remove_assignment_form->runAtServer();
$announcement_form = new UOJForm('announcement_form');
$announcement_form->addVTextArea('announcement_content', '公告', $group['announcement'],
$announcement_form = new UOJForm('announcement_form');
$announcement_form->addVTextArea('announcement_content', '公告', $group['announcement'],
function ($x) {
return '';
},
null
);
$announcement_form->submit_button_config['align'] = 'compressed';
$announcement_form->submit_button_config['align'] = 'compressed';
$announcement_form->submit_button_config['text'] = '更新公告';
$announcement_form->handle = function() {
global $group_id, $myUser;

View File

@ -295,7 +295,7 @@
<?php foreach ($groups as $group): ?>
<?php
$group_detail = DB::selectFirst("select * from groups where id = {$group['id']}");
$group_announcement = $group_detail['announcement'];
$group_announcement = $group_detail['announcement'];
?>
<li class="list-group-item">
<a href="<?= HTML::url('/group/'.$group['id']) ?>">