-
$abstract
-
-
$arr_lines
-
lines that will be parsed and their index
-
$authors
-
-
addbook
-
This module is used to import a new book/article in the system or to create a new one. A list of the current books in the system is displayed as well and it is also possible to remove some books from the system.
-
add_accessright_vars
-
add variables about access rights of the user
-
add_all_users_rs
-
Constructs and adds to the webpage the recordset 'all_users' with all the users of the site.
-
add_books_rs
-
Add a recordset of all the books, which will be displayed in a listbox.
-
add_book_list_rs
-
-
add_book_title
-
-
add_edit_rights
-
-
add_file_revision
-
add the variable {{file_revision}}
-
add_has_accr
-
Find the modified nodes that can be approved by user and add them in the recordset.
-
add_is_admin
-
Add in the recordset all the modified nodes in the books for which the user is admin.
-
add_items_list
-
-
add_nodetypes_rs
-
Create and add to webPage the recordset 'node_types' with the types of the nodes that can be added to the current node (preface, appendix, chapter, section, simplesect).
-
add_recordsets
-
-
add_rev_diff
-
add {{rev_diff}}, the difference
-
add_rs_books_admin
-
Add to webPage a recordset of the books for which the user is admin.
-
add_rs_langs
-
-
add_rs_modified_nodes
-
add to webPage the recordset modified_nodes
-
add_rs_nodes
-
-
add_rs_revs
-
Add to webpage a recordset of revs.
-
add_rs_tags
-
Add to webpage a recordset of tags.
-
add_rs_tags
-
Add to webpage a recordset of tags.
-
add_subitems_rs
-
add a recordset of the subitems of the selected item
-
add_subsections_rs
-
add the recordset 'subsections'
-
add_tab_items
-
Add to the webpage a recordset with the items of the tabs (modes).
-
add_to_modified_nodes
-
Append the node path to the file 'modified_nodes.txt'
-
add_uploaded_files_rs
-
create and add the recordset 'uploaded_files'
-
add_users_rs
-
Constructs and adds to the webpage the recordset 'users'.
-
add_users_rs
-
Constructs and adds to the webpage the recordset 'users'.
-
add_user_data
-
get the user data and add them to the template
-
admin
-
Some administration tasks about the book.
-
ADMIN
-
-
admin
-
Modules and interfaces that are used by the superuser and by the book admins. Is accessed through 'admin.php'.
-
afterParse
-
-
append_line
-
append the current line to the given template
-
approve
-
Review and approve (or cancel) the modifications that are done to the current node of the book.
-
APP_CONFIG_FILE
-
The file that contains additional configuration options, which are specific for the application.
-
author_to_xml
-
Gets a string like this: 'Surname, Firstname, email'
-
addbook.php
-
-
admin.php
-
-
admin.php
-
-
approve.php
-
-
DB_TYPE
-
this constant defines the type of DB that the application uses it can be: "MySQL", "Oracle", "ODBC", "ProgreSQL", etc.
-
DEBUG_GOTO
-
if this constant is true, the framework displays an alert
-
DEBUG_INCLUDES
-
if this constant is true, the framework outputs a box
-
DEBUG_RECORDSETS
-
if this constant is true, the framework outputs all the
-
DEBUG_STATEVARS
-
if this constant is true, the framework outputs the state
-
DEBUG_TEMPLATES
-
if this constant is true, the framework outputs the tree
-
DEBUG_WEBOBJECTS
-
if this constant is true, the framework outputs a box
-
delete_removefolders
-
-
delete_removefolders_all_langs
-
-
DISPLAY_CGI_VARS
-
When this constant is true, then the CGI vars are displayed at the URL window of the browser. See also SHOW_EXTERNAL_LINK at const.Debug.php.
-
display_error_messages
-
display a popup window with error messages
-
DOCBOOK
-
-
docbook
-
Handles the content of the book, editing, approving, navigation, etc.
-
docbook.php
-
-
get_arr_books_accr
-
Return an array with the books where the user has some access rights and is not admin.
-
get_arr_books_admin
-
return an array of the books for which the user is admin
-
get_arr_languages
-
This function returns an associated array of language codes and language details (like language name, codeset, etc.).
-
get_arr_navigation
-
Reads from cache 'navigation.txt' for the given node and returns an associative array with the template variables this_path, next_path, prev_path, up_path, this_title, next_title, prev_title, up_title.
-
get_book_dir
-
return the directory of the book: content/books/xml/book_id/lng/
-
get_book_list
-
Read the file books/book_list and return the associative array $arr_books, with keys 'book_id:lng' and with values 'book_title'.
-
get_book_list_arr
-
-
get_book_title
-
-
get_book_title
-
-
get_bullet
-
return the bullet of the given mark
-
get_button_vars
-
Returns an associative array with keys 'edit', 'approve' and 'admin' and whith values 'true' or 'false', according to the access rights of the current user.
-
get_content_diff
-
get the modifications of content.xml
-
get_current_line
-
get the current line that is being parsed
-
get_current_tag
-
-
get_date_str
-
Converts the given time stamp to a date string.
-
get_edit_rights
-
Reads the user edit rights file 'admin/access_rights/username'
-
get_head_revision
-
-
get_id_title
-
returns the id and the title of the current node
-
get_indentation
-
return the indentaion of the given mark
-
get_initial_xml
-
constructs and returns an intial xml document
-
get_langs
-
Returns an array of languages (en,fr,it,al) in which the book is available.
-
get_langs
-
Returns an array of languages (en,fr,it,al) in which the book is available.
-
get_langs
-
Returns an array of languages (en,fr,it,al) in which the book is available.
-
get_legalnotice
-
-
get_listitem_mark
-
-
get_media_path
-
-
get_node_content
-
Builds the content of the node by processing content.xml with xml2mode.xsl, and assigns it to a template variable.
-
get_node_references
-
Find the nodes that reference this one and return a list of them as a string (having a line for each node). The return value is empty string ('') if there are no referencies.
-
get_node_state
-
Reads the file state.txt of the current node and returns
-
get_nr_of_recs
-
-
get_nr_of_recs
-
-
get_nr_of_recs
-
-
get_page_vars
-
-
get_page_vars
-
-
get_page_vars
-
-
get_query
-
-
get_results_rs
-
Returns a recordset of search results.
-
get_revision
-
return the content.xml at the selected revision (or date, or tag)
-
get_revision_date
-
-
get_revision_nr
-
-
get_short_xml_line
-
extract from the xml line a part around the error
-
get_state_filename
-
Returns the file state.txt of the current node.
-
get_subtemplates
-
Returns an array of ids of the templates that are referenced from the contents of this template.
-
get_svn_status
-
Get the modifications made in media files
-
get_svn_url
-
return the URL of the SVN repository: file://path/book_id/lng
-
get_svn_url
-
return the URL of the SVN repository: file://path/book_id/lng
-
get_title
-
-
get_title
-
-
get_tpl_id
-
If the given line is a reference to another template, returns the id of the referenced template, otherwise return empty string ''.
-
get_user_data
-
-
GRAPHICS
-
-
$user_data
-
-
uEdit.php
-
-
uList.php
-
-
userEdit.php
-
-
userFilter.php
-
-
userList.php
-
-
user_data.php
-
-
user_data.php
-
-
uEdit
-
Admin the edit rights of a user(editor) of a book.
-
uList
-
The list of the users(editors) that can edit a book.
-
unlock_index
-
-
updatenavig_movedown
-
-
updatenavig_moveup
-
-
update_cache
-
Update the cache file content.html from content.xml
-
update_cache_files
-
-
update_cache_files_all_langs
-
-
update_navigation
-
Update the file navigation.txt for the given node and language.
-
update_navigation_all_langs
-
Update the files navigation.txt for all languages, for the given node.
-
update_subnodes_html
-
Updates the cache files 'subnodes.html' for the given language, for the given node and all its ancestors, by applying 'update-subnodes.xsl' to index.xml.
-
update_subnodes_html_all_langs
-
Updates the cache files subnodes.html for the given node, for all its ancestors, and for all the languages.
-
upload_files
-
Upload the files 'xml_file' and 'media_files'.
-
userEdit
-
userEdit modifies the details of a user (username, password, name, email and which books can admin).
-
userFilter
-
userFilter is used to select the users that are displayed in the list.
-
userList
-
userList displays the list of system users.
-
user_data
-
The user can change his data: name, email and password; he can also see which books he can manage, his edit rights and a list of nodes that are modified and he can approve.
-
USES_DB
-
if this constant is true, the framework will load the DB component