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 2d018e8cc6a19214231120bc31eacfb2598455eb (commit) from 828f3d7fc3a8c9be6e20baedc7d4dcfed670b2d8 (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=2d018e8cc6a19214231120bc31eacfb2598455eb commit 2d018e8cc6a19214231120bc31eacfb2598455eb Author: Franck Villaume <franck.villa...@trivialdev.com> Date: Fri Nov 2 16:37:11 2018 +0100 clean-up diff --git a/src/common/widget/Widget_MyAdmin.class.php b/src/common/widget/Widget_MyAdmin.class.php index f28f7cc..13e8384 100644 --- a/src/common/widget/Widget_MyAdmin.class.php +++ b/src/common/widget/Widget_MyAdmin.class.php @@ -1,7 +1,7 @@ <?php /** * Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights reserved - * Copyright 2012, 2014 Franck Villaume - TrivialDev + * Copyright 2012,2014, Franck Villaume - TrivialDev * * This file is a part of Fusionforge. * @@ -31,9 +31,11 @@ class Widget_MyAdmin extends Widget { function __construct() { parent::__construct('myadmin'); } + function getTitle() { return _('Pending administrative tasks'); } + function getContent() { global $HTML; $i = 0; @@ -94,9 +96,11 @@ class Widget_MyAdmin extends Widget { return $html_my_admin; } + function _get_color($nb) { return $nb == 0 ? 'green' : 'orange'; } + function _get_admin_row($i, $text, $value, $bgcolor, $textcolor = 'white') { global $HTML; $cells = array(); ----------------------------------------------------------------------- Summary of changes: src/common/widget/Widget_MyAdmin.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) hooks/post-receive -- FusionForge _______________________________________________ Fusionforge-commits mailing list Fusionforge-commits@lists.fusionforge.org http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits