Changeset 3306
- Timestamp:
- 05/21/07 03:50:23 (20 months ago)
- Files:
-
- 4 modified
-
branches/1.5/blog/owner/entry/index.php (modified) (10 diffs)
-
branches/1.5/style/admin/default/post.css (modified) (4 diffs)
-
trunk/blog/owner/entry/index.php (modified) (10 diffs)
-
trunk/style/admin/default/post.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/blog/owner/entry/index.php
r3296 r3306 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 = null; 60 63 $tabsClass['all'] = true; 64 $visibilityText = _t('모든'); 61 65 } 62 66 … … 618 622 function execLoadFunction() { 619 623 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 } 621 662 } 622 663 … … 634 675 635 676 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 } 638 687 } 639 688 640 689 function closeWhatIsEolin() { 641 690 document.getElementById('eolinDialog').style.display = 'none'; 691 if (STD.isIE) { 692 document.getElementById('commandBox').style.visibility = 'hidden'; 693 } 642 694 } 643 695 //]]> … … 645 697 646 698 <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 648 702 if ($categoryId == -1) { 649 echo _ t('등록된 키워드 목록입니다');703 echo _f('등록된 %1 키워드 목록입니다', $visibilityText); 650 704 } else if ($categoryId == -2) { 651 echo _ t('등록된 공지 목록입니다');705 echo _f('등록된 %1 공지 목록입니다', $visibilityText); 652 706 } else if ($categoryId == -5) { 653 echo _ t('공지와 키로그를 포함한 모든 글의 목록입니다');707 echo _f('공지와 키로그를 포함한 %1 글의 목록입니다', $visibilityText); 654 708 } else { 655 echo _ t('등록된 글 목록입니다');709 echo _f('등록된 %1 글 목록입니다', $visibilityText); 656 710 } 657 ?></span></h2> 711 ?> 712 </span></h2> 658 713 659 714 <ul id="entry-tabs-box"> … … 666 721 <div class="section"> 667 722 <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 668 723 724 <label for="category"><?php echo _t('종류');?></label> 669 725 <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 670 726 <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> … … 694 750 </optgroup> 695 751 </select> 696 <input type="submit" id="category-move-button" class="move-button button" value="<?php echo _t('이동');?>" />697 752 </div> 698 753 </form> … … 820 875 821 876 <div id="change-section" class="section"> 822 <h2><?php echo _t('페이지 네비게이션');?></h2>823 824 877 <span class="label"><?php echo _t('선택한 글을');?></span> 825 878 <select name="commandBox" id="commandBox" onchange="toggleDeleteButton(this)"> … … 866 919 </div> 867 920 868 <div id="data-description"> 921 <hr class="hidden" /> 922 923 <div id="data-description" class="section"> 924 <h2><?php echo _t('기능 설명');?></h2> 925 869 926 <dl class="eolin-description"> 870 927 <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> 872 929 </dl> 873 930 <dl class="trackback-description"> … … 879 936 <dd><?php echo _t('보호글의 패스워드를 설정합니다.');?></dd> 880 937 </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> 881 957 </div> 882 958 959 <hr class="hidden" /> 960 883 961 <div id="page-section" class="section"> 962 <h2><?php echo _t('페이지 네비게이션');?></h2> 963 884 964 <div id="page-navigation"> 885 965 <span id="page-list"> … … 929 1009 </form> 930 1010 </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>953 1011 <?php 954 1012 require ROOT . '/lib/piece/owner/footer.php'; -
branches/1.5/style/admin/default/post.css
r3266 r3306 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 } … … 654 663 border : 1px solid #666666; 655 664 padding : 58px 8px 15px 8px; 656 position : relative; 665 position : absolute; 666 top : -300px !important; 657 667 width : 492px; 658 668 } … … 663 673 } 664 674 665 #eolinDialog .temp-box h 4675 #eolinDialog .temp-box h3 666 676 { 667 677 border-bottom : 1px solid #E6E6E6; 668 678 color : #284A9F; 679 display : block; 669 680 font-size : 1em; 670 681 font-weight : bold; -
trunk/blog/owner/entry/index.php
r3296 r3306 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 = null; 60 63 $tabsClass['all'] = true; 64 $visibilityText = _t('모든'); 61 65 } 62 66 … … 618 622 function execLoadFunction() { 619 623 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 } 621 662 } 622 663 … … 634 675 635 676 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 } 638 687 } 639 688 640 689 function closeWhatIsEolin() { 641 690 document.getElementById('eolinDialog').style.display = 'none'; 691 if (STD.isIE) { 692 document.getElementById('commandBox').style.visibility = 'hidden'; 693 } 642 694 } 643 695 //]]> … … 645 697 646 698 <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 648 702 if ($categoryId == -1) { 649 echo _ t('등록된 키워드 목록입니다');703 echo _f('등록된 %1 키워드 목록입니다', $visibilityText); 650 704 } else if ($categoryId == -2) { 651 echo _ t('등록된 공지 목록입니다');705 echo _f('등록된 %1 공지 목록입니다', $visibilityText); 652 706 } else if ($categoryId == -5) { 653 echo _ t('공지와 키로그를 포함한 모든 글의 목록입니다');707 echo _f('공지와 키로그를 포함한 %1 글의 목록입니다', $visibilityText); 654 708 } else { 655 echo _ t('등록된 글 목록입니다');709 echo _f('등록된 %1 글 목록입니다', $visibilityText); 656 710 } 657 ?></span></h2> 711 ?> 712 </span></h2> 658 713 659 714 <ul id="entry-tabs-box"> … … 666 721 <div class="section"> 667 722 <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 668 723 724 <label for="category"><?php echo _t('종류');?></label> 669 725 <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 670 726 <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> … … 694 750 </optgroup> 695 751 </select> 696 <input type="submit" id="category-move-button" class="move-button button" value="<?php echo _t('이동');?>" />697 752 </div> 698 753 </form> … … 820 875 821 876 <div id="change-section" class="section"> 822 <h2><?php echo _t('페이지 네비게이션');?></h2>823 824 877 <span class="label"><?php echo _t('선택한 글을');?></span> 825 878 <select name="commandBox" id="commandBox" onchange="toggleDeleteButton(this)"> … … 866 919 </div> 867 920 868 <div id="data-description"> 921 <hr class="hidden" /> 922 923 <div id="data-description" class="section"> 924 <h2><?php echo _t('기능 설명');?></h2> 925 869 926 <dl class="eolin-description"> 870 927 <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> 872 929 </dl> 873 930 <dl class="trackback-description"> … … 879 936 <dd><?php echo _t('보호글의 패스워드를 설정합니다.');?></dd> 880 937 </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> 881 957 </div> 882 958 959 <hr class="hidden" /> 960 883 961 <div id="page-section" class="section"> 962 <h2><?php echo _t('페이지 네비게이션');?></h2> 963 884 964 <div id="page-navigation"> 885 965
