tinycm rev 21
index.cgi: small fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 05 03:37:54 2014 +0100 (2014-01-05) |
parents | 2d3ea386014a |
children | 75c2b9d58c4e |
files | index.cgi |
line diff
1.1 --- a/index.cgi Sun Jan 05 01:25:55 2014 +0100 1.2 +++ b/index.cgi Sun Jan 05 03:37:54 2014 +0100 1.3 @@ -528,13 +528,17 @@ 1.4 user_box 1.5 . $PEOPLE/"$(GET user)"/account.conf 1.6 echo "<h2>$(get_gravatar $MAIL) $(GET user)</h2>" 1.7 - loglines=$(fgrep $user $(find $cache -name *.log) | wc -l) 1.8 + loglines=$(fgrep $(GET user) $(find $cache -name *.log) | wc -l) 1.9 gettext "Activities:"; echo " $loglines" 1.10 if check_auth && [ "$(GET user)" == "$user" ]; then 1.11 auth_people 1.12 else 1.13 public_people 1.14 fi 1.15 + # Each user can have personnal profile page 1.16 + if [ -f "$PEOPLE/$USER/profile.txt" ]; then 1.17 + cat $PEOPLE/$USER/profile.txt | wiki_parser 1.18 + fi 1.19 html_footer ;; 1.20 1.21 *\ dashboard\ *)