Warning
href
or img
or any tags that have parameters, as the HTML code is stored in the database as-is.
Warning
href
or img
or any tags that have parameters, as the HTML code is stored in the database as-is.
$g_logo_image
(see Section 5.11, “Display”) will not be shown, and the include file will have to handle display of the logo. To do so you can use the html_print_logo()
API function, which will display the logo with an URL link if one has been specified in $g_logo_url
<div id="banner" style="display: flex; align-items: center;"> <div style="width: 10%;"> <?php html_print_logo(); ?> </div> <div class="center"> <span class="pagetitle"> <?php global $g_window_title; echo $g_window_title; ?> </span> </div> <div style="width: 10%;"> </div> </div>
$g_main_menu_custom_options = array( array( 'title' => 'My Link', 'access_level' => MANAGER, 'url' => 'my_link.php', 'icon' => 'fa-plug' ), array( 'title' => 'My Link2', 'access_level' => ADMINISTRATOR, 'url' => 'my_link2.php', 'icon' => 'fa-plug' ) );Note that if the caption is found in
custom_strings_inc.php
(see Section 7.1, “Strings / Translations”), it will be replaced by the corresponding translated string. Options will only be added to the menu if the current logged in user has the appropriate access level.