xe_default 게시판 스킨의 고정된 영문을 다국어에 맞게 언어 변수 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4814 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-07 14:44:12 +00:00
parent 0f79814440
commit 22dbdcd65b
7 changed files with 31 additions and 27 deletions

View file

@ -157,6 +157,10 @@
$oModuleModel = &getModel('module');
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin);
if(!$skin_info) {
$skin = 'xe_default';
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin);
}
// skin_info에 extra_vars 값을 지정
if(count($skin_info->extra_vars)) {

View file

@ -93,11 +93,11 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackbacks</sup></span>
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>T</sup></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}

View file

@ -67,11 +67,11 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackbacks</sup></span>
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>T</sup></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
@ -96,11 +96,11 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackbacks</sup></span>
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>T</sup></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}

View file

@ -66,11 +66,11 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackbacks</sup></span>
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>T</sup></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
@ -99,11 +99,11 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackbacks</sup></span>
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>T</sup></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}

View file

@ -3,7 +3,7 @@
<h3 class="feedbackHeader">
<!--@if($grant->write_comment && $oDocument->allowComment()) -->
<a href="#reply" title="{$lang->comment}"><strong>'{$oDocument->getCommentcount()}'</strong> Replies</a>
<a href="#reply" title="{$lang->comment}"><strong>'{$oDocument->getCommentcount()}'</strong> {$lang->comment}</a>
<!--@end-->
</h3>
@ -48,7 +48,7 @@
<!--@if($comment->hasUploadedFIles())-->
<dl class="attachedFile">
<dt>Attached File :</dt>
<dt>{$lang->uploaded_file} :</dt>
{@ $_uploaded_files = $comment->getUploadedFiles() }
<!--@foreach($_uploaded_files as $key => $file)-->
<dd><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download{number_format($file->download_count)}]</span></a></dd>
@ -57,7 +57,7 @@
<!--@end-->
<dl class="time">
<dt>Time :</dt>
<dt>{$lang->regdate} :</dt>
<dd>
{$comment->getRegdate('Y.m.d')}
</dd>
@ -69,10 +69,10 @@
<div class="option">
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="button small"><span>Delete</span></a>
<a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}" class="button small"><span>Modify</span></a>
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="button small"><span>{$lang->cmd_delete}</span></a>
<a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}" class="button small"><span>{$lang->cmd_modify}</span></a>
<!--@end-->
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="button small green"><span>Reply</span></a>
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="button small green"><span>{$lang->cmd_reply}</span></a>
</div>
<!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->

View file

@ -4,7 +4,7 @@
/* Zeroboard XE */
/* Board Reset */
.board{ font-family:NanumGothic, "Malgun Gothic", AppleGothic, Gulim, Dotum, Tahoma, Sans-serif; line-height:normal; font-size:1.1em;}
.board{ font-family:AppleGothic, Dotum, Tahoma, Sans-serif; line-height:normal; font-size:1.1em;}
.board *{ font-size:1em;}
.board .inputText,
.board textarea{ border:1px solid;}
@ -70,7 +70,7 @@
.boardList td.title img{ vertical-align:middle; margin:0 1px;}
.boardList td.title .replyNum{ font:11px Tahoma;}
.boardList td.title .replyNum sup{ font:10px Tahoma;}
.boardList td.author{}
.boardList td.author{ text-align:left; }
.boardList td.replies{ font:11px Tahoma;}
.boardList td.reading{ font:11px Tahoma;}
.boardList td.recommend{ font:11px Tahoma;}
@ -141,7 +141,7 @@
.boardReadHeader em{ position:relative; top:5px; float:right; font-style:normal; font-weight:bold; font-size:1em;}
.boardReadHeader a{ font-weight:bold; font-size:1em;}
.boardReadBody{ padding-bottom:15px; border-bottom:1px solid; line-height:1.5em;}
.boardReadBody{ padding-bottom:15px; border-bottom:1px solid; line-height:1.5em; overflow:hidden;}
.boardReadBody .document_popup_menu{ margin-top:20px; text-align:right;}
.boardReadBody .document_popup_menu a{ text-decoration:underline;}
.boardReadBody .xe_content{ margin-bottom:15px; line-height:1.6em;}

View file

@ -72,7 +72,7 @@
<!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->
<dl>
<dt>Category :</dt>
<dt>{$lang->category} :</dt>
<dd title="{$lang->category}"><a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}">{$category_list[$oDocument->get('category_srl')]->title}</a></dd>
</dl>
<!--@end-->
@ -81,7 +81,7 @@
{@ $tag_list = $oDocument->get('tag_list') }
<!--@if(count($tag_list))-->
<dl class="tag">
<dt>Tag :</dt>
<dt>{$lang->tag} :</dt>
<!--@for($i=0;$i<count($tag_list);$i++)-->
{@ $tag = $tag_list[$i]; }
<dd><a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" rel="tag">{htmlspecialchars($tag)}</a></dd>
@ -91,7 +91,7 @@
<!--@if($oDocument->hasUploadedFiles())-->
<dl class="attachedFile">
<dt>Attached File :</dt>
<dt>{$lang->uploaded_file} :</dt>
{@ $uploaded_list = $oDocument->getUploadedFiles() }
<!--@foreach($uploaded_list as $key => $file)-->
<dd><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></dd>
@ -103,24 +103,24 @@
<div class="footerRight">
<dl>
<dt>Read :</dt>
<dt>{$lang->readed_count} :</dt>
<dd title="{$lang->readed_count}">{$oDocument->get('readed_count')}</dd>
<!--@if($oDocument->get('voted_count')!=0 || $oDocument->get('blamed_count')!=0)-->
<dt>Vote :</dt>
<dt>{$lang->voted_count} :</dt>
<dd title="{$lang->voted_count}">{$oDocument->get('voted_count')} / {$oDocument->get('blamed_count')}</dd>
<!--@end-->
<dt>Time :</dt>
<dt>{$lang->regdate} :</dt>
<dd title="{$lang->regdate}">{$oDocument->getRegdate('Y.m.d')}</dd>
<dd>{$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end--></dd>
</dl>
<dl>
<dt>Tracback :</dt>
<dt>{$lang->trackback} :</dt>
<dd><a href="{$oDocument->getTrackbackUrl()}" onclick="return false;">{$oDocument->getTrackbackUrl()}</a></dd>
</dl>
<dl>
<dt>Permalink :</dt>
<dt>{$lang->document_url} :</dt>
<dd title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></dd>
</dl>