The best way to learn how to use the WebCore is by example. See the documentation for more information.
The requested URL is always shown first; if a page uses one or more WebCore templates, those are shown afterwards.
00 <?php
01 include_once ('software/init.php');
02
03 $Page->title->subject = 'Documentation';
04 $Page->location->append ('Software', '../');
05 $Page->location->append ('PHP');
06 $Page->location->append ('earthli Browser Detector', './');
07 $Page->location->append ($Page->title->subject);
08
09 $Page->start_display ();
10
11 $docs_path = $Page->resolve_path ('{data}software/webcore/docs');
12 ?>
13 <div class="main-box">
14 <div class="text-flow">
15 <h2>Public docs</h2>
16 <p>Works for most things. Doesn't include implementation details.</p>
17 <ul>
18 <li><a href="<?php echo $docs_path; ?>public/webcore/util/BROWSER.html">Class (BROWSER)</a></li>
19 <li><a href="<?php echo $docs_path; ?>public/webcore/util/_main_webcore_util_browser_php.html">File (constants, etc.)</a></li>
20 </ul>
21 <h2>Developer docs</h2>
22 <p>Want to change something or add a feature? Use these.</p>
23 <ul>
24 <li><a href="<?php echo $docs_path; ?>developer/webcore/util/BROWSER.html">Class (BROWSER)</a></li>
25 <li><a href="<?php echo $docs_path; ?>developer/webcore/util/_main_webcore_util_browser_php.html">File (constants,
26 etc.)</a></li>
27 </ul>
28 <h2>Syntax-highlighted source code</h2>
29 <p>Curious how it works?</p>
30 <ul>
31 <li><a href="<?php echo $docs_path; ?>developer/__filesource/fsource_webcore_util_webcoreutilbrowser.php.html">PHP Source</a></li>
32 </ul>
33 </div>
34 </div>
35 <?php $Page->finish_display (); ?>
36