tinycm diff plugins/export/export.cgi @ rev 60
Improve dashboard and plugin integration
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 01 01:28:51 2014 +0100 (2014-02-01) |
parents | 91c28ed67409 |
children | 0893f1ab023c |
line diff
1.1 --- a/plugins/export/export.cgi Sat Jan 25 16:23:20 2014 +0000 1.2 +++ b/plugins/export/export.cgi Sat Feb 01 01:28:51 2014 +0100 1.3 @@ -19,6 +19,10 @@ 1.4 header 1.5 html_header 1.6 user_box 1.7 + if ! check_auth && ! admin_user; then 1.8 + gettext "You must be admin to export content." 1.9 + html_footer && exit 0 1.10 + fi 1.11 cat << EOT 1.12 <h2>Export</h2> 1.13 <p>