diff --git a/admin/panels/uploader/admin.uploader.php b/admin/panels/uploader/admin.uploader.php index 0d16c3a..8cc6ca2 100755 --- a/admin/panels/uploader/admin.uploader.php +++ b/admin/panels/uploader/admin.uploader.php @@ -29,8 +29,9 @@ class admin_uploader_default extends AdminPanelAction { ); function main() { - if ($f = sess_remove('admin_uploader_files')) + if ($f = sess_remove('admin_uploader_files')) { $this->smarty->assign('uploaded_files', $f); + } } function onupload() { @@ -97,6 +98,7 @@ class admin_uploader_default extends AdminPanelAction { // I've not put BMPs $uploaded_files = array(); + $this->smarty->assign('uploaded_files', $uploaded_files); foreach ($_FILES ["upload"] ["error"] as $key => $error) { diff --git a/setup/lang/lang.en-us.php b/setup/lang/lang.en-us.php index e7d0f37..fb3a6fb 100644 --- a/setup/lang/lang.en-us.php +++ b/setup/lang/lang.en-us.php @@ -119,7 +119,7 @@ You can find two [b]static pages[/b] ready to accept your contents: [h4]Widgets[/h4] -There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area. +There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars surrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area. These elements are called [b]widgets[/b]. For more on widgets and [url=https://wiki.flatpress.org/doc:tips:widgets]some tips[/url] to get nice effects, take a look at the [url=https://wiki.flatpress.org/]wiki[/url]. diff --git a/setup/lang/lang.ja-jp.php b/setup/lang/lang.ja-jp.php index d4886d9..f6d5a00 100644 --- a/setup/lang/lang.ja-jp.php +++ b/setup/lang/lang.ja-jp.php @@ -123,7 +123,7 @@ We have created some more sample content, to show you some of the FP well hidden [h4]Widgets[/h4] -There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area. +There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars surrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area. These elements are called [url=http://wiki.flatpress.org/doc:widgets]widgets[/url].