mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
fix typo
This commit is contained in:
parent
a5ef254870
commit
4fdbe1bac2
2 changed files with 14 additions and 14 deletions
|
|
@ -91,7 +91,7 @@ class ncenterliteController extends ncenterlite
|
|||
$admins_list = $admin_list->data;
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
||||
if(isset($config->use[admin_content]))
|
||||
if(isset($config->use['admin_content']))
|
||||
{
|
||||
foreach($admins_list as $admins)
|
||||
{
|
||||
|
|
@ -122,7 +122,7 @@ class ncenterliteController extends ncenterlite
|
|||
}
|
||||
}
|
||||
|
||||
if(!$mention_targets || !count($mention_targets) || !isset($config->use[mention]))
|
||||
if(!$mention_targets || !count($mention_targets) || !isset($config->use['mention']))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
@ -191,7 +191,7 @@ class ncenterliteController extends ncenterlite
|
|||
$is_anonymous = $this->_isAnonymous($this->_TYPE_COMMENT, $obj);
|
||||
|
||||
// check use the mention option.
|
||||
if(isset($config->use[mention]))
|
||||
if(isset($config->use['mention']))
|
||||
{
|
||||
$mention_targets = $this->_getMentionTarget(strip_tags($obj->content));
|
||||
// !TODO 공용 메소드로 분리
|
||||
|
|
@ -223,14 +223,14 @@ class ncenterliteController extends ncenterlite
|
|||
}
|
||||
}
|
||||
|
||||
if(!isset($config->use[comment]))
|
||||
if(!isset($config->use['comment']))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
||||
$admin_list = $oNcenterliteModel->getMemberAdmins();
|
||||
$admins_list = $admin_list->data;
|
||||
if(isset($config->use[admin_content]))
|
||||
if(isset($config->use['admin_content']))
|
||||
{
|
||||
foreach($admins_list as $admins)
|
||||
{
|
||||
|
|
@ -285,7 +285,7 @@ class ncenterliteController extends ncenterlite
|
|||
}
|
||||
}
|
||||
// 대댓글이 아니고, 게시글의 댓글을 남길 경우
|
||||
if(!$parent_srl || ($parent_srl && isset($config->use[comment_comment])))
|
||||
if(!$parent_srl || ($parent_srl && isset($config->use['comment_comment'])))
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
|
|
@ -329,7 +329,7 @@ class ncenterliteController extends ncenterlite
|
|||
return new Object();
|
||||
}
|
||||
|
||||
if(!isset($config->use[message]))
|
||||
if(!isset($config->use['message']))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
@ -361,7 +361,7 @@ class ncenterliteController extends ncenterlite
|
|||
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
$config = $oNcenterliteModel->getConfig();
|
||||
if(!isset($config->use[vote]))
|
||||
if(!isset($config->use['vote']))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label"><span class="x_label x_label-important">{$lang->ncenterlite_warning}</span> {$lang->ncenterlite_io}</label>
|
||||
<div class="x_controls">
|
||||
<label for="notify_mention" class="x_inline"><input type="checkbox" name="use[mention]" id="notify_mention" value="1" checked="checked"|cond="isset($config->use[mention])" /> {$lang->ncenterlite_mention}</label>
|
||||
<label for="notify_comment" class="x_inline"><input type="checkbox" name="use[comment]" id="notify_comment" value="1" checked="checked"|cond="isset($config->use[comment])" /> {$lang->ncenterlite_comment}</label>
|
||||
<label for="notify_comment_comment" class="x_inline"><input type="checkbox" name="use[comment_comment]" id="notify_comment_comment" value="1" checked="checked"|cond="isset($config->use[comment_comment])" /> {$lang->ncenterlite_comment_comment}</label>
|
||||
<label for="notify_vote" class="x_inline"><input type="checkbox" name="use[vote]" id="notify_vote" value="1" checked="checked"|cond="isset($config->use[vote])" /> {$lang->ncenterlite_cmd_vote}</label>
|
||||
<label for="notify_message" class="x_inline"><input type="checkbox" name="use[message]" id="notify_message" value="1" checked="checked"|cond="isset($config->use[message])" /> {$lang->ncenterlite_type_message}</label>
|
||||
<label for="notify_admin_content" class="x_inline"><input type="checkbox" name="use[admin_content]" id="notify_admin_content" value="1" checked="checked"|cond="isset($config->use[admin_content])" /> {$lang->ncenterlite_admin_content}</label>
|
||||
<label for="notify_mention" class="x_inline"><input type="checkbox" name="use['mention']" id="notify_mention" value="1" checked="checked"|cond="isset($config->use['mention'])" /> {$lang->ncenterlite_mention}</label>
|
||||
<label for="notify_comment" class="x_inline"><input type="checkbox" name="use['comment']" id="notify_comment" value="1" checked="checked"|cond="isset($config->use['comment'])" /> {$lang->ncenterlite_comment}</label>
|
||||
<label for="notify_comment_comment" class="x_inline"><input type="checkbox" name="use['comment_comment']" id="notify_comment_comment" value="1" checked="checked"|cond="isset($config->use['comment_comment'])" /> {$lang->ncenterlite_comment_comment}</label>
|
||||
<label for="notify_vote" class="x_inline"><input type="checkbox" name="use['vote']" id="notify_vote" value="1" checked="checked"|cond="isset($config->use['vote'])" /> {$lang->ncenterlite_cmd_vote}</label>
|
||||
<label for="notify_message" class="x_inline"><input type="checkbox" name="use['message']" id="notify_message" value="1" checked="checked"|cond="isset($config->use['message'])" /> {$lang->ncenterlite_type_message}</label>
|
||||
<label for="notify_admin_content" class="x_inline"><input type="checkbox" name="use['admin_content']" id="notify_admin_content" value="1" checked="checked"|cond="isset($config->use['admin_content'])" /> {$lang->ncenterlite_admin_content}</label>
|
||||
<p>{$lang->about_admin_content}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue