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:
ovclas 2011-10-17 05:45:46 +00:00
parent 14718ce2a6
commit 26b49ca268
3 changed files with 7 additions and 3 deletions

View file

@ -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" />