link api from web interface, make single note fetching work, redo note storage username
[grauphel.git] / templates / index.php
index e63df37..bc51f4b 100644 (file)
     <p>
       Use the following sync server URL with tomboy/conboy/tomdroid:
     </p>
-    <pre><?php p($_['apiurl']); ?></pre>
+    <pre><?php p($_['apiroot']); ?></pre>
+    <p>
+      You may also explore the API yourself at
+      <a style="text-decoration: underline" href="<?php p($_['apiurl']); ?>">api/1.0</a>.
+    </p>
   </div>
 
   <?php isset($_['stats']) && $_['stats']->printPage(); ?>