aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes_new.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/themes_new.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/admin/themes_new.php b/admin/themes_new.php
index 406b24587..13252f629 100644
--- a/admin/themes_new.php
+++ b/admin/themes_new.php
@@ -39,13 +39,7 @@ $themes = new themes();
$themes_dir = PHPWG_ROOT_PATH.'themes';
if (!is_writable($themes_dir))
{
- array_push(
- $page['errors'],
- sprintf(
- l10n('Add write access to the "%s" directory'),
- 'themes'
- )
- );
+ $page['errors'][] = l10n('Add write access to the "%s" directory', 'themes');
}
// +-----------------------------------------------------------------------+
@@ -102,7 +96,7 @@ if (isset($_GET['installstatus']))
default:
array_push(
$page['errors'],
- sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
+ l10n('An error occured during extraction (%s).', htmlspecialchars($_GET['installstatus']))
);
}
}