diff --git a/view/theme/duepuntozero/config.php b/view/theme/duepuntozero/config.php
index 48c9c8709..381b06716 100644
--- a/view/theme/duepuntozero/config.php
+++ b/view/theme/duepuntozero/config.php
@@ -3,7 +3,7 @@
* Theme settings
*/
-function theme_content(App &$a){
+function theme_content(App $a) {
if (!local_user()) {
return;
}
@@ -14,7 +14,7 @@ function theme_content(App &$a){
return clean_form($a, $colorset, $user);
}
-function theme_post(App &$a){
+function theme_post(App $a) {
if (! local_user()) {
return;
}
@@ -24,23 +24,23 @@ function theme_post(App &$a){
}
}
-function theme_admin(App &$a){
+function theme_admin(App $a) {
$colorset = get_config( 'duepuntozero', 'colorset');
$user = false;
return clean_form($a, $colorset, $user);
}
-function theme_admin_post(App &$a){
+function theme_admin_post(App $a) {
if (isset($_POST['duepuntozero-settings-submit'])){
set_config('duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
}
}
/// @TODO $a is no longer used
-function clean_form(&$a, &$colorset, $user){
+function clean_form(App $a, &$colorset, $user) {
$colorset = array(
- 'default' =>t('default'),
+ 'default' =>t('default'),
'greenzero' =>t('greenzero'),
'purplezero' =>t('purplezero'),
'easterbunny' =>t('easterbunny'),
diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php
index bf1d031de..7d3c22469 100644
--- a/view/theme/duepuntozero/theme.php
+++ b/view/theme/duepuntozero/theme.php
@@ -1,6 +1,6 @@
page['htmlhead'] .= <<< EOT
';
$a->page['htmlhead'] .= '';;
}
diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php
index 32c48fffa..7e8744f0d 100644
--- a/view/theme/smoothly/theme.php
+++ b/view/theme/smoothly/theme.php
@@ -10,7 +10,7 @@
* Screenshot: Screenshot
*/
-function smoothly_init(App &$a) {
+function smoothly_init(App $a) {
set_template_engine($a, 'smarty3');
$cssFile = null;
@@ -20,7 +20,7 @@ $a->page['htmlhead'] .= <<< EOT