Implemented basic extra handling (ie. plug-ins in Antville):

* Added global app.data.extras collection and registerExtra() method
 * Defined res.handlers.extra in HopObject.onRequest() handler to provide extra macros
 * Implemented reCAPTCHA for anonymously contacting an Antville member as proof of concept
This commit is contained in:
Tobi Schäfer 2011-03-23 13:35:02 +00:00
parent 8a83f406f8
commit 91b45b3732
8 changed files with 135 additions and 29 deletions

View file

@ -62,6 +62,14 @@ $(function() {
</tr>
<tr>
<td> </td>
<td colspan="4">
<% skin connect#facebook %><br />
<% skin connect#google %><br />
<% skin connect#twitter %><br />
</td>
</tr>
<tr>
<td> </td>
<td colspan="4"><br />
<button type="submit" id="submit" name="login" value="1"
tabindex="4"><% gettext Login context=verb %></button>