| author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
| Thu, 11 Nov 2010 12:26:16 +0000 (13:26 +0100) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 17 Nov 2010 21:02:19 +0000 (13:02 -0800) | ||
| commit | b891d52a644e58a830091463911cb859499ae504 | |
| tree | c30829b148b22c7c49dca482d78b8896d7a54b86 | tree | snapshot |
| parent | 0e65699992ddaf68d9d1c30ad8cd1e418cf1bc52 | commit | diff |
gitweb: provide a routine to display (sub)sections
The routine puts the given contento into a DIV element, automatically
adding a header div. The content can be provided as a standard scalar
value (which is used as-is), as a scalar ref (which is HTML-escaped), as
a function reference to be executed, or as a file handle to be dumped.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The routine puts the given contento into a DIV element, automatically
adding a header div. The content can be provided as a standard scalar
value (which is used as-is), as a scalar ref (which is HTML-escaped), as
a function reference to be executed, or as a file handle to be dumped.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| gitweb/gitweb.perl | diff | blob | history |