Commit 172cab54 authored by Penny Leach's avatar Penny Leach

dwoo support: changing cycle values to be quoted

parent d5ecc8ad
......@@ -12,7 +12,7 @@
</thead>
<tbody>
{foreach from=$upgrades key=name item=upgrade}
<tr class="{cycle name=rows values=r1,r0}">
<tr class="{cycle name=rows values='r1,r0'}">
<td>{$name}</td>
{if $name == 'firstcoredata' || $name == 'lastcoredata'}
<td></td>
......
{foreach from=$data item=result}
<tr class="{cycle name=rows values=r1,r0}">
<tr class="{cycle name=rows values='r1,r0'}">
<td class="center" style="width:25px;">{if $result->icon}<img src="{$result->icon}" alt="{$result->typestr}"> {/if}</td>
<td>
<div><strong><a href="{$result->url}">{$result->title|escape}</a></strong></div>
......
......@@ -4,7 +4,7 @@
{if $users}
<table id="friendslist" class="fullwidth listing">
{foreach from=$users item=user}
<tr class="r{cycle values=1,0}">
<tr class="r{cycle values='1,0'}">
{include file="user/user.tpl" user=$user page='myfriends'}
</tr>
{/foreach}
......
{if $data}
{foreach from=$data item=user}
<tr class="r{cycle values=1,0}">
<tr class="r{cycle values='1,0'}">
{include file="user/user.tpl" user=$user page=$page}
</tr>
{/foreach}
{elseif $query}
<tr><td><div class="message">{str tag=nosearchresultsfound section=group}</div></td></tr>
{/if}
\ No newline at end of file
{/if}
......@@ -19,7 +19,7 @@
<table id="myviews" class="fullwidth listing">
<tbody>
{foreach from=$views item=view}
<tr class="{cycle values=r0,r1}">
<tr class="{cycle values='r0,r1'}">
<td><div class="rel">
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title|escape}</a></h3>
{if $view.submittedto}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment