# HG changeset patch # User Matti Hamalainen # Date 1388808247 -7200 # Node ID 78b4eb3a9719a36345754d1735b608294afe87bc # Parent 16d0369e23f52802e1b41b51a4330de51912f081 Add link to the page with current settings, etc. diff -r 16d0369e23f5 -r 78b4eb3a9719 index.php --- a/index.php Sat Jan 04 06:03:43 2014 +0200 +++ b/index.php Sat Jan 04 06:04:07 2014 +0200 @@ -77,6 +77,11 @@ "Style" => array( "fi" => "Tyyli", ), + + "currLukLink" => array( + "fi" => "Linkki tähän lukujärjestykseen nykyisillä asetuksilla (kieli, jne.)", + "en" => "Link to the this timetable with current settings (language, etc.)", + ), // "" => array("fi" => ), ); @@ -512,7 +517,12 @@ " Mobile\n"; } +$currURL = $baseURI."?luokka=".$luokka."&lang=".$pageLang. + (isset($pageCSSIndex) ? "&css=".$pageCSSIndex : ""). + ($nextPeriod ? "&next" : ""); + echo + " Link\n". " \n". " \n". "\n".