i18n_book_navigation |
./i18n_book_navigation.module |
Gets the translated menu tree for the original node. |
2 |
|
i18n_book_navigation_block |
./i18n_book_navigation.module |
Implementation of hook_block() |
|
|
i18n_book_navigation_children |
./i18n_book_navigation.module |
Loads the direct child elements.
Port from book_children(). Will perform a similar task, but will also translate
the links. |
1 |
|
i18n_book_navigation_cleanup |
./i18n_book_navigation.module |
Cleans up the tree.
Depending on the translation mode, some leaves my be displayed as "empty".
Walks down the tree and unsets all "empty" items. |
3 |
|
i18n_book_navigation_get_books |
./i18n_book_navigation.module |
Gets all the available books.
Port from book_get_books(). Needs to deactivate the i18n module in order to
retreive all books, regardless of the language settings. |
1 |
|
i18n_book_navigation_get_original_node |
./i18n_book_navigation.module |
Gets the original node based on the current, translated version. |
4 |
|
i18n_book_navigation_get_translated_node |
./i18n_book_navigation.module |
Gets the translated node based on the link path.
The returned value depends on the availability of a translation and the i18n
settings. |
1 |
|
i18n_book_navigation_link_load |
./i18n_book_navigation.module |
Loads a link.
Port from book_link_load(). Will translate the link after loading it. |
1 |
|
i18n_book_navigation_menu_block_tree_alter |
./i18n_book_navigation.module |
Implementation of hook_menu_block_tree_alter() from the Menu Block module.
A menu block configured for book navigations can now also be translated. |
|
|
i18n_book_navigation_menu_titles |
./i18n_book_navigation.module |
Gets the menu titles for the book path.
Port of _menu_titles of the token module. Will translate the tree before fetching
the titles. |
1 |
|
i18n_book_navigation_next |
./i18n_book_navigation.module |
Loads the next link in the book.
Port from book_next(). Will translate the link after loading it. |
1 |
|
i18n_book_navigation_nodeapi |
./i18n_book_navigation.module |
Implementation of hook_nodeapi() |
|
|
i18n_book_navigation_presave_translation |
./i18n_book_navigation.module |
Implementation of hook_presave_translation() from the Translation Management module.
New translated nodes should not be saved with book information as it inteferes with
this module. |
|
|
i18n_book_navigation_prev |
./i18n_book_navigation.module |
Loads the previous link in the book.
Port from book_prev(). Will translate the link after loading it. |
1 |
|
i18n_book_navigation_set_breadcrumb |
./i18n_book_navigation.module |
Sets the breadcrumb.
This is a port from menu_get_active_breadcrumb(). It will set the breadcrumb
based on the current, translated tree. |
2 |
|
i18n_book_navigation_theme |
./i18n_book_navigation.module |
Implementation of hook_theme() |
|
|
i18n_book_navigation_token_list |
./i18n_book_navigation.module |
Implementation of hook_token_list() |
|
|
i18n_book_navigation_token_values |
./i18n_book_navigation.module |
Implementation of hook_token_values() |
|
|
i18n_book_navigation_translate_tree |
./i18n_book_navigation.module |
Translates the tree.
Walks down the tree and translates every item. Will respect the translation
settings from the i18n module. |
6 |
|
template_preprocess_i18n_book_navigation |
./i18n_book_navigation.module |
Preprocesses the i18n_book_navigation.
Very similar to the book_navigation, the i18n_book_navigation uses the same
template file and template variables. These variables will be translated and
the urls adapted. |
|
|
_i18n_book_navigation_block |
./i18n_book_navigation.module |
Creates the block navigation.
Assembles the navigation for the "current" book outline and translates
the links into the desired language. |
1 |
|