mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
issue 508 if document created by widget, title is empty.
when this case, use 'untitled' message show in list git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9659 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
14718ce2a6
commit
26b49ca268
3 changed files with 7 additions and 3 deletions
|
|
@ -45,7 +45,7 @@
|
|||
<!--@foreach($latestDocumentList AS $key=>$value)-->
|
||||
{@$document = $value->variables}
|
||||
<li>
|
||||
<a href="{getUrl('', 'document_srl', $document['document_srl'])}" target="_blank">{$value->getTitle()}</a> <span class="side">{$document['nick_name']}</span>
|
||||
<a href="{getUrl('', 'document_srl', $document['document_srl'])}" target="_blank"><!--@if(trim($value->getTitle()))-->{$value->getTitle()}<!--@else--><strong>{$lang->no_title_document}</strong><!--@end--></a> <span class="side">{$document['nick_name']}</span>
|
||||
<span class="action">
|
||||
<form>
|
||||
<input type="hidden" name="module" value="admin" />
|
||||
|
|
|
|||
|
|
@ -866,4 +866,8 @@
|
|||
<value xml:lang="ko"><![CDATA[카테고리 설명]]></value>
|
||||
<value xml:lang="en"><![CDATA[Category Description]]></value>
|
||||
</item>
|
||||
</lang>
|
||||
<item name="no_title_document">
|
||||
<value xml:lang="ko"><![CDATA[제목이 없는 문서입니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[No title in this document.]]></value>
|
||||
</item>
|
||||
</lang>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
|||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td class="title"><a href="{getUrl('','document_srl',$oDocument->document_srl)}" target="_blank">{$oDocument->getTitle()}</a></td>
|
||||
<td class="title"><a href="{getUrl('','document_srl',$oDocument->document_srl)}" target="_blank"><!--@if(trim($oDocument->getTitle()))-->{$oDocument->getTitle()}<!--@else--><em>{$lang->no_title_document}</em><!--@end--></a></td>
|
||||
<td><a href="#popup_menu_area" class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</a></td>
|
||||
<td>{$oDocument->get('readed_count')}</td>
|
||||
<td>{$oDocument->get('voted_count')}/{$oDocument->get('blamed_count')}</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue