From c88674aaf23ede573f19a2b363dfccf9627a5dcb Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 25 Mar 2012 19:05:14 -0700 Subject: theme preview for end users --- view/field_themeselect.tpl | 9 +++++++++ view/settings.tpl | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 view/field_themeselect.tpl (limited to 'view') diff --git a/view/field_themeselect.tpl b/view/field_themeselect.tpl new file mode 100755 index 000000000..f9f99492c --- /dev/null +++ b/view/field_themeselect.tpl @@ -0,0 +1,9 @@ + +
+ + + $field.3 +
+
diff --git a/view/settings.tpl b/view/settings.tpl index 2b739c968..75225a0f1 100755 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -28,7 +28,7 @@ $nickname_block {{inc field_custom.tpl with $field=$timezone }}{{endinc}} {{inc field_input.tpl with $field=$defloc }}{{endinc}} {{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}} -{{inc field_select.tpl with $field=$theme }}{{endinc}} +{{inc field_themeselect.tpl with $field=$theme }}{{endinc}} {{inc field_input.tpl with $field=$ajaxint }}{{endinc}} {{inc field_input.tpl with $field=$itemspage_network }}{{endinc}} {{inc field_checkbox.tpl with $field=$nosmile}}{{endinc}} -- cgit v1.2.3 From a06185e87c63c31fb6ea284fad7fbcf0acff7b79 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 25 Mar 2012 20:08:28 -0700 Subject: screenshot gallery --- view/theme/darkbubble/screenshot.jpg | Bin 0 -> 71056 bytes view/theme/darkzero/screenshot.jpg | Bin 0 -> 84200 bytes view/theme/diabook/screenshot.jpg | Bin 0 -> 59386 bytes view/theme/dispy/screenshot.jpg | Bin 0 -> 60400 bytes view/theme/duepuntozero/screenshot.jpg | Bin 0 -> 72559 bytes view/theme/easterbunny/screenshot.jpg | Bin 0 -> 82074 bytes view/theme/greenzero/screenshot.jpg | Bin 0 -> 71106 bytes view/theme/quattro-green/screenshot.png | Bin 0 -> 147135 bytes view/theme/quattro/screenshot.jpg | Bin 0 -> 71709 bytes view/theme/slackr/screenshot.jpg | Bin 0 -> 75494 bytes view/theme/testbubble/screenshot.jpg | Bin 0 -> 67853 bytes view/theme/vier/screenshot.jpg | Bin 0 -> 78347 bytes 12 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 view/theme/darkbubble/screenshot.jpg create mode 100644 view/theme/darkzero/screenshot.jpg create mode 100644 view/theme/diabook/screenshot.jpg create mode 100644 view/theme/dispy/screenshot.jpg create mode 100644 view/theme/duepuntozero/screenshot.jpg create mode 100644 view/theme/easterbunny/screenshot.jpg create mode 100644 view/theme/greenzero/screenshot.jpg create mode 100644 view/theme/quattro-green/screenshot.png create mode 100644 view/theme/quattro/screenshot.jpg create mode 100644 view/theme/slackr/screenshot.jpg create mode 100644 view/theme/testbubble/screenshot.jpg create mode 100644 view/theme/vier/screenshot.jpg (limited to 'view') diff --git a/view/theme/darkbubble/screenshot.jpg b/view/theme/darkbubble/screenshot.jpg new file mode 100644 index 000000000..0d9af2c04 Binary files /dev/null and b/view/theme/darkbubble/screenshot.jpg differ diff --git a/view/theme/darkzero/screenshot.jpg b/view/theme/darkzero/screenshot.jpg new file mode 100644 index 000000000..e91ae13f5 Binary files /dev/null and b/view/theme/darkzero/screenshot.jpg differ diff --git a/view/theme/diabook/screenshot.jpg b/view/theme/diabook/screenshot.jpg new file mode 100644 index 000000000..abc31e329 Binary files /dev/null and b/view/theme/diabook/screenshot.jpg differ diff --git a/view/theme/dispy/screenshot.jpg b/view/theme/dispy/screenshot.jpg new file mode 100644 index 000000000..81ee35afb Binary files /dev/null and b/view/theme/dispy/screenshot.jpg differ diff --git a/view/theme/duepuntozero/screenshot.jpg b/view/theme/duepuntozero/screenshot.jpg new file mode 100644 index 000000000..5f00ec39e Binary files /dev/null and b/view/theme/duepuntozero/screenshot.jpg differ diff --git a/view/theme/easterbunny/screenshot.jpg b/view/theme/easterbunny/screenshot.jpg new file mode 100644 index 000000000..5ac613e78 Binary files /dev/null and b/view/theme/easterbunny/screenshot.jpg differ diff --git a/view/theme/greenzero/screenshot.jpg b/view/theme/greenzero/screenshot.jpg new file mode 100644 index 000000000..692ad354b Binary files /dev/null and b/view/theme/greenzero/screenshot.jpg differ diff --git a/view/theme/quattro-green/screenshot.png b/view/theme/quattro-green/screenshot.png new file mode 100644 index 000000000..a764f4f9a Binary files /dev/null and b/view/theme/quattro-green/screenshot.png differ diff --git a/view/theme/quattro/screenshot.jpg b/view/theme/quattro/screenshot.jpg new file mode 100644 index 000000000..7f50ec70e Binary files /dev/null and b/view/theme/quattro/screenshot.jpg differ diff --git a/view/theme/slackr/screenshot.jpg b/view/theme/slackr/screenshot.jpg new file mode 100644 index 000000000..eb1586d5d Binary files /dev/null and b/view/theme/slackr/screenshot.jpg differ diff --git a/view/theme/testbubble/screenshot.jpg b/view/theme/testbubble/screenshot.jpg new file mode 100644 index 000000000..ac9136a25 Binary files /dev/null and b/view/theme/testbubble/screenshot.jpg differ diff --git a/view/theme/vier/screenshot.jpg b/view/theme/vier/screenshot.jpg new file mode 100644 index 000000000..f8e0bf8e6 Binary files /dev/null and b/view/theme/vier/screenshot.jpg differ -- cgit v1.2.3 From ba28362242c18ff9ab8c5c03785cd4196642ea73 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 25 Mar 2012 21:12:10 -0700 Subject: position the theme-preview on settings page --- view/theme/duepuntozero/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view') diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index b79b00ef4..b1c2fb77e 100755 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -249,6 +249,10 @@ div.wall-item-content-wrapper.shiny { background: #FFFFC8; } +#theme-preview { + margin: 15px 0 15px 150px; +} + /* from default */ #jot-perms-icon, #profile-location, -- cgit v1.2.3 From 37f02424f801b3132b75b39d4132f35025667a75 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 26 Mar 2012 07:02:27 +0200 Subject: small fix --- view/theme/diabook-blue/communityhome.tpl | 2 +- view/theme/diabook-blue/theme.php | 7 ++++--- view/theme/diabook/communityhome.tpl | 2 +- view/theme/diabook/theme.php | 7 +------ 4 files changed, 7 insertions(+), 11 deletions(-) (limited to 'view') diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index 5b807c8ad..5bae06178 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -46,7 +46,7 @@ {{ endif }} -{{ if $lastusers_title }} +{{ if $page }}
$page
{{ endif }} diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 2c878e6f0..a5f4490ba 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -18,7 +18,7 @@ $cssFile = null; /** * prints last community activity */ -function diabook_community_info(){ +function diabook_blue_community_info(){ $a = get_app(); //right_aside at networkpages @@ -170,6 +170,7 @@ function diabook_community_info(){ if (sizeof($contacts) > 0) $aside['$page'] = $page; + //END Community Page @@ -214,7 +215,7 @@ if ($a->argv[0] === "network" && local_user()){ } // COMMUNITY - diabook_community_info(); + diabook_blue_community_info(); // CUSTOM CSS $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/style-network.css"; @@ -227,7 +228,7 @@ if ($a->argv[0] === "network" && local_user()){ if ($a->argv[0] === "profile"){ // COMMUNITY - diabook_community_info(); + diabook_blue_community_info(); // CUSTOM CSS $cssFile = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/style-profile.css"; diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index c1b395dbe..1ba9ad081 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -46,7 +46,7 @@ {{ endif }} -{{ if $lastusers_title }} +{{ if $page }}
$page
{{ endif }} diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 5b87e3142..5bd206100 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -252,12 +252,7 @@ $a->page['htmlhead'] .= <<< EOT $('a.lightbox').fancybox(); // Select all links with lightbox class }); - $(document).ready(function () -$('iframe').each(function() -var url = $(this).attr("src"); -$(this).attr("src",url+"?wmode=transparent"); -); -); + EOT; -- cgit v1.2.3