mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
r6331 관련 커밋 마무리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6332 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fcf90678f9
commit
e8476eba00
12 changed files with 51 additions and 3 deletions
|
|
@ -248,7 +248,7 @@
|
|||
$oDB->begin();
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_srl = $source_obj->get('module_srl');
|
||||
$module_srl = $obj->module_srl;
|
||||
$document_config = $oModuleModel->getModulePartConfig('document', $module_srl);
|
||||
if(!isset($document_config->use_history)) $document_config->use_history = 'N';
|
||||
$bUseHistory = $document_config->use_history == 'Y' || $document_config->use_history == 'Trace';
|
||||
|
|
@ -348,7 +348,7 @@
|
|||
}
|
||||
|
||||
// 모든 확장 변수 삭제
|
||||
$this->deleteDocumentExtraVars($obj->module_srl, $obj->document_srl, null, Context::getLangType());
|
||||
$this->deleteDocumentExtraVars($source_obj->get('module_srl'), $obj->document_srl, null, Context::getLangType());
|
||||
|
||||
// 등록 성공시 확장 변수 등록
|
||||
$extra_keys = $oDocumentModel->getExtraKeys($obj->module_srl);
|
||||
|
|
@ -510,7 +510,7 @@
|
|||
/**
|
||||
* @brief 해당 document의 조회수 증가
|
||||
**/
|
||||
function updateReadedCount($oDocument) {
|
||||
function updateReadedCount(&$oDocument) {
|
||||
$document_srl = $oDocument->document_srl;
|
||||
$member_srl = $oDocument->get('member_srl');
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = 'Prohibit Downloads';
|
||||
$lang->about_disable_download = "This will prohibit downloads when there are not enough points. (Exclude image files)";
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = 'Point Calculation per Point';
|
||||
$lang->expression = 'Please input Javascript formula by using level variable <b>i</b>. ex) Math.pow(i, 2) * 90';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
$lang->cmd_point_member_list = 'Member Point List';
|
||||
|
||||
$lang->msg_cannot_download = "You don't have enough point to download";
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = 'Adjusting Point. (%d / %d)';
|
||||
$lang->point_recal_finished = 'Point recalculation is finished.';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = 'Prohibida la descarga';
|
||||
$lang->about_disable_download = "Se prohibe la descarga de archivos al tener los puntos insuficientes.. (Excepto los archivos de imagen)";
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = 'Punto por punto cálculo';
|
||||
$lang->expression = 'Por favor, de entrada mediante el uso de Javascript fórmula nivel variable <b> i </ b>. Ex) Math.pow (i, 2) * 90';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
$lang->cmd_point_member_list = 'Lista de puntos del usuario';
|
||||
|
||||
$lang->msg_cannot_download = "No tiene puntos suficientes para descagar";
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = 'Ajuste de Punto. (%d / %d)';
|
||||
$lang->point_recal_finished = 'Punto cálculo está acabado.';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = 'Interdire de télécharger';
|
||||
$lang->about_disable_download = "Il est impossible de télécharger quand il n'y a pas de points suffisants. (Sauf les fichier d'images)";
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = 'Calcul des Points par Niveau';
|
||||
$lang->expression = 'Entrez la formule en Javascript en utilisant la Variable de Niveau <b>i</b>. ex) Math.pow(i, 2) * 90';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
$lang->cmd_point_member_list = 'Liste des Points des Membres';
|
||||
|
||||
$lang->msg_cannot_download = "Vous n'avez pas assez de point pour télécharger";
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = 'En train d\'Adjuster le Point. (%d / %d)';
|
||||
$lang->point_recal_finished = 'Recalcul des Points est fini.';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = 'ダウンロード禁止';
|
||||
$lang->about_disable_download = 'チェックするとポイントがない場合、ダウンロードを禁止します(イメージファイル除外)。';
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = 'レベル別ポイント計算';
|
||||
$lang->expression = 'レベル変数<b>i</b>を使用してJavaスクリプト数式を入力して下さい(例: Math.pow(i, 2) * 90)。';
|
||||
|
|
@ -57,6 +59,7 @@
|
|||
$lang->cmd_point_member_list = '会員ポイントリスト';
|
||||
|
||||
$lang->msg_cannot_download = 'ポイントが不足しているため、ダウンロード出来ません。';
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = 'ただ今ポイントを適用しています。 (%d / %d)';
|
||||
$lang->point_recal_finished = 'ポイント再計算が完了しました。';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = '다운로드 금지';
|
||||
$lang->about_disable_download = '포인트가 없을 경우 다운로드를 금지하게 합니다. (이미지파일은 제외입니다)';
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = '레벨별 포인트 계산';
|
||||
$lang->expression = '레벨 변수 <b>i</b>를 사용하여 자바스크립트 수식을 입력하세요. 예: Math.pow(i, 2) * 90';
|
||||
|
|
@ -57,6 +59,7 @@
|
|||
$lang->cmd_point_member_list = '회원 포인트 목록';
|
||||
|
||||
$lang->msg_cannot_download = '포인트가 부족하여 다운로드를 하실 수 없습니다';
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = '포인트 적용중입니다. (%d / %d)';
|
||||
$lang->point_recal_finished = '포인트 재계산이 모두 완료되었습니다';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = 'Запретить скачивание';
|
||||
$lang->about_disable_download = "Это запретит скачивание файлов, когда не хватает достаточного кол-ва поинтов. (За исключением файлов изображений)";
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = '레벨별 포인트 계산';
|
||||
$lang->expression = '레벨 변수 <b>i</b>를 사용하여 자바스크립트 수식을 입력하세요. 예: Math.pow(i, 2) * 90';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
$lang->cmd_point_member_list = 'Список поинтов пользователей';
|
||||
|
||||
$lang->msg_cannot_download = "У Вас нет достаточного количества поитов, чтобы иметь разрешение скачивать файлы.";
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = '포인트 적용중입니다. (%d / %d)';
|
||||
$lang->point_recal_finished = '포인트 재계산이 모두 완료되었습니다';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = '禁止下载';
|
||||
$lang->about_disable_download = '没有积分时,将禁止下载。 (图片除外)';
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = '计算级别积分';
|
||||
$lang->expression = '使用级别变数<b>"i"</b>输入JS数学函数。例: Math.pow(i, 2) * 90';
|
||||
|
|
@ -57,6 +59,7 @@
|
|||
$lang->cmd_point_member_list = '会员积分目录';
|
||||
|
||||
$lang->msg_cannot_download = '积分不足无法下载!';
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = '计算并应用中(%d / %d)。';
|
||||
$lang->point_recal_finished = '积分重新计算并应用完毕。';
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
$lang->disable_download = '禁止下載';
|
||||
$lang->about_disable_download = '沒有點數時,將禁止下載。(圖片除外)';
|
||||
$lang->disable_read_document = '글 열람 금지';
|
||||
$lang->about_disable_read_document = '포인트가 없을 경우 글 열람을 금지하게 됩니다';
|
||||
|
||||
$lang->level_point_calc = '計算等級點數';
|
||||
$lang->expression = '使用等級變數<b>"i"</b>輸入JS數學函數。例: Math.pow(i,2) * 90';
|
||||
|
|
@ -58,6 +60,7 @@
|
|||
$lang->cmd_point_member_list = '會員點數列表';
|
||||
|
||||
$lang->msg_cannot_download = '點數不夠無法下載!';
|
||||
$lang->msg_disallow_by_point = "포인트가 부족하여 글을 읽을 수 없습니다 (필요포인트 : %d, 현재포인트 : %d)";
|
||||
|
||||
$lang->point_recal_message = '計算並套用中(%d / %d)。';
|
||||
$lang->point_recal_finished = '點數重新計算並套用完畢。';
|
||||
|
|
|
|||
|
|
@ -51,6 +51,10 @@
|
|||
if($args->disable_download == 'Y') $config->disable_download = 'Y';
|
||||
else $config->disable_download = 'N';
|
||||
|
||||
// 포인트 미달시 글 열람 금지 여부 체크
|
||||
if($args->disable_read_document == 'Y') $config->disable_read_document = 'Y';
|
||||
else $config->disable_read_document = 'N';
|
||||
|
||||
// 레벨별 그룹 설정
|
||||
foreach($args as $key => $val) {
|
||||
if(substr($key, 0, strlen('point_group_')) != 'point_group_') continue;
|
||||
|
|
|
|||
|
|
@ -100,6 +100,9 @@
|
|||
// 추천 / 비추천에 대한 트리거 추가 2008.05.13 haneul
|
||||
$oModuleController->insertTrigger('document.updateVotedCount', 'point', 'controller', 'triggerUpdateVotedCount', 'after');
|
||||
|
||||
// 임시저장글을 정상 저장시 포인트 지급하도록 트리거 추가 2009. 05. 19 zero
|
||||
$oModuleController->insertTrigger('document.updateDocument', 'point', 'controller', 'triggerUpdateDocument', 'before');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
|
|
@ -128,6 +131,9 @@
|
|||
// 추천 / 비추천에 대한 트리거 추가 2008.05.13 haneul
|
||||
if(!$oModuleModel->getTrigger('document.updateVotedCount', 'point', 'controller', 'triggerUpdateVotedCount', 'after')) return true;
|
||||
|
||||
// 임시저장글을 정상 저장시 포인트 지급하도록 트리거 추가 2009. 05. 19 zero
|
||||
if(!$oModuleModel->getTrigger('document.updateDocument', 'point', 'controller', 'triggerUpdateDocument', 'before')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -171,6 +177,10 @@
|
|||
if(!$oModuleModel->getTrigger('document.updateVotedCount', 'point', 'controller', 'triggerUpdateVotedCount', 'after'))
|
||||
$oModuleController->insertTrigger('document.updateVotedCount', 'point', 'controller', 'triggerUpdateVotedCount', 'after');
|
||||
|
||||
// 임시저장글을 정상 저장시 포인트 지급하도록 트리거 추가 2009. 05. 19 zero
|
||||
if(!$oModuleModel->getTrigger('document.updateDocument', 'point', 'controller', 'triggerUpdateDocument', 'before'))
|
||||
$oModuleController->insertTrigger('document.updateDocument', 'point', 'controller', 'triggerUpdateDocument', 'before');
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -92,6 +92,16 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<h4 class="xeAdmin">{$lang->disable_read_document}</h4>
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="checkbox" name="disable_read_document" value="Y" <!--@if($config->disable_read_document=='Y')-->checked="checked"<!--@end--> />
|
||||
<p>{$lang->about_disable_read_document}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<th colspan="2" class="button">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue