tinycm diff plugins/users/users.cgi @ rev 92
Improve users and community plugin
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 17 12:44:05 2017 +0100 (2017-02-17) |
parents | 12c983066e52 |
children | 95673a3de4e4 |
line diff
1.1 --- a/plugins/users/users.cgi Sun Feb 12 09:42:27 2017 +0000 1.2 +++ b/plugins/users/users.cgi Fri Feb 17 12:44:05 2017 +0100 1.3 @@ -13,23 +13,12 @@ 1.4 cat << EOT 1.5 Email : $MAIL 1.6 </pre> 1.7 -EOT 1.8 - # Each user can have personal profile page 1.9 - if [ -f "$PEOPLE/$USER/profile.txt" ]; then 1.10 - cat << EOT 1.11 + 1.12 <div id="tools"> 1.13 + <a href="$script?dashboard">Dashboard</a> 1.14 <a href="$script?modprofile">$(gettext "Modify profile")</a> 1.15 - <a href="$script?dashboard">Dashboard</a> 1.16 </div> 1.17 EOT 1.18 - else 1.19 - cat << EOT 1.20 -<div id="tools"> 1.21 - <a href="$script?modprofile">$(gettext "Create a profile page")</a> 1.22 - <a href="$script?dashboard">Dashboard</a> 1.23 -</div> 1.24 -EOT 1.25 - fi 1.26 } 1.27 1.28 case " $(GET) " in