From 39028d618403e40741009b070e4c969d499cf021 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 20 Mar 2013 20:46:43 +0000 Subject: Make the channels profile tab actually do something. --- view/tpl/profile_edit.tpl | 9 +++++++++ view/tpl/smarty3/profile_edit.tpl | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'view') diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index a498f3a65..6ff4cf8c1 100644 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -206,6 +206,15 @@ $lbl_social
+
+

+$lbl_channels +

+ + + +
+
diff --git a/view/tpl/smarty3/profile_edit.tpl b/view/tpl/smarty3/profile_edit.tpl index 3a2652a68..864599244 100644 --- a/view/tpl/smarty3/profile_edit.tpl +++ b/view/tpl/smarty3/profile_edit.tpl @@ -211,6 +211,15 @@
+
+

+{{$lbl_channels}} +

+ + + +
+
-- cgit v1.2.3 From f49dcc0a0c6694e46dc445c81d69f0a069ac2c09 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 20 Mar 2013 22:57:08 +0000 Subject: Use load_pconfig in style.php --- view/theme/redbasic/php/style.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 6e8bd8a18..e011d6185 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -2,7 +2,8 @@ // This needs changing now, if we're going for global settings. Admin settings have been removed in preparation, You *should* just be able to remove all // the get_config bits, though this is untested. // We also need to eventually. Use the page owners settings for everybody - get_pconfig(page_owner()) or whatever that would look like. - + load_pconfig(local_user(),'redbasic'); + $line_height = false; $redbasic_font_size = false; $resolution = false; -- cgit v1.2.3 From 676d35b173122573085cd414602f9321aba879ec Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Thu, 21 Mar 2013 04:14:19 +0000 Subject: Add register link to nav. --- view/tpl/nav.tpl | 3 +++ view/tpl/smarty3/nav.tpl | 3 +++ 2 files changed, 6 insertions(+) (limited to 'view') diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 7b11c3794..fde40832c 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -58,6 +58,9 @@ {{ endif }} + {{ if $nav.register }}
  • {{ endif }} + + {{ if $nav.messages }}
  • {{/if}} + {{if $nav.register}}
  • {{/if}} + + {{if $nav.messages}}
  • {{ endif }} - {{ if $nav.register }}
  • {{ endif }} + {{ if $nav.register }}
  • {{ endif }} {{ if $nav.messages }} diff --git a/view/tpl/smarty3/nav.tpl b/view/tpl/smarty3/nav.tpl index 6faf26176..beddc9109 100644 --- a/view/tpl/smarty3/nav.tpl +++ b/view/tpl/smarty3/nav.tpl @@ -63,7 +63,7 @@
  • {{/if}} - {{if $nav.register}}
  • {{/if}} + {{if $nav.register}}
  • {{/if}} {{if $nav.messages}} -- cgit v1.2.3