forked from GNUsocial/gnu-social
		
	Anonymous notice
This commit is contained in:
		@@ -95,9 +95,11 @@ class GroupsAction extends Action
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function showContent()
 | 
					    function showContent()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        $this->elementStart('p', array('id' => 'new_group'));
 | 
				
			||||||
        $this->element('a', array('href' => common_local_url('newgroup'),
 | 
					        $this->element('a', array('href' => common_local_url('newgroup'),
 | 
				
			||||||
                                  'id' => 'new_group'),
 | 
					                                  'class' => 'more'),
 | 
				
			||||||
                       _('Create a new group'));
 | 
					                       _('Create a new group'));
 | 
				
			||||||
 | 
					        $this->elementEnd('p');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $offset = ($this->page-1) * GROUPS_PER_PAGE;
 | 
					        $offset = ($this->page-1) * GROUPS_PER_PAGE;
 | 
				
			||||||
        $limit =  GROUPS_PER_PAGE + 1;
 | 
					        $limit =  GROUPS_PER_PAGE + 1;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -215,7 +215,7 @@ class PublicAction extends Action
 | 
				
			|||||||
		$m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
 | 
							$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. ' .
 | 
					               '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%%))');
 | 
					               '[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->raw(common_markup_to_html($m));
 | 
				
			||||||
        $this->elementEnd('div');
 | 
					        $this->elementEnd('div');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -538,7 +538,7 @@ class ShowstreamAction extends Action
 | 
				
			|||||||
                       'based on the Free Software [Laconica](http://laconi.ca/) tool. ' .
 | 
					                       '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%%%%))'),
 | 
					                       '[Join now](%%%%action.register%%%%) to follow **%s**\'s notices and many more! ([Read more](%%%%doc.help%%%%))'),
 | 
				
			||||||
                     $this->user->nickname, $this->user->nickname);
 | 
					                     $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->raw(common_markup_to_html($m));
 | 
				
			||||||
        $this->elementEnd('div');
 | 
					        $this->elementEnd('div');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -234,6 +234,22 @@ clear:both;
 | 
				
			|||||||
margin-bottom:18px;
 | 
					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 {
 | 
					#footer {
 | 
				
			||||||
float:left;
 | 
					float:left;
 | 
				
			||||||
width:64%;
 | 
					width:64%;
 | 
				
			||||||
@@ -378,7 +394,6 @@ border-radius:7px;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/*Start: FORM NOTICE*/
 | 
					/*Start: FORM NOTICE*/
 | 
				
			||||||
#form_notice {
 | 
					#form_notice {
 | 
				
			||||||
width:384px;
 | 
					 | 
				
			||||||
width:458px;
 | 
					width:458px;
 | 
				
			||||||
float:left;
 | 
					float:left;
 | 
				
			||||||
position:relative;
 | 
					position:relative;
 | 
				
			||||||
@@ -395,7 +410,6 @@ display:none;
 | 
				
			|||||||
border-radius:7px;
 | 
					border-radius:7px;
 | 
				
			||||||
-moz-border-radius:7px;
 | 
					-moz-border-radius:7px;
 | 
				
			||||||
-webkit-border-radius:7px;
 | 
					-webkit-border-radius:7px;
 | 
				
			||||||
width:377px;
 | 
					 | 
				
			||||||
width:370px;
 | 
					width:370px;
 | 
				
			||||||
height:67px;
 | 
					height:67px;
 | 
				
			||||||
line-height:1.5;
 | 
					line-height:1.5;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
@@ -119,6 +119,19 @@ background-color:#F7E8E8;
 | 
				
			|||||||
background-color:#EFF3DC;
 | 
					background-color:#EFF3DC;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#anon_notice {
 | 
				
			||||||
 | 
					background-color:#97BFD1;
 | 
				
			||||||
 | 
					color:#fff;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#showstream #anon_notice {
 | 
				
			||||||
 | 
					background-color:#A9BF4F;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#export_data li a {
 | 
					#export_data li a {
 | 
				
			||||||
background-repeat:no-repeat;
 | 
					background-repeat:no-repeat;
 | 
				
			||||||
background-position:0 45%;
 | 
					background-position:0 45%;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user