mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
95547cf6b8
|
@ -1403,9 +1403,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
$attrs[] = array('href', $config['remote']);
|
$attrs[] = array('href', $config['remote']);
|
||||||
$attrs[] = array('data-toggle', 'modal');
|
$attrs[] = array('data-toggle', 'modal');
|
||||||
$attrs[] = array('role', 'button');
|
$attrs[] = array('role', 'button');
|
||||||
if(isset($config['class']))
|
if(isset($config['class'])) {
|
||||||
|
if($config['class'])
|
||||||
$attrs[] = array('class', $config['class']);
|
$attrs[] = array('class', $config['class']);
|
||||||
else
|
} else
|
||||||
$attrs[] = array('class', 'btn');
|
$attrs[] = array('class', 'btn');
|
||||||
return $attrs;
|
return $attrs;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
|
@ -1324,9 +1324,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
||||||
$attrs[] = array('href', $config['remote']);
|
$attrs[] = array('href', $config['remote']);
|
||||||
$attrs[] = array('data-toggle', 'modal');
|
$attrs[] = array('data-toggle', 'modal');
|
||||||
$attrs[] = array('role', 'button');
|
$attrs[] = array('role', 'button');
|
||||||
if(isset($config['class']))
|
if(isset($config['class'])) {
|
||||||
|
if($config['class'])
|
||||||
$attrs[] = array('class', $config['class']);
|
$attrs[] = array('class', $config['class']);
|
||||||
else
|
} else
|
||||||
$attrs[] = array('class', 'btn');
|
$attrs[] = array('class', 'btn');
|
||||||
return $attrs;
|
return $attrs;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user