Ejemplo n.º 1
0
</th>
	<th class="small"><?php 
    echo term('form.edit');
    ?>
</th>
	<th class="small"><?php 
    echo term('form.publish', 'form.operation');
    ?>
</th>
	<th class="small">状態</th>
	<th class="datetime">公開日時</th>
	<th class="datetime">最終更新</th>
</tr>
<?php 
    foreach ($list as $id => $news) {
        $status = \News\Site_Util::get_status($news->is_published, $news->published_at);
        ?>
<tr id="<?php 
        echo $news->id;
        ?>
"<?php 
        if ($class = \News\Site_Util::get_status_label_type($status, true)) {
            ?>
 class="<?php 
            echo $class;
            ?>
"<?php 
        }
        ?>
>
	<td class="small"><?php