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  d015868f813f5624b6e8a5a8ab06ebada30ba1f6 (commit)
      from  41a2d6a382352283554df0c01880d081137ea799 (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=d015868f813f5624b6e8a5a8ab06ebada30ba1f6

commit d015868f813f5624b6e8a5a8ab06ebada30ba1f6
Author: Franck Villaume <[email protected]>
Date:   Fri Feb 24 12:46:19 2017 +0000

    drop unused function html_buildcheckboxarray. please use 
html_build_checkboxes_from_array

diff --git a/src/www/include/html.php b/src/www/include/html.php
index c6feb97..fbb707c 100644
--- a/src/www/include/html.php
+++ b/src/www/include/html.php
@@ -1112,29 +1112,6 @@ function html_build_priority_select_box($name = 
'priority', $checked_val = '3',
 }
 
 /**
- * html_buildcheckboxarray() - Build an HTML checkbox array.
- *
- * @param      array   $options        Options array
- * @param      string  $name           Checkbox name
- * @param      array   $checked_array  Array of boxes to be pre-checked
- */
-function html_buildcheckboxarray($options, $name, $checked_array) {
-       $option_count = count($options);
-       $checked_count = count($checked_array);
-
-       for ($i = 1; $i <= $option_count; $i++) {
-               $checked = 0;
-
-               for ($j = 0; $j < $checked_count; $j++) {
-                       if ($i == $checked_array[$j]) {
-                               $checked = 1;
-                       }
-               }
-               echo html_e('br').html_build_checkbox($name, false, 
$checked).$options[$i];
-       }
-}
-
-/**
  * site_header() - everything required to handle security and
  * add navigation for user pages like /my/ and /account/
  *

-----------------------------------------------------------------------

Summary of changes:
 src/www/include/html.php | 23 -----------------------
 1 file changed, 23 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to