Changeset 3344

Show
Ignore:
Timestamp:
05/25/07 16:25:33 (18 months ago)
Author:
inureyes
Message:

#408

Files:
14 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/blog/login/index.php

    r3318 r3344  
    9999            window.addEventListener("load", checkTextcubeVersion, false); 
    100100            function checkTextcubeVersion() { 
    101                 if (confirm("<?php echo _t('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 
     101                if (confirm("<?php echo _text('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 
    102102                    window.location.href = "<?php echo $blogURL;?>/checkup"; 
    103103            } 
     
    111111            window.addEventListener("load", checkTextcubeVersion, false); 
    112112            function checkTextcubeVersion() { 
    113                 if (confirm("<?php echo _t('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 
     113                if (confirm("<?php echo _text('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 
    114114                    window.location.href = "<?php echo $blogURL;?>/checkup"; 
    115115                } 
  • branches/1.5/components/Textcube.Core.php

    r3313 r3344  
    131131            $Path = str_replace("/".$blog['name'], "", $_SERVER["REQUEST_URI"]); 
    132132     
    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}'\">"; 
    141134     
    142135        $isEnd = $_SESSION['admin']+1; 
    143136        $myres = DBQuery::queryRow("SELECT * FROM `{$database['prefix']}Teamblog` WHERE `userid`='".$_SESSION['admin']."' and enduser='".$isEnd."'"); 
    144137        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>'; 
    147140        } 
    148141     
     
    157150                } 
    158151                $blogn .= '<option value="' . $res['teams'] . '"'; 
    159                 if($res['teams'] == $owner) $blogn .= ' selected'; 
     152                if($res['teams'] == $owner) $blogn .= ' selected="selected"'; 
    160153                $blogn .= '>' . $title . '</option>'; 
    161154            } 
    162155        } 
    163         $blogn .= '</optgroup>  </select>&nbsp;&nbsp;&nbsp;&nbsp;'; 
     156        $blogn .= '</select>'; 
    164157 
    165158        return $blogn; 
  • branches/1.5/language/en.php

    r3204 r3344  
    35603560#: ../../blog/owner/center/setting/index.php:371 
    35613561#: ../../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>.'; 
    35633563#: ../../blog/owner/skin/index.php:216 
    35643564$__text['텍스트큐브 홈페이지의 스킨 업로드 게시판으로 연결합니다.'] = 'Connecting to the Theme upload BBS on Textcube official homepage.'; 
  • branches/1.5/language/po/en.po

    r3204 r3344  
    28982898#: ../../lib/model/blogSetting.php:304 ../../b11/lib/model/blogSetting.php:304 
    28992899msgid "블로그 바로가기" 
    2900 msgstr "To my blog" 
     2900msgstr "To this blog" 
    29012901 
    29022902#: ../../blog/owner/setting/blog/index.php:302 
     
    30523052#: ../../b11/lib/piece/owner/header7.php:48 
    30533053msgid "블로그로 이동" 
    3054 msgstr "To my blog" 
     3054msgstr "To this blog" 
    30553055 
    30563056#: ../../blog/owner/setting/account/index.php:314 
  • branches/1.5/lib/piece/owner/contentMenu.php

    r3313 r3344  
    120120        } 
    121121    } 
    122     requireComponent('Textcube.Core'); 
    123122?> 
    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> 
    125124                    </ul> 
    126125                </div> 
  • branches/1.5/lib/piece/owner/header.php

    r3313 r3344  
    173173<?php 
    174174$writer = DBQuery::queryCell("SELECT name FROM {$database['prefix']}Users WHERE userid = ".$_SESSION['admin']); 
     175requireComponent('Textcube.Core'); 
    175176?> 
    176177                        <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> 
    177179                        <li id="description-blog"><a href="<?php echo $blogURL;?>/" title="<?php echo _t('블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('블로그로 이동');?></span></a></li> 
    178180                        <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  
    199199} 
    200200 
     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 
    201214#description-blog 
    202215{ 
  • trunk/blog/login/index.php

    r3318 r3344  
    9999            window.addEventListener("load", checkTextcubeVersion, false); 
    100100            function checkTextcubeVersion() { 
    101                 if (confirm("<?php echo _t('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 
     101                if (confirm("<?php echo _text('버전업 체크를 위한 파일을 생성합니다. 지금 생성하시겠습니까?');?>")) 
    102102                    window.location.href = "<?php echo $blogURL;?>/checkup"; 
    103103            } 
     
    111111            window.addEventListener("load", checkTextcubeVersion, false); 
    112112            function checkTextcubeVersion() { 
    113                 if (confirm("<?php echo _t('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 
     113                if (confirm("<?php echo _text('텍스트큐브 시스템 점검이 필요합니다. 지금 점검하시겠습니까?');?>")) 
    114114                    window.location.href = "<?php echo $blogURL;?>/checkup"; 
    115115                } 
  • trunk/components/Textcube.Core.php

    r3313 r3344  
    131131            $Path = str_replace("/".$blog['name'], "", $_SERVER["REQUEST_URI"]); 
    132132     
    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}'\">"; 
    141134     
    142135        $isEnd = $_SESSION['admin']+1; 
    143136        $myres = DBQuery::queryRow("SELECT * FROM `{$database['prefix']}Teamblog` WHERE `userid`='".$_SESSION['admin']."' and enduser='".$isEnd."'"); 
    144137        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>'; 
    147140        } 
    148141     
     
    157150                } 
    158151                $blogn .= '<option value="' . $res['teams'] . '"'; 
    159                 if($res['teams'] == $owner) $blogn .= ' selected'; 
     152                if($res['teams'] == $owner) $blogn .= ' selected="selected"'; 
    160153                $blogn .= '>' . $title . '</option>'; 
    161154            } 
    162155        } 
    163         $blogn .= '</optgroup>  </select>&nbsp;&nbsp;&nbsp;&nbsp;'; 
     156        $blogn .= '</select>'; 
    164157 
    165158        return $blogn; 
  • trunk/language/en.php

    r3204 r3344  
    35603560#: ../../blog/owner/center/setting/index.php:371 
    35613561#: ../../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>.'; 
    35633563#: ../../blog/owner/skin/index.php:216 
    35643564$__text['텍스트큐브 홈페이지의 스킨 업로드 게시판으로 연결합니다.'] = 'Connecting to the Theme upload BBS on Textcube official homepage.'; 
  • trunk/language/po/en.po

    r3204 r3344  
    28982898#: ../../lib/model/blogSetting.php:304 ../../b11/lib/model/blogSetting.php:304 
    28992899msgid "블로그 바로가기" 
    2900 msgstr "To my blog" 
     2900msgstr "To this blog" 
    29012901 
    29022902#: ../../blog/owner/setting/blog/index.php:302 
     
    30523052#: ../../b11/lib/piece/owner/header7.php:48 
    30533053msgid "블로그로 이동" 
    3054 msgstr "To my blog" 
     3054msgstr "To this blog" 
    30553055 
    30563056#: ../../blog/owner/setting/account/index.php:314 
  • trunk/lib/piece/owner/contentMenu.php

    r3313 r3344  
    120120        } 
    121121    } 
    122     requireComponent('Textcube.Core'); 
    123122?> 
    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> 
    125124                    </ul> 
    126125                </div> 
  • trunk/lib/piece/owner/header.php

    r3313 r3344  
    173173<?php 
    174174$writer = DBQuery::queryCell("SELECT name FROM {$database['prefix']}Users WHERE userid = ".$_SESSION['admin']); 
     175requireComponent('Textcube.Core'); 
    175176?> 
    176177                        <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> 
    177179                        <li id="description-blog"><a href="<?php echo $blogURL;?>/" title="<?php echo _t('블로그 메인으로 이동합니다.');?>"><span class="text"><?php echo _t('블로그로 이동');?></span></a></li> 
    178180                        <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  
    199199} 
    200200 
     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 
    201214#description-blog 
    202215{