Exemple #1
0
 function get_row_class()
 {
     $classes = array(Stock::row_class());
     if ($this->removed) {
         $classes[] = 'row-removed';
     }
     if ($this->changed) {
         $classes[] = 'row-changed';
     }
     return implode(' ', $classes);
 }
Exemple #2
0
<tr class="<?php 
echo Stock::row_class();
?>
">
	<td class="cell10"><input type="checkbox" name="isin[]" value="<?php 
echo $transaction->isin;
?>
" /></td>
	<td class="cell10">
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><?php 
print $this->link_to($transaction->isin, array('controller' => 'titoli', 'action' => 'browse', 'id' => $transaction->isin));
?>
</td>
				<td>&nbsp;</td>
				<td align="right"><a href="<?php 
echo $transaction->stock->details_url();
?>
"><img src="/img/circled_arrow.png" alt="Dettagli" /></a></td>
			</tr>
		</table>
	</td>

	<td class="cell10">
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><?php 
print $this->link_to($transaction->stock->title, array('controller' => 'titoli', 'action' => 'browse', 'id' => $transaction->isin));
?>
</td>