Changeset 933
- Timestamp:
- 03/24/09 13:53:31 (14 years ago)
- Location:
- themes/freshy2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/freshy2/style.css
r923 r933 400 400 401 401 #commentform p { 402 margin:0 0 .5em 0; 403 padding:0; 404 } 402 /*margin:0 0 .5em 0; 403 padding:0;*/ 404 } 405 406 #comment-form fieldset {border:none;} 405 407 406 408 .comment-preview { -
themes/freshy2/tpl/_head.html
r633 r933 12 12 {{tpl:include src="user_head.html"}} 13 13 {{tpl:SysBehavior behavior="publicHeadContent"}} 14 15 <script type="text/javascript"> 16 //<![CDATA[ 17 $(function() { 18 if ($('body.dc-post, body.dc-page').length == 0) { return; } 19 if ($('#pr').length > 0) { return; } 20 21 var link = $('<a href="#">' + $('#comment-form h3:first').text() + '</a>').click(function() { 22 $('#comment-form fieldset').show(200); 23 $('#c_name').focus(); 24 $(this).parent().html($(this).text()); 25 return false; 26 }); 27 $('#comment-form h3:first').empty().append(link); 28 $('#comment-form fieldset').hide(); 29 }); 30 //]]> 31 </script> -
themes/freshy2/tpl/page.html
r733 r933 182 182 183 183 <h3>{{tpl:lang Add a comment}}</h3> 184 184 <fieldset> 185 185 <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 186 186 {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} … … 220 220 <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 221 221 <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p> 222 </form> 222 </fieldset> 223 </form> 223 224 </tpl:EntryIf> 224 225 -
themes/freshy2/tpl/post.html
r856 r933 197 197 198 198 <h3>{{tpl:lang Add a comment}}</h3> 199 <fieldset> 199 200 <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 200 201 {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} … … 234 235 <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 235 236 <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p> 236 </form> 237 </fieldset> 238 </form> 237 239 </tpl:EntryIf> 238 240
Note: See TracChangeset
for help on using the changeset viewer.