From: <cha...@us...> - 2011-01-16 09:16:42
|
Revision: 31931 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=31931&view=rev Author: changi67 Date: 2011-01-16 09:16:36 +0000 (Sun, 16 Jan 2011) Log Message: ----------- [ENH] Deploy norecords smarty plugin Modified Paths: -------------- trunk/templates/tiki-listpages_content.tpl Modified: trunk/templates/tiki-listpages_content.tpl =================================================================== --- trunk/templates/tiki-listpages_content.tpl 2011-01-15 23:37:20 UTC (rev 31930) +++ trunk/templates/tiki-listpages_content.tpl 2011-01-16 09:16:36 UTC (rev 31931) @@ -333,12 +333,18 @@ {cycle print=false} </tr> {sectionelse} - <tr> - <td colspan="{$cntcol}" class="odd"> - <b>{tr}No pages found{/tr}{if $find ne ''} {tr}with{/tr} "{$find|escape}"{/if}{if $initial ne ''}{tr} {if $find ne ''}and {/if}starting with{/tr} "{$initial}"{/if}.</b> - {if $aliases_were_found == 'y'}<br /><b>{tr}However, some page aliases fitting the query were found (see Aliases section above).{/tr}</b>{/if} - </td> - </tr> + {capture assign='find_htmlescaped'}{$find|escape}{/capture} + {if $find ne ''} + {norecords _colspan="$cntcol" _text="No pages found with: "$find_htmlescaped"."} + {elseif $find ne '' && $initial ne ''} + {norecords _colspan="$cntcol" _text="No pages found with: "$find_htmlescaped" and starting with " $initial "e;."} + {elseif $find ne '' && $aliases_were_found == 'y'} + {norecords _colspan="$cntcol" _text="No pages found with: "$find_htmlescaped&dquot;. <br/>However, some page aliases fitting the query were found (see Aliases section above)."} + {elseif $find ne '' && $initial ne '' && $aliases_were_found == 'y'} + {norecords _colspan="$cntcol" _text="No pages found with: "$find_htmlescaped"and starting with " $initial "e;. <br/>However, some page aliases fitting the query were found (see Aliases section above)."} + {else} + {norecords _colspan="$cntcol" _text="No pages found."} + {/if} {/section} </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |