Changeset 3291
- Timestamp:
- 05/17/07 02:36:32 (20 months ago)
- Location:
- sandbox
- Files:
-
- 2 modified
-
blog/owner/entry/index.php (modified) (10 diffs)
-
style/admin/default/post.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sandbox/blog/owner/entry/index.php
r3277 r3291 49 49 $visibility = '>=1'; 50 50 $tabsClass['public'] = true; 51 $visibilityText = _t('공개'); 51 52 } else if($_POST['visibility']=='protected') { 52 53 $visibility = '=1'; 53 54 $tabsClass['protected'] = true; 55 $visibilityText = _t('보호'); 54 56 } else if($_POST['visibility']=='private') { 55 57 $visibility = '0'; 56 58 $tabsClass['private'] = true; 59 $visibilityText = _t('비공개'); 57 60 } 58 61 } else { 59 62 $visibility = '>=1'; 60 63 $tabsClass['all'] = true; 64 $visibilityText = _t('모든'); 61 65 } 62 66 … … 627 631 function execLoadFunction() { 628 632 document.getElementById('allChecked').disabled = false; 629 removeItselfById('category-move-button'); 633 634 if (document.getElementById('eolinDialog').style.display == 'none') { 635 // eolin button 636 if (STD.isIE) { 637 var tempBUTTON = document.createElement('<button onclick="window.open(\'http://www.eolin.com\'); return false;">'); 638 } else { 639 var tempBUTTON = document.createElement('BUTTON'); 640 tempBUTTON.setAttribute('onclick', 'window.open(\'http://www.eolin.com\'); return false;'); 641 } 642 643 tempBUTTON.id = 'eolin-button'; 644 tempBUTTON.className = 'eolin-button input-button'; 645 tempBUTTON.setAttribute('title', '<?php echo _t('이올린으로 연결합니다.');?>'); 646 tempSPAN = document.createElement('SPAN'); 647 tempSPAN.className = 'text'; 648 tempSPAN.innerHTML = '<?php echo _t('이올린, 지금 만나보세요');?>'; 649 tempBUTTON.appendChild(tempSPAN); 650 651 document.getElementById('eolin-button-box').appendChild(tempBUTTON); 652 653 // close button 654 if (STD.isIE) { 655 var tempBUTTON = document.createElement('<button onclick="closeWhatIsEolin(); return false;">'); 656 } else { 657 var tempBUTTON = document.createElement('BUTTON'); 658 tempBUTTON.setAttribute('onclick', 'closeWhatIsEolin(); return false;'); 659 } 660 661 tempBUTTON.id = 'close-button'; 662 tempBUTTON.className = 'close-button input-button'; 663 tempBUTTON.setAttribute('title', '<?php echo _t('이 대화상자를 닫습니다.');?>'); 664 tempSPAN = document.createElement('SPAN'); 665 tempSPAN.className = 'text'; 666 tempSPAN.innerHTML = '<?php echo _t('닫기');?>'; 667 tempBUTTON.appendChild(tempSPAN); 668 669 document.getElementById('eolin-button-box').appendChild(tempBUTTON); 670 } 630 671 } 631 672 … … 643 684 644 685 function viewWhatIsEolin() { 645 dialog = document.getElementById('eolinDialog'); 646 PM.showPanel(dialog); 686 if (document.getElementById('eolinDialog').style.display == 'none') { 687 dialog = document.getElementById('eolinDialog'); 688 PM.showPanel(dialog); 689 690 if (STD.isIE) { 691 document.getElementById('commandBox').style.visibility = 'hidden'; 692 } 693 } else { 694 window.open('http://www.eolin.com'); 695 } 647 696 } 648 697 649 698 function closeWhatIsEolin() { 650 699 document.getElementById('eolinDialog').style.display = 'none'; 700 if (STD.isIE) { 701 document.getElementById('commandBox').style.visibility = 'hidden'; 702 } 651 703 } 652 704 //]]> … … 654 706 655 707 <div id="part-post-list" class="part"> 656 <h2 class="caption"><span class="main-text"><?php 708 <h2 class="caption"><span class="main-text"> 709 <?php 710 657 711 if ($categoryId == -1) { 658 echo _ t('등록된 키워드 목록입니다');712 echo _f('등록된 %1 키워드 목록입니다', $visibilityText); 659 713 } else if ($categoryId == -2) { 660 echo _ t('등록된 공지 목록입니다');714 echo _f('등록된 %1 공지 목록입니다', $visibilityText); 661 715 } else if ($categoryId == -5) { 662 echo _ t('공지와 키로그를 포함한 모든 글의 목록입니다');716 echo _f('공지와 키로그를 포함한 %1 글의 목록입니다', $visibilityText); 663 717 } else { 664 echo _ t('등록된 글 목록입니다');718 echo _f('등록된 %1 글 목록입니다', $visibilityText); 665 719 } 666 ?></span></h2> 720 ?> 721 </span></h2> 667 722 668 723 <ul id="entry-tabs-box"> … … 675 730 <div class="section"> 676 731 <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 677 732 733 <label for="category"><?php echo _t('종류');?></label> 678 734 <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 679 735 <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> … … 703 759 </optgroup> 704 760 </select> 705 <input type="submit" id="category-move-button" class="move-button button" value="<?php echo _t('이동');?>" />706 761 </div> 707 762 </form> … … 829 884 830 885 <div id="change-section" class="section"> 831 <h2><?php echo _t('페이지 네비게이션');?></h2>832 833 886 <span class="label"><?php echo _t('선택한 글을');?></span> 834 887 <select name="commandBox" id="commandBox" onchange="toggleDeleteButton(this)"> … … 875 928 </div> 876 929 877 <div id="data-description"> 930 <hr class="hidden" /> 931 932 <div id="data-description" class="section"> 933 <h2><?php echo _t('기능 설명');?></h2> 934 878 935 <dl class="eolin-description"> 879 936 <dt><?php echo _t('발행');?></dt> 880 <dd><?php echo _ t('<a href="#void" onclick="viewWhatIsEolin()">이올린</a>에 글을 공개합니다.');?></dd>937 <dd><?php echo _f('%1에 글을 공개합니다.', '<a href="http://www.eolin.com" onclick="viewWhatIsEolin(); return false;">' . _t('이올린') . '</a>');?></dd> 881 938 </dl> 882 939 <dl class="trackback-description"> … … 888 945 <dd><?php echo _t('보호글의 패스워드를 설정합니다.');?></dd> 889 946 </dl> 947 948 <div id="eolinDialog" class="dialog" style="position: absolute; display: none; z-index: 100;"> 949 <div class="temp-box"> 950 <h3><?php echo _t('이올린이란?');?></h4> 951 952 <p class="message"> 953 <?php echo _t('이올린은 텍스트큐브와 텍스트큐브 기반의 블로그에서 "발행"을 통해 보내진 글들을 다양한 방법으로 만날 수 있는 텍스트큐브 블로거들의 열린 공간입니다.');?> 954 </p> 955 956 <h3><?php echo _t('발행 방법');?></h4> 957 958 <p class="message"> 959 <em><?php echo _t('텍스트큐브 글목록에서 발행버튼을 클릭하시거나 글쓰기시 공개범위를 "발행"으로 체크하시면 됩니다.');?></em> 960 <?php echo _t('발행을 통해 이올린으로 보내진 게시물들의 저작권을 포함한 일체에 관한 권리는 별도의 의사표시가 없는 한 각 회원에게 있습니다. 이올린에서는 발행된 게시물을 블로거의 동의 없이 상업적으로 이용하지 않습니다. 다만 비영리적 목적인 경우는 이용이 가능하며, 또한 이올린 서비스 내의 게재권, 사용권을 갖습니다.');?> 961 </p> 962 963 <div id="eolin-button-box" class="button-box"></div> 964 </div> 965 </div> 890 966 </div> 891 967 968 <hr class="hidden" /> 969 892 970 <div id="page-section" class="section"> 971 <h2><?php echo _t('페이지 네비게이션');?></h2> 972 893 973 <div id="page-navigation"> 894 974 <span id="page-list"> … … 938 1018 </form> 939 1019 </div> 940 941 <div id="eolinDialog" class="dialog" style="position: absolute; display: none; z-index: 100;">942 <div class="temp-box">943 <h4><?php echo _t('이올린이란?');?></h4>944 945 <p class="message">946 <?php echo _t('이올린은 텍스트큐브와 텍스트큐브 기반의 블로그에서 "발행"을 통해 보내진 글들을 다양한 방법으로 만날 수 있는 텍스트큐브 블로거들의 열린 공간입니다.');?>947 </p>948 949 <h4><?php echo _t('발행 방법');?></h4>950 951 <p class="message">952 <em><?php echo _t('텍스트큐브 글목록에서 발행버튼을 클릭하시거나 글쓰기시 공개범위를 "발행"으로 체크하시면 됩니다.');?></em>953 <?php echo _t('발행을 통해 이올린으로 보내진 게시물들의 저작권을 포함한 일체에 관한 권리는 별도의 의사표시가 없는 한 각 회원에게 있습니다. 이올린에서는 발행된 게시물을 블로거의 동의 없이 상업적으로 이용하지 않습니다. 다만 비영리적 목적인 경우는 이용이 가능하며, 또한 이올린 서비스 내의 게재권, 사용권을 갖습니다.');?>954 </p>955 956 <div class="button-box">957 <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>958 <button id="close-button" class="close-button input-button" onclick="closeWhatIsEolin()" title="<?php echo _t('이 대화상자를 닫습니다.');?>"><span class="text"><?php echo _t('닫기');?></span></button>959 </div>960 </div>961 </div>962 1020 <?php 963 1021 require ROOT . '/lib/piece/owner/footer.php'; -
sandbox/style/admin/default/post.css
r3260 r3291 137 137 list-style-type: none; 138 138 margin: 0 1px; 139 } 140 141 #entry-tabs-box li a 142 { 139 143 padding: 0 1em; 144 text-decoration: none; 140 145 } 141 146 … … 144 149 background-color: #FFFFFF; 145 150 border-bottom: 1px solid #FFFFFF; 151 } 152 153 #entry-tabs-box li.selected a 154 { 146 155 cursor: default; 147 156 } … … 649 658 border : 1px solid #666666; 650 659 padding : 58px 8px 15px 8px; 651 position : relative; 660 position : absolute; 661 top : -300px !important; 652 662 width : 492px; 653 663 } … … 658 668 } 659 669 660 #eolinDialog .temp-box h 4670 #eolinDialog .temp-box h3 661 671 { 662 672 border-bottom : 1px solid #E6E6E6; 663 673 color : #284A9F; 674 display : block; 664 675 font-size : 1em; 665 676 font-weight : bold;
