Changeset 5330
- Timestamp:
- 02/21/08 08:06:04 (11 months ago)
- Location:
- trunk/interface/owner/control
- Files:
-
- 4 modified
-
blog/detail/index.php (modified) (2 diffs)
-
system/index.php (modified) (2 diffs)
-
user/detail/index.php (modified) (4 diffs)
-
user/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/control/blog/detail/index.php
r5328 r5330 101 101 <ul> 102 102 <?php if ($bid == getServiceSetting("defaultBlogId",1)) { ?><li><em><?php echo _t('이 블로그는 대표 블로그입니다.');?></em></li><?php } ?> 103 <li><?php echo _f('이 블로그에는 총 %1개의 글이 있습니다.', POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Entries WHERE blogid = ".$bid));?></li>104 <li><?php echo _f('이 블로그에는 총 %1개의 걸린글(트랙백)이 있습니다.', POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Trackbacks WHERE blogid = ".$bid));?></li>105 <li><?php echo _f('이 블로그에는 총 %1개의 댓글이 있습니다.', POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Comments WHERE blogid = ".$bid));?></li>106 <li><?php echo _f('이 블로그가 사용중인 첨부파일의 총 용량은 %1입니다.', misc::getSizeHumanReadable(POD::queryCell(" SELECT sum( size ) FROM `{$database['prefix']}Attachments` WHERE blogid = ".$bid)));?></li>103 <li><?php echo sprintf(_t('이 블로그에는 총 %d개의 글이 있습니다.'), POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Entries WHERE blogid = ".$bid));?></li> 104 <li><?php echo sprintf(_t('이 블로그에는 총 %d개의 걸린글(트랙백)이 있습니다.'), POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Trackbacks WHERE blogid = ".$bid));?></li> 105 <li><?php echo sprintf(_t('이 블로그에는 총 %d개의 댓글이 있습니다.'), POD::queryCell("SELECT Count(*) FROM {$database['prefix']}Comments WHERE blogid = ".$bid));?></li> 106 <li><?php echo sprintf(_t('이 블로그가 사용중인 첨부파일의 총 용량은 %s입니다.'), misc::getSizeHumanReadable(POD::queryCell(" SELECT sum( size ) FROM `{$database['prefix']}Attachments` WHERE blogid = ".$bid)));?></li> 107 107 </ul> 108 108 </div> … … 173 173 <a class="button" href="#void" onclick="deleteBlog(<?php echo $bid;?>); return false;"><?php echo _t("블로그 삭제");?></a> 174 174 <?php if ($bid != getServiceSetting("defaultBlogId",1)) { ?><a class="button" href="<?php echo $blogURL;?>/owner/control/action/blog/setDefault/?blogid=<?php echo $bid;?>" onclick="setDefaultBlog('<?php echo $bid;?>); return false;"><?php echo _t('대표 블로그 설정');?></a><?php } ?> 175 <a class="button" href="<?php echo $blogURL;?>/owner/control/blog"><?php echo _t("돌아가기");?></a> 175 176 </div> 176 177 </div> -
trunk/interface/owner/control/system/index.php
r5324 r5330 57 57 ?> 58 58 <div id="part-system-generalinfo" class="part"> 59 <h2 class="caption"><span class="main-text"><?php echo _t('Server Info'); ?></span></h2>59 <h2 class="caption"><span class="main-text"><?php echo _t('Server 정보'); ?></span></h2> 60 60 61 61 <table> … … 98 98 99 99 <div id="part-system-phpinfo" class="part"> 100 <h2 class="caption"><span class="main-text"><?php echo _t('PHP Info'); ?></span></h2>100 <h2 class="caption"><span class="main-text"><?php echo _t('PHP 정보'); ?></span></h2> 101 101 102 102 <?php -
trunk/interface/owner/control/user/detail/index.php
r5285 r5330 17 17 $usersetting['owner']= POD::queryCell("SELECT userid FROM `{$database['prefix']}Teamblog` WHERE acl & ".BITWISE_OWNER." != 0 AND blogid = " . $blogid); 18 18 ?> 19 <div id="part-center-about" class="part"> 20 19 <div id="part-user-about" class="part"> 21 20 <h2 class="caption"><span class="main-text"><?php echo _t('사용자 정보');?></span></h2> 22 23 <h3><?php echo $usersetting['name'];?></h3>24 21 25 <div class="main-explain-box"> 26 <p class="explain"><?php echo $usersetting['loginid'];?></h3> 27 </p> 28 <div id="copyright"> 29 <?php if(POD::queryExistence("SELECT * FROM `{$database['prefix']}UserSettings` WHERE name ='AuthToken' AND userid = " . $userid)) {echo _t("임시 암호가 설정되어 있습니다.") . '<br/>';}?> 30 <?php echo _f('이 계정은 %1에 생성되었습니다.', date("D M j G:i:s T Y",$usersetting['created']));?><br/> 31 </div> 22 <div id="team-user-about" class="container"> 23 <h3><?php echo $usersetting['name'];?></h3> 24 25 <div class="main-explain-box"> 26 <p class="explain"><?php echo $usersetting['loginid'];?></p> 27 </div> 28 29 <ul> 30 <?php if(POD::queryExistence("SELECT * FROM `{$database['prefix']}UserSettings` WHERE name ='AuthToken' AND userid = " . $userid)) { echo '<li><em>'._t("임시 암호가 설정되어 있습니다.").'</em></li>';}?> 31 <li><?php echo sprintf(_t('이 계정은 %s에 생성되었습니다.'), date("D M j G:i:s T Y", $usersetting['created']));?></li> 32 </ul> 32 33 </div> 33 34 34 < div id="developer-description" class="section">35 <!--div id="developer-description" class="section"> 35 36 <h3><span class="text"><?php echo _t('팀블로그');?></span></h3> 36 37 … … 49 50 <tbody> 50 51 <tr> 51 <?php echo "<td class=\"name\">< a href=\"".$blogURL."/owner/control/action/user/delete/?userid=" . $userid . "\" onclick = \"cleanUser(".$userid.");return false;\">"._t('사용자 삭제')."</a></td>";?>52 <?php echo "<td class=\"name\"></td>";?> 52 53 </tr> 53 <td>< a href="<?php echo $blogURL;?>/owner/control/user"><?php echo _t('이전 메뉴로 돌아가기');?></a></td>54 <td></td> 54 55 <tr> 55 56 </tr> … … 57 58 </table> 58 59 </div> 60 </div --> 61 62 <div id="team-joined-list" class="container"> 63 <h4><span class="text"><?php echo _t('참여중인 블로그');?></span></h4> 59 64 60 <div id="developer-container" class="container"> 61 <h4><span class="text"><?php echo _t('참여중인 Blog');?></span></h4> 62 <table> 63 <colgroup> 64 <col class="name"></col> 65 <col class="role"></col> 66 </colgroup> 67 <thead> 68 <tr> 69 <th class="name"><?php echo _t('블로그');?></th> 70 <th class="role"><?php echo _t('권한 그룹');?></th> 71 </tr> 72 </thead> 73 <tbody><?php 65 <table class="data-inbox"> 66 <thead> 67 <tr> 68 <th class="name"><?php echo _t('블로그');?></th> 69 <th class="role"><?php echo _t('권한 그룹');?></th> 70 </tr> 71 </thead> 72 <tbody><?php 74 73 $teamblog = POD::queryAll("SELECT * FROM `{$database['prefix']}Teamblog` WHERE userid = " . $userid); 75 74 foreach ($teamblog as $row){ … … 86 85 } 87 86 ?> 88 </tbody> 89 </table> 90 </div> 91 92 <div id="supporter-description" class="section"> 93 <h3><span class="text"><?php echo _t('OpenID');?></span></h3> 94 <div id="tester-container" class="container"> 95 </div> 87 </tbody> 88 </table> 89 </div> 90 91 <div class="button-box"> 92 <a class="button" href="<?php echo $blogURL;?>/owner/control/action/user/delete/?userid=<?php echo $userid;?>" onclick="cleanUser('<?php echo $userid;?>'); return false;"><?php echo _t('사용자 삭제');?></a> 93 <a class="button" href="<?php echo $blogURL;?>/owner/control/user"><?php echo _t('돌아가기');?></a> 96 94 </div> 97 95 </div> -
trunk/interface/owner/control/user/index.php
r5285 r5330 18 18 19 19 ?> 20 <h2 class="caption"><span class="main-text"><?php echo _t('새 사용자 등록'); ?></span></h2> 21 <div id=container-add-user> 22 <form onsubmit="return false;"> 23 <span id="sgtOwner"></span><?php echo _t('이름'); ?> : <input type=text name='ui-name' id='ui-name'> 24 <span id="sgtOwner"></span><?php echo _t('이메일'); ?> : <input type=text name='ui-email' id='ui-email'> 25 <input type=submit value="<?php echo _t("새 사용자 등록");?>" onclick="sendUserAddInfo(document.getElementById('ui-name').value,document.getElementById('ui-email').value);return false;"> 26 </form> 27 </div> 28 <h2 class="caption"><span class="main-text">User List</span></h2> 29 <div id=container-user-list class='part'> 30 <table class="data-inbox" id="table-user-list" cellpadding="0" cellspacing="0"> 31 <thead><tr><th><?php echo _t('사용자 ID');?></th><th><?php echo _t('로그인 ID');?></th><th><?php echo _t('이름');?></th><th><?php echo _t('마지막 로그인');?></th></tr></thead> 32 <tbody> 20 <div id="part-create-newuser" class="part"> 21 <h2 class="caption"><span class="main-text"><?php echo _t('새 사용자 등록'); ?></span></h2> 22 23 <form onsubmit="return false;"> 24 <fieldset> 25 <dl> 26 <dt><?php echo _t('이름'); ?></dt> 27 <dd><input type="text" class="input-text" id="ui-name" name="ui-name" /></dd> 28 <dt><?php echo _t('이메일'); ?></dt> 29 <dd><input type="text" class="input-text" id="ui-email" name="ui-email" /></dd> 30 </dl> 31 </fieldset> 32 <div class="button-box"> 33 <a class="button" href="#void" onclick="sendUserAddInfo(document.getElementById('ui-name').value,document.getElementById('ui-email').value); return false;"><?php echo _t("새 사용자 등록");?></a> 34 </div> 35 </form> 36 </div> 37 38 <div id="part-user-list" class="part"> 39 <h2 class="caption"><span class="main-text"><?php echo _t('사용자 목록');?></span></h2> 40 41 <div id="container-user-list" class="part"> 42 <table id="table-user-list" class="data-inbox"> 43 <thead> 44 <tr> 45 <th><?php echo _t('사용자 ID');?></th> 46 <th><?php echo _t('로그인 ID');?></th> 47 <th><?php echo _t('이름');?></th> 48 <th><?php echo _t('마지막 로그인');?></th> 49 </tr> 50 </thead> 51 <tbody> 33 52 <?php 34 53 $row = 25; … … 41 60 $tempString = ""; 42 61 foreach($userlist as $row) { 43 ?> 44 45 <tr id="table-user-list_<?php echo $row['userid']?>"> 46 <td> 47 <?php echo $row['userid']?> 48 </td> 49 <td> 50 <a href="<?php echo $blogURL?>/owner/control/user/detail/<?php echo $row['userid']?>"><?php echo $row['loginid']?></a> 51 </td> 52 <td> 53 <?php echo $row['name']?> 54 </td> 55 <td> 56 <?php echo ($row['lastLogin']?date("Y/m/d H:i:s T",$row['lastLogin']):"")?> 57 </td> 58 </tr> 62 ?> 63 <tr id="table-user-list_<?php echo $row['userid']?>"> 64 <td><?php echo $row['userid']?></td> 65 <td><a href="<?php echo $blogURL?>/owner/control/user/detail/<?php echo $row['userid']?>"><?php echo $row['loginid']?></a></td> 66 <td><?php echo $row['name']?></td> 67 <td><?php echo ($row['lastLogin']?date("Y/m/d H:i:s T",$row['lastLogin']):"")?></td> 68 </tr> 59 69 <?php 60 70 } 61 71 } 62 72 ?> 63 </tbody> 64 </table> 65 </div> 73 </tbody> 74 </table> 75 </div> 76 </div> 77 66 78 <?php 67 79 $paging = array('url' => "", 'prefix' => '?page=', 'postfix' => '', 'total' => 0, 'pages' => 0, 'page' => 0); … … 71 83 $pagingItemTemplate = '<a [##_paging_rep_link_##]>[[##_paging_rep_link_num_##]]</a>'; 72 84 ?> 73 <div id="page-navigation">74 <span id="page-list"><?php echo getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span>75 <span id="total-count"><?php echo _f('총 %1명의 사용자',$usercount);?></span>76 </div>77 85 <div id="page-navigation"> 86 <span id="page-list"><?php echo getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span> 87 <span id="total-count"><?php echo _f('총 %1명의 사용자',$usercount);?></span> 88 </div> 89 78 90 <?php 79 91 $page=(isset($_GET['page']) ? $_GET['page'] : 1 );
