You may optionally enter a comparison operator (<, <=, >, >=,
@@ -47,7 +47,7 @@ or =) at the beginning of each of your search values to specify how the c
Welcome to my private homepage. My name is Mike Schwörer, and this is my homepage - here i upload programs i write in my free time and sometimes i even write a blog entry. My name is Mike Schwörer, and this is my homepage - here i upload program i write in my free time and sometimes i even write a blog entry. If you want you can look at the things I programmed If you want you can look at the things I programd
widget('bootstrap.widgets.TbGridView',array(
'type' => TbHtml::GRID_TYPE_BORDERED,
- 'id'=>'programme-grid',
+ 'id'=>'program-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
diff --git a/www/protected/views/programs/create.php b/www/protected/views/programs/create.php
new file mode 100644
index 0000000..2d9ace3
--- /dev/null
+++ b/www/protected/views/programs/create.php
@@ -0,0 +1,20 @@
+
+
+breadcrumbs=array(
+ 'Programs'=>array('index'),
+ 'Create',
+);
+
+$this->menu=array(
+ array('label'=>'List Program', 'url'=>array('index')),
+ array('label'=>'Manage Program', 'url'=>array('admin')),
+);
+?>
+
+Create Program
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programme/index.php b/www/protected/views/programs/index.php
similarity index 58%
rename from www/protected/views/programme/index.php
rename to www/protected/views/programs/index.php
index a3ec23a..77e04dc 100644
--- a/www/protected/views/programme/index.php
+++ b/www/protected/views/programs/index.php
@@ -1,16 +1,16 @@
breadcrumbs = array(
- 'Programme',
+ 'Programs',
);
$this->menu = array(
- array('label' => 'Create Programme', 'url' => array('create')),
- array('label' => 'Manage Programme', 'url' => array('admin')),
+ array('label' => 'Create Program', 'url' => array('create')),
+ array('label' => 'Manage Program', 'url' => array('admin')),
);
?>
@@ -21,7 +21,7 @@ $this->menu = array(
findAll() as $record) {
+ foreach (Program::model()->findAll() as $record) {
echo "Update Program ID; ?>
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programme/view.php b/www/protected/views/programs/view.php
similarity index 50%
rename from www/protected/views/programme/view.php
rename to www/protected/views/programs/view.php
index 1c0d4ea..62f1794 100644
--- a/www/protected/views/programme/view.php
+++ b/www/protected/views/programs/view.php
@@ -1,24 +1,24 @@
breadcrumbs=array(
- 'Programme'=>array('index'),
+ 'Programs'=>array('index'),
$model->Name,
);
$this->menu=array(
- array('label'=>'List Programme', 'url'=>array('index')),
- array('label'=>'Create Programme', 'url'=>array('create')),
- array('label'=>'Update Programme', 'url'=>array('update', 'id'=>$model->ID)),
- array('label'=>'Delete Programme', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ID),'confirm'=>'Are you sure you want to delete this item?')),
- array('label'=>'Manage Programme', 'url'=>array('admin')),
+ 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')),
);
?>
-View Programme #ID; ?>
+View Program #ID; ?>
widget('zii.widgets.CDetailView',array(
'htmlOptions' => array(
diff --git a/www/protected/views/site/about.php b/www/protected/views/site/about.php
index 2b264bc..1b56152 100644
--- a/www/protected/views/site/about.php
+++ b/www/protected/views/site/about.php
@@ -22,9 +22,9 @@ $this->selectedNav = 'about';