Added footer, added radio buttons for single option polls, fixed voting bug
This commit is contained in:
13
globals.php
13
globals.php
@ -51,7 +51,18 @@ function get_page_header(
|
||||
. $greeting
|
||||
. '<div class="spacer"></div>'
|
||||
. $logout_link
|
||||
. '</header>';
|
||||
. '</header><main>';
|
||||
}
|
||||
|
||||
function get_page_footer()
|
||||
{
|
||||
$version = json_decode(file_get_contents(__DIR__ . '/composer.json'), true)['version'];
|
||||
return '</main><footer>'
|
||||
. '<a href="https://phlaym.net/git/phlaym/Pfadlock/releases/tag/'.$version.'">Version ' . $version . '</a>'
|
||||
. '<a href="https://phlaym.net/git/phlaym/Dragonpolls" title="Source"><div class="linkcontents">'
|
||||
. file_get_contents(__DIR__.'/icons/home.svg')
|
||||
. '<span class="linklabel">Source Code</span></div></a>'
|
||||
. '</footer></body></html>';
|
||||
}
|
||||
|
||||
function redirect($to)
|
||||
|
Reference in New Issue
Block a user