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 c51656d0962a6897cd8c5734c493375ac2d39f24 (commit)
from c1d5fe010fa423fbb19476a77fe87571f293af42 (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=c51656d0962a6897cd8c5734c493375ac2d39f24
commit c51656d0962a6897cd8c5734c493375ac2d39f24
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Mar 27 11:47:45 2017 +0200
listTableTop: use default values for parameters
diff --git a/src/common/tracker/views/form-addextrafieldoption.php
b/src/common/tracker/views/form-addextrafieldoption.php
index 1b77347..465cd58 100644
--- a/src/common/tracker/views/form-addextrafieldoption.php
+++ b/src/common/tracker/views/form-addextrafieldoption.php
@@ -93,7 +93,7 @@ if (!$ac || !is_object($ac)) {
$title_arr[]=_('Default');
}
$title_arr[]='';
- echo $HTML->listTableTop($title_arr, false, '
');
+ echo $HTML->listTableTop($title_arr);
if (in_array($efType,
unserialize(ARTIFACT_EXTRAFIELDTYPEGROUP_CHOICE))) {
$row_attrs = array();
$cells = array();
diff --git a/src/common/tracker/views/form-adminroadmap.php
b/src/common/tracker/views/form-adminroadmap.php
index 586467f..15c06e2 100644
--- a/src/common/tracker/views/form-adminroadmap.php
+++ b/src/common/tracker/views/form-adminroadmap.php
@@ -394,7 +394,7 @@ if (getIntFromRequest('manage_release') ||
$title_arr[] = _('Current/New positions');
$title_arr[] = _('Up/Down positions');
- echo $HTML->listTableTop($title_arr, false, ' ');
+ echo $HTML->listTableTop($title_arr);
echo implode('', $rows);
echo '<tr class="noborder">
<td>
@@ -476,7 +476,7 @@ if (! isset($ihm) || $ihm !== true) {
//$title_arr[] = _('Up/Down positions');
$title_arr[] = _('Actions');
- echo $HTML->listTableTop($title_arr, false, ' ');
+ echo $HTML->listTableTop($title_arr);
echo implode('', $rows);
echo $HTML->listTableBottom();
}
diff --git a/src/common/tracker/views/form-customizelist.php
b/src/common/tracker/views/form-customizelist.php
index deea448..a8c66e0 100644
--- a/src/common/tracker/views/form-customizelist.php
+++ b/src/common/tracker/views/form-customizelist.php
@@ -106,7 +106,7 @@ $title_arr[] = _('Current/New positions');
$title_arr[] = _('Up/Down positions');
$title_arr[] = _('Delete');
-echo $HTML->listTableTop($title_arr,false, ' ');
+echo $HTML->listTableTop($title_arr);
echo implode('', $rows);
echo '<tr class="noborder">
<td>
diff --git a/src/plugins/authopenid/www/index.php
b/src/plugins/authopenid/www/index.php
index b4c8de9..f5713c6 100644
--- a/src/plugins/authopenid/www/index.php
+++ b/src/plugins/authopenid/www/index.php
@@ -144,7 +144,7 @@ echo $HTML->boxTop(_('My OpenID identities'));
</fieldset>
<?php
echo $HTML->closeForm();
-echo $HTML->listTableTop(array(_('Identity'), ''));
+echo $HTML->listTableTop(array(_('Identity')));
$res = db_query_params('SELECT openid_identity FROM
plugin_authopenid_user_identities WHERE user_id =$1',
array($u->getID()));
diff --git a/src/plugins/authwebid/www/index.php
b/src/plugins/authwebid/www/index.php
index 32ed34d..8873ad1 100644
--- a/src/plugins/authwebid/www/index.php
+++ b/src/plugins/authwebid/www/index.php
@@ -100,7 +100,7 @@ echo html_e('h2', array(), _('Bind a new WebID'));
// display a table of WebIDs pending binding
$pendingwebids = $plugin->getStoredPendingWebIDs($u->getID());
if( count($pendingwebids) ) {
- echo $HTML->listTableTop(array(_('Already pending WebIDs you could bind
to your account'), ''));
+ echo $HTML->listTableTop(array(_('Already pending WebIDs you could bind
to your account')));
$i = 0;
foreach($pendingwebids as $webid_identity) {
@@ -141,7 +141,7 @@ echo $HTML->closeForm();
$boundwebids = $plugin->getStoredBoundWebIDs($u->getID());
if(count($boundwebids)) {
- echo $HTML->listTableTop(array(_('WebIDs already bound to your account,
which you can use to login'), ''));
+ echo $HTML->listTableTop(array(_('WebIDs already bound to your account,
which you can use to login')));
$i = 0;
foreach($boundwebids as $webid_identity) {
diff --git a/src/plugins/oauthconsumer/www/access_tokens.php
b/src/plugins/oauthconsumer/www/access_tokens.php
index c7cd9d1..f4c8735 100644
--- a/src/plugins/oauthconsumer/www/access_tokens.php
+++ b/src/plugins/oauthconsumer/www/access_tokens.php
@@ -10,13 +10,13 @@ $access_tokens =
OAuthAccessToken::get_all_access_tokens($userid);
if(count($access_tokens)>0) {
echo $HTML->boxTop(_('OAuth Access Tokens'));
- echo $HTML->listTableTop(array(_('Provider'), _('Token Key'), _('Token
Secret'), '', ''));
+ echo $HTML->listTableTop(array(_('Provider'), _('Token Key'), _('Token
Secret')));
$i = 0;
foreach( $access_tokens as $token ) { ?>
<tr>
- <td class="center"><?php echo (
OAuthProvider::get_provider($token->get_provider_id())->get_name() ) ?></td>
- <td class="center"><?php echo ( $token->get_token_key() ) ?></td>
- <td class="center"><?php echo ( $token->get_token_secret() )
?></td>
+ <td class="center"><?php echo
OAuthProvider::get_provider($token->get_provider_id())->get_name() ?></td>
+ <td class="center"><?php echo $token->get_token_key() ?></td>
+ <td class="center"><?php echo $token->get_token_secret() ?></td>
<td class="center">
<?php print
util_make_link('/plugins/'.$pluginname.'/access_token_delete.php?token_id=' .
$token->get_id() .
'&plugin_oauthconsumer_delete_access_token='.form_generate_key(), _('Delete'));
?>
</td></tr>
diff --git a/src/plugins/oauthconsumer/www/providers.php
b/src/plugins/oauthconsumer/www/providers.php
index 3b59efe..8db92b3 100644
--- a/src/plugins/oauthconsumer/www/providers.php
+++ b/src/plugins/oauthconsumer/www/providers.php
@@ -11,7 +11,7 @@ if(forge_check_global_perm ('forge_admin')) $admin_access =
true;
if(count($providers)>0) {
echo $HTML->boxTop(_('OAuth Providers'));
- echo $HTML->listTableTop(array(_('Name'), _('Description'), _('Consumer
Key'), _('Consumer Secret'), _('Request Token URL'), _('Authorization URL'),
_('Access Token URL'), '', ''));
+ echo $HTML->listTableTop(array(_('Name'), _('Description'), _('Consumer
Key'), _('Consumer Secret'), _('Request Token URL'), _('Authorization URL'),
_('Access Token URL')));
$i = 0;
foreach( $providers as $provider ) { ?>
<tr>
diff --git a/src/plugins/oauthprovider/www/consumer.php
b/src/plugins/oauthprovider/www/consumer.php
index 53c13b3..a68d784 100644
--- a/src/plugins/oauthprovider/www/consumer.php
+++ b/src/plugins/oauthprovider/www/consumer.php
@@ -41,18 +41,18 @@ if(forge_check_global_perm ('forge_admin')) $t_can_manage =
true;
if(count($t_consumers)>0) {
echo $HTML->boxTop(_('OAuth consumers'));
- echo $HTML->listTableTop(array(_('Consumer'), _('URL'),
_('Description'), _('Email'), _('Key'), _('Secret'), '', ''));
+ echo $HTML->listTableTop(array(_('Consumer'), _('URL'),
_('Description'), _('Email'), _('Key'), _('Secret')));
$i = 0;
foreach( $t_consumers as $t_consumer ) { ?>
<tr>
- <td><?php echo ( $t_consumer->getName() ) ?></td>
- <td class="center"><?php echo ( $t_consumer->getURL() ) ?></td>
- <td class="center"><?php echo ( $t_consumer->getDesc() ) ?></td>
- <td class="center"><?php echo ( $t_consumer->getEmail() ) ?></td>
- <td><?php echo ( $t_consumer->key) ?></td>
+ <td><?php echo $t_consumer->getName() ?></td>
+ <td class="center"><?php echo $t_consumer->getURL() ?></td>
+ <td class="center"><?php echo $t_consumer->getDesc() ?></td>
+ <td class="center"><?php echo $t_consumer->getEmail() ?></td>
+ <td><?php echo $t_consumer->key ?></td>
<td><?php
- echo ( $t_consumer->secret);
+ echo $t_consumer->secret;
?></td>
<?php
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/views/form-addextrafieldoption.php | 2 +-
src/common/tracker/views/form-adminroadmap.php | 4 ++--
src/common/tracker/views/form-customizelist.php | 2 +-
src/plugins/authopenid/www/index.php | 2 +-
src/plugins/authwebid/www/index.php | 4 ++--
src/plugins/oauthconsumer/www/access_tokens.php | 8 ++++----
src/plugins/oauthconsumer/www/providers.php | 2 +-
src/plugins/oauthprovider/www/consumer.php | 14 +++++++-------
8 files changed, 19 insertions(+), 19 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits