]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Anonymous notice
authorsarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 03:47:32 +0000 (03:47 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Fri, 23 Jan 2009 03:47:32 +0000 (03:47 +0000)
actions/groups.php
actions/public.php
actions/showstream.php
theme/base/css/display.css
theme/base/css/initial_states.css [deleted file]
theme/identica/css/display.css

index 6faa497fc6fc07d058d2e1b23c943257a29c9fb9..261f9b3aaeb7687164d2c17bd23c715c70ab0b1b 100644 (file)
@@ -95,9 +95,11 @@ class GroupsAction extends Action
 
     function showContent()
     {
+        $this->elementStart('p', array('id' => 'new_group'));
         $this->element('a', array('href' => common_local_url('newgroup'),
-                                  'id' => 'new_group'),
+                                  'class' => 'more'),
                        _('Create a new group'));
+        $this->elementEnd('p');
 
         $offset = ($this->page-1) * GROUPS_PER_PAGE;
         $limit =  GROUPS_PER_PAGE + 1;
index 396b60e83ff06a67cbd7a74adf3ab60db8a6719f..f5380589aac0f2095fb4c05d231e0f24667ceb6d 100644 (file)
@@ -215,7 +215,7 @@ class PublicAction extends Action
                $m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
                'based on the Free Software [Laconica](http://laconi.ca/) tool. ' .
                '[Join now](%%action.register%%) to share notices about yourself with friends, family, and colleagues! ([Read more](%%doc.help%%))');
-        $this->elementStart('div', 'anonymous');
+        $this->elementStart('div', array('id' => 'anon_notice'));
         $this->raw(common_markup_to_html($m));
         $this->elementEnd('div');
     }
index 3005cdd88d027a8823234c9f2a091873b5be3ea3..157ccdd0c0db8e26466ed3021df6c550b0b4b9f3 100644 (file)
@@ -538,7 +538,7 @@ class ShowstreamAction extends Action
                        'based on the Free Software [Laconica](http://laconi.ca/) tool. ' .
                        '[Join now](%%%%action.register%%%%) to follow **%s**\'s notices and many more! ([Read more](%%%%doc.help%%%%))'),
                      $this->user->nickname, $this->user->nickname);
-        $this->elementStart('div', 'anonymous');
+        $this->elementStart('div', array('id' => 'anon_notice'));
         $this->raw(common_markup_to_html($m));
         $this->elementEnd('div');
     }
index 5cafd8c1fe39b87c6a640c15057a59bf13079fb2..bc06c50ab4876d8ad45b78fbaaa9d59defea5c32 100644 (file)
@@ -234,6 +234,22 @@ clear:both;
 margin-bottom:18px;
 }
 
+
+#anon_notice {
+float:left;
+width:432px;
+padding:11px;
+border-radius:7px;
+-moz-border-radius:7px;
+-webkit-border-radius:7px;
+border-width:2px;
+border-style:solid;
+line-height:1.5;
+font-size:1.1em;
+font-weight:bold;
+}
+
+
 #footer {
 float:left;
 width:64%;
@@ -378,7 +394,6 @@ border-radius:7px;
 
 /*Start: FORM NOTICE*/
 #form_notice {
-width:384px;
 width:458px;
 float:left;
 position:relative;
@@ -395,7 +410,6 @@ display:none;
 border-radius:7px;
 -moz-border-radius:7px;
 -webkit-border-radius:7px;
-width:377px;
 width:370px;
 height:67px;
 line-height:1.5;
diff --git a/theme/base/css/initial_states.css b/theme/base/css/initial_states.css
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
index 62086d74e33fc0ee859c55b2e6451916538f00ca..5088d7ac7fee2ba1b1f2a156a6daa62e0d97fee2 100644 (file)
@@ -119,6 +119,19 @@ background-color:#F7E8E8;
 background-color:#EFF3DC;
 }
 
+
+#anon_notice {
+background-color:#97BFD1;
+color:#fff;
+}
+
+#showstream #anon_notice {
+background-color:#A9BF4F;
+}
+
+
+
+
 #export_data li a {
 background-repeat:no-repeat;
 background-position:0 45%;