tazbug view web/plugins/mybugs/mybugs.cgi @ rev 141
Improve mybugs plugin
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 21:18:03 2017 +0100 (2017-02-22) |
parents | 49fa101e75f5 |
children | d98dc7dce8d4 |
line source
1 #!/bin/sh
2 #
3 # TinyCM/TazBug Plugin - List bugs for a user
4 #
6 if [ "$(GET mybugs)" ]; then
7 d="My bugs"
8 header
9 html_header
10 user_box
11 if ! check_auth; then
12 echo "You must logged to view user bugs"
13 html_footer && exit 0
14 fi
15 echo "<h2><a href='?user=$USER'>$(get_gravatar "$MAIL" 48)</a> $NAME</h2>"
16 . $plugins/mybugs/user.sh
17 html_footer && exit 0
18 fi