mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
693e215bc1
commit
4d272994dd
219 changed files with 6407 additions and 8705 deletions
|
|
@ -2,19 +2,19 @@
|
|||
/**
|
||||
* @class pollAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief poll모듈의 admin controller class
|
||||
* @brief The admin controller class of the poll module
|
||||
**/
|
||||
|
||||
class pollAdminController extends poll {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
* @brief Initialization
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설정 저장
|
||||
* @brief Save the configurations
|
||||
**/
|
||||
function procPollAdminInsertConfig() {
|
||||
$config->skin = Context::get('skin');
|
||||
|
|
@ -27,18 +27,17 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 페이지에서 선택된 설문조사들을 삭제
|
||||
* @brief Delete the polls selected in the administrator's page
|
||||
**/
|
||||
function procPollAdminDeleteChecked() {
|
||||
// 선택된 글이 없으면 오류 표시
|
||||
// Display an error no post is selected
|
||||
$cart = Context::get('cart');
|
||||
if(!$cart) return $this->stop('msg_cart_is_null');
|
||||
|
||||
$poll_srl_list= explode('|@|', $cart);
|
||||
$poll_count = count($poll_srl_list);
|
||||
if(!$poll_count) return $this->stop('msg_cart_is_null');
|
||||
|
||||
// 글삭제
|
||||
// Delete the post
|
||||
for($i=0;$i<$poll_count;$i++) {
|
||||
$poll_index_srl = trim($poll_srl_list[$i]);
|
||||
if(!$poll_index_srl) continue;
|
||||
|
|
@ -51,7 +50,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 설문조사 삭제 (한번에 여러개의 설문 등록시 그 중 하나의 설문만 삭제)
|
||||
* @brief Delete the poll (when several questions are registered in one poll, delete this question)
|
||||
**/
|
||||
function deletePollTitle($poll_index_srl) {
|
||||
$args->poll_index_srl = $poll_index_srl;
|
||||
|
|
@ -77,7 +76,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 설문조사 삭제 (하나의 묶인 설문조사를 통째로 삭제)
|
||||
* @brief Delete the poll (delete the entire poll)
|
||||
**/
|
||||
function deletePoll($poll_srl) {
|
||||
$args->poll_srl = $poll_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue