コード例 #1
0
</div>
				<div class="five columns last"><?php 
    echo strftime("%a %e %b %R", strtotime($reservation->start));
    ?>
 - <?php 
    echo strftime("%R", strtotime($reservation->end));
    ?>
</div>

				<div class="three tools columns last">
					<?php 
    echo html::anchor($controller_url . '/edit/' . $reservation->id, KillerAdmin::spriteImg('pencil', __('edit')));
    ?>
 
					<?php 
    echo $may_delete ? html::anchor($controller_url . '/delete/' . $reservation->id, KillerAdmin::spriteImg('bin', __('delete')), array('class' => 'delete')) : "";
    ?>
				</div>
			</div>
		<?php 
}
?>
	</form>
</div>
<?php 
if (Auth::instance()->logged_in(Kohana::$config->load('admin.menu.admin/tables.secure_actions.add'))) {
    ?>
	<div class="row">
		<?php 
    echo Killeradmin::newButton('reservation');
    ?>
コード例 #2
0
?>
			
			<?php 
if ($reservation->updated) {
    ?>
	
			<dt class="eight columns"><label><?php 
    echo ucfirst(__('updated'));
    ?>
</label></dt>
			<dd class="sixteen last columns"><?php 
    echo $reservation->updated;
    ?>
</dd>
			<?php 
}
?>

			<dt class="eight columns"><?php 
echo html::anchor($referrer, __('go back'), array('class' => 'nice button'));
?>
</dt>
			<dd class="sixteen last columns"><button type="submit" class="nice primary button"><?php 
echo KillerAdmin::spriteImg('save');
echo __('save');
?>
</button></dd>
		</dl>
	</form>
</div>
コード例 #3
0
ファイル: table_list.php プロジェクト: runtah17/smacky-tables
 persons</div>	
				<div class="seven columns"><?php 
    echo $table->nickname;
    ?>
</div>
				<div class="seven columns nowrap"><?php 
    echo $table->user->name ? $table->user->name : $table->user->username;
    ?>
</div>	
				<div class="three tools columns last">
					<?php 
    echo html::anchor($controller_url . '/edit/' . $table->id, KillerAdmin::spriteImg('pencil', __('edit')));
    ?>
 
					<?php 
    echo html::anchor($controller_url . '/delete/' . $table->id, KillerAdmin::spriteImg('bin', __('delete')), array('class' => 'delete'));
    ?>
				</div>
			</div>
		<?php 
}
?>
	</form>
</div>
<div class="row">
<?php 
echo Killeradmin::newButton('table');
?>
</div>
	
<div class="row pagination">