user shop sites
This commit is contained in:
parent
22a2b4710a
commit
dc857e88d5
37 changed files with 2044 additions and 869 deletions
|
|
@ -38,10 +38,10 @@ class HTMLHelper
|
|||
}
|
||||
|
||||
public static function getRoleLabel($role_id = 0){
|
||||
return '<span class="badge badge-pill '.self::getLable($role_id).'">'.self::$roles[$role_id].'</span>';
|
||||
return '<span class="badge badge-pill '.self::getLabel($role_id).'">'.self::$roles[$role_id].'</span>';
|
||||
}
|
||||
|
||||
public static function getLable($id){
|
||||
public static function getLabel($id){
|
||||
switch ($id) {
|
||||
case 0:
|
||||
return 'badge-default';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue