This should add the correct class

This commit is contained in:
Daniel Løvbrøtte Olsen 2015-12-28 18:42:55 +01:00
parent f8a7156371
commit c36cc25cd5

View file

@ -29,6 +29,7 @@ EOD
$message_html = empty($main_text) ? "" : "<div class='space' id='message'>$main_text</div>";
$counter_html = empty($counter_text) ? "" : "<div class='mdl-typography--text-center' id='counter'>$counter_text</div>";
$contact_link = empty($contact_link) ? "" : "<br><a href='mailto:$contact_link'>Contact</a> -";
$main_links_html = empty($main_links) ? "" : preg_replace(shm-clink, mdl-navigation__link, $main_links);
$search_html = "
<div class='mdl-grid'>
<div class='mdl-layout-spacer'></div>
@ -49,7 +50,7 @@ EOD
<div class='mdl-layout__drawer'>
<span class='mdl-layout-title'>$sitename</span>
<nav class='mdl-navigation'>
$main_links
$main_links_html
</nav>
</div>
<main class='mdl-layout__content'>