From 556f38afde927e4b317b35e49702fdae391927f6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 1 Jan 2013 13:15:45 +0000 Subject: Add icons to redbasic, move delete button to the right, and sync nav.tpl --- view/theme/fancyred/tpl/nav.tpl | 111 -------------------------------------- view/theme/redbasic/css/style.css | 37 +++++++++---- view/tpl/nav.tpl | 6 +-- 3 files changed, 30 insertions(+), 124 deletions(-) delete mode 100644 view/theme/fancyred/tpl/nav.tpl diff --git a/view/theme/fancyred/tpl/nav.tpl b/view/theme/fancyred/tpl/nav.tpl deleted file mode 100644 index 79467cd7d..000000000 --- a/view/theme/fancyred/tpl/nav.tpl +++ /dev/null @@ -1,111 +0,0 @@ -
-
$sitelocation
- -
- - - -
$langselector
- diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3d4e374f5..1123e3be6 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -51,7 +51,31 @@ color: #d00; padding: 1px; } .icon.gear { - background-image: url("../../../../images/icons/22/gear.png"); + background-image: url("../img/settings.png"); + min-width: 22px; + height: 22px; + background-position: left center; + padding: 1px; +} + +.icon.home { + background-image: url("../img/home.png"); + min-width: 22px; + height: 22px; + background-position: left center; + padding: 1px; +} + +.icon.network { + background-image: url("../img/network.png"); + min-width: 22px; + height: 22px; + background-position: left center; + padding: 1px; +} + +.icon.introductions { + background-image: url("../img/introductions.png"); min-width: 22px; height: 22px; background-position: left center; @@ -1206,10 +1230,7 @@ input#dfrn-url { } .wall-item-delete-wrapper { - /* TODO - This should really go somewhere at the right, but for now, that leaves - it dangling at the edge of whitespace, so we'll put it with the other wall item tools for the time being */ - float: left; + float: right; } .wall-item-delete-end { @@ -1274,13 +1295,9 @@ width: 90%; .wall-item-tools { clear: both; /* background-image: url("../img/head.jpg"); */ -/* background-position: 0 -20px; - background-repeat: repeat-x; background: #eee; padding: 5px 10px; - border-radius: 0px 0px 20px 20px; - border: 1px #eec solid; */ -} +} .wall-item-like { margin: 15px; diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index d052cde3f..654a61085 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -13,13 +13,13 @@ {{ if $nav.network }} {{ endif }} {{ if $nav.home }} {{ endif }} @@ -33,7 +33,7 @@ {{ if $nav.intros }} {{ endif }} -- cgit v1.2.3 From 2fd0653d6ff3c60920946f83d249c8763dcad4a8 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 1 Jan 2013 16:08:32 +0000 Subject: Redbasic - floating wall-item-content sometimes causes massive top margins. --- view/theme/redbasic/css/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 1123e3be6..de51da983 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1257,7 +1257,6 @@ input#dfrn-url { height: 50px !important; } .wall-item-content { - float: left; margin-left: 10px; overflow: auto; } -- cgit v1.2.3 From 3b140d6e2fdefc4860256e040bc736f6fa557d56 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Thu, 3 Jan 2013 12:44:23 +0000 Subject: Fix register policy --- mod/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/register.php b/mod/register.php index dbf8d25b7..88fe69039 100644 --- a/mod/register.php +++ b/mod/register.php @@ -42,7 +42,7 @@ function register_post(&$a) { return; } - $policy = get_config('system','register_policy'); + $policy = get_config('config','register_policy'); switch($policy) { -- cgit v1.2.3