diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php
index 9df9088ed..5084a2605 100644
--- a/view/theme/vier/config.php
+++ b/view/theme/vier/config.php
@@ -17,7 +17,15 @@ function theme_content(&$a){
if ($style == "")
$style = "plus";
- return vier_form($a,$style);
+ $show_pages = get_vier_config('show_pages', true);
+ $show_profiles = get_vier_config('show_profiles', true);
+ $show_helpers = get_vier_config('show_helpers', true);
+ $show_services = get_vier_config('show_services', true);
+ $show_friends = get_vier_config('show_friends', true);
+ $show_lastusers = get_vier_config('show_lastusers', true);
+
+ return vier_form($a,$style, $show_pages, $show_profiles, $show_helpers,
+ $show_services, $show_friends, $show_lastusers);
}
function theme_post(&$a){
@@ -26,23 +34,56 @@ function theme_post(&$a){
if (isset($_POST['vier-settings-submit'])){
set_pconfig(local_user(), 'vier', 'style', $_POST['vier_style']);
+ set_pconfig(local_user(), 'vier', 'show_pages', $_POST['vier_show_pages']);
+ set_pconfig(local_user(), 'vier', 'show_profiles', $_POST['vier_show_profiles']);
+ set_pconfig(local_user(), 'vier', 'show_helpers', $_POST['vier_show_helpers']);
+ set_pconfig(local_user(), 'vier', 'show_services', $_POST['vier_show_services']);
+ set_pconfig(local_user(), 'vier', 'show_friends', $_POST['vier_show_friends']);
+ set_pconfig(local_user(), 'vier', 'show_lastusers', $_POST['vier_show_lastusers']);
}
}
function theme_admin(&$a){
$style = get_config('vier', 'style');
- return vier_form($a,$style);
+
+ $helperlist = get_config('vier', 'helperlist');
+
+ if ($helperlist == "")
+ $helperlist = "https://helpers.pyxis.uberspace.de/profile/helpers";
+
+ $t = get_markup_template("theme_admin_settings.tpl");
+ $o .= replace_macros($t, array(
+ '$helperlist' => array('vier_helperlist', t('Comma separated list of helper forums'), $helperlist, '', ''),
+ ));
+
+ $show_pages = get_vier_config('show_pages', true, true);
+ $show_profiles = get_vier_config('show_profiles', true, true);
+ $show_helpers = get_vier_config('show_helpers', true, true);
+ $show_services = get_vier_config('show_services', true, true);
+ $show_friends = get_vier_config('show_friends', true, true);
+ $show_lastusers = get_vier_config('show_lastusers', true, true);
+ $o .= vier_form($a,$style, $show_pages, $show_profiles, $show_helpers, $show_services,
+ $show_friends, $show_lastusers);
+
+ return $o;
}
function theme_admin_post(&$a){
if (isset($_POST['vier-settings-submit'])){
set_config('vier', 'style', $_POST['vier_style']);
+ set_config('vier', 'show_pages', $_POST['vier_show_pages']);
+ set_config('vier', 'show_profiles', $_POST['vier_show_profiles']);
+ set_config('vier', 'show_helpers', $_POST['vier_show_helpers']);
+ set_config('vier', 'show_services', $_POST['vier_show_services']);
+ set_config('vier', 'show_friends', $_POST['vier_show_friends']);
+ set_config('vier', 'show_lastusers', $_POST['vier_show_lastusers']);
+ set_config('vier', 'helperlist', $_POST['vier_helperlist']);
}
}
-function vier_form(&$a, $style){
+function vier_form(&$a, $style, $show_pages, $show_profiles, $show_helpers, $show_services, $show_friends, $show_lastusers){
$styles = array(
"plus"=>"Plus",
"breathe"=>"Breathe",
@@ -51,12 +92,21 @@ function vier_form(&$a, $style){
"netcolour"=>"Coloured Networks",
"flat"=>"Flat"
);
- $t = get_markup_template("theme_settings.tpl" );
+
+ $show_or_not = array('0'=>t("don't show"), '1'=>t("show"),);
+
+ $t = get_markup_template("theme_settings.tpl");
$o .= replace_macros($t, array(
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$title' => t("Theme settings"),
'$style' => array('vier_style',t ('Set style'),$style,'',$styles),
+ '$show_pages' => array('vier_show_pages', t('Community Pages'), $show_pages, '', $show_or_not),
+ '$show_profiles' => array('vier_show_profiles', t('Community Profiles'), $show_profiles, '', $show_or_not),
+ '$show_helpers' => array('vier_show_helpers', t('Help or @NewHere ?'), $show_helpers, '', $show_or_not),
+ '$show_services' => array('vier_show_services', t('Connect Services'), $show_services, '', $show_or_not),
+ '$show_friends' => array('vier_show_friends', t('Find Friends'), $show_friends, '', $show_or_not),
+ '$show_lastusers' => array('vier_show_lastusers', t('Last users'), $show_lastusers, '', $show_or_not)
));
return $o;
}
diff --git a/view/theme/vier/hide.css b/view/theme/vier/hide.css
new file mode 100644
index 000000000..8bb89ee43
--- /dev/null
+++ b/view/theme/vier/hide.css
@@ -0,0 +1,3 @@
+aside {
+ display: none;
+}
diff --git a/view/theme/vier/shadow.css b/view/theme/vier/shadow.css
new file mode 100644
index 000000000..2f0bd9cbc
--- /dev/null
+++ b/view/theme/vier/shadow.css
@@ -0,0 +1,154 @@
+nav {
+ background: rgb(36, 76, 94);
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
+ padding: 0px;
+ padding-left: 0px;
+}
+
+nav a:active,
+nav a:link,
+nav a:visited,
+nav a {
+ color: #ccc;
+}
+
+nav a:hover,
+#nav-messages-see-all a:hover {
+ color: #fff;
+}
+
+nav .nav-notify {
+ background-color: #F80;
+ top: 0px;
+ right: -5px;
+ padding: 1px 3px;
+ border-radius: 5px 5px 5px 5px;
+}
+// -----
+nav .nav-menu-icon .nav-notify {
+ top: 0px;
+}
+
+nav .nav-menu.selected a {
+ color: #000;
+/* font-weight: bold; */
+}
+
+nav .nav-menu:hover,
+nav .nav-menu.selected {
+ border-bottom: 2px solid #427FED;
+}
+
+nav .nav-menu {
+ height: 23px;
+ font-size: 14px;
+ font-weight: initial;
+}
+
+#nav-site-menu,
+#nav-notifications-menu,
+#nav-user-menu {
+ top: 35px;
+}
+
+#nav-messages-menu {
+ top: 32px;
+}
+
+#nav-messages-see-all a {
+ color: #737373;
+}
+
+ul.tabs li .active, span.pager_current a {
+ border-bottom: 2px solid #427FED;
+}
+
+span.pager_current, span.pager_n a:hover,
+span.pager_first a:hover, span.pager_last a:hover,
+span.pager_prev a:hover, span.pager_next a:hover,
+ul.tabs a:hover {
+ border-bottom: 2px solid #427FED;
+}
+
+nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-linkmenu.selected .icon.s22.notify {
+ color: #737373;
+}
+
+nav #nav-messages-linkmenu.selected,
+nav #nav-user-linklabel.selected,
+nav #nav-apps-link.selected {
+ background-color: #fff;
+ border-bottom-style: none;
+}
+
+div.jGrowl div.info {
+ background: #fff url("../../../images/icons/48/info.png") no-repeat 5px center;
+}
+
+div.jGrowl div.notice {
+ color: #737373;
+}
+div.jGrowl div.info {
+ color: #737373;
+}
+
+.birthday-notice, .event-notice {
+ font-weight: initial;
+}
+
+div.pager, ul.tabs {
+ font-weight: initial;
+}
+
+nav .nav-menu-icon.selected {
+ background-color: #fff;
+}
+
+#jot #jot-tools li:hover {
+ background-color: #fff;
+}
+
+nav .icon {
+ color: #737373;
+}
+
+nav a:hover .icon {
+ color: #000;
+}
+
+ul.menu-popup {
+ border: 0px solid #FFF;
+ margin-top: 0px;
+}
+
+header #banner a, header #banner a:active, header #banner a:visited, header #banner a:link, header #banner a:hover {
+ color: #737373;
+}
+
+header {
+ left: 10px;
+}
+
+header #banner {
+ margin-top: 6px;
+}
+
+#banner #logo-text {
+ margin-left: 5px;
+}
+
+aside {
+ top: 44px;
+ height: calc(100% - 54px);
+}
+
+section {
+ top: 44px;
+}
+
+nav #search-box #search-text {
+ background-color: initial;
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgba(0, 0, 0, 0.15);
+}
diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css
index 77ffb53fd..aadd09c61 100644
--- a/view/theme/vier/style.css
+++ b/view/theme/vier/style.css
@@ -375,7 +375,7 @@ code {
.tool a {
/* color: #000; */
}
-.tool a:hover, .widget a:hover, #nets-sidear a:hover, #hide-forum-list:hover, .admin.link a:hover, aside h4 a:hover {
+.tool a:hover, .widget a:hover, #nets-sidear a:hover, #hide-forum-list:hover, .admin.link a:hover, aside h4 a:hover, right_aside h4 a:hover {
/* text-decoration: underline; */
text-decoration: none;
color: black;
@@ -390,8 +390,8 @@ code {
}
.sidebar-group-li:hover, #sidebar-new-group:hover, #hide-forum-list:hover,
-#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forum-list div:hover,
-.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, #message-new:hover {
+#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forum-list div:hover, #forum-list-right div:hover,
+.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, right_aside h4 a:hover, #message-new:hover {
/* background-color: #ddd; */
/* background-color: #e5e5e5; */
background-color: #F5F5F5;
@@ -409,7 +409,7 @@ code {
font-weight: bold;
}
-#sidebar-new-group, #hide-forum-list, #forum-list, #sidebar-ungrouped,
+#sidebar-new-group, #hide-forum-list, #forum-list, #forum-list-right, #sidebar-ungrouped,
.side-link, #peoplefind-desc, #connect-desc, .nets-all, .admin.link, #message-new {
padding-left: 10px;
padding-top: 3px;
@@ -418,7 +418,7 @@ code {
display: block;
}
-a.nets-link, .side-link a, #sidebar-new-group a, a.savedsearchterm, a.fileas-link, aside h4 a {
+a.nets-link, .side-link a, #sidebar-new-group a, a.savedsearchterm, a.fileas-link, aside h4 a, right_aside h4 a {
display: block;
color: #737373;
}
@@ -445,11 +445,11 @@ a.sidebar-group-element {
color: black;
}
-#forum-list a, .tool a, .admin.link a {
+#forum-list a, #forum-list-right a, .tool a, .admin.link a {
color: #737373;
}
-#forum-list {
+#forum-list, #forum-list-right {
margin-top: 2px;
}
@@ -970,7 +970,7 @@ aside #profiles-menu {
left: 10px;
}
-aside #search-text, aside #side-follow-url, aside #side-peoplefind-url {
+aside #search-text, aside #side-follow-url, aside #side-peoplefind-url, right_aside input {
width: 140px;
height: 17px;
padding-left: 10px;
@@ -984,7 +984,7 @@ aside #search-text, aside #side-follow-url, aside #side-peoplefind-url {
-moz-border-right-colors: #dbdbdb;*/
}
-aside h4 {
+aside h4, right_aside h4 {
margin-bottom: 0px;
margin-top: 0px;
font-size: 1.17em;
diff --git a/view/theme/vier/templates/ch_connectors.tpl b/view/theme/vier/templates/ch_connectors.tpl
new file mode 100644
index 000000000..2ca114807
--- /dev/null
+++ b/view/theme/vier/templates/ch_connectors.tpl
@@ -0,0 +1,2 @@
+
+
diff --git a/view/theme/vier/templates/ch_directory_item.tpl b/view/theme/vier/templates/ch_directory_item.tpl
new file mode 100644
index 000000000..6813e1186
--- /dev/null
+++ b/view/theme/vier/templates/ch_directory_item.tpl
@@ -0,0 +1,11 @@
+
+
+