Skip to content

Commit

Permalink
🔨 #7 alterando index
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jul 21, 2020
1 parent 463fe6a commit c187577
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
$menu_string = AdiantiMenuBuilder::parse('menu.xml', $theme);
$content = str_replace('{MENU}', $menu_string, $content);

//---FORMDIN 5 -------------------------
$content = str_replace('{head_title}', $ini['general']['application'], $content);
$content = str_replace('{formdin_min_version}', $ini['system']['formdin_min_version'], $content);
$content = str_replace('{formdin_version}', FormDinHelper::version(), $content);
$content = str_replace('{system_version}', $ini['system']['version'], $content);
$content = str_replace('{system_name}', $ini['system']['system_name'], $content);
$content = str_replace('{system_name_sub}', $ini['system']['system_name_sub'], $content);
$content = str_replace('{logo-mini}', $ini['system']['logo-mini'], $content);
$content = str_replace('{logo-lg}', $ini['system']['logo-lg'], $content);
$content = str_replace('{logo-link-class}', $ini['system']['logo-link-class'], $content);
$content = str_replace('{login-link}', $ini['system']['login-link'], $content);
//---FIM FORMDIN 5 -----------------------

$content = ApplicationTranslator::translateTemplate($content);
$content = str_replace('{LIBRARIES}', file_get_contents("app/templates/{$theme}/libraries.html"), $content);
Expand Down

0 comments on commit c187577

Please sign in to comment.