From ef360f0a5ce9b422642a395d1cbd62dac8dda973 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 19 Feb 2013 19:08:04 -0800 Subject: dang - this is almost testable. Still have to figure out the best way to deal with the profile photo. Otherwise if you're really brave you could give it a go and see what happens. The worst that could happen is that it destroys the universe. Not a big deal. More likely you could end up with a bunch of imported things that have to be cleaned up. Less likely but entirely possible is that nothing useful will happen at all and it'll white screen. --- view/css/mod_import.css | 37 +++++++++++++++++++++++++++++++++++++ view/php/mod_import.php | 2 ++ view/tpl/new_channel.tpl | 4 ++-- view/tpl/smarty3/new_channel.tpl | 4 ++-- 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 view/css/mod_import.css create mode 100644 view/php/mod_import.php (limited to 'view') diff --git a/view/css/mod_import.css b/view/css/mod_import.css new file mode 100644 index 000000000..8b988b324 --- /dev/null +++ b/view/css/mod_import.css @@ -0,0 +1,37 @@ +h2 { + margin-left: 15%; + margin-top: 8%; +} + +#import-channel-form { + font-size: 1.4em; + margin-left: 15%; + margin-top: 5%; + width: 50%; +} + + + +#import-channel-form .descriptive-paragraph { + color: #888; + margin-left: 20px; + margin-bottom: 25px; +} + +.import-label { + float: left; + width: 275px; +} + +.import-input { + float: left; + width: 275px; + padding: 5px; +} + + +.import-field-end { + clear: both; + margin-bottom: 20px; +} + diff --git a/view/php/mod_import.php b/view/php/mod_import.php new file mode 100644 index 000000000..1ca2866bc --- /dev/null +++ b/view/php/mod_import.php @@ -0,0 +1,2 @@ +page['template'] = 'full'; diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index f83bc3a11..0ea764621 100644 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -19,8 +19,8 @@
$nick_desc
- - + +
diff --git a/view/tpl/smarty3/new_channel.tpl b/view/tpl/smarty3/new_channel.tpl index c76eaf04e..a7aa44991 100644 --- a/view/tpl/smarty3/new_channel.tpl +++ b/view/tpl/smarty3/new_channel.tpl @@ -24,8 +24,8 @@
{{$nick_desc}}
- - + +
-- cgit v1.2.3