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