outside debian/ too, as direct patches to upstream sources.
More precisely :
+ - fusionforge-5.1.1-2 is in sync with upstream SVN contents as of rev. 14705;
- fusionforge-5.1.1-1 is in sync with upstream SVN contents as of rev. 14498;
- fusionforge-5.1-7 is in sync with upstream SVN contents as of rev. 14445;
- fusionforge-5.1-6 is in sync with upstream SVN contents as of rev. 14319;
upstream main version and Debian's packaging :
http://patch-tracker.debian.org/package/fusionforge
- -- Roland Mas <lolando@debian.org>, Thu, 29 Sep 2011 14:07:27 +0200
+ -- Roland Mas <lolando@debian.org>, Tue, 25 Oct 2011 10:42:39 +0200
-- Roland Mas <lolando@debian.org> Fri, 05 Aug 2011 13:41:04 +0200
-fusionforge (5.1.1-1+) UNRELEASED; urgency=low
+fusionforge (5.1.1-2) unstable; urgency=low
+ * New upstream SVN snapshot.
* Added logrotate config file for web-apache2.
- -- Roland Mas <lolando@debian.org> Tue, 04 Oct 2011 11:37:30 +0200
+ -- Roland Mas <lolando@debian.org> Tue, 25 Oct 2011 10:42:19 +0200
fusionforge (5.1.1-1) unstable; urgency=low
$this->Plugin() ;
$this->name = "projectlabels" ;
$this->text = "Project labels";
- $this->hooks[] = "project_before_description" ;
+ $this->hooks[] = "project_before_widgets" ;
$this->hooks[] = "site_admin_option_hook" ;
}
if ($hookname == "site_admin_option_hook") {
echo '<li>' . util_make_link ('/plugins/projectlabels/index.php',
_('Project labels'). ' [' . _('Project labels plugin') . ']') . '</li>';
- } elseif ($hookname == "project_before_description") {
+ } elseif ($hookname == "project_before_widgets") {
$group_id=$params['group_id'];
$project = &group_get_object($group_id);
if (!$project || !is_object($project))
if ($func == 'addlabel') {
$label_name = addslashes (getStringFromRequest ('label_name')) ;
- $label_text = addslashes (getStringFromRequest ('label_text')) ;
+ $label_text = getStringFromRequest ('label_text') ;
$res = db_query_params ('INSERT INTO plugin_projectlabels_labels (label_name, label_text)
VALUES($1,$2)',
array($label_name,
if ($func == 'editlabel') {
$label_id = getIntFromRequest ('label_id', 0) ;
$label_name = addslashes (getStringFromRequest ('label_name')) ;
- $label_text = addslashes (getStringFromRequest ('label_text')) ;
+ $label_text = getStringFromRequest ('label_text') ;
$res = db_query_params ('UPDATE plugin_projectlabels_labels SET label_name = $1, label_text = $2
WHERE label_id=$3',
array($label_name,
<input type="text" size="15" maxlength="32" name="label_name" value="<?php echo stripslashes ($row['label_name']) ; ?>"/> <br/>
<?php echo _('Displayed text (or HTML) for the label:') ; ?><br/>
<textarea tabindex='1' accesskey="," name="label_text" rows='5'
- cols='80'><?php echo stripslashes($row['label_text']) ; ?></textarea><br/>
- <?php echo _('This label currently looks like this:') ." " . stripslashes($row['label_text']) ; ?>
+ cols='80'><?php echo $row['label_text'] ; ?></textarea><br/>
+ <?php echo _('This label currently looks like this:') ." " . $row['label_text'] ; ?>
<input type="submit" value="<?php echo _('Save this label') ?>" />
</form>
<?php
while ($row = db_fetch_array($res)) {
echo "<h3>".stripslashes ($row['label_name'])."</h3>" ;
echo "<br />" . _('This label currently looks like this:') ." ";
- echo stripslashes ($row['label_text']) . "<br />" ;
-
+ echo $row['label_text'] . "<br />" ;
+
$res2 = db_query_params ('SELECT groups.unix_group_name, groups.group_name, groups.group_id FROM groups, plugin_projectlabels_group_labels
WHERE plugin_projectlabels_group_labels.group_id = groups.group_id
AND plugin_projectlabels_group_labels.label_id=$1
site_project_header(array('title'=>$title, 'h1' => '', 'group'=>$group_id, 'toptab' => 'home',
'submenu' => $params['submenu']));
+$params = array('group_id' => $group_id);
+plugin_hook('project_before_widgets', $params);
+
$lm = new WidgetLayoutManager();
$lm->displayLayout($group_id, WidgetLayoutManager::OWNER_TYPE_GROUP);