From: <sy...@us...> - 2006-11-21 20:26:34
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1676/templates Modified Files: tiki-newsreader_groups.tpl Log Message: [FIX] username can not be empty Index: tiki-newsreader_groups.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-newsreader_groups.tpl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- tiki-newsreader_groups.tpl 21 Nov 2006 20:22:01 -0000 1.9 +++ tiki-newsreader_groups.tpl 21 Nov 2006 20:26:31 -0000 1.10 @@ -13,7 +13,7 @@ {cycle values="odd,even" print=false} {foreach from=$groups key=group item=item} <tr> - <td class="{cycle advance=false}"><a class="link" href="tiki-newsreader_news.php?server={$info.server}&port={$info.port}&username={$info.username}&password={$info.password}&group={$group}&offset=0&serverId={$serverId}&serverId={$serverId}">{$group}</a></td> + <td class="{cycle advance=false}"><a class="link" href="tiki-newsreader_news.php?server={$info.server}&port={$info.port}{if !empty($info.username)}&username={$info.username}{/if}{if !empty($info.password)}&password={$info.password}{/if}&group={$group}&offset=0&serverId={$serverId}&serverId={$serverId}">{$group}</a></td> <td style="text-align:right;" class="{cycle advance=false}">{if isset($item.last) and isset($item.first)}{math equation="1+x-y" x=$item.last y=$item.first}{/if}</td> <td class="{cycle}">{$item.desc}</td> </tr> |