[BUG] Fixed PHP notice

This commit is contained in:
Sebastian Grewe 2013-09-18 16:19:42 +02:00
parent 0f8df566f3
commit 88b2a35a7a
2 changed files with 5 additions and 5 deletions

View File

@ -447,13 +447,13 @@ width: 100%;
margin: -5px 0 0 0; margin: -5px 0 0 0;
} }
.tablesorter, .tablesorterpager td{ .tablesorter td, .tablesorterpager td{
margin: 0; margin: 0;
padding: 0; padding: 0;
border-bottom: 1px dotted #ccc; border-bottom: 1px dotted #ccc;
} }
.tablesorter, .tablesorterpager thead tr { .tablesorter thead tr, .tablesorterpager thead tr {
height: 34px; height: 34px;
background: url(../images/table_sorter_header.png) repeat-x; background: url(../images/table_sorter_header.png) repeat-x;
text-align: left; text-align: left;
@ -461,11 +461,11 @@ text-indent: 10px;
cursor: pointer; cursor: pointer;
} }
.tablesorter, .tablesorterpager td { .tablesorter td , .tablesorterpager td {
padding: 15px 10px; padding: 15px 10px;
} }
.tablesorter, .tablesorterpager input[type=image] { .tablesorter input[type=image], .tablesorterpager input[type=image] {
margin-right: 10px;} margin-right: 10px;}
ul.tabs { ul.tabs {

View File

@ -14,7 +14,7 @@
{assign var=rank value=1} {assign var=rank value=1}
{assign var=listed value=0} {assign var=listed value=0}
{section contrib $ROUNDSHARES} {section contrib $ROUNDSHARES}
<tr{if $GLOBAL.userdata.username == $ROUNDSHARES[contrib].username}{assign var=listed value=1} style="background-color:#99EB99;"{else} class="{cycle values="odd,even"}"{/if}> <tr{if $GLOBAL.userdata.username|default:"" == $ROUNDSHARES[contrib].username}{assign var=listed value=1} style="background-color:#99EB99;"{else} class="{cycle values="odd,even"}"{/if}>
<td align="center">{$rank++}</td> <td align="center">{$rank++}</td>
<td>{if $ROUNDSHARES[contrib].is_anonymous|default:"0" == 1}anonymous{else}{$ROUNDSHARES[contrib].username|escape}{/if}</td> <td>{if $ROUNDSHARES[contrib].is_anonymous|default:"0" == 1}anonymous{else}{$ROUNDSHARES[contrib].username|escape}{/if}</td>
<td align="right">{$ROUNDSHARES[contrib].valid|number_format}</td> <td align="right">{$ROUNDSHARES[contrib].valid|number_format}</td>