[*] MO : updated modules for mobile theme
This commit is contained in:
1 parent
002b989c68
commit
476cce4f41
3 files changed
+4
-3
No files matched your search
@@ -87,6 +87,7 @@ class BlockLanguages extends Module
|
|||||||
if (count($default_rewrite))
|
if (count($default_rewrite))
|
||||||
$this->smarty->assign('lang_rewrite_urls', $default_rewrite);
|
$this->smarty->assign('lang_rewrite_urls', $default_rewrite);
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<input type="hidden" name="controller" value="search" />
|
<input type="hidden" name="controller" value="search" />
|
||||||
<input type="hidden" name="orderby" value="position" />
|
<input type="hidden" name="orderby" value="position" />
|
||||||
<input type="hidden" name="orderway" value="desc" />
|
<input type="hidden" name="orderway" value="desc" />
|
||||||
<input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />
|
<input class="search_query" type="search" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{else}
|
{else}
|
||||||
|
|||||||
@@ -51,10 +51,10 @@ class BlockSearch extends Module
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookMobileTop($params)
|
public function hookDisplayMobileTop($params)
|
||||||
{
|
{
|
||||||
$this->smarty->assign('hook_mobile', true);
|
$this->smarty->assign('hook_mobile', true);
|
||||||
$this->hookTop($params);
|
return $this->hookTop($params);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookHeader($params)
|
public function hookHeader($params)
|
||||||
|
|||||||
Reference in new issue
Block a user