2014-05-19 10:16:43 +02:00
< ? php
2014-05-28 11:02:52 +02:00
/* @var $this ProgramController */
/* @var $model Program */
2014-05-19 10:16:43 +02:00
?>
< ? php
$this -> breadcrumbs = array (
2014-05-28 11:02:52 +02:00
'Programs' => array ( 'index' ),
2014-05-19 10:16:43 +02:00
$model -> Name ,
);
$this -> menu = array (
2014-05-28 11:02:52 +02:00
array ( 'label' => 'List Program' , 'url' => array ( 'index' )),
array ( 'label' => 'Create Program' , 'url' => array ( 'create' )),
array ( 'label' => 'Update Program' , 'url' => array ( 'update' , 'id' => $model -> ID )),
array ( 'label' => 'Delete Program' , 'url' => '#' , 'linkOptions' => array ( 'submit' => array ( 'delete' , 'id' => $model -> ID ), 'confirm' => 'Are you sure you want to delete this item?' )),
array ( 'label' => 'Manage Program' , 'url' => array ( 'admin' )),
2014-05-19 10:16:43 +02:00
);
?>
2014-05-28 11:02:52 +02:00
< h1 > View Program #<?php echo $model->ID; ?></h1>
2014-05-19 10:16:43 +02:00
< ? php $this -> widget ( 'zii.widgets.CDetailView' , array (
'htmlOptions' => array (
'class' => 'table table-striped table-condensed table-hover' ,
),
'data' => $model ,
'attributes' => array (
'ID' ,
'Name' ,
'Downloads' ,
'Kategorie' ,
'Sterne' ,
'enabled' ,
'visible' ,
'Language' ,
'Description' ,
'add_date' ,
'download_url' ,
'viewable_code' ,
'sourceforge_url' ,
'homepage_url' ,
'github_url' ,
'uses_absCanv' ,
'update_identifier' ,
'highscore_gid' ,
),
)); ?>