Changeset 2646

Show
Ignore:
Timestamp:
12/07/06 01:50:32 (2 years ago)
Author:
coolengineer
Message:

[Hojin Choi]
inline javascript를 함수로 빼어 번역시 과도한 역슬래시 사용을 회피함.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1-beta/lib/view/replyEditorView.php

    r2580 r2646  
    3939                if (!checkValue(oForm.comment, '<?php echo _text('댓글을 입력해 주십시오.');?>')) return false; 
    4040                oForm.submit(); 
     41            } 
     42            function confirmOverwrite() { 
     43                return confirm('<?php echo _text('관리자가 방문객의 댓글을 수정하시면 작성자 이름을 관리자 아이디로 덮어 쓰게 됩니다.\n계속 하시겠습니까?')?>'); 
    4144            } 
    4245        //]]> 
     
    97100 
    98101if (doesHaveOwnership() && array_key_exists('replier', $comment) && (is_null($comment['replier']) || ($comment['replier'] != getUserId()))) { 
    99     $confirmString = "if (confirm('"._text('관리자가 방문객의 댓글을 수정하시면 작성자 이름을 관리자 아이디로 덮어 쓰게 됩니다.\\n계속 하시겠습니까?')."'))"; 
     102    $confirmString = "if( confirmOverwrite() )"; 
    100103} 
    101104?>