2017-01-22 12:03:31 +00:00
|
|
|
/**
|
|
|
|
* Differents pages listing
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
ComunicWeb.pagesList = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Home page
|
|
|
|
*/
|
|
|
|
home: {
|
2017-05-25 13:06:01 +00:00
|
|
|
pageTitle: "Comunic",
|
2017-02-18 17:26:30 +00:00
|
|
|
methodHandler: "ComunicWeb.pages.home.home.openHomePage",
|
2017-05-21 15:25:41 +00:00
|
|
|
disableMenus: false,
|
2017-01-22 12:03:31 +00:00
|
|
|
},
|
|
|
|
|
2017-12-10 07:13:22 +00:00
|
|
|
/**
|
|
|
|
* User profile page
|
|
|
|
*/
|
|
|
|
user: {
|
|
|
|
pageTitle: "User Page",
|
|
|
|
methodHandler: "ComunicWeb.pages.userPage.main.open",
|
|
|
|
disableMenus: false,
|
|
|
|
},
|
|
|
|
|
2018-02-01 05:57:01 +00:00
|
|
|
/**
|
|
|
|
* Single post page
|
|
|
|
*/
|
|
|
|
post: {
|
|
|
|
pageTitle: "Post",
|
|
|
|
methodHandler: "ComunicWeb.pages.postPage.main.open",
|
|
|
|
disableMenus: false
|
|
|
|
},
|
|
|
|
|
2018-02-02 05:56:52 +00:00
|
|
|
/**
|
|
|
|
* Latest post
|
|
|
|
*/
|
|
|
|
latest: {
|
|
|
|
pageTitle: "Latest",
|
|
|
|
methodHandler: "ComunicWeb.pages.latestPosts.main.open",
|
|
|
|
disableMenus: false
|
|
|
|
},
|
|
|
|
|
2017-02-18 17:37:36 +00:00
|
|
|
/**
|
|
|
|
* Login page
|
|
|
|
*/
|
|
|
|
login: {
|
|
|
|
pageTitle: "Login page",
|
|
|
|
methodHandler: "ComunicWeb.pages.login.openLoginPage",
|
2017-05-21 15:25:41 +00:00
|
|
|
disableMenus: true,
|
2017-02-18 17:37:36 +00:00
|
|
|
},
|
|
|
|
|
2018-04-11 08:10:11 +00:00
|
|
|
/**
|
|
|
|
* Create account page
|
|
|
|
*/
|
|
|
|
create_account: {
|
|
|
|
pageTitle: "Create an account",
|
|
|
|
methodHandler: "ComunicWeb.pages.createAccount.openPage",
|
|
|
|
disableMenus: false
|
|
|
|
},
|
|
|
|
|
2018-04-11 10:25:50 +00:00
|
|
|
/**
|
|
|
|
* Account created page
|
|
|
|
*/
|
|
|
|
account_created: {
|
|
|
|
pageTitle: "Account created",
|
|
|
|
methodHandler: "ComunicWeb.pages.accountCreated.open",
|
|
|
|
disableMenus: false,
|
|
|
|
},
|
|
|
|
|
2017-03-01 14:37:55 +00:00
|
|
|
/**
|
|
|
|
* Logout page
|
|
|
|
*/
|
|
|
|
logout: {
|
|
|
|
pageTitle: "Logout",
|
|
|
|
methodHandler: "ComunicWeb.pages.logout.openLogoutPage",
|
2017-05-24 14:37:41 +00:00
|
|
|
disableMenus: true,
|
2017-03-01 14:37:55 +00:00
|
|
|
},
|
|
|
|
|
2017-01-22 12:03:31 +00:00
|
|
|
/**
|
|
|
|
* 404 Page not found
|
|
|
|
*/
|
|
|
|
notFound: {
|
2017-01-22 17:46:06 +00:00
|
|
|
pageTitle: "404 page not found",
|
|
|
|
methodHandler: "ComunicWeb.common.error.pageNotFound",
|
2017-01-22 12:03:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
};
|