Changeset 3344
- Timestamp:
- 05/25/07 16:25:33 (3 years ago)
- Files:
-
- 14 modified
-
branches/1.5/blog/login/index.php (modified) (2 diffs)
-
branches/1.5/components/Textcube.Core.php (modified) (2 diffs)
-
branches/1.5/language/en.php (modified) (1 diff)
-
branches/1.5/language/po/en.po (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/basic.css (modified) (1 diff)
-
trunk/blog/login/index.php (modified) (2 diffs)
-
trunk/components/Textcube.Core.php (modified) (2 diffs)
-
trunk/language/en.php (modified) (1 diff)
-
trunk/language/po/en.po (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/basic.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/blog/login/index.php
r3318 r3344 99 99 window.addEventListener("load", checkTextcubeVersion, false); 100 100 function checkTextcubeVersion() { 101 if (confirm("<?php echo _t ('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>"))101 if (confirm("<?php echo _text('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 102 102 window.location.href = "<?php echo $blogURL;?>/checkup"; 103 103 } … … 111 111 window.addEventListener("load", checkTextcubeVersion, false); 112 112 function checkTextcubeVersion() { 113 if (confirm("<?php echo _t ('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>"))113 if (confirm("<?php echo _text('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 114 114 window.location.href = "<?php echo $blogURL;?>/checkup"; 115 115 } -
branches/1.5/components/Textcube.Core.php
r3313 r3344 131 131 $Path = str_replace("/".$blog['name'], "", $_SERVER["REQUEST_URI"]); 132 132 133 $blogn = ('<script type="text/javascript"> 134 function teamblog(){ 135 var bs = document.getElementById("teamblog"); 136 if(bs.value != "") 137 location.href = "'.$blogURL.'/owner/setting/teamblog/changeBlog/?bs=" + bs.value + "&path='.$Path.'"; 138 } 139 </script>'); 140 $blogn .= '<select id="teamblog" onChange="teamblog();"><optgroup label="'._t('참여중인 블로그').'">'; 133 $blogn = "<select id=\"teamblog\" onchange=\"location.href='{$blogURL}/owner/setting/teamblog/changeBlog/?bs='+this.value+'&path={$Path}'\">"; 141 134 142 135 $isEnd = $_SESSION['admin']+1; 143 136 $myres = DBQuery::queryRow("SELECT * FROM `{$database['prefix']}Teamblog` WHERE `userid`='".$_SESSION['admin']."' and enduser='".$isEnd."'"); 144 137 if(!empty($myres['profile'])){ 145 if($owner == $_SESSION['admin'] && $myres['userid'] > 1) $myblogsel = " selected ";146 $blogn .= '<option value="'.$myres['userid'].'" '. $myblogsel .' />'._t('내 블로그').'</option>';138 if($owner == $_SESSION['admin'] && $myres['userid'] > 1) $myblogsel = ' selected="selected"'; 139 $blogn .= '<option value="'.$myres['userid'].'" '. $myblogsel .'>'._t('내 블로그').'</option>'; 147 140 } 148 141 … … 157 150 } 158 151 $blogn .= '<option value="' . $res['teams'] . '"'; 159 if($res['teams'] == $owner) $blogn .= ' selected ';152 if($res['teams'] == $owner) $blogn .= ' selected="selected"'; 160 153 $blogn .= '>' . $title . '</option>'; 161 154 } 162 155 } 163 $blogn .= '</ optgroup> </select> ';156 $blogn .= '</select>'; 164 157 165 158 return $blogn; -
branches/1.5/language/en.php
r3204 r3344 3560 3560 #: ../../blog/owner/center/setting/index.php:371 3561 3561 #: ../../blog/owner/plugin/index.php:491 3562 $__text['텍스트큐브 홈페이지의 %1을 방문하시면 다양한 플러그인을 다운로드 하실 수 있습니다. 일반적으로 플러그인 파일을 텍스트큐브의 plugin 디렉토리로 업로드하면 설치가 완료됩니다. 업로드가 완료된 플러그인은 이 메뉴에서 사용중으로 전환하여 사용을 시작합니다. 추천 플러그인에 대한 정보는 <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> 태터앤 프렌즈의 플러그인 리뷰</a>를 참고하십시오.'] = 'More plugins can be found at %1. To use the plugin, upload the plugin file onto the plugin directory, find the downloaded plugin from the list, and click to activate. For recommended plugin list, see <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> Textcube plugin review </a>.';3562 $__text['텍스트큐브 홈페이지의 %1을 방문하시면 다양한 플러그인을 다운로드 하실 수 있습니다. 일반적으로 플러그인 파일을 텍스트큐브의 plugin 디렉토리로 업로드하면 설치가 완료됩니다. 업로드가 완료된 플러그인은 이 메뉴에서 사용중으로 전환하여 사용을 시작합니다. 추천 플러그인에 대한 정보는 <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;">TNF의 플러그인 리뷰</a>를 참고하십시오.'] = 'More plugins can be found at %1. To use the plugin, upload the plugin file onto the plugin directory, find the downloaded plugin from the list, and click to activate. For recommended plugin list, see <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> Textcube plugin review </a>.'; 3563 3563 #: ../../blog/owner/skin/index.php:216 3564 3564 $__text['텍스트큐브 홈페이지의 스킨 업로드 게시판으로 연결합니다.'] = 'Connecting to the Theme upload BBS on Textcube official homepage.'; -
branches/1.5/language/po/en.po
r3204 r3344 2898 2898 #: ../../lib/model/blogSetting.php:304 ../../b11/lib/model/blogSetting.php:304 2899 2899 msgid "블로그 바로가기" 2900 msgstr "To myblog"2900 msgstr "To this blog" 2901 2901 2902 2902 #: ../../blog/owner/setting/blog/index.php:302 … … 3052 3052 #: ../../b11/lib/piece/owner/header7.php:48 3053 3053 msgid "블로그로 이동" 3054 msgstr "To myblog"3054 msgstr "To this blog" 3055 3055 3056 3056 #: ../../blog/owner/setting/account/index.php:314 -
branches/1.5/lib/piece/owner/contentMenu.php
r3313 r3344 120 120 } 121 121 } 122 requireComponent('Textcube.Core');123 122 ?> 124 <li id="sub-menu-helper">< ?php echo teamblogUser::myBlog();?><a href="<?php echo getHelpURL($blogMenu['topMenu']);?>" onclick="window.open(this.href); return false;"><span class="text"><?php echo _t('도우미');?></span></a></li>123 <li id="sub-menu-helper"><a href="<?php echo getHelpURL($blogMenu['topMenu']);?>" onclick="window.open(this.href); return false;"><span class="text"><?php echo _t('도우미');?></span></a></li> 125 124 </ul> 126 125 </div> -
branches/1.5/lib/piece/owner/header.php
r3313 r3344 173 173 <?php 174 174 $writer = DBQuery::queryCell("SELECT name FROM {$database['prefix']}Users WHERE userid = ".$_SESSION['admin']); 175 requireComponent('Textcube.Core'); 175 176 ?> 176 177 <li id="description-blogger"><span class="text"><?php echo _f('환영합니다. <em>%1</em>님.', htmlspecialchars($writer));?></span></li> 178 <li id="description-teamblog"><label for="teamblog"><?php echo _t('참여중인 블로그');?></label><?php echo teamblogUser::myBlog();?></li> 177 179 <li id="description-blog"><a href="<?php echo $blogURL;?>/" title="<?php echo _t('블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('블로그로 이동');?></span></a></li> 178 180 <li id="description-logout"><a href="<?php echo $blogURL;?>/logout" title="<?php echo _t('로그아웃하고 블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('로그아웃');?></span></a></li> -
branches/1.5/style/admin/default/basic.css
r3266 r3344 199 199 } 200 200 201 #description-teamblog 202 { 203 background-image : url("./image/bg_menu_divider.gif"); 204 background-position : right top; 205 background-repeat : no-repeat; 206 padding-right : 10px; 207 } 208 209 #description-teamblog label 210 { 211 padding-right : 5px; 212 } 213 201 214 #description-blog 202 215 { -
trunk/blog/login/index.php
r3318 r3344 99 99 window.addEventListener("load", checkTextcubeVersion, false); 100 100 function checkTextcubeVersion() { 101 if (confirm("<?php echo _t ('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>"))101 if (confirm("<?php echo _text('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 102 102 window.location.href = "<?php echo $blogURL;?>/checkup"; 103 103 } … … 111 111 window.addEventListener("load", checkTextcubeVersion, false); 112 112 function checkTextcubeVersion() { 113 if (confirm("<?php echo _t ('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>"))113 if (confirm("<?php echo _text('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 114 114 window.location.href = "<?php echo $blogURL;?>/checkup"; 115 115 } -
trunk/components/Textcube.Core.php
r3313 r3344 131 131 $Path = str_replace("/".$blog['name'], "", $_SERVER["REQUEST_URI"]); 132 132 133 $blogn = ('<script type="text/javascript"> 134 function teamblog(){ 135 var bs = document.getElementById("teamblog"); 136 if(bs.value != "") 137 location.href = "'.$blogURL.'/owner/setting/teamblog/changeBlog/?bs=" + bs.value + "&path='.$Path.'"; 138 } 139 </script>'); 140 $blogn .= '<select id="teamblog" onChange="teamblog();"><optgroup label="'._t('참여중인 블로그').'">'; 133 $blogn = "<select id=\"teamblog\" onchange=\"location.href='{$blogURL}/owner/setting/teamblog/changeBlog/?bs='+this.value+'&path={$Path}'\">"; 141 134 142 135 $isEnd = $_SESSION['admin']+1; 143 136 $myres = DBQuery::queryRow("SELECT * FROM `{$database['prefix']}Teamblog` WHERE `userid`='".$_SESSION['admin']."' and enduser='".$isEnd."'"); 144 137 if(!empty($myres['profile'])){ 145 if($owner == $_SESSION['admin'] && $myres['userid'] > 1) $myblogsel = " selected ";146 $blogn .= '<option value="'.$myres['userid'].'" '. $myblogsel .' />'._t('내 블로그').'</option>';138 if($owner == $_SESSION['admin'] && $myres['userid'] > 1) $myblogsel = ' selected="selected"'; 139 $blogn .= '<option value="'.$myres['userid'].'" '. $myblogsel .'>'._t('내 블로그').'</option>'; 147 140 } 148 141 … … 157 150 } 158 151 $blogn .= '<option value="' . $res['teams'] . '"'; 159 if($res['teams'] == $owner) $blogn .= ' selected ';152 if($res['teams'] == $owner) $blogn .= ' selected="selected"'; 160 153 $blogn .= '>' . $title . '</option>'; 161 154 } 162 155 } 163 $blogn .= '</ optgroup> </select> ';156 $blogn .= '</select>'; 164 157 165 158 return $blogn; -
trunk/language/en.php
r3204 r3344 3560 3560 #: ../../blog/owner/center/setting/index.php:371 3561 3561 #: ../../blog/owner/plugin/index.php:491 3562 $__text['텍스트큐브 홈페이지의 %1을 방문하시면 다양한 플러그인을 다운로드 하실 수 있습니다. 일반적으로 플러그인 파일을 텍스트큐브의 plugin 디렉토리로 업로드하면 설치가 완료됩니다. 업로드가 완료된 플러그인은 이 메뉴에서 사용중으로 전환하여 사용을 시작합니다. 추천 플러그인에 대한 정보는 <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> 태터앤 프렌즈의 플러그인 리뷰</a>를 참고하십시오.'] = 'More plugins can be found at %1. To use the plugin, upload the plugin file onto the plugin directory, find the downloaded plugin from the list, and click to activate. For recommended plugin list, see <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> Textcube plugin review </a>.';3562 $__text['텍스트큐브 홈페이지의 %1을 방문하시면 다양한 플러그인을 다운로드 하실 수 있습니다. 일반적으로 플러그인 파일을 텍스트큐브의 plugin 디렉토리로 업로드하면 설치가 완료됩니다. 업로드가 완료된 플러그인은 이 메뉴에서 사용중으로 전환하여 사용을 시작합니다. 추천 플러그인에 대한 정보는 <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;">TNF의 플러그인 리뷰</a>를 참고하십시오.'] = 'More plugins can be found at %1. To use the plugin, upload the plugin file onto the plugin directory, find the downloaded plugin from the list, and click to activate. For recommended plugin list, see <a href="http://blog.textcube.com/plugin" onclick="window.open(this.href); return false;"> Textcube plugin review </a>.'; 3563 3563 #: ../../blog/owner/skin/index.php:216 3564 3564 $__text['텍스트큐브 홈페이지의 스킨 업로드 게시판으로 연결합니다.'] = 'Connecting to the Theme upload BBS on Textcube official homepage.'; -
trunk/language/po/en.po
r3204 r3344 2898 2898 #: ../../lib/model/blogSetting.php:304 ../../b11/lib/model/blogSetting.php:304 2899 2899 msgid "블로그 바로가기" 2900 msgstr "To myblog"2900 msgstr "To this blog" 2901 2901 2902 2902 #: ../../blog/owner/setting/blog/index.php:302 … … 3052 3052 #: ../../b11/lib/piece/owner/header7.php:48 3053 3053 msgid "블로그로 이동" 3054 msgstr "To myblog"3054 msgstr "To this blog" 3055 3055 3056 3056 #: ../../blog/owner/setting/account/index.php:314 -
trunk/lib/piece/owner/contentMenu.php
r3313 r3344 120 120 } 121 121 } 122 requireComponent('Textcube.Core');123 122 ?> 124 <li id="sub-menu-helper">< ?php echo teamblogUser::myBlog();?><a href="<?php echo getHelpURL($blogMenu['topMenu']);?>" onclick="window.open(this.href); return false;"><span class="text"><?php echo _t('도우미');?></span></a></li>123 <li id="sub-menu-helper"><a href="<?php echo getHelpURL($blogMenu['topMenu']);?>" onclick="window.open(this.href); return false;"><span class="text"><?php echo _t('도우미');?></span></a></li> 125 124 </ul> 126 125 </div> -
trunk/lib/piece/owner/header.php
r3313 r3344 173 173 <?php 174 174 $writer = DBQuery::queryCell("SELECT name FROM {$database['prefix']}Users WHERE userid = ".$_SESSION['admin']); 175 requireComponent('Textcube.Core'); 175 176 ?> 176 177 <li id="description-blogger"><span class="text"><?php echo _f('환영합니다. <em>%1</em>님.', htmlspecialchars($writer));?></span></li> 178 <li id="description-teamblog"><label for="teamblog"><?php echo _t('참여중인 블로그');?></label><?php echo teamblogUser::myBlog();?></li> 177 179 <li id="description-blog"><a href="<?php echo $blogURL;?>/" title="<?php echo _t('블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('블로그로 이동');?></span></a></li> 178 180 <li id="description-logout"><a href="<?php echo $blogURL;?>/logout" title="<?php echo _t('로그아웃하고 블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('로그아웃');?></span></a></li> -
trunk/style/admin/default/basic.css
r3266 r3344 199 199 } 200 200 201 #description-teamblog 202 { 203 background-image : url("./image/bg_menu_divider.gif"); 204 background-position : right top; 205 background-repeat : no-repeat; 206 padding-right : 10px; 207 } 208 209 #description-teamblog label 210 { 211 padding-right : 5px; 212 } 213 201 214 #description-blog 202 215 {
