Various things
This commit is contained in:
@@ -61,22 +61,12 @@ return ArrayX::merge(
|
||||
[
|
||||
'urlFormat' => 'path',
|
||||
'caseSensitive' => false,
|
||||
'showScriptName' => true,
|
||||
'showScriptName' => false,
|
||||
'rules' =>
|
||||
[
|
||||
|
||||
|
||||
'Programme/' => 'Programme/index',
|
||||
'Programme/<action:\w+>' => 'programme/<action>',
|
||||
|
||||
'gii' => 'gii',
|
||||
'gii/<controller:\w+>' => 'gii/<controller>',
|
||||
'gii/<controller:\w+>/<action:\w+>' => 'gii/<controller>/<action>',
|
||||
|
||||
//'<controller:\w+>/<id:\d+>' => '<controller>/view',
|
||||
//'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
|
||||
//'<controller:\w+>/<action:\w+>' => '<controller>/<action>',
|
||||
|
||||
'downloads/<action:\w+>' => 'programme/<action>', // Compatibility
|
||||
'downloads/downloads.php' => 'programme/index', // Compatibility
|
||||
|
||||
'' => 'site/index',
|
||||
//'<action:\w+>' => 'site/<action>',
|
||||
|
||||
@@ -128,6 +128,9 @@ class Programme extends CActiveRecord
|
||||
|
||||
return new CActiveDataProvider($this, array(
|
||||
'criteria'=>$criteria,
|
||||
'Pagination' => array (
|
||||
'PageSize' => 50 //edit your number items per page here
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
|
||||
$this->breadcrumbs=array(
|
||||
'Programmes'=>array('index'),
|
||||
'Programme'=>array('index'),
|
||||
'Manage',
|
||||
);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<?php
|
||||
$this->breadcrumbs=array(
|
||||
'Programmes'=>array('index'),
|
||||
'Programme'=>array('index'),
|
||||
'Create',
|
||||
);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<?php
|
||||
$this->breadcrumbs=array(
|
||||
'Programmes',
|
||||
'Programme',
|
||||
);
|
||||
|
||||
$this->menu=array(
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<?php
|
||||
$this->breadcrumbs=array(
|
||||
'Programmes'=>array('index'),
|
||||
'Programme'=>array('index'),
|
||||
$model->Name=>array('view','id'=>$model->ID),
|
||||
'Update',
|
||||
);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<?php
|
||||
$this->breadcrumbs=array(
|
||||
'Programmes'=>array('index'),
|
||||
'Programme'=>array('index'),
|
||||
$model->Name,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user