This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via b0dbb95b9c3ab4134659d677fa81f2dde9133f7e (commit)
from e3f5c17107decb432a76d7f95f6c913593db0751 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=b0dbb95b9c3ab4134659d677fa81f2dde9133f7e
commit b0dbb95b9c3ab4134659d677fa81f2dde9133f7e
Author: Franck Villaume <[email protected]>
Date: Sun Oct 2 19:13:47 2016 +0200
remove useless title & unused vars
diff --git a/src/common/tracker/actions/detail.php
b/src/common/tracker/actions/detail.php
index 4bd5cc8..6b0d479 100644
--- a/src/common/tracker/actions/detail.php
+++ b/src/common/tracker/actions/detail.php
@@ -138,6 +138,9 @@ echo $HTML->listTableTop(); ?>
<?php
$count=db_numrows($ah->getMessages());
$nb = $count? ' ('.$count.')' : '';
+$file_list = $ah->getFiles();
+$count=count($file_list);
+$nbf = $count? ' ('.$count.')' : '';
$pm = plugin_manager_get_object();
$pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
$pluginfound = false;
@@ -150,11 +153,11 @@ foreach ($pluginsListeners as $pluginsListener) {
?>
<div id="tabber">
<ul>
- <li><a href="#tabber-comments"><?php echo _('Comments'); ?></a></li>
+ <li><a href="#tabber-comments"><?php echo _('Comments').$nb; ?></a></li>
<?php if ($group->usesPM()) { ?>
<li><a href="#tabber-tasks"><?php echo _('Related Tasks'); ?></a></li>
<?php } ?>
- <li><a href="#tabber-attachments"><?php echo _('Attachments');
?></a></li>
+ <li><a href="#tabber-attachments"><?php echo _('Attachments').$nbf;
?></a></li>
<?php if ($pluginfound) { ?>
<li><a href="#tabber-commits"><?php echo _('Commits'); ?></a></li>
<?php } ?>
@@ -163,7 +166,7 @@ foreach ($pluginsListeners as $pluginsListener) {
<li><a href="#tabber-relations"><?php echo _('Relations'); ?></a></li>
<?php } ?>
</ul>
- <div id="tabber-comments" class="tabbertab" title="<?php echo
_('Comments').$nb; ?>">
+ <div id="tabber-comments" class="tabbertab">
<?php echo $HTML->listTableTop();
if (forge_check_perm
('tracker',$ath->getID(),'submit')) { ?>
<tr><td colspan="2">
@@ -186,18 +189,14 @@ foreach ($pluginsListeners as $pluginsListener) {
<?php
if ($group->usesPM()) {
?>
-<div id="tabber-tasks" class="tabbertab" title="<?php echo _('Related Tasks');
?>">
+<div id="tabber-tasks" class="tabbertab">
<?php
$ath->renderRelatedTasks($group, $ah);
?>
</div>
<?php }
-$tabcnt=0;
-$file_list = $ah->getFiles();
-$count=count($file_list);
-$nb = $count? ' ('.$count.')' : '';
?>
- <div id="tabber-attachments" class="tabbertab" title="<?php echo
_('Attachments').$nb; ?>">
+ <div id="tabber-attachments" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2">
<?php if (session_loggedin() && ($ah->getSubmittedBy() ==
user_getid())) { ?>
@@ -220,7 +219,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php
if ($pluginfound) {
?>
- <div id="tabber-commits" class="tabbertab" title="<?php echo
_('Commits'); ?>" >
+ <div id="tabber-commits" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2"><!-- dummy in case the hook is empty --></td></tr>
<?php
@@ -233,7 +232,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php
}
?>
- <div id="tabber-changes" class="tabbertab" title="<?php echo
_('Changes'); ?>">
+ <div id="tabber-changes" class="tabbertab">
<?php $ah->showHistory(); ?>
</div>
<?php $ah->showRelations(); ?>
diff --git a/src/common/tracker/actions/mod-limited.php
b/src/common/tracker/actions/mod-limited.php
index 73c8270..31cac99 100644
--- a/src/common/tracker/actions/mod-limited.php
+++ b/src/common/tracker/actions/mod-limited.php
@@ -167,6 +167,9 @@ echo $HTML->listTableTop(); ?>
<?php
$count=db_numrows($ah->getMessages());
$nb = $count? ' ('.$count.')' : '';
+$file_list = $ah->getFiles();
+$count=count($file_list);
+$nbf = $count? ' ('.$count.')' : '';
$pm = plugin_manager_get_object();
$pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
$pluginfound = false;
@@ -178,11 +181,11 @@ foreach ($pluginsListeners as $pluginsListener) {
}
?>
<ul>
- <li><a href="#tabber-comments"><?php echo _('Comments'); ?></a></li>
+ <li><a href="#tabber-comments"><?php echo _('Comments').$nb; ?></a></li>
<?php if ($group->usesPM()) { ?>
<li><a href="#tabber-tasks"><?php echo _('Related Tasks'); ?></a></li>
<?php } ?>
- <li><a href="#tabber-attachments"><?php echo _('Attachments');
?></a></li>
+ <li><a href="#tabber-attachments"><?php echo _('Attachments').$nbf;
?></a></li>
<?php if ($pluginfound) { ?>
<li><a href="#tabber-commits"><?php echo _('Commits'); ?></a></li>
<?php } ?>
@@ -191,7 +194,7 @@ foreach ($pluginsListeners as $pluginsListener) {
<li><a href="#tabber-relations"><?php echo _('Relations'); ?></a></li>
<?php } ?>
</ul>
- <div id="tabber-comments" class="tabbertab" title="<?php echo
_('Comments').$nb; ?>">
+ <div id="tabber-comments" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2">
<br /><strong><?php echo _('Add A Comment') ?>: <?php
echo notepad_button('document.forms.trackermodlimitedform.details')
?></strong><br />
@@ -206,18 +209,14 @@ foreach ($pluginsListeners as $pluginsListener) {
<?php
if ($group->usesPM()) {
?>
-<div id="tabber-tasks" class="tabbertab" title="<?php echo _('Related Tasks');
?>">
+<div id="tabber-tasks" class="tabbertab">
<?php
$ath->renderRelatedTasks($group, $ah);
?>
</div>
<?php }
-$tabcnt=0;
-$file_list = $ah->getFiles();
-$count=count($file_list);
-$nb = $count? ' ('.$count.')' : '';
?>
-<div id="tabber-attachments" class="tabbertab" title="<?php echo
_('Attachments').$nb; ?>">
+<div id="tabber-attachments" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2">
<?php echo _('Attach Files')._(':'); ?> <?php echo('('._('max
upload size')._(': ').human_readable_bytes(util_get_maxuploadfilesize()).')')
?><br />
@@ -238,7 +237,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php echo $HTML->listTableBottom(); ?>
</div>
<?php if ($pluginfound) { ?>
-<div id="tabber-commits" class="tabbertab" title="<?php echo _('Commits'); ?>">
+<div id="tabber-commits" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2"><!-- dummy in case the hook is empty --></td></tr>
<?php
@@ -249,7 +248,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php echo $HTML->listTableBottom(); ?>
</div>
<?php } ?>
-<div id="tabber-changes" class="tabbertab" title="<?php echo _('Changes'); ?>">
+<div id="tabber-changes" class="tabbertab">
<?php $ah->showHistory(); ?>
</div>
<?php $ah->showRelations(); ?>
diff --git a/src/common/tracker/actions/mod.php
b/src/common/tracker/actions/mod.php
index f1a4469..a65caae 100644
--- a/src/common/tracker/actions/mod.php
+++ b/src/common/tracker/actions/mod.php
@@ -206,6 +206,9 @@ echo html_build_select_box
($res,'new_artifact_type_id',$ath->getID(),false);
<?php
$count=db_numrows($ah->getMessages());
$nb = $count? ' ('.$count.')' : '';
+$file_list = $ah->getFiles();
+$count=count($file_list);
+$nbf = $count? ' ('.$count.')' : '';
$pm = plugin_manager_get_object();
$pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
$pluginfound = false;
@@ -217,11 +220,11 @@ foreach ($pluginsListeners as $pluginsListener) {
}
?>
<ul>
- <li><a href="#tabber-comments"><?php echo _('Comments'); ?></a></li>
+ <li><a href="#tabber-comments"><?php echo _('Comments').$nb; ?></a></li>
<?php if ($group->usesPM()) { ?>
<li><a href="#tabber-tasks"><?php echo _('Related Tasks'); ?></a></li>
<?php } ?>
- <li><a href="#tabber-attachments"><?php echo _('Attachments');
?></a></li>
+ <li><a href="#tabber-attachments"><?php echo _('Attachments').$nbf;
?></a></li>
<?php if ($pluginfound) { ?>
<li><a href="#tabber-commits"><?php echo _('Commits'); ?></a></li>
<?php } ?>
@@ -230,7 +233,7 @@ foreach ($pluginsListeners as $pluginsListener) {
<li><a href="#tabber-relations"><?php echo _('Relations'); ?></a></li>
<?php } ?>
</ul>
-<div id="tabber-comments" class="tabbertab" title="<?php echo
_('Comments').$nb; ?>">
+<div id="tabber-comments" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2">
<br /><strong><?php echo _('Use Canned Response')._(':');
?></strong><br />
@@ -268,18 +271,14 @@ $ah->showMessages();
<?php
if ($group->usesPM()) {
?>
-<div id="tabber-tasks" class="tabbertab" title="<?php echo _('Related Tasks');
?>">
+<div id="tabber-tasks" class="tabbertab">
<?php
$ath->renderRelatedTasks($group, $ah);
?>
</div>
<?php }
-$tabcnt=0;
-$file_list = $ah->getFiles();
-$count=count($file_list);
-$nb = $count? ' ('.$count.')' : '';
?>
-<div id="tabber-attachments" class="tabbertab" title="<?php echo
_('Attachments').$nb; ?>">
+<div id="tabber-attachments" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2">
<strong><?php echo _('Attach Files')._(':'); ?></strong> <?php
echo('('._('max upload size')._(':
').human_readable_bytes(util_get_maxuploadfilesize()).')') ?><br />
@@ -298,7 +297,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php echo $HTML->listTableBottom(); ?>
</div>
<?php if ($pluginfound) { ?>
-<div id="tabber-commits" class="tabbertab" title="<?php echo _('Commits'); ?>">
+<div id="tabber-commits" class="tabbertab">
<?php echo $HTML->listTableTop(); ?>
<tr><td colspan="2"><!-- dummy in case the hook is empty --></td></tr>
<?php
@@ -309,7 +308,7 @@ $nb = $count? ' ('.$count.')' : '';
<?php echo $HTML->listTableBottom(); ?>
</div>
<?php } ?>
-<div id="tabber-changes" class="tabbertab" title="<?php echo _('Changes'); ?>">
+<div id="tabber-changes" class="tabbertab">
<?php $ah->showHistory(); ?>
</div>
<?php $ah->showRelations(); ?>
diff --git a/src/common/tracker/include/ArtifactHtml.class.php
b/src/common/tracker/include/ArtifactHtml.class.php
index d5bdc4f..33b0da1 100644
--- a/src/common/tracker/include/ArtifactHtml.class.php
+++ b/src/common/tracker/include/ArtifactHtml.class.php
@@ -207,7 +207,7 @@ function hide_edit_button(id) {
"% $aid"));
if (db_numrows($res)>0) {
?>
-<div id="tabber-relations" class="tabbertab" title="<?php echo _('Backward
Relations'); ?>">
+<div id="tabber-relations" class="tabbertab">
<table class="fullwidth">
<tr>
<td colspan="2">
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/actions/detail.php | 21 ++++++++++-----------
src/common/tracker/actions/mod-limited.php | 21 ++++++++++-----------
src/common/tracker/actions/mod.php | 21 ++++++++++-----------
src/common/tracker/include/ArtifactHtml.class.php | 2 +-
4 files changed, 31 insertions(+), 34 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits