* 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
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
<% #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 %> %>
|
|
<p><button type="submit" name="proceed" value="1"><% gettext Proceed %></button>
|
|
<a href="" class="cancel"><strong><% gettext Cancel %></strong></a></p>
|
|
</form>
|
|
|
|
<%
|
|
////////////////////// Notification skins
|
|
%>
|
|
|
|
<% #notify_create %>
|
|
<% gettext 'Hello {0}.' <% membership.name %> %>
|
|
|
|
<% gettext 'This message wants to inform you that on {0} user {1} published a
|
|
new {2} [1].' <% this.modified short %> <% this.modifier %>
|
|
<% this.kind %> %>
|
|
|
|
<% gettext "Best regards." %>
|
|
<% gettext "The Management" %>
|
|
|
|
--
|
|
[1] <% this.href %>
|
|
|
|
|
|
<% #notify_edit %>
|
|
<% gettext 'Hello {0}.' <% membership.name %> %>
|
|
|
|
<% gettext 'This message wants to inform you that on {0} user {1} modified
|
|
{2} #{3} [1].' <% this.modified short %> <% this.modifier %>
|
|
<% this.kind %> <% this.id %> %>
|
|
|
|
<% gettext "Best regards." %>
|
|
<% gettext "The Management" %>
|
|
|
|
--
|
|
[1] <% this.href %>
|