Updated 2k11 to what I consider to be v1.0. Yay!
This commit is contained in:
parent
dea13b461e
commit
4cb2714995
@ -7,6 +7,10 @@
|
||||
<a id="serendipity_CommentForm"></a>
|
||||
<form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
|
||||
<div><input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}"/></div>
|
||||
<div class="form_field">
|
||||
<label id="reply-to-hint" for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label>
|
||||
{$commentform_replyTo}
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_name">{$CONST.NAME}</label>
|
||||
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$placename}"/>
|
||||
@ -19,10 +23,6 @@
|
||||
<label for="serendipity_commentform_url">{$CONST.HOMEPAGE}</label>
|
||||
<input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$placeurl}"/>
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label>
|
||||
{$commentform_replyTo}
|
||||
</div>
|
||||
<div class="form_tarea">
|
||||
<label for="serendipity_commentform_comment">{$CONST.COMMENT}</label>
|
||||
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" cols="40" placeholder="{$placemess}">{$commentform_data}</textarea>
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name: 2k11
|
||||
Author: Matthias Mees, Veit Lehmann
|
||||
Date: 2011-11-28
|
||||
Date: 2011-11-30
|
||||
Require Serendipity: 1.6
|
||||
|
@ -22,6 +22,15 @@ jQuery(document).ready(function($) {
|
||||
var deleteMsg = $(this).attr('title');
|
||||
return confirm(deleteMsg);
|
||||
});
|
||||
// Move preview comment in the DOM to fix comment preview
|
||||
$('#c').insertAfter('#feedback');
|
||||
// Hide reply-to form element
|
||||
$('.comment_reply').click(function() {
|
||||
$('#reply-to-comment').remove();
|
||||
var replyToPlaceholder = '<p id="reply-to-comment">' + $('#reply-to-hint').text() + ' ' + $('#serendipity_replyTo :selected').text() + '</p>';
|
||||
$('#serendipity_replyTo').after(replyToPlaceholder);
|
||||
});
|
||||
$('#reply-to-hint, #serendipity_replyTo').addClass('visuallyhidden');
|
||||
// Cloned primary navigation for small screen
|
||||
var $select = $('<select/>');
|
||||
$('#primary-nav li').each(function() {
|
||||
|
@ -700,6 +700,14 @@ pre>samp {
|
||||
|
||||
.serendipity_freetag_taglist_related { font-size: 1.25em; }
|
||||
|
||||
.geshi {
|
||||
font-family: monospace, monospace;
|
||||
_font-family: 'courier new', monospace;
|
||||
font-size: .875em;
|
||||
}
|
||||
|
||||
pre .geshi { font-size: 1em; }
|
||||
|
||||
/* Helper classes */
|
||||
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user