diff options
author | Benny Baumann <BenBE@geshi.org> | 2015-08-09 22:11:39 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2015-08-09 22:11:50 +0200 |
commit | ce38587c8459587d7a03002ebcb4427ed95fb85c (patch) | |
tree | 1a5d787189deb6b895ff6df7fe1bb2303f92961d /manager/library/actions | |
parent | 2cbb6d9c9cea8624d474807857ba2f8c81352c15 (diff) | |
download | cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.gz cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.xz cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.zip |
bug 1396: Normalize Linefeed to Unix format in Repository
Diffstat (limited to 'manager/library/actions')
-rw-r--r-- | manager/library/actions/ActionIndex.php | 106 | ||||
-rw-r--r-- | manager/library/actions/ActionLogin.php | 106 | ||||
-rw-r--r-- | manager/library/actions/ActionMail.php | 106 | ||||
-rw-r--r-- | manager/library/actions/FWAction.php | 14 |
4 files changed, 166 insertions, 166 deletions
diff --git a/manager/library/actions/ActionIndex.php b/manager/library/actions/ActionIndex.php index 2771bad..1b12d3c 100644 --- a/manager/library/actions/ActionIndex.php +++ b/manager/library/actions/ActionIndex.php @@ -1,53 +1,53 @@ -<?php
-
-require_once (FWACTIONS_PATH . '/FWAction.php');
-
-class Index extends FWAction {
- /**
- * get a list of required permissions that are needed to access this action
- * @return array
- */
- public static function getRequiredPermissions() {
- return array();
- }
-
- /**
- * get a role that is required for accessing that action
- * @return string
- */
- public static function getRequiredRole() {
- return 'User';
- }
-
- /**
- * sort order for top navigation
- * @return integer
- */
- public static function getTopNavPrio() {
- return 1;
- }
-
- /**
- * controller to invoke
- * @return string
- */
- public static function getController() {
- return 'index';
- }
-
- /**
- * action to invoke
- * @return string
- */
- public static function getAction() {
- return 'index';
- }
-
- /**
- * get text for menu, caller is responsible for translating
- * @return string
- */
- public static function getMenuText() {
- return 'Dashboard';
- }
-}
+<?php + +require_once (FWACTIONS_PATH . '/FWAction.php'); + +class Index extends FWAction { + /** + * get a list of required permissions that are needed to access this action + * @return array + */ + public static function getRequiredPermissions() { + return array(); + } + + /** + * get a role that is required for accessing that action + * @return string + */ + public static function getRequiredRole() { + return 'User'; + } + + /** + * sort order for top navigation + * @return integer + */ + public static function getTopNavPrio() { + return 1; + } + + /** + * controller to invoke + * @return string + */ + public static function getController() { + return 'index'; + } + + /** + * action to invoke + * @return string + */ + public static function getAction() { + return 'index'; + } + + /** + * get text for menu, caller is responsible for translating + * @return string + */ + public static function getMenuText() { + return 'Dashboard'; + } +} diff --git a/manager/library/actions/ActionLogin.php b/manager/library/actions/ActionLogin.php index 02bae86..d363ee8 100644 --- a/manager/library/actions/ActionLogin.php +++ b/manager/library/actions/ActionLogin.php @@ -1,53 +1,53 @@ -<?php
-
-require_once (FWACTIONS_PATH . '/FWAction.php');
-
-class Login extends FWAction {
- /**
- * get a list of required permissions that are needed to access this action
- * @return array
- */
- public static function getRequiredPermissions() {
- return array();
- }
-
- /**
- * get a role that is required for accessing that action
- * @return string
- */
- public static function getRequiredRole() {
- return 'User';
- }
-
- /**
- * sort order for top navigation
- * @return integer
- */
- public static function getTopNavPrio() {
- return 1000;
- }
-
- /**
- * controller to invoke
- * @return string
- */
- public static function getController() {
- return 'login';
- }
-
- /**
- * action to invoke
- * @return string
- */
- public static function getAction() {
- return 'index';
- }
-
- /**
- * get text for menu, caller is responsible for translating
- * @return string
- */
- public static function getMenuText() {
- return 'Login';
- }
-}
+<?php + +require_once (FWACTIONS_PATH . '/FWAction.php'); + +class Login extends FWAction { + /** + * get a list of required permissions that are needed to access this action + * @return array + */ + public static function getRequiredPermissions() { + return array(); + } + + /** + * get a role that is required for accessing that action + * @return string + */ + public static function getRequiredRole() { + return 'User'; + } + + /** + * sort order for top navigation + * @return integer + */ + public static function getTopNavPrio() { + return 1000; + } + + /** + * controller to invoke + * @return string + */ + public static function getController() { + return 'login'; + } + + /** + * action to invoke + * @return string + */ + public static function getAction() { + return 'index'; + } + + /** + * get text for menu, caller is responsible for translating + * @return string + */ + public static function getMenuText() { + return 'Login'; + } +} diff --git a/manager/library/actions/ActionMail.php b/manager/library/actions/ActionMail.php index 4ed23de..fc4f172 100644 --- a/manager/library/actions/ActionMail.php +++ b/manager/library/actions/ActionMail.php @@ -1,53 +1,53 @@ -<?php
-
-require_once (FWACTIONS_PATH . '/FWAction.php');
-
-class Mail extends FWAction {
- /**
- * get a list of required permissions that are needed to access this action
- * @return array
- */
- public static function getRequiredPermissions() {
- return array();
- }
-
- /**
- * get a role that is required for accessing that action
- * @return string
- */
- public static function getRequiredRole() {
- return 'User';
- }
-
- /**
- * sort order for top navigation
- * @return integer
- */
- public static function getTopNavPrio() {
- return 100;
- }
-
- /**
- * controller to invoke
- * @return string
- */
- public static function getController() {
- return 'mail';
- }
-
- /**
- * action to invoke
- * @return string
- */
- public static function getAction() {
- return 'index';
- }
-
- /**
- * get text for menu, caller is responsible for translating
- * @return string
- */
- public static function getMenuText() {
- return 'Mail';
- }
-}
+<?php + +require_once (FWACTIONS_PATH . '/FWAction.php'); + +class Mail extends FWAction { + /** + * get a list of required permissions that are needed to access this action + * @return array + */ + public static function getRequiredPermissions() { + return array(); + } + + /** + * get a role that is required for accessing that action + * @return string + */ + public static function getRequiredRole() { + return 'User'; + } + + /** + * sort order for top navigation + * @return integer + */ + public static function getTopNavPrio() { + return 100; + } + + /** + * controller to invoke + * @return string + */ + public static function getController() { + return 'mail'; + } + + /** + * action to invoke + * @return string + */ + public static function getAction() { + return 'index'; + } + + /** + * get text for menu, caller is responsible for translating + * @return string + */ + public static function getMenuText() { + return 'Mail'; + } +} diff --git a/manager/library/actions/FWAction.php b/manager/library/actions/FWAction.php index 346e4fa..3bd2879 100644 --- a/manager/library/actions/FWAction.php +++ b/manager/library/actions/FWAction.php @@ -1,7 +1,7 @@ -<?php
-/**
- * @author markus
- */
-abstract class FWAction {
-
-}
+<?php +/** + * @author markus + */ +abstract class FWAction { + +} |