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>
This commit is contained in:
Michael Tänzer 2010-06-28 17:30:31 +02:00
parent a1f716c45f
commit 73761fe863
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
* @author Michael Tänzer * @author Michael Tänzer
*/ */
class AddPointsController extends Zend_Controller_Action class ManageAccountController extends Zend_Controller_Action
{ {
const MAX_POINTS_PER_ASSURANCE = 35; const MAX_POINTS_PER_ASSURANCE = 35;
const MAX_ASSURANCE_POINTS = 100; const MAX_ASSURANCE_POINTS = 100;

View file

@ -2,7 +2,7 @@
require_once (FWACTIONS_PATH . '/FWAction.php'); 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 * get a list of required permissions that are needed to access this action
* @return array * @return array
@ -32,7 +32,7 @@ class AddPoints extends FWAction {
* @return string * @return string
*/ */
public static function getController() { public static function getController() {
return 'add-points'; return 'manage-account';
} }
/** /**
@ -48,6 +48,6 @@ class AddPoints extends FWAction {
* @return string * @return string
*/ */
public static function getMenuText() { public static function getMenuText() {
return 'Add Points'; return I18n::_('Manage Account');
} }
} }