Changeset 3306

Show
Ignore:
Timestamp:
05/21/07 03:50:23 (20 months ago)
Author:
inureyes
Message:

#16

  • Move to trunk / 1.5 tree (sandbox [3291])
  • 16번 티켓은 완료되기를 기다리지 않고 확인되는대로 바로 동기화하도록 하겠습니다. :)
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/blog/owner/entry/index.php

    r3296 r3306  
    4949        $visibility = '>=1'; 
    5050        $tabsClass['public'] = true; 
     51        $visibilityText = _t('공개'); 
    5152    } else if($_POST['visibility']=='protected') { 
    5253        $visibility = '=1'; 
    5354        $tabsClass['protected'] = true; 
     55        $visibilityText = _t('보호'); 
    5456    } else if($_POST['visibility']=='private') { 
    5557        $visibility = '0'; 
    5658        $tabsClass['private'] = true; 
     59        $visibilityText = _t('비공개'); 
    5760    } 
    5861} else { 
    5962    $visibility = null; 
    6063    $tabsClass['all'] = true; 
     64    $visibilityText = _t('모든'); 
    6165} 
    6266 
     
    618622                                function execLoadFunction() { 
    619623                                    document.getElementById('allChecked').disabled = false; 
    620                                     removeItselfById('category-move-button'); 
     624                                     
     625                                    if (document.getElementById('eolinDialog').style.display == 'none') { 
     626                                        // eolin button 
     627                                        if (STD.isIE) { 
     628                                            var tempBUTTON = document.createElement('<button onclick="window.open(\'http://www.eolin.com\'); return false;">'); 
     629                                        } else { 
     630                                            var tempBUTTON = document.createElement('BUTTON'); 
     631                                            tempBUTTON.setAttribute('onclick', 'window.open(\'http://www.eolin.com\'); return false;'); 
     632                                        } 
     633                                     
     634                                        tempBUTTON.id = 'eolin-button'; 
     635                                        tempBUTTON.className = 'eolin-button input-button'; 
     636                                        tempBUTTON.setAttribute('title', '<?php echo _t('이올린으로 연결합니다.');?>'); 
     637                                        tempSPAN = document.createElement('SPAN'); 
     638                                        tempSPAN.className = 'text'; 
     639                                        tempSPAN.innerHTML = '<?php echo _t('이올린, 지금 만나보세요');?>'; 
     640                                        tempBUTTON.appendChild(tempSPAN); 
     641                                     
     642                                        document.getElementById('eolin-button-box').appendChild(tempBUTTON); 
     643                                         
     644                                        // close button 
     645                                        if (STD.isIE) { 
     646                                            var tempBUTTON = document.createElement('<button onclick="closeWhatIsEolin(); return false;">'); 
     647                                        } else { 
     648                                            var tempBUTTON = document.createElement('BUTTON'); 
     649                                            tempBUTTON.setAttribute('onclick', 'closeWhatIsEolin(); return false;'); 
     650                                        } 
     651                                     
     652                                        tempBUTTON.id = 'close-button'; 
     653                                        tempBUTTON.className = 'close-button input-button'; 
     654                                        tempBUTTON.setAttribute('title', '<?php echo _t('이 대화상자를 닫습니다.');?>'); 
     655                                        tempSPAN = document.createElement('SPAN'); 
     656                                        tempSPAN.className = 'text'; 
     657                                        tempSPAN.innerHTML = '<?php echo _t('닫기');?>'; 
     658                                        tempBUTTON.appendChild(tempSPAN); 
     659                                     
     660                                        document.getElementById('eolin-button-box').appendChild(tempBUTTON); 
     661                                    } 
    621662                                } 
    622663                                 
     
    634675                                 
    635676                                function viewWhatIsEolin() { 
    636                                     dialog = document.getElementById('eolinDialog'); 
    637                                     PM.showPanel(dialog); 
     677                                    if (document.getElementById('eolinDialog').style.display == 'none') { 
     678                                        dialog = document.getElementById('eolinDialog'); 
     679                                        PM.showPanel(dialog); 
     680                                 
     681                                        if (STD.isIE) { 
     682                                            document.getElementById('commandBox').style.visibility = 'hidden'; 
     683                                        } 
     684                                    } else { 
     685                                        window.open('http://www.eolin.com'); 
     686                                    } 
    638687                                } 
    639688                                 
    640689                                function closeWhatIsEolin() { 
    641690                                    document.getElementById('eolinDialog').style.display = 'none'; 
     691                                    if (STD.isIE) { 
     692                                        document.getElementById('commandBox').style.visibility = 'hidden'; 
     693                                    } 
    642694                                } 
    643695                            //]]> 
     
    645697                         
    646698                        <div id="part-post-list" class="part"> 
    647                             <h2 class="caption"><span class="main-text"><?php 
     699                            <h2 class="caption"><span class="main-text"> 
     700<?php 
     701     
    648702    if ($categoryId == -1) {  
    649         echo _t('등록된 키워드 목록입니다'); 
     703        echo _f('등록된 %1 키워드 목록입니다', $visibilityText); 
    650704    } else if ($categoryId == -2) { 
    651         echo _t('등록된 공지 목록입니다'); 
     705        echo _f('등록된 %1 공지 목록입니다', $visibilityText); 
    652706    } else if ($categoryId == -5) { 
    653         echo _t('공지와 키로그를 포함한 모든 글의 목록입니다'); 
     707        echo _f('공지와 키로그를 포함한 %1 글의 목록입니다', $visibilityText); 
    654708    } else { 
    655         echo _t('등록된 글 목록입니다'); 
     709        echo _f('등록된 %1 글 목록입니다', $visibilityText); 
    656710    } 
    657 ?></span></h2> 
     711?> 
     712                            </span></h2> 
    658713                             
    659714                            <ul id="entry-tabs-box"> 
     
    666721                                <div class="section"> 
    667722                                    <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 
    668  
     723                                     
     724                                    <label for="category"><?php echo _t('종류');?></label> 
    669725                                    <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 
    670726                                        <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> 
     
    694750                                        </optgroup> 
    695751                                    </select> 
    696                                     <input type="submit" id="category-move-button" class="move-button button" value="<?php echo _t('이동');?>" /> 
    697752                                </div> 
    698753                            </form> 
     
    820875                                     
    821876                                    <div id="change-section" class="section"> 
    822                                         <h2><?php echo _t('페이지 네비게이션');?></h2> 
    823                                          
    824877                                        <span class="label"><?php echo _t('선택한 글을');?></span> 
    825878                                        <select name="commandBox" id="commandBox" onchange="toggleDeleteButton(this)">  
     
    866919                                    </div> 
    867920                                     
    868                                     <div id="data-description"> 
     921                                    <hr class="hidden" /> 
     922                                     
     923                                    <div id="data-description" class="section"> 
     924                                        <h2><?php echo _t('기능 설명');?></h2> 
     925 
    869926                                        <dl class="eolin-description"> 
    870927                                            <dt><?php echo _t('발행');?></dt> 
    871                                             <dd><?php echo _t('<a href="#void" onclick="viewWhatIsEolin()">이올린</a>에 글을 공개합니다.');?></dd> 
     928                                            <dd><?php echo _f('%1에 글을 공개합니다.', '<a href="http://www.eolin.com" onclick="viewWhatIsEolin(); return false;">' . _t('이올린') . '</a>');?></dd> 
    872929                                        </dl> 
    873930                                        <dl class="trackback-description"> 
     
    879936                                            <dd><?php echo _t('보호글의 패스워드를 설정합니다.');?></dd> 
    880937                                        </dl> 
     938                                         
     939                                        <div id="eolinDialog" class="dialog" style="position: absolute; display: none; z-index: 100;"> 
     940                                            <div class="temp-box"> 
     941                                                <h3><?php echo _t('이올린이란?');?></h4> 
     942 
     943                                                <p class="message"> 
     944                                                    <?php echo _t('이올린은 텍스트큐브와 텍스트큐브 기반의 블로그에서 "발행"을 통해 보내진 글들을 다양한 방법으로 만날 수 있는 텍스트큐브 블로거들의 열린 공간입니다.');?> 
     945                                                </p> 
     946 
     947                                                <h3><?php echo _t('발행 방법');?></h4> 
     948 
     949                                                <p class="message"> 
     950                                                    <em><?php echo _t('텍스트큐브 글목록에서 발행버튼을 클릭하시거나 글쓰기시 공개범위를 "발행"으로 체크하시면 됩니다.');?></em> 
     951                                                    <?php echo _t('발행을 통해 이올린으로 보내진 게시물들의 저작권을 포함한 일체에 관한 권리는 별도의 의사표시가 없는 한 각 회원에게 있습니다. 이올린에서는 발행된 게시물을 블로거의 동의 없이 상업적으로 이용하지 않습니다. 다만 비영리적 목적인 경우는 이용이 가능하며, 또한 이올린 서비스 내의 게재권, 사용권을 갖습니다.');?> 
     952                                                </p> 
     953 
     954                                                <div id="eolin-button-box" class="button-box"></div> 
     955                                            </div> 
     956                                        </div> 
    881957                                    </div> 
    882958                                     
     959                                    <hr class="hidden" /> 
     960                                     
    883961                                    <div id="page-section" class="section"> 
     962                                        <h2><?php echo _t('페이지 네비게이션');?></h2> 
     963                                         
    884964                                        <div id="page-navigation"> 
    885965                                            <span id="page-list"> 
     
    9291009                            </form> 
    9301010                        </div> 
    931                          
    932                         <div id="eolinDialog" class="dialog" style="position: absolute; display: none; z-index: 100;"> 
    933                             <div class="temp-box"> 
    934                                 <h4><?php echo _t('이올린이란?');?></h4> 
    935                                  
    936                                 <p class="message"> 
    937                                     <?php echo _t('이올린은 텍스트큐브와 텍스트큐브 기반의 블로그에서 "발행"을 통해 보내진 글들을 다양한 방법으로 만날 수 있는 텍스트큐브 블로거들의 열린 공간입니다.');?> 
    938                                 </p> 
    939                                  
    940                                 <h4><?php echo _t('발행 방법');?></h4> 
    941                                  
    942                                 <p class="message"> 
    943                                     <em><?php echo _t('텍스트큐브 글목록에서 발행버튼을 클릭하시거나 글쓰기시 공개범위를 "발행"으로 체크하시면 됩니다.');?></em> 
    944                                     <?php echo _t('발행을 통해 이올린으로 보내진 게시물들의 저작권을 포함한 일체에 관한 권리는 별도의 의사표시가 없는 한 각 회원에게 있습니다. 이올린에서는 발행된 게시물을 블로거의 동의 없이 상업적으로 이용하지 않습니다. 다만 비영리적 목적인 경우는 이용이 가능하며, 또한 이올린 서비스 내의 게재권, 사용권을 갖습니다.');?> 
    945                                 </p> 
    946                              
    947                                 <div class="button-box"> 
    948                                     <button id="eolin-button" class="eolin-button input-button" onclick="window.open('http://www.eolin.com');" title="<?php echo _t('이올린으로 연결합니다.');?>"><span class="text"><?php echo _t('이올린, 지금 만나보세요');?></span></button> 
    949                                     <button id="close-button" class="close-button input-button" onclick="closeWhatIsEolin()" title="<?php echo _t('이 대화상자를 닫습니다.');?>"><span class="text"><?php echo _t('닫기');?></span></button> 
    950                                 </div> 
    951                             </div> 
    952                         </div> 
    9531011<?php 
    9541012require ROOT . '/lib/piece/owner/footer.php'; 
  • branches/1.5/style/admin/default/post.css

    r3266 r3306  
    137137    list-style-type: none; 
    138138    margin: 0 1px; 
     139} 
     140 
     141#entry-tabs-box li a 
     142{ 
    139143    padding: 0 1em; 
     144    text-decoration: none; 
    140145} 
    141146 
     
    144149    background-color: #FFFFFF; 
    145150    border-bottom: 1px solid #FFFFFF; 
     151} 
     152 
     153#entry-tabs-box li.selected a 
     154{ 
    146155    cursor: default; 
    147156} 
     
    654663    border                           : 1px solid #666666; 
    655664    padding                          : 58px 8px 15px 8px; 
    656     position                         : relative; 
     665    position                         : absolute; 
     666    top                              : -300px !important; 
    657667    width                            : 492px; 
    658668} 
     
    663673} 
    664674 
    665 #eolinDialog .temp-box h4 
     675#eolinDialog .temp-box h3 
    666676{ 
    667677    border-bottom                    : 1px solid #E6E6E6; 
    668678    color                            : #284A9F; 
     679    display                          : block; 
    669680    font-size                        : 1em; 
    670681    font-weight                      : bold; 
  • trunk/blog/owner/entry/index.php

    r3296 r3306  
    4949        $visibility = '>=1'; 
    5050        $tabsClass['public'] = true; 
     51        $visibilityText = _t('공개'); 
    5152    } else if($_POST['visibility']=='protected') { 
    5253        $visibility = '=1'; 
    5354        $tabsClass['protected'] = true; 
     55        $visibilityText = _t('보호'); 
    5456    } else if($_POST['visibility']=='private') { 
    5557        $visibility = '0'; 
    5658        $tabsClass['private'] = true; 
     59        $visibilityText = _t('비공개'); 
    5760    } 
    5861} else { 
    5962    $visibility = null; 
    6063    $tabsClass['all'] = true; 
     64    $visibilityText = _t('모든'); 
    6165} 
    6266 
     
    618622                                function execLoadFunction() { 
    619623                                    document.getElementById('allChecked').disabled = false; 
    620                                     removeItselfById('category-move-button'); 
     624                                     
     625                                    if (document.getElementById('eolinDialog').style.display == 'none') { 
     626                                        // eolin button 
     627                                        if (STD.isIE) { 
     628                                            var tempBUTTON = document.createElement('<button onclick="window.open(\'http://www.eolin.com\'); return false;">'); 
     629                                        } else { 
     630                                            var tempBUTTON = document.createElement('BUTTON'); 
     631                                            tempBUTTON.setAttribute('onclick', 'window.open(\'http://www.eolin.com\'); return false;'); 
     632                                        } 
     633                                     
     634                                        tempBUTTON.id = 'eolin-button'; 
     635                                        tempBUTTON.className = 'eolin-button input-button'; 
     636                                        tempBUTTON.setAttribute('title', '<?php echo _t('이올린으로 연결합니다.');?>'); 
     637                                        tempSPAN = document.createElement('SPAN'); 
     638                                        tempSPAN.className = 'text'; 
     639                                        tempSPAN.innerHTML = '<?php echo _t('이올린, 지금 만나보세요');?>'; 
     640                                        tempBUTTON.appendChild(tempSPAN); 
     641                                     
     642                                        document.getElementById('eolin-button-box').appendChild(tempBUTTON); 
     643                                         
     644                                        // close button 
     645                                        if (STD.isIE) { 
     646                                            var tempBUTTON = document.createElement('<button onclick="closeWhatIsEolin(); return false;">'); 
     647                                        } else { 
     648                                            var tempBUTTON = document.createElement('BUTTON'); 
     649                                            tempBUTTON.setAttribute('onclick', 'closeWhatIsEolin(); return false;'); 
     650                                        } 
     651                                     
     652                                        tempBUTTON.id = 'close-button'; 
     653                                        tempBUTTON.className = 'close-button input-button'; 
     654                                        tempBUTTON.setAttribute('title', '<?php echo _t('이 대화상자를 닫습니다.');?>'); 
     655                                        tempSPAN = document.createElement('SPAN'); 
     656                                        tempSPAN.className = 'text'; 
     657                                        tempSPAN.innerHTML = '<?php echo _t('닫기');?>'; 
     658                                        tempBUTTON.appendChild(tempSPAN); 
     659                                     
     660                                        document.getElementById('eolin-button-box').appendChild(tempBUTTON); 
     661                                    } 
    621662                                } 
    622663                                 
     
    634675                                 
    635676                                function viewWhatIsEolin() { 
    636                                     dialog = document.getElementById('eolinDialog'); 
    637                                     PM.showPanel(dialog); 
     677                                    if (document.getElementById('eolinDialog').style.display == 'none') { 
     678                                        dialog = document.getElementById('eolinDialog'); 
     679                                        PM.showPanel(dialog); 
     680                                 
     681                                        if (STD.isIE) { 
     682                                            document.getElementById('commandBox').style.visibility = 'hidden'; 
     683                                        } 
     684                                    } else { 
     685                                        window.open('http://www.eolin.com'); 
     686                                    } 
    638687                                } 
    639688                                 
    640689                                function closeWhatIsEolin() { 
    641690                                    document.getElementById('eolinDialog').style.display = 'none'; 
     691                                    if (STD.isIE) { 
     692                                        document.getElementById('commandBox').style.visibility = 'hidden'; 
     693                                    } 
    642694                                } 
    643695                            //]]> 
     
    645697                         
    646698                        <div id="part-post-list" class="part"> 
    647                             <h2 class="caption"><span class="main-text"><?php 
     699                            <h2 class="caption"><span class="main-text"> 
     700<?php 
     701     
    648702    if ($categoryId == -1) {  
    649         echo _t('등록된 키워드 목록입니다'); 
     703        echo _f('등록된 %1 키워드 목록입니다', $visibilityText); 
    650704    } else if ($categoryId == -2) { 
    651         echo _t('등록된 공지 목록입니다'); 
     705        echo _f('등록된 %1 공지 목록입니다', $visibilityText); 
    652706    } else if ($categoryId == -5) { 
    653         echo _t('공지와 키로그를 포함한 모든 글의 목록입니다'); 
     707        echo _f('공지와 키로그를 포함한 %1 글의 목록입니다', $visibilityText); 
    654708    } else { 
    655         echo _t('등록된 글 목록입니다'); 
     709        echo _f('등록된 %1 글 목록입니다', $visibilityText); 
    656710    } 
    657 ?></span></h2> 
     711?> 
     712                            </span></h2> 
    658713                             
    659714                            <ul id="entry-tabs-box"> 
     
    666721                                <div class="section"> 
    667722                                    <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 
    668  
     723                                     
     724                                    <label for="category"><?php echo _t('종류');?></label> 
    669725                                    <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 
    670726                                        <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> 
     
    694750                                        </optgroup> 
    695751                                    </select> 
    696                                     <input type="submit" id="category-move-button" class="move-button button" value="<?php echo _t('이동');?>" /> 
    697752                                </div> 
    698753                            </form> 
     
    820875                                     
    821876                                    <div id="change-section" class="section"> 
    822                                         <h2><?php echo _t('페이지 네비게이션');?></h2> 
    823                                          
    824877                                        <span class="label"><?php echo _t('선택한 글을');?></span> 
    825878                                        <select name="commandBox" id="commandBox" onchange="toggleDeleteButton(this)">  
     
    866919                                    </div> 
    867920                                     
    868                                     <div id="data-description"> 
     921                                    <hr class="hidden" /> 
     922                                     
     923                                    <div id="data-description" class="section"> 
     924                                        <h2><?php echo _t('기능 설명');?></h2> 
     925 
    869926                                        <dl class="eolin-description"> 
    870927                                            <dt><?php echo _t('발행');?></dt> 
    871                                             <dd><?php echo _t('<a href="#void" onclick="viewWhatIsEolin()">이올린</a>에 글을 공개합니다.');?></dd> 
     928                                            <dd><?php echo _f('%1에 글을 공개합니다.', '<a href="http://www.eolin.com" onclick="viewWhatIsEolin(); return false;">' . _t('이올린') . '</a>');?></dd> 
    872929                                        </dl> 
    873930                                        <dl class="trackback-description"> 
     
    879936                                            <dd><?php echo _t('보호글의 패스워드를 설정합니다.');?></dd> 
    880937                                        </dl> 
     938                                         
     939                                        <div id="eolinDialog" class="dialog" style="position: absolute; display: none; z-index: 100;"> 
     940                                            <div class="temp-box"> 
     941                                                <h3><?php echo _t('이올린이란?');?></h4> 
     942 
     943                                                <p class="message"> 
     944                                                    <?php echo _t('이올린은 텍스트큐브와 텍스트큐브 기반의 블로그에서 "발행"을 통해 보내진 글들을 다양한 방법으로 만날 수 있는 텍스트큐브 블로거들의 열린 공간입니다.');?> 
     945                                                </p> 
     946 
     947                                                <h3><?php echo _t('발행 방법');?></h4> 
     948 
     949                                                <p class="message"> 
     950                                                    <em><?php echo _t('텍스트큐브 글목록에서 발행버튼을 클릭하시거나 글쓰기시 공개범위를 "발행"으로 체크하시면 됩니다.');?></em> 
     951                                                    <?php echo _t('발행을 통해 이올린으로 보내진 게시물들의 저작권을 포함한 일체에 관한 권리는 별도의 의사표시가 없는 한 각 회원에게 있습니다. 이올린에서는 발행된 게시물을 블로거의 동의 없이 상업적으로 이용하지 않습니다. 다만 비영리적 목적인 경우는 이용이 가능하며, 또한 이올린 서비스 내의 게재권, 사용권을 갖습니다.');?> 
     952                                                </p> 
     953 
     954                                                <div id="eolin-button-box" class="button-box"></div> 
     955                                            </div> 
     956                                        </div> 
    881957                                    </div> 
    882958                                     
     959                                    <hr class="hidden" /> 
     960                                     
    883961                                    <div id="page-section" class="section"> 
     962                                        <h2><?php echo _t('페이지 네비게이션');?></h2> 
     963                                         
    884964                                        <div id="page-navigation"> 
    885965