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  b9bb5b2628e30aaf51b0028f988254063f059ada (commit)
      from  3b711cb7f4aca5c58e43b643a3ce192a0b8f6e18 (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=b9bb5b2628e30aaf51b0028f988254063f059ada

commit b9bb5b2628e30aaf51b0028f988254063f059ada
Author: Franck Villaume <[email protected]>
Date:   Thu Jun 25 20:06:26 2015 +0200

    snippet: use proper themable html submenu function

diff --git a/src/www/snippet/snippet_utils.php 
b/src/www/snippet/snippet_utils.php
index cf787ef..d7fd238 100644
--- a/src/www/snippet/snippet_utils.php
+++ b/src/www/snippet/snippet_utils.php
@@ -4,7 +4,7 @@
  *
  * Copyright 1999-2001 (c) VA Linux Systems - Tim Perdue
  * Copyright 2012, Jean-Christophe Masson - French National Education 
Department
- * Copyright 2012-2014, Franck Villaume - TrivialDev
+ * Copyright 2012-2015, Franck Villaume - TrivialDev
  * http://fusionforge.org
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -109,16 +109,20 @@ function snippet_header($params) {
        }
 
        $HTML->header($params);
-
-       /*
-               Show horizontal links
-       */
-
-       echo '<p><strong>';
-       echo util_make_link ('/snippet/',_('Browse')).'
-                | '.util_make_link ('/snippet/submit.php',_('Submit A New 
Snippet')).'
-                | '.util_make_link ('/snippet/package.php',_('Create A 
Package')).'</strong>';
-       echo '</p>';
+       $menu_text = array();
+       $menu_links = array();
+       $menu_attr = array();
+
+       $menu_text[] = _('Browse');
+       $menu_links[] = '/snippet/';
+       $menu_attr[] = array();
+       $menu_text[] = _('Submit A New Snippet');
+       $menu_links[] = '/snippet/submit.php';
+       $menu_attr[] = array();
+       $menu_text[] = _('Create A Package');
+       $menu_links[] = '/snippet/package.php';
+       $menu_attr[] = array();
+       echo $HTML->subMenu($menu_text, $menu_links, $menu_attr);
 }
 
 function snippet_footer($params = array()) {

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

Summary of changes:
 src/www/snippet/snippet_utils.php | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 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