From: Giuseppe Bilotta Date: Thu, 16 Sep 2010 09:31:03 GMT Subject: [PATCH 5/7] gitweb: auxiliary functions to group data Message-ID: <1284629465-14798-6-git-send-email-giuseppe.bilotta@gmail.com> In-Reply-To: <1284629465-14798-1-git-send-email-giuseppe.bilotta@gmail.com> Signed-off-by: Giuseppe Bilotta --- gitweb/gitweb.perl | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 6138c6e..92551e4 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -3765,6 +3765,21 @@ sub git_print_header_div { "\n\n"; } +sub git_begin_group { + my ($class, $id, @rest) = @_; + + $class = ' class="' . join(' ', 'group', $class) . '"'; + + $id = ' id="' . $id . '"' if $id; + + print "\n"; + git_print_header_div(@rest); +} + +sub git_end_group { + print "\n" +} + sub print_local_time { print format_local_time(@_); } -- 1.7.3.rc1.230.g8b572