From c5e534c0cb939b9730f289a844f24b1121e6e9cf Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 10 Jul 2016 07:21:52 -0400 Subject: Clearer import control interface --- include/text.php | 8 ++++++-- view/tpl/website_import_tools.tpl | 28 ++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/include/text.php b/include/text.php index 57339e16d..096c8a5aa 100644 --- a/include/text.php +++ b/include/text.php @@ -2264,9 +2264,13 @@ function website_import_tools() { $who = $channel['channel_address']; - return replace_macros(get_markup_template('design_tools.tpl'), array( + return replace_macros(get_markup_template('website_import_tools.tpl'), array( '$title' => t('Import'), - '$who' => $who, + //'$who' => $who, + '$import_label' => t('Import website...'), + '$import_placeholder' => t('Select folder to import'), + '$file_upload_text' => t('Import from a zipped folder:'), + '$file_import_text' => t('Import from cloud files:') )); } diff --git a/view/tpl/website_import_tools.tpl b/view/tpl/website_import_tools.tpl index 2e319b61d..09b100926 100644 --- a/view/tpl/website_import_tools.tpl +++ b/view/tpl/website_import_tools.tpl @@ -1,7 +1,23 @@ -
-

{{$title}}

-

Import website from cloud files

- +
+

{{$title}}

+
-- cgit v1.2.3