Changeset 182 for server/trunk/web/root/templates/html/help
- Timestamp:
- 12/24/10 03:00:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/root/templates/html/help/urls/index.html
r163 r182 2 2 3 3 <div class="sophie_help"> 4 <h1>Formating results</h1> 5 6 <p>This page describe supporting URLs on the website.</p> 7 8 <p>Normally all urls support output as: 9 10 <ul> 11 <li><code>HTML</code> format</li> 12 <li><code>AJAX</code> format, IE <code>HTML</code> format w/o standard html 13 headers. This is usefull to include part of website using 14 <code>Javascript</code> code.</li> 15 <li><code>JSON</code> format</li> 16 </ul> 17 18 For <code>XMLRPC</code> functions, see <a href="[% c.uri_for('/help', 'xmlrpc') %]">XMLRPC 19 Help</a> page. 20 </p> 21 22 <p>The default output is of course <code>HTML</code> format, like any website 23 would do.</p> 24 25 <p>Alternative output is obtain by passing argument either as <code>POST</code> 26 or <code>GET</code>: 27 28 <ul> 29 <li>setting <code>json</code> for json output,</li> 30 <li>setting <code>ajax</code> for ajax output.</li> 31 </ul> 32 </p> 33 34 <p>Examples: 35 36 <pre> 37 [% c.uri_for('/distrib') %] 38 [% c.uri_for('/distrib', { ajax => 1 }) %] 39 [% c.uri_for('/distrib', { json => 1 }) %] 40 </pre> 41 </p> 42 43 <h1>Urls:</h1> 44 4 45 [% c.model('Help::POD').urls_functions %] 5 46 </div>
Note: See TracChangeset
for help on using the changeset viewer.