/**

         * @brief the method for displaying the warning messages

         * display an error message if it has not  a special design

       

        function alertMessage($message) {

            $script =  sprintf('<script> jQuery(function(){ alert("%s"); } );</script>', Context::getLang($message));

            Context::addHtmlFooter( $script );

        }  **/

 

// 원래의 코드는 위처럼 주석처리후 아래와 같이 삽입

function alertMessage($message) {

    if($message=="msg_not_permitted") {

        $script =  sprintf('<script type="text/javascript"> jQuery(function(){ location.href="/?act=dispMemberLoginForm"; } );</script>');

                }

         else

                {

            $script =  sprintf('<script type="text/javascript"> jQuery(function(){ alert("%s"); } );</script>', Context::getLang($message));

                }

            Context::addHtmlFooter( $script );

        }

 

 

 

SSL 사용자는 아래처럼 https 와 포트넘어 및 풀 주소를 넣어주는것이 좋다.

 

https://www.도메인.com:포트넘버/index.php?act=dispMemberLoginForm&mid=원하는위치

skyo

?
XE타운 관리자 입니다.
관리자 아닌것 같지만 제이쿼리 엔지가 없는게 매력인 관리자 입니다.
  • ?
    이걸 어디에 적용하는건가요?
  • ?

    board.view.php 에 해당 팁을 적용, 1.8.13 버젼에서 테스트를 해보면 작동을 하지 않는것 같습니다.