Show the Potlatch 2 help the first time a user starts it

This commit is contained in:
Grant Slater 2011-07-08 12:40:15 +01:00 committed by Tom Hughes
parent 7e4ceec192
commit 1f2545ea90

View file

@ -41,6 +41,7 @@
fo.addVariable("api","<%= request.protocol + request.host_with_port %>/api/<%= API_VERSION %>/"); fo.addVariable("api","<%= request.protocol + request.host_with_port %>/api/<%= API_VERSION %>/");
fo.addVariable("policy","<%= request.protocol + request.host_with_port %>/api/crossdomain.xml"); fo.addVariable("policy","<%= request.protocol + request.host_with_port %>/api/crossdomain.xml");
fo.addVariable("connection","XML"); fo.addVariable("connection","XML");
fo.addVariable("show_help","once");
<% if token %> <% if token %>
fo.addVariable("oauth_token","<%= token.token %>"); fo.addVariable("oauth_token","<%= token.token %>");
fo.addVariable("oauth_token_secret","<%= token.secret %>"); fo.addVariable("oauth_token_secret","<%= token.secret %>");