]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/config.php
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding conventi...
[friendica.git] / view / theme / quattro / config.php
index db4356ccc887698b17a559a64355546d2cbf5031..2a32b9f05a7cf851c8f1cc4d8c03f9094b71669a 100644 (file)
@@ -48,7 +48,7 @@ function theme_admin_post(&$a){
        }
 }
 
-
+/// @TODO $a is no longer used here
 function quattro_form(&$a, $align, $color, $tfs, $pfs){
        $colors = array(
                "dark"=>"Quattro", 
@@ -62,7 +62,7 @@ function quattro_form(&$a, $align, $color, $tfs, $pfs){
        $t = get_markup_template("theme_settings.tpl" );
        $o .= replace_macros($t, array(
                '$submit' => t('Submit'),
-               '$baseurl' => $a->get_baseurl(),
+               '$baseurl' => App::get_baseurl(),
                '$title' => t("Theme settings"),
                '$align' => array('quattro_align', t('Alignment'), $align, '', array('left'=>t('Left'), 'center'=>t('Center'))),
                '$color' => array('quattro_color', t('Color scheme'), $color, '', $colors),