Commit c8c2ffba authored by pkdille's avatar pkdille

[ENH] introduction of class on td - see...

[ENH] introduction of class on td - see http://dev.tiki.org/Templates+Best+Practices&highlight=formcolor#Tables
parent 1d5d358c
......@@ -644,16 +644,16 @@
{foreach from=$action_log_conf_selected item=actionlog}
<tr class="{cycle}">
{if $tiki_p_admin eq 'y'}
<td>
<td class="checkbox">
<input type="checkbox" name="{$actionlog.code}" {if $actionlog.status eq 'y' or $actionlog.status eq 'v'}checked="checked"{/if} />
</td>
{/if}
{if $tiki_p_admin eq 'y' or $actionlog.status eq 'y' or $actionlog.status eq 'v'}
<td>
<td class="checkbox">
<input type="checkbox" name="v_{$actionlog.code}" {if $actionlog.status eq 'v'}checked="checked"{/if} />
</td>
<td>{tr}{$actionlog.action}{/tr}</td>
<td>{tr}{$actionlog.objectType}{/tr}</td>
<td class="text">{tr}{$actionlog.action}{/tr}</td>
<td class="text">{tr}{$actionlog.objectType}{/tr}</td>
{/if}
</tr>
{/foreach}
......
......@@ -39,20 +39,20 @@
{section name=user loop=$channels}
{if ($tiki_p_admin eq 'y') or ($channels[user].individual eq 'n' and $tiki_p_take_quiz eq 'y') or ($channels[user].individual_tiki_p_take_quiz eq 'y')}
<tr class="{cycle}">
<td>
<td class="text">
<a class="tablename" href="tiki-take_quiz.php?quizId={$channels[user].quizId}">{$channels[user].name|escape}</a>
<div class="subcomment">
{$channels[user].description|escape|nl2br}
</div>
</td>
<td>
<td class="integer">
{$channels[user].timeLimited} {if $channels[user].timeLimited eq 'y'}({$channels[user].timeLimit} mins){/if}
</td>
<td>
<td class="integer">
{$channels[user].questions}
</td>
{if ($tiki_p_admin eq 'y' or $tiki_p_admin_quizzes eq 'y' or $tiki_p_view_quiz_stats eq 'y')}
<td>
<td class="action">
{if ($tiki_p_admin eq 'y') or ($channels[user].individual eq 'n' and $tiki_p_admin_quizzes eq 'y') or ($channels[user].individual_tiki_p_admin_quizzes eq 'y')}
<a class="link" href="tiki-edit_quiz.php?quizId={$channels[user].quizId}">{icon _id='page_edit' alt="{tr}Edit{/tr}"}</a>
{/if}
......@@ -64,7 +64,7 @@
</tr>
{/if}
{sectionelse}
<tr><td class="odd" colspan="{$numbercol}"><strong>{tr}No records found.{/tr}</strong></td></tr>
<tr><td class="norecords" colspan="{$numbercol}"><strong>{tr}No records found.{/tr}</strong></td></tr>
{/section}
</table>
......
......@@ -93,11 +93,11 @@
{section name=user loop=$channels}
{if $channels[user].tiki_p_subscribe_newsletters eq 'y'}
<tr class="{cycle}">
<td>
<td class="text">
<a class="tablename" href="tiki-newsletters.php?nlId={$channels[user].nlId}&amp;info=1" title="{tr}Subscribe to Newsletter{/tr}">{$channels[user].name|escape}</a>
<div class="subcomment">{$channels[user].description|escape|nl2br}</div>
</td>
<td>
<td class="action">
{if $channels[user].tiki_p_subscribe_newsletters eq 'y'}
<a class="link" href="tiki-newsletters.php?nlId={$channels[user].nlId}&amp;info=1" title="{tr}Subscribe to Newsletter{/tr}">{icon _id='newspaper_add' alt="{tr}Subscribe to Newsletter{/tr}"}</a>
{/if}
......@@ -112,7 +112,7 @@
</tr>
{/if}
{sectionelse}
<tr><td class="odd" colspan="2"><strong>{tr}No records found.{/tr}</strong></td></tr>
<tr><td class="norecords" colspan="2"><strong>{tr}No records found.{/tr}</strong></td></tr>
{/section}
</table>
......
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