-
-
Save LI-NA/63b8d7b0337843b00eb2 to your computer and use it in GitHub Desktop.
카테고리 변경 애드온 스킨 적용 코드
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="./" method="post" id="quickChangeCategory"> | |
<input type="hidden" name="act" value="procBoardInsertDocument" /> | |
<input type="hidden" name="subAct" value="updateCategory" /> | |
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}"> | |
<select cond="$mi->use_category=='Y' && $category_list" name="category_srl" class="category" onChange="document.getElementById('quickChangeCategory').submit()"|cond="$logged_info->is_admin=='Y'" disabled="disabled"|cond="$logged_info->is_admin!='Y'"> | |
<option loop="$category_list => $val" disabled="disabled"|cond="!$val->grant" value="{$val->category_srl}" selected="selected"|cond="$val->grant&&$val->selected||$val->category_srl==$oDocument->get('category_srl')"> | |
{str_repeat(" ",$val->depth)} {$val->title} | |
</option> | |
</select> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment