1
0
www.mikescher.com/www/protected/views/programs/view.php

51 lines
1.2 KiB
PHP

<?php
/* @var $this ProgramsController */
/* @var $model Program */
?>
<?php
$this->pageTitle = $model->Name . ' - ' . Yii::app()->name;
$this->breadcrumbs=array(
'Programs'=>array('index'),
$model->Name,
);
$this->menu=array(
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')),
);
?>
<h1>View Program #<?php echo $model->ID; ?></h1>
<?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',
),
)); ?>