mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Add initial support for all-boards notice
This commit is contained in:
parent
d1edc53b4e
commit
2b77b42480
7 changed files with 25 additions and 7 deletions
|
|
@ -109,6 +109,8 @@ class boardView extends board
|
|||
**/
|
||||
Context::addJsFilter($this->module_path.'tpl/filter', 'input_password.xml');
|
||||
Context::addJsFile($this->module_path.'tpl/js/board.js');
|
||||
Context::loadLang('./modules/document/lang');
|
||||
Context::loadLang('./modules/comment/lang');
|
||||
|
||||
// remove [document_srl]_cpage from get_vars
|
||||
$args = Context::getRequestVars();
|
||||
|
|
|
|||
|
|
@ -285,13 +285,17 @@
|
|||
vertical-align: middle;
|
||||
}
|
||||
.write_header select {
|
||||
border: 1px solid #DBDBDB;
|
||||
height: 29px;
|
||||
width: 140px;
|
||||
padding: 0;
|
||||
}
|
||||
.write_header select[name=is_notice] {
|
||||
width: 76px;
|
||||
}
|
||||
.write_header .iText {
|
||||
width: 360px;
|
||||
margin: 0 10px 0 0;
|
||||
margin: 0;
|
||||
background: #fff;
|
||||
}
|
||||
.write_editor .xd {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,13 @@
|
|||
</select>
|
||||
<input cond="$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" value="{escape($oDocument->getTitleText(), false)}" />
|
||||
<input cond="!$oDocument->getTitleText()" type="text" name="title" class="iText" title="{$lang->title}" />
|
||||
<input cond="$grant->manager" type="checkbox" name="is_notice" value="Y" class="iCheck" checked="checked"|cond="$oDocument->isNotice()" id="is_notice" />
|
||||
<label cond="$grant->manager" for="is_notice">{$lang->notice}</label>
|
||||
<!--@if($grant->manager)-->
|
||||
<select name="is_notice">
|
||||
<option value="N" selected="selected"|cond="$oDocument->get('is_notice') === 'N'">{$lang->not_notice}</option>
|
||||
<option value="Y" selected="selected"|cond="$oDocument->get('is_notice') === 'Y'">{$lang->notice}</option>
|
||||
<option value="A" selected="selected"|cond="$oDocument->get('is_notice') === 'A'">{$lang->notice_all}</option>
|
||||
</select>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<div class="exForm" cond="count($extra_keys)">
|
||||
<table cond="count($extra_keys)" border="1" cellspacing="0" summary="Extra Form">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue