[Fusionforge-commits] r15417 - branches/Branch_5_2/src/common/widget
Franck VILLAUME
nerville at fusionforge.org
Fri Apr 27 17:10:27 CEST 2012
Author: nerville
Date: 2012-04-27 17:10:26 +0200 (Fri, 27 Apr 2012)
New Revision: 15417
Modified:
branches/Branch_5_2/src/common/widget/Widget_ProjectRss.class.php
Log:
fix RSS widget : wrong label, wrong comment, indent
Modified: branches/Branch_5_2/src/common/widget/Widget_ProjectRss.class.php
===================================================================
--- branches/Branch_5_2/src/common/widget/Widget_ProjectRss.class.php 2012-04-27 15:06:56 UTC (rev 15416)
+++ branches/Branch_5_2/src/common/widget/Widget_ProjectRss.class.php 2012-04-27 15:10:26 UTC (rev 15417)
@@ -1,44 +1,43 @@
<?php
-/*
+/**
* Copyright (c) Xerox, 2009. All Rights Reserved.
- *
* Originally written by Nicolas Terray, 2009. Xerox Codendi Team.
+ * Copyright 2012, Franck Villaume - TrivialDev
+ * This file is a part of Fusionforge.
*
- * This file is a part of Codendi.
- *
- * Codendi is free software; you can redistribute it and/or modify
+ * Fusionforge is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * Codendi is distributed in the hope that it will be useful,
+ * Fusionforge is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with Codendi. If not, see <http://www.gnu.org/licenses/>.
+ * along with Fusionforge. If not, see <http://www.gnu.org/licenses/>.
*/
require_once('Widget_Rss.class.php');
require_once('Widget.class.php');
/**
-* Widget_TwitterFollow
+* Widget_RSS
*
-* Allow to follow a twitter user
+* Allow to add RSS feed into project homepage
*
*/
class Widget_ProjectRss extends Widget_Rss {
- function Widget_ProjectRss() {
- $request =& HTTPRequest::instance();
- $this->Widget_Rss('projectrss', $request->get('group_id'), WidgetLayoutManager::OWNER_TYPE_GROUP);
- }
- function canBeUsedByProject(&$project) {
- return true;
- }
- function getDescription() {
- return _("Allow you to include public rss (or atom) feeds into your personal page.");
- }
+ function Widget_ProjectRss() {
+ $request =& HTTPRequest::instance();
+ $this->Widget_Rss('projectrss', $request->get('group_id'), WidgetLayoutManager::OWNER_TYPE_GROUP);
+ }
+ function canBeUsedByProject(&$project) {
+ return true;
+ }
+ function getDescription() {
+ return _("Include public rss (or atom) feeds into project homepage.");
+ }
}
?>
More information about the Fusionforge-commits
mailing list