Cookiebot / Pixel / Kategorien erweitern
This commit is contained in:
parent
36872100c6
commit
7d1ee844eb
28 changed files with 464 additions and 246 deletions
|
|
@ -135,7 +135,7 @@ class HTMLHelper
|
|||
}
|
||||
|
||||
public static function getCategoriesOptions($ids = array(), $all = true){
|
||||
$values = Category::where('active', 1)->get();
|
||||
$values = Category::where('active', 1)->orderBy('pos', 'DESC')->get();
|
||||
$ret = "";
|
||||
if($all){
|
||||
$ret .= '<option value="">'.__('no').'</option>\n';
|
||||
|
|
|
|||
|
|
@ -228,6 +228,12 @@ class Util
|
|||
}
|
||||
return url($uri);
|
||||
}
|
||||
|
||||
public static function isMivitaShop(){
|
||||
return \Config::get('app.url') === config('app.domain').config('app.tld_shop');
|
||||
}
|
||||
|
||||
|
||||
public static function sanitize($string, $force_lowercase = true, $anal = false, $substr = false)
|
||||
{
|
||||
$strip = array("~", "`", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "=", "+", "[", "{", "]",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue