(a0:{{index.php}} > {{ include_once}} [a3]) (a1:{{}}) > {{include}} (a2:{{language/en/}}|{{content.php}}) ||
(a3:{{include/}}|{{kml.inc.php}} > {{ include_once}} [a6]) (a4:{{}} - [a1]) > {{include}} (a5:{{language/XX/}}|{{content.php}}) ||
((a6:{{content.php}} - [a15])) - (a7:{{}} - [a4,a13]) > {{include_once}} (a8:{{include/mod/}}|{{content.php}}) ||
(a9:) (a10:) > {{include_once}} (a11:{{include/viewer/}}|{{content.php}}) ||
(a12:) (a13:) > {{include_once}} (a14:{{include/core/}}|{{pagination.inc.php}}) ||
(a15:) - {{if project_settings}}|{{permit article vote}}|{{then include_once}} (a16:) > (a17:{{include/mod/}}|{{star_rating.php}}) ||
()
|
Legend:
content.php -> Controller file for module Content
- Module settings -> load classes
- Module controller -> set action and generate info for curent page
- Module functions -> functions used on controller
Group of access:
- free - everyone has access (including visitors)
- general - only authenticated users
- editor - only authenticated users belonging to this group
- admin - only authenticated users belonging to this group
Controller actions:
- list_pages - (access free) - displays a list of approved items from the database
- add_new_page - (access admin, editor) - add a new page in the database
- edit_page - (access admin) - Edit an article
- del_page - (access admin) - delete a page from the database
- activate_page - (access admin) - activates a page to be read by visitors
- list_inactive_page - (access admin, editor) - displays a list of all items must be approved
- list_authors - (access free) - displays the list of authors and the number of items for each
- list_articles - (access free) - displays a list of articles specified by the author
- list_cat - (access free) - displays a list of existing categories
- create_cat - (access admin) - creates a new category
- edit_cat - (access admin) - change category
- -del_cat - (access admin) - delete a category
- add_comment - (access general) - Add a comment to an article
- edit_comment - (access general) - Edit your comment
- del_comment - (access admin) - Delete comment
- activate_comment - (access admin) - Activate a comment
- show_inactive_comment - (access admin, editor) - View list of unapproved comments
- show - (access free) - Displaying a list of 10 most recent articles (default action)
- list - (access free) - Show list of all articles published on the specified category
- page - (access free) - Displaying page specified + reviews
- hot_comments - (access free) - Displaying 10 most commented articles
- select_page - (access admin) - Specify a name or title page to be edited
Controller functions:
- get_module_id()
- check_user_access()
- set_where_list()
- set_page_list()
- read_content()
- form_content_add_new_page()
- check_content()
- get_del_page()
- show_form_del()
- show_authors()
- set_info_article()
- show_articles()
- show_list_cat()
- form_add_new_cat()
- get_info_form_add_new_cat()
- check_info_form_add_new_cat()
- form_select_cat()
- form_edit_cat()
- get_info_form_edit_cat()
- check_info_form_edit_cat()
- show_form_del_cat()
- show_form_ask_del_cat()
- get_info_form_ask_del_cat()
- check_info_form_ask_del_cat()
|