Changeset 3265
- Timestamp:
- 05/15/07 17:18:10 (3 years ago)
- Files:
-
- 2 removed
- 10 modified
-
branches/1.5/blog/owner/entry/dashboard (deleted)
-
branches/1.5/blog/owner/entry/index.php (modified) (2 diffs)
-
branches/1.5/lib/piece/owner/contentMenu.php (modified) (1 diff)
-
branches/1.5/lib/piece/owner/header.php (modified) (1 diff)
-
branches/1.5/style/admin/default/plugin-config.css (modified) (1 diff)
-
branches/1.5/style/admin/default/post.css (modified) (1 diff)
-
trunk/blog/owner/entry/dashboard (deleted)
-
trunk/blog/owner/entry/index.php (modified) (2 diffs)
-
trunk/lib/piece/owner/contentMenu.php (modified) (1 diff)
-
trunk/lib/piece/owner/header.php (modified) (1 diff)
-
trunk/style/admin/default/plugin-config.css (modified) (1 diff)
-
trunk/style/admin/default/post.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/blog/owner/entry/index.php
r3264 r3265 43 43 $_POST['visibility'] = $_GET['visibility']; 44 44 } 45 46 $tabsClass = array(); 45 47 if (isset($_POST['visibility'])) { 46 if($_POST['visibility']=='public') 48 if($_POST['visibility']=='public') { 47 49 $visibility = '>=1'; 48 else if($_POST['visibility']=='protected') 49 $visibility = '=1'; 50 else if($_POST['visibility']=='private') 50 $tabsClass['public'] = true; 51 } else if($_POST['visibility']=='protected') { 52 $visibility = '=1'; 53 $tabsClass['protected'] = true; 54 } else if($_POST['visibility']=='private') { 51 55 $visibility = '0'; 56 $tabsClass['private'] = true; 57 } 52 58 } else { 53 59 $visibility = null; 60 $tabsClass['all'] = true; 54 61 } 55 62 … … 649 656 } 650 657 ?></span></h2> 651 658 659 <ul id="entry-tabs-box"> 660 <li<?php echo isset($tabsClass['all']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>"><?php echo _t('모든 글');?></a></li> 661 <li<?php echo isset($tabsClass['private']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>&visibility=private"><?php echo _t('비공개 글');?></a></li> 662 <li<?php echo isset($tabsClass['public']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>&visibility=public"><?php echo _t('공개된 글');?></a></li> 663 </ul> 664 652 665 <form id="category-form" class="category-box" method="post" action="<?php echo $blogURL;?>/owner/entry"> 653 666 <div class="section"> 654 667 <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 655 668 656 669 <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 657 670 <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> -
branches/1.5/lib/piece/owner/contentMenu.php
r3264 r3265 13 13 case 'entry': 14 14 $blogContentMenuItem = array( 15 array('menu'=>'dashboard','title'=>_t('바로가기'),'link'=>'/owner/entry/dashboard'),16 15 array('menu'=>'post','title'=>_t('글쓰기'),'link'=>'/owner/entry/post'), 17 16 array('menu'=>'entry','title'=>_t('글 목록'),'link'=>'/owner/entry'), -
branches/1.5/lib/piece/owner/header.php
r3264 r3265 16 16 $blogTopMenuItem = array( 17 17 array('menu'=>'center','title'=>_t('센터'),'link'=>'/owner/center/dashboard'), 18 array('menu'=>'entry','title'=>_t('글'),'link'=>'/owner/entry /dashboard'),18 array('menu'=>'entry','title'=>_t('글'),'link'=>'/owner/entry'), 19 19 array('menu'=>'link','title'=>_t('링크'),'link'=>'/owner/link'), 20 20 array('menu'=>'skin','title'=>_t('스킨'),'link'=>'/owner/skin'), -
branches/1.5/style/admin/default/plugin-config.css
r3255 r3265 95 95 #menu 96 96 { 97 background-image: url('./image/bg_ pluginconfig_menu.jpg');97 background-image: url('./image/bg_tabbox.jpg'); 98 98 background-position: left bottom; 99 99 line-height: 2.3em; -
branches/1.5/style/admin/default/post.css
r3246 r3265 111 111 112 112 /* Post *******************************************************************************************/ 113 114 #part-post-list h2.caption 115 { 116 margin-bottom: 20px; 117 } 118 /* tab */ 119 120 #entry-tabs-box 121 { 122 background-image: url('./image/bg_tabbox.jpg'); 123 background-position: left bottom; 124 line-height: 2.3em; 125 list-style-type: none; 126 height: 2.55em; 127 overflow: hidden; 128 padding-left: 10px; 129 } 130 131 #entry-tabs-box li 132 { 133 background-color: #EFEFEF; 134 border: 1px solid #D9D9D9; 135 cursor: pointer; 136 display: block; 137 float: left; 138 list-style-type: none; 139 margin: 0 1px; 140 padding: 0 1em; 141 } 142 143 #entry-tabs-box li.selected 144 { 145 background-color: #FFFFFF; 146 border-bottom: 1px solid #FFFFFF; 147 cursor: default; 148 } 113 149 114 150 /* table header */ -
trunk/blog/owner/entry/index.php
r3264 r3265 43 43 $_POST['visibility'] = $_GET['visibility']; 44 44 } 45 46 $tabsClass = array(); 45 47 if (isset($_POST['visibility'])) { 46 if($_POST['visibility']=='public') 48 if($_POST['visibility']=='public') { 47 49 $visibility = '>=1'; 48 else if($_POST['visibility']=='protected') 49 $visibility = '=1'; 50 else if($_POST['visibility']=='private') 50 $tabsClass['public'] = true; 51 } else if($_POST['visibility']=='protected') { 52 $visibility = '=1'; 53 $tabsClass['protected'] = true; 54 } else if($_POST['visibility']=='private') { 51 55 $visibility = '0'; 56 $tabsClass['private'] = true; 57 } 52 58 } else { 53 59 $visibility = null; 60 $tabsClass['all'] = true; 54 61 } 55 62 … … 649 656 } 650 657 ?></span></h2> 651 658 659 <ul id="entry-tabs-box"> 660 <li<?php echo isset($tabsClass['all']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>"><?php echo _t('모든 글');?></a></li> 661 <li<?php echo isset($tabsClass['private']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>&visibility=private"><?php echo _t('비공개 글');?></a></li> 662 <li<?php echo isset($tabsClass['public']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/entry?page=1<?php echo $tab['postfix'];?>&visibility=public"><?php echo _t('공개된 글');?></a></li> 663 </ul> 664 652 665 <form id="category-form" class="category-box" method="post" action="<?php echo $blogURL;?>/owner/entry"> 653 666 <div class="section"> 654 667 <input type="hidden" name="page" value="<?php echo $suri['page'];?>" /> 655 668 656 669 <select id="category" name="category" onchange="document.getElementById('category-form').page.value=1; document.getElementById('category-form').submit()"> 657 670 <option value="-5"<?php echo ($categoryId == -5 ? ' selected="selected"' : '');?>><?php echo _t('모든 글');?></option> -
trunk/lib/piece/owner/contentMenu.php
r3264 r3265 13 13 case 'entry': 14 14 $blogContentMenuItem = array( 15 array('menu'=>'dashboard','title'=>_t('바로가기'),'link'=>'/owner/entry/dashboard'),16 15 array('menu'=>'post','title'=>_t('글쓰기'),'link'=>'/owner/entry/post'), 17 16 array('menu'=>'entry','title'=>_t('글 목록'),'link'=>'/owner/entry'), -
trunk/lib/piece/owner/header.php
r3264 r3265 16 16 $blogTopMenuItem = array( 17 17 array('menu'=>'center','title'=>_t('센터'),'link'=>'/owner/center/dashboard'), 18 array('menu'=>'entry','title'=>_t('글'),'link'=>'/owner/entry /dashboard'),18 array('menu'=>'entry','title'=>_t('글'),'link'=>'/owner/entry'), 19 19 array('menu'=>'link','title'=>_t('링크'),'link'=>'/owner/link'), 20 20 array('menu'=>'skin','title'=>_t('스킨'),'link'=>'/owner/skin'), -
trunk/style/admin/default/plugin-config.css
r3255 r3265 95 95 #menu 96 96 { 97 background-image: url('./image/bg_ pluginconfig_menu.jpg');97 background-image: url('./image/bg_tabbox.jpg'); 98 98 background-position: left bottom; 99 99 line-height: 2.3em; -
trunk/style/admin/default/post.css
r3246 r3265 111 111 112 112 /* Post *******************************************************************************************/ 113 114 #part-post-list h2.caption 115 { 116 margin-bottom: 20px; 117 } 118 /* tab */ 119 120 #entry-tabs-box 121 { 122 background-image: url('./image/bg_tabbox.jpg'); 123 background-position: left bottom; 124 line-height: 2.3em; 125 list-style-type: none; 126 height: 2.55em; 127 overflow: hidden; 128 padding-left: 10px; 129 } 130 131 #entry-tabs-box li 132 { 133 background-color: #EFEFEF; 134 border: 1px solid #D9D9D9; 135 cursor: pointer; 136 display: block; 137 float: left; 138 list-style-type: none; 139 margin: 0 1px; 140 padding: 0 1em; 141 } 142 143 #entry-tabs-box li.selected 144 { 145 background-color: #FFFFFF; 146 border-bottom: 1px solid #FFFFFF; 147 cursor: default; 148 } 113 149 114 150 /* table header */
