summaryrefslogtreecommitdiff
path: root/manager
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2010-06-28 17:30:31 +0200
committerMichael Tänzer <neo@nhng.de>2010-06-28 17:30:31 +0200
commit73761fe863463270a9ce13e9211791891cf17d02 (patch)
treee7bfedf99bdf4028f2a23525ad4a9f38ca1e80f4 /manager
parenta1f716c45f882365e02a072b42a9ad05d34a39df (diff)
downloadcacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.tar.gz
cacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.tar.xz
cacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.zip
Rename AddPoints to ManageAccount
The controller will contain all actions required to manage the test account Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'manager')
-rw-r--r--manager/application/controllers/ManageAccountController.php (renamed from manager/application/controllers/AddPointsController.php)2
-rw-r--r--manager/application/views/scripts/manage-account/assurance.phtml (renamed from manager/application/views/scripts/add-points/assurance.phtml)0
-rw-r--r--manager/application/views/scripts/manage-account/assuranceform.phtml (renamed from manager/application/views/scripts/add-points/assuranceform.phtml)0
-rw-r--r--manager/library/actions/ActionManageAccount.php (renamed from manager/library/actions/ActionAddPoints.php)6
4 files changed, 4 insertions, 4 deletions
diff --git a/manager/application/controllers/AddPointsController.php b/manager/application/controllers/ManageAccountController.php
index 95b524b..0197fd8 100644
--- a/manager/application/controllers/AddPointsController.php
+++ b/manager/application/controllers/ManageAccountController.php
@@ -3,7 +3,7 @@
* @author Michael Tänzer
*/
-class AddPointsController extends Zend_Controller_Action
+class ManageAccountController extends Zend_Controller_Action
{
const MAX_POINTS_PER_ASSURANCE = 35;
const MAX_ASSURANCE_POINTS = 100;
diff --git a/manager/application/views/scripts/add-points/assurance.phtml b/manager/application/views/scripts/manage-account/assurance.phtml
index db45e0a..db45e0a 100644
--- a/manager/application/views/scripts/add-points/assurance.phtml
+++ b/manager/application/views/scripts/manage-account/assurance.phtml
diff --git a/manager/application/views/scripts/add-points/assuranceform.phtml b/manager/application/views/scripts/manage-account/assuranceform.phtml
index b627b78..b627b78 100644
--- a/manager/application/views/scripts/add-points/assuranceform.phtml
+++ b/manager/application/views/scripts/manage-account/assuranceform.phtml
diff --git a/manager/library/actions/ActionAddPoints.php b/manager/library/actions/ActionManageAccount.php
index ef71b2f..30c8bb6 100644
--- a/manager/library/actions/ActionAddPoints.php
+++ b/manager/library/actions/ActionManageAccount.php
@@ -2,7 +2,7 @@
require_once (FWACTIONS_PATH . '/FWAction.php');
-class AddPoints extends FWAction {
+class ManageAccount extends FWAction {
/**
* get a list of required permissions that are needed to access this action
* @return array
@@ -32,7 +32,7 @@ class AddPoints extends FWAction {
* @return string
*/
public static function getController() {
- return 'add-points';
+ return 'manage-account';
}
/**
@@ -48,6 +48,6 @@ class AddPoints extends FWAction {
* @return string
*/
public static function getMenuText() {
- return 'Add Points';
+ return I18n::_('Manage Account');
}
}