From: Evan Prodromou Date: Fri, 30 Sep 2011 18:23:30 +0000 (-0400) Subject: remove bad old badge code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df72adcd2d05515e63c0d977a0323d7252bbf747;p=quix0rs-gnu-social.git remove bad old badge code --- diff --git a/doc-src/badge b/doc-src/badge deleted file mode 100644 index 98cdcfce27..0000000000 --- a/doc-src/badge +++ /dev/null @@ -1,69 +0,0 @@ - - - - -Install the %%site.name%% badge on your blog or web site to show the latest updates -from you and your friends! - - - - - -Things to try --------------- - -* Click an avatar and the badge will refresh with that user's timeline -* Click a nickname to open a user's profile in your browser -* Click a notice's timestamp to view the notice in your browser -* @-replies and #tags are live links - -## Installation instructions - -Copy and paste the following JavaScript into an HTML page where -you want the badge to show up. Substitute your own ID in the user -parameter. - -
-	<script type="text/javascript" src="http://identi.ca/js/identica-badge.js">
-	{
-	   "user":"kentbrew",
-	   "server":"identi.ca",
-	   "headerText":" and friends"
-	}
-	</script>
-
-
- - - -Valid parameters for the badge: -------------------------------- - -* user : defaults to 7000 (@kentbrew) -* headerText : defaults to empty -* height : defaults to 350px -* width : defaults to 300px -* background : defaults to #193441. If you set evenBackground, oddBackground, - and headerBackground, you won't see it at all. -* border : defaults to 1px solid black -* userColor : defaults to whatever link color is set to on your page -* headerBackground : defaults to transparent -* headerColor : defaults to white -* evenBackground : defaults to #fff -* oddBackground : defaults to #eee -* thumbnailBorder : 1px solid black -* thumbnailSize : defaults to 24px -* padding : defaults to 3px -* server : defaults to identi.ca - -Licence -------- - -Identi.ca badge by [Kent Brewster](http://kentbrewster.com/identica-badge/). -Licenced under [CC-BY-SA-3](http://kentbrewster.com/rights-and-permissions/). diff --git a/lib/secondarynav.php b/lib/secondarynav.php index 7d38e74ffc..29dc05b53d 100644 --- a/lib/secondarynav.php +++ b/lib/secondarynav.php @@ -79,9 +79,6 @@ class SecondaryNav extends Menu // TRANS: Secondary navigation menu item leading to e-mail contact information on the // TRANS: StatusNet site, where to report bugs, ... _m('MENU','Contact')); - $this->out->menuItem(common_local_url('doc', array('title' => 'badge')), - // TRANS: Secondary navigation menu item. Leads to information about embedding a timeline widget. - _m('MENU','Badge')); Event::handle('EndSecondaryNav', array($this->action)); } $this->out->elementEnd('ul');