Commit cc4fc9cf authored by Mike Sheldon's avatar Mike Sheldon

Only show the language selector to logged in users

parent 0a823a8e
{if (!$logged_in)}
<p>Please <a href='{$base_url}/login.php'>log in</a> to view in other languages.</p>
<form method='get' action=''>
<label for='lang'>{t}Preferred language:{/t} </label>
<select name='lang' id='lang' onchange='this.form.submit()'>
......@@ -23,3 +26,4 @@
<input type='submit' value='{t}Change Language{/t}' />
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment