antville/code/HopObject/$HopObject.skin

34 lines
1.3 KiB
Text
Raw Normal View History

<% #confirm %>
<form action="<% response.action %>" method="post">
<p class="storyTitle"><% gettext Warning! %></p>
<p><% param.text %></p>
<p><% gettext 'Please be aware of the fact that there is no “undo”, so if you
click “Proceed” below the changes will be applied irreversibly.' %></p>
<p><% gettext 'Click “Cancel” now if you are not really sure you want to
proceed.' %></p>
<% this.skin <% this.type prefix=$ suffix=#delete %> %>
* Refactored code and skins in respect for comprehensive i18n * Refactored and unified remove() methods and calls for greater flexibility as well as reliability * Added option to remove all comments by a user to Comment.remove() method and $Comment#delete skin * Added global #listItemFlag skin as well as listItemFlag_macro() for rendering vertically written text of items in a list view (e.g. closed) * Fixed bug in gettext_macro() and ngettext_macro() causing incorrect whitespace * Refactored timezone and locale handling * Modified automatic translation of untitled links in HopObject.link_macro() * Added honeypot to login and registration forms * Fixed client-side JavaScript to be evaluated when login or registration form is submitted, not only when the submit button is clicked * Removed redundant filter expression from DB mapping of Membership.images collection * Added Membership.content collection * Changed terminology from open to running polls, thus renaming Polls.open_action() method and Polls.open collection * Moved a lot of CSS used in root or administration sections from Site#stylesheet to $Root#stylesheet skin * Added Root.updateDomains() method (most likely already obsolete) * Removed Root.processHref() method (only necessary for very advanced setup) and obsolete comments * Fixed Root.xgettext() method to correctly read UTF-8 encoded data * Fixed Site.deleted_macro() to return the date object for late formatting * Refactored Site.processHref() for more convenient custom domain name mapping * Renamed Skins.advanced_action() method to Skins.all_action() * Removed redundant filter from Stories.comments collection * Removed unnecessary filter from Story.comments collection
2010-01-10 14:40:36 +00:00
<p><button type="submit" name="proceed" value="1"><% gettext Proceed %></button>
<a href="" class="cancel"><strong><% gettext Cancel %></strong></a></p>
</form>
<% #notify_create %>
<% gettext 'Hello {0}.' <% membership.name %> %>
<% gettext 'User {0} has added {1} #{2} to the site {3}:' <% this.modifier %>
<% gettext <% this.kind %> %> <% this.id %> <% site.title %> %>
<% this.href %>
<% gettext "Best regards." %>
<% gettext "The Management" %>
<% #notify_edit %>
<% gettext 'Hello {0}.' <% membership.name %> %>
<% gettext 'User {0} has modified {1} #{2} at the site {3}:' <% this.modifier %>
<% gettext <% this.kind %> %> <% this.id %> <% site.title %> %>
<% this.href %>
<% gettext "Best regards." %>
<% gettext "The Management" %>
<% // This comment simply adds a linebreak to format the message nicely %>