1
0
Fork 0
mirror of https://github.com/Oreolek/kangana.git synced 2024-06-28 20:55:09 +03:00

show search form only on login

This commit is contained in:
Alexander Yakovlev 2014-02-02 14:15:00 +07:00
parent fb4306ec7a
commit 2797781024

View file

@ -115,6 +115,8 @@ class View_Layout {
}
public function search_form()
{
if (Auth::instance()->logged_in())
{
return array(
'button_text' => __('Submit'),
@ -123,3 +125,4 @@ class View_Layout {
);
}
}
}