diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index da7a247..f1a7d96 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -63,10 +63,10 @@
-
+
-
+
@@ -75,7 +75,7 @@
-
+
@@ -84,26 +84,53 @@
-
-
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
@@ -125,14 +152,18 @@
-
-
+
+
+
+
+
+
@@ -689,6 +720,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -702,7 +753,7 @@
-
+
@@ -737,16 +788,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -890,23 +931,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -935,13 +959,6 @@
-
-
-
-
-
-
-
@@ -977,27 +994,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1019,23 +1015,81 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
-
+
@@ -1043,12 +1097,10 @@
-
+
-
-
-
-
+
+
diff --git a/www/protected/config/main.php b/www/protected/config/main.php
index 0f50c3c..ea83ce8 100644
--- a/www/protected/config/main.php
+++ b/www/protected/config/main.php
@@ -61,22 +61,12 @@ return ArrayX::merge(
[
'urlFormat' => 'path',
'caseSensitive' => false,
- 'showScriptName' => true,
+ 'showScriptName' => false,
'rules' =>
[
-
-
'Programme/' => 'Programme/index',
- 'Programme/' => 'programme/',
-
- 'gii' => 'gii',
- 'gii/' => 'gii/',
- 'gii//' => 'gii//',
-
- //'/' => '/view',
- //'//' => '/',
- //'/' => '/',
-
+ 'downloads/' => 'programme/', // Compatibility
+ 'downloads/downloads.php' => 'programme/index', // Compatibility
'' => 'site/index',
//'' => 'site/',
diff --git a/www/protected/models/Programme.php b/www/protected/models/Programme.php
index 1700bd2..9009e21 100644
--- a/www/protected/models/Programme.php
+++ b/www/protected/models/Programme.php
@@ -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
+ ),
));
}
diff --git a/www/protected/views/programme/admin.php b/www/protected/views/programme/admin.php
index 47230e6..e4b5076 100644
--- a/www/protected/views/programme/admin.php
+++ b/www/protected/views/programme/admin.php
@@ -4,7 +4,7 @@
$this->breadcrumbs=array(
- 'Programmes'=>array('index'),
+ 'Programme'=>array('index'),
'Manage',
);
diff --git a/www/protected/views/programme/create.php b/www/protected/views/programme/create.php
index ada4d7e..85fb92e 100644
--- a/www/protected/views/programme/create.php
+++ b/www/protected/views/programme/create.php
@@ -5,7 +5,7 @@
breadcrumbs=array(
- 'Programmes'=>array('index'),
+ 'Programme'=>array('index'),
'Create',
);
diff --git a/www/protected/views/programme/index.php b/www/protected/views/programme/index.php
index e2d2f25..5c7108c 100644
--- a/www/protected/views/programme/index.php
+++ b/www/protected/views/programme/index.php
@@ -5,7 +5,7 @@
breadcrumbs=array(
- 'Programmes',
+ 'Programme',
);
$this->menu=array(
diff --git a/www/protected/views/programme/update.php b/www/protected/views/programme/update.php
index 4e791a2..d010823 100644
--- a/www/protected/views/programme/update.php
+++ b/www/protected/views/programme/update.php
@@ -5,7 +5,7 @@
breadcrumbs=array(
- 'Programmes'=>array('index'),
+ 'Programme'=>array('index'),
$model->Name=>array('view','id'=>$model->ID),
'Update',
);
diff --git a/www/protected/views/programme/view.php b/www/protected/views/programme/view.php
index 30f077e..1c0d4ea 100644
--- a/www/protected/views/programme/view.php
+++ b/www/protected/views/programme/view.php
@@ -5,7 +5,7 @@
breadcrumbs=array(
- 'Programmes'=>array('index'),
+ 'Programme'=>array('index'),
$model->Name,
);