Show
Ignore:
Timestamp:
05/21/07 01:56:13 (20 months ago)
Author:
inureyes
Message:

#408

  • 팀블로그 소스 이식
  • 차칸아이님 소스 기반으로 태터툴즈 코드 일관성 유지를 위하여 전체적으로 수정하였음.
    • 아직 멀었다.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/blog/owner/entry/edit/item.php

    r3224 r3299  
    2929    $isKeyword = ($entry['category'] == -1); 
    3030} 
     31 
     32 
     33// 팀블로그 :: 현재 포스트를 내가 편집할 수 있는지 권한확인 
     34if(empty($pc) && !empty($suri['id'])){ 
     35    $isPosting = DBQuery::queryCell("SELECT Team FROM {$database['prefix']}TeamEntryRelations WHERE Owner='$owner' and Team='$_SESSION[admin]' and Id='$suri[id]' " ); 
     36    if(empty($isPosting)) { @header("location:".$blogURL ."/owner/entry"); exit; } 
     37} 
     38// End TeamBlog 
    3139 
    3240if (isset($_GET['popupEditor'])) { 
     
    659667                                                    <div id="status-protected" class="status-protected"<?php if($isKeyword) echo _t('style="display: none"');?>><input type="radio" id="visibility_protected" class="radio" name="visibility" value="1"<?php echo (abs($entry['visibility']) == 1 ? ' checked="checked"' : '');?> /><label for="visibility_protected"><?php echo _t('보호');?></label></div> 
    660668                                                    <div id="status-public" class="status-public"><input type="radio" id="visibility_public" class="radio" name="visibility" value="2"<?php echo (abs($entry['visibility']) == 2 ? ' checked="checked"' : '');?> /><label for="visibility_public"><?php echo _t('공개');?></label></div> 
    661                                                     <div id="status-syndicated" class="status-syndicated"<?php if($isKeyword) echo _t('style="display: none"');?>><input type="radio" id="visibility_syndicated" class="radio" name="visibility" value="3"<?php echo $countResult == false ? ' onclick="viewWhatIsEolin()"' : NULL; echo (abs($entry['visibility']) == 3 ? ' checked="checked"' : '');?> /><label for="visibility_syndicated"><?php echo _t('발행');?><?php echo $countResult == true ? ' (<a href="#void" onclick="viewWhatIsEolin();return false;">'._t('설명').'</a>)' : NULL;?></label></div> 
     669                                                    <div id="status-syndicated" class="status-syndicated"<?php if($isKeyword) echo _t('style="display: none"');?>><input type="radio" id="visibility_syndicated" class="radio" name="visibility" value="3"<?php echo $countResult == false ? ' onclick="viewWhatIsEolin()"' : NULL; echo (abs($entry['visibility']) == 3 ? ' checked="checked"' : '');?> /><label for="visibility_syndicated"><?php echo _t('발행');?><?php echo $countResult == true ? ' (<a href="#void" onclick="viewWhatIsEolin()">'._t('설명').'</a>)' : NULL;?></label></div> 
    662670                                                </dd> 
    663671                                            </dl>