Changeset 5874
- Timestamp:
- 05/05/08 07:30:21 (5 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 removed
- 7 modified
-
interface/owner/communication/comment/index.php (modified) (1 diff)
-
interface/owner/communication/notify/index.php (modified) (1 diff)
-
interface/owner/communication/openid (added)
-
interface/owner/communication/openid/index.php (added)
-
interface/owner/communication/trackback/index.php (modified) (2 diffs)
-
interface/owner/communication/trash/comment/index.php (modified) (2 diffs)
-
interface/owner/communication/trash/trackback/index.php (modified) (2 diffs)
-
interface/owner/setting/openid/index.php (deleted)
-
lib/piece/owner/contentMenu.php (modified) (6 diffs)
-
style/admin/whitedream/communication.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/communication/comment/index.php
r5825 r5874 212 212 ?> 213 213 </h2> 214 <ul id="communication-tabs-box" class="tabs-box"> 215 <li<?php echo isset($tabsClass['comment']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=comment"><?php echo _t('댓글');?></a></li> 216 <li<?php echo isset($tabsClass['guestbook']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=guestbook"><?php echo _t('방명록');?></a></li> 217 <li<?php echo isset($tabsClass['notify']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/notify"><?php echo _t('댓글 알리미');?></a></li> 218 <li<?php echo isset($tabsClass['received']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=received"><?php echo _t('걸린 글');?></a></li> 219 <li<?php echo isset($tabsClass['sent']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=sent"><?php echo _t('건 글');?></a></li> 220 </ul> 214 <?php 215 require ROOT . '/lib/piece/owner/communicationTab.php'; 216 ?> 217 221 218 <?php 222 219 if(isset($tabsClass['comment'])) { -
trunk/interface/owner/communication/notify/index.php
r5689 r5874 165 165 ?> 166 166 </h2> 167 <ul id="communication-tabs-box" class="tabs-box"> 168 <li<?php echo isset($tabsClass['comment']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=comment"><?php echo _t('댓글');?></a></li> 169 <li<?php echo isset($tabsClass['guestbook']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=guestbook"><?php echo _t('방명록');?></a></li> 170 <li<?php echo isset($tabsClass['notify']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/notify"><?php echo _t('댓글 알리미');?></a></li> 171 <li<?php echo isset($tabsClass['received']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=received"><?php echo _t('걸린 글');?></a></li> 172 <li<?php echo isset($tabsClass['sent']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=sent"><?php echo _t('건 글');?></a></li> 173 </ul> 174 175 167 <?php 168 require ROOT . '/lib/piece/owner/communicationTab.php'; 169 ?> 176 170 <div class="main-explain-box"> 177 171 <p class="explain"><?php echo _t('다른 사람의 블로그에 단 댓글에 대한 댓글이 등록되면 알려줍니다. 알리미가 동작하기 위해서는 댓글 작성시 홈페이지 기입란에 자신의 블로그 주소를 입력하셔야 합니다.');?></p> -
trunk/interface/owner/communication/trackback/index.php
r5632 r5874 242 242 ?> 243 243 </h2> 244 <ul id="communication-tabs-box" class="tabs-box"> 245 <li<?php echo isset($tabsClass['comment']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=comment"><?php echo _t('댓글');?></a></li> 246 <li<?php echo isset($tabsClass['guestbook']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/comment?page=1<?php echo $tabsClass['postfix'];?>&status=guestbook"><?php echo _t('방명록');?></a></li> 247 <li<?php echo isset($tabsClass['notify']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/notify"><?php echo _t('댓글 알리미');?></a></li> 248 <li<?php echo isset($tabsClass['received']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=received"><?php echo _t('걸린 글');?></a></li> 249 <li<?php echo isset($tabsClass['sent']) ? ' class="selected"' : NULL;?>><a href="<?php echo $blogURL;?>/owner/communication/trackback?page=1<?php echo $tabsClass['postfix'];?>&status=sent"><?php echo _t('건 글');?></a></li> 250 </ul> 244 <?php 245 require ROOT . '/lib/piece/owner/communicationTab.php'; 246 ?> 247 251 248 252 249 <form id="category-form" class="category-box" method="post" action="<?php echo $blogURL;?>/owner/communication/trackback"> … … 308 305 309 306 $filter = new Filter(); 310 if ( Filter::isFiltered('ip', $trackback['ip'])) {307 if (isset($trackback['ip']) && Filter::isFiltered('ip', $trackback['ip'])) { 311 308 $isIpFiltered = true; 312 309 } else { 313 310 $isIpFiltered = false; 314 311 } 315 316 if (!isset($siteNumber[$trackback['site']])) { 317 $siteNumber[$trackback['site']] = $i; 312 if(isset($trackback['site'])) { 313 if (!isset($siteNumber[$trackback['site']])) { 314 $siteNumber[$trackback['site']] = $i; 315 $currentSite = $i; 316 } else { 317 $currentSite = $siteNumber[$trackback['site']]; 318 } 319 } else { 318 320 $currentSite = $i; 319 } else { 320 $currentSite = $siteNumber[$trackback['site']]; 321 } 322 321 } 323 322 $className = ($i % 2) == 1 ? 'even-line' : 'odd-line'; 324 323 $className .= ($i == sizeof($trackbacks) - 1) ? ' last-line' : ''; -
trunk/interface/owner/communication/trash/comment/index.php
r5848 r5874 44 44 setBlogSetting('rowsPerPage', $_POST['perPage']); 45 45 } 46 47 $tabsClass = array(); 48 $tabsClass['postfix'] = null; 49 $tabsClass['postfix'] .= isset($_POST['category']) ? '&category='.$_POST['category'] : ''; 50 $tabsClass['postfix'] .= isset($_POST['name']) ? '&name='.$_POST['name'] : ''; 51 $tabsClass['postfix'] .= isset($_POST['ip']) ? '&ip='.$_POST['ip'] : ''; 52 $tabsClass['postfix'] .= isset($_POST['search']) ? '&search='.$_POST['search'] : ''; 53 $tabsClass['trash'] = true; 54 46 55 list($comments, $paging) = getTrashCommentsWithPagingForOwner($blogid, $categoryId, $name, $ip, $search, $suri['page'], $perPage); 47 56 require ROOT . '/lib/piece/owner/header.php'; … … 268 277 ?> 269 278 </h2> 279 <?php 280 require ROOT . '/lib/piece/owner/communicationTab.php'; 281 ?> 270 282 271 283 <div class="main-explain-box"> 272 <p class="explain"><?php echo _t('휴지통에 버려진 댓글은 15일이 지나면 자동으로 지워집니다. 광고 댓글의 차단 및 분석을 위하여 휴지통의 데이터를 사용하는 플러그인이 있을 수 있으므로 수동으로 지우지 않는 것을 권장합니다.');?></p>273 </div> 284 <p class="explain"><?php echo _t('휴지통에 버려진 걸린글은 15일이 지나면 자동으로 지워집니다. 광고 걸린글의 차단 및 분석을 위하여 휴지통의 데이터를 사용하는 플러그인이 있을 수 있으므로 수동으로 지우지 않는 것을 권장합니다.');?></p> 285 </div> 274 286 275 287 <form id="trash-form" method="post" action="<?php echo $blogURL;?>/owner/communication/trash"> -
trunk/interface/owner/communication/trash/trackback/index.php
r5632 r5874 40 40 setBlogSetting('rowsPerPage', $_POST['perPage']); 41 41 } 42 $tabsClass = array(); 43 $tabsClass['postfix'] = null; 44 $tabsClass['postfix'] .= isset($_POST['category']) ? '&category='.$_POST['category'] : ''; 45 $tabsClass['postfix'] .= isset($_POST['site']) ? '&site='.$_POST['site'] : ''; 46 $tabsClass['postfix'] .= isset($_POST['ip']) ? '&ip='.$_POST['ip'] : ''; 47 $tabsClass['postfix'] .= isset($_POST['search']) ? '&search='.$_POST['search'] : ''; 48 $tabsClass['trash'] = true; 49 42 50 list($trackbacks, $paging) = getTrashTrackbackWithPagingForOwner($blogid, $categoryId, $site, $ip, $search, $suri['page'], $perPage); 43 51 require ROOT . '/lib/piece/owner/header.php'; … … 263 271 ?> 264 272 </h2> 273 <?php 274 require ROOT . '/lib/piece/owner/communicationTab.php'; 275 ?> 265 276 266 277 <div class="main-explain-box"> -
trunk/lib/piece/owner/contentMenu.php
r5873 r5874 35 35 $blogContentMenuItem = array( 36 36 array('menu'=>'comment','title'=>_t('소통 기록'),'link'=>'/owner/communication/comment'), 37 array('menu'=>' trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment'),37 array('menu'=>'openid','title'=>_t('오픈아이디 목록'),'link'=>'/owner/communication/openid'), 38 38 array('menu'=>'add','title'=>_t('링크 추가'),'link'=>'/owner/communication/link/add'), 39 39 array('menu'=>'link','title'=>_t('링크 목록'),'link'=>'/owner/communication/link'), … … 44 44 $blogContentMenuItem = array( 45 45 array('menu'=>'comment','title'=>_t('소통 기록'),'link'=>'/owner/communication/comment'), 46 array('menu'=>'trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment'), 47 array('menu'=>'reader','title'=>_t('바깥 글 읽기'),'link'=>'/owner/communication/reader') 46 array('menu'=>'trash','title'=>_t('휴지통'),'link'=>'/owner/communication/trash/comment') 48 47 ); 48 if($service['reader'] == true) array_push($blogContentMenuItem,array('menu'=>'reader','title'=>_t('바깥 글 읽기'),'link'=>'/owner/communication/reader')); 49 49 } 50 50 break; … … 78 78 array('menu'=>'teamblog','title'=>_t('필진 목록'),'link'=>'/owner/setting/teamblog'), 79 79 array('menu'=>'filter','title'=>_t('스팸 필터'),'link'=>'/owner/setting/filter'), 80 array('menu'=>'data','title'=>_t('데이터 관리'),'link'=>'/owner/data'), 81 array('menu'=>'openid','title'=>_t('오픈아이디 목록'),'link'=>'/owner/setting/openid') 80 array('menu'=>'data','title'=>_t('데이터 관리'),'link'=>'/owner/data') 82 81 ); 83 82 } else if(Acl::check('group.editors')) { … … 146 145 else if (isset($_GET['category'])) $currentCategory = $_GET['category']; 147 146 else $currentCategory = null; 148 if(in_array($blogMenu['contentMenu'],array('notify','trackback' )))147 if(in_array($blogMenu['contentMenu'],array('notify','trackback','trashcomment','trashtrackback'))) 149 148 $blogMenu['contentMenu'] = 'comment'; 150 149 … … 161 160 if(($blogMenu['contentMenu'] == $contentMenuItem['menu'] 162 161 || (isset($_GET['name']) && ('adminMenu?name='.$_GET['name'] == $contentMenuItem['menu'])) 163 || ($contentMenuItem['menu'] == 'trash' && strpos($blogMenu['contentMenu'],'trash') !== false)164 162 || (in_array($contentMenuItem['menu'],array('blog','user')) && strpos($blogMenu['contentMenu'],'detail') !== false) 165 163 )) { … … 171 169 (($blogMenu['contentMenu'] == $contentMenuItem['menu'] || 172 170 (isset($_GET['name']) && ('adminMenu?name='.$_GET['name'] == $contentMenuItem['menu'])) || 173 ($contentMenuItem['menu'] == 'trash' && strpos($blogMenu['contentMenu'],'trash') !== false) ||174 171 ($contentMenuItem['menu'] == 'add' && strpos($blogMenu['contentMenu'],'add') !== false) || 175 172 ($contentMenuItem['menu'] == 'blog' && strpos($blogMenu['contentMenu'],'blog') !== false && strpos($blogMenu['contentMenu'],'teamblog') === false) || -
trunk/style/admin/whitedream/communication.css
r5743 r5874 240 240 #part-post-trash fieldset dl dd 241 241 { 242 margin-top : 20px; 242 243 margin-left : 30px; 243 width : 600px;244 width : 600px; 244 245 } 245 246
