*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
97c507e763
commit
f8a213e23b
19 changed files with 226 additions and 196 deletions
|
@ -42,13 +42,13 @@ function theme_admin_post(App &$a){
|
|||
/// @TODO $a is no longer used
|
||||
function clean_form(&$a, &$colorset, $user){
|
||||
$colorset = array(
|
||||
'default'=>t('default'),
|
||||
'greenzero'=>t('greenzero'),
|
||||
'purplezero'=>t('purplezero'),
|
||||
'easterbunny'=>t('easterbunny'),
|
||||
'darkzero'=>t('darkzero'),
|
||||
'comix'=>t('comix'),
|
||||
'slackr'=>t('slackr'),
|
||||
'default' =>t('default'),
|
||||
'greenzero' =>t('greenzero'),
|
||||
'purplezero' =>t('purplezero'),
|
||||
'easterbunny' =>t('easterbunny'),
|
||||
'darkzero' =>t('darkzero'),
|
||||
'comix' =>t('comix'),
|
||||
'slackr' =>t('slackr'),
|
||||
);
|
||||
|
||||
if ($user) {
|
||||
|
@ -62,7 +62,7 @@ function clean_form(&$a, &$colorset, $user){
|
|||
$o .= replace_macros($t, array(
|
||||
'$submit' => t('Submit'),
|
||||
'$baseurl' => App::get_baseurl(),
|
||||
'$title'=> t("Theme settings"),
|
||||
'$title' => t("Theme settings"),
|
||||
'$colorset' => array('duepuntozero_colorset', t('Variations'), $color, '', $colorset),
|
||||
));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue