*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
c43389f79a
commit
884f44ce94
108 changed files with 407 additions and 437 deletions
|
@ -38,7 +38,7 @@ function theme_admin_post(&$a){
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/// @TODO $a is no longer used
|
||||
function clean_form(&$a, &$colorset, $user){
|
||||
$colorset = array(
|
||||
'default'=>t('default'),
|
||||
|
@ -56,9 +56,9 @@ function clean_form(&$a, &$colorset, $user){
|
|||
}
|
||||
$t = get_markup_template("theme_settings.tpl" );
|
||||
$o .= replace_macros($t, array(
|
||||
'$submit' => t('Submit'),
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$title' => t("Theme settings"),
|
||||
'$submit' => t('Submit'),
|
||||
'$baseurl' => App::get_baseurl(),
|
||||
'$title' => t("Theme settings"),
|
||||
'$colorset' => array('duepuntozero_colorset', t('Variations'), $color, '', $colorset),
|
||||
));
|
||||
return $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue