- Timestamp:
- 07/24/08 23:52:20 (1 month ago)
- Files:
-
- trunk/MidCenturyTemplateSet/mt-static/plugins/mid-century/close.gif (added)
- trunk/MidCenturyTemplateSet/mt-static/plugins/mid-century/jquery.js (added)
- trunk/MidCenturyTemplateSet/mt-static/plugins/mid-century/screen.css (modified) (3 diffs)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/MidCenturyTemplateSet.pl (modified) (5 diffs)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/about_me.mtml (added)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/archive_index.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/categories.mtml (added)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/category_entry_listing.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comment_preview.mtml (modified) (5 diffs)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comment_response.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comments.mtml (modified) (3 diffs)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/entry.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/gallery.mtml (modified) (2 diffs)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/html_head.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/individual_comment.mtml (added)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/main_index.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/monthly.mtml (added)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/monthly_entry_listing.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/page.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/search_results.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/sidebar.mtml (modified) (1 diff)
- trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/theme_javascript.mtml (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MidCenturyTemplateSet/mt-static/plugins/mid-century/screen.css
r874 r890 155 155 font-style: normal; 156 156 } 157 h1#page-title.alt-title { 158 border-bottom: none; 159 margin-bottom: 10px; 160 } 157 161 h2 { 158 162 font-size: 18px; … … 318 322 margin-left: 55px; 319 323 } 320 324 #overlay { 325 display: none; 326 position: absolute; 327 top: 0%; 328 left: 0%; 329 width: 100%; 330 height: 100%; 331 background-color: black; 332 z-index:1001; 333 -moz-opacity: 0.8; 334 opacity:.80; 335 filter: alpha(opacity=80); 336 } 337 #dialog { 338 display: none; 339 position: absolute; 340 width: 100%; 341 top: 100px; 342 z-index:1002; 343 } 344 #dialog-inner { 345 background: #fff; 346 margin: 0 auto; 347 position: relative; 348 border-bottom: 1px solid #000; 349 border-right: 1px solid #000; 350 } 351 #dialog-content { 352 padding: 20px; 353 } 354 #dialog-content h2 { 355 text-align: left; 356 border: none; 357 margin-bottom: 10px; 358 } 359 #dialog-content div { 360 text-align: left; 361 } 362 #dialog-text { 363 position: absolute; 364 bottom: 0; 365 left: 0; 366 width: 100%; 367 display: none; 368 } 369 #dialog-text-inner { 370 padding: 20px; 371 margin: 0 20px 20px; 372 color: #fff; 373 background: #000; 374 -moz-opacity: 0.8; 375 opacity:.80; 376 filter: alpha(opacity=80); 377 } 378 #dialog-close { 379 position: absolute; 380 top: 6px; 381 right: 6px; 382 width: 13px; 383 height: 13px; 384 text-indent: -9999px; 385 overflow: hidden; 386 background: url(close.gif) no-repeat 2px 2px; 387 } 388 #dialog-close:hover { 389 background: url(close.gif) no-repeat 2px -18px; 390 } 321 391 322 392 /* Entries ----------------------------------------------------------------- */ … … 712 782 .widget-gallery .asset-description { 713 783 line-height: 1.5; 784 overflow: hidden; 785 height: 90px; 714 786 } 715 787 trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/MidCenturyTemplateSet.pl
r847 r890 59 59 rebuild_me => '1', 60 60 }, 61 'theme_javascript' => { 62 label => 'Theme Javascript', 63 outfile => 'theme_javascript.js', 64 rebuild_me => '1', 65 }, 61 66 }, 62 67 archive => { … … 97 102 }, 98 103 module => { 104 'about_me' => { 105 label => 'About Me', 106 }, 99 107 'banner_footer' => { 100 108 label => 'Banner Footer', … … 102 110 'banner_header' => { 103 111 label => 'Banner Header', 112 }, 113 'categories' => { 114 label => 'Categories', 104 115 }, 105 116 'entry_summary' => { … … 121 132 label => 'Gallery', 122 133 }, 134 'monthly' => { 135 label => 'Monthly', 136 }, 137 'recent_comments' => { 138 label => 'Recent Comments', 139 }, 140 'recent_entries' => { 141 label => 'Recent Entries', 142 }, 123 143 'trackbacks' => { 124 144 label => 'Trackbacks', … … 126 146 'userpic' => { 127 147 label => 'Userpic', 128 },129 },130 widget => {131 'recent_comments' => {132 label => 'Recent Comments',133 },134 'recent_entries' => {135 label => 'Recent Entries',136 148 }, 137 149 }, trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/archive_index.mtml
r847 r890 144 144 </div> 145 145 </div> 146 <div id="overlay"></div> 147 <div id="dialog"><div id="dialog-inner"> 148 <div id="dialog-content"></div> 149 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 150 </div></div> 146 151 </body> 147 152 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/category_entry_listing.mtml
r847 r890 69 69 </div> 70 70 </div> 71 <div id="overlay"></div> 72 <div id="dialog"><div id="dialog-inner"> 73 <div id="dialog-content"></div> 74 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 75 </div></div> 71 76 </body> 72 77 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comment_preview.mtml
r847 r890 28 28 29 29 30 <h1 id="page-title" ><$MTVar name="page_title"$></h1>30 <h1 id="page-title" class="alt-title"><__trans phrase="Previewing your Comment"></h1> 31 31 32 32 <div id="comments" class="comments" style="margin-left: 55px;"> 33 33 <mt:ignore><!-- Comment Preview --></mt:ignore> 34 <div class="comment" id="comment-<$MTCommentID$>">34 <div id="comment-<$MTCommentID$>" class="comment<mt:IfCommentParent> comment-reply</mt:IfCommentParent><mt:IfCommenterIsEntryAuthor> comment-by-author</mt:IfCommenterIsEntryAuthor>"> 35 35 <div class="inner"> 36 <div class="comment-content"> 37 <div class="comment-content-inner"> 38 <$MTCommentBody$> 39 </div> 40 </div> 36 41 <div class="comment-header"> 37 42 <div class="asset-meta"> 38 43 <span class="byline"> 39 44 <$MTCommentAuthorIdentity$> 40 <mt:IfCommentParent>45 <mt:IfCommentParent> 41 46 <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"> 42 <mt:else>47 <mt:else> 43 48 <span class="vcard author"><$MTCommentAuthorLink$></span> 44 </mt:IfCommentParent>49 </mt:IfCommentParent> 45 50 | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 51 <MTIfCommentsAccepted> 52 | <$MTCommentReplyToLink$> 53 </MTIfCommentsAccepted> 46 54 </span> 47 55 </div> 48 </div>49 <div class="comment-content">50 <$MTCommentBody$>51 56 </div> 52 57 </div> … … 55 60 56 61 <mt:ignore><!-- Comment Form --></mt:ignore> 62 </div> 57 63 <div class="comments-open" id="comments-open"> 58 64 <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2> … … 60 66 <div id="comment-greeting"></div> 61 67 <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> 68 <div id="comments-form-inner"> 62 69 <input type="hidden" name="static" value="1" /> 63 70 <input type="hidden" name="armor" value="1" /> … … 98 105 <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" /> 99 106 </div> 107 </div> 100 108 </form> 101 109 </div> … … 117 125 </div> 118 126 </div> 127 <div id="overlay"></div> 128 <div id="dialog"><div id="dialog-inner"> 129 <div id="dialog-content"></div> 130 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 131 </div></div> 119 132 </body> 120 133 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comment_response.mtml
r847 r890 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> 4 <head> 5 6 7 <MTIf name="comment_confirmation"> 8 <mt:ignore><!-- Success message when comment has been submitted --></mt:ignore> 9 <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">"> 10 <MTSetVar name="message" value="<p><__trans phrase="Your comment has been submitted!"></p>"> 11 <MTElse name="comment_pending"> 12 <mt:ignore><!-- Pending message when comment is being held for review --></mt:ignore> 13 <MTSetVar name="page_title" value="<__trans phrase="Thank you for commenting.">"> 14 <MTSetVar name="message" value="<p><__trans phrase="Your comment has been received and held for approval by the blog owner."></p>"> 15 <MTElse name="comment_error"> 16 <mt:ignore><!-- Error message when comment submission fails --></mt:ignore> 17 <MTSetVar name="page_title" value="<__trans phrase="Comment Submission Error">"> 18 <MTSetVarBlock name="message"><p><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$MTErrorMessage$>"></p></MTSetVarBlock> 19 </MTIf> 20 21 22 <$mt:include module="<__trans phrase="HTML Head">"$> 23 <title><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></title> 24 </head> 25 <body id="<$mt:BlogTemplateSetID$>" class="<$mt:var name="body_class"$> <$MTVar name="page_layout"$>"> 26 <div id="container"> 27 <div id="container-inner"> 28 29 30 <$mt:include module="<__trans phrase="Banner Header">"$> 31 32 33 <div id="content"> 34 <div id="content-inner"> 35 36 37 <div id="alpha"> 38 <div id="alpha-inner"> 39 <h1 id="page-title"><$MTVar name="page_title"$></h1> 40 <div class="message-content"> 41 <$MTVar name="message"$> 42 <p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<$MTEntryLink$>"></p> 43 </div> 44 </div> 45 </div> 46 47 48 <$MTInclude module="<__trans phrase="Sidebar">"$> 49 50 51 </div> 52 </div> 53 54 55 <$mt:include module="<__trans phrase="Banner Footer">"$> 56 57 58 </div> 59 </div> 60 </body> 61 </html> 1 <MTComments> 2 <MTCommentsHeader> 3 <h2 class="comments-header"><$MTEntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></h2> 4 <div class="comments-content"> 5 </MTCommentsHeader> 6 <mt:Include module="Individual Comment"> 7 <MTCommentsFooter> 8 </div> 9 </MTCommentsFooter> 10 </MTComments> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comments.mtml
r847 r890 8 8 <!-- Display comments --> 9 9 </mt:ignore> 10 <div id="comments-list"> 10 11 <MTComments> 11 12 <MTCommentsHeader> … … 13 14 <div class="comments-content"> 14 15 </MTCommentsHeader> 15 <div id="comment-<$MTCommentID$>" class="comment<mt:IfCommentParent> comment-reply</mt:IfCommentParent><mt:IfCommenterIsEntryAuthor> comment-by-author</mt:IfCommenterIsEntryAuthor>"> 16 <div class="inner"> 17 <div class="comment-content"> 18 <div class="comment-content-inner"> 19 <$MTCommentBody$> 20 </div> 21 </div> 22 <div class="comment-header"> 23 <div class="asset-meta"> 24 <span class="byline"> 25 <$MTCommentAuthorIdentity$> 26 <mt:IfCommentParent> 27 <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"> 28 <mt:else> 29 <span class="vcard author"><$MTCommentAuthorLink$></span> 30 </mt:IfCommentParent> 31 | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 32 <MTIfCommentsAccepted> 33 | <$MTCommentReplyToLink$> 34 </MTIfCommentsAccepted> 35 </span> 36 </div> 37 </div> 38 </div> 39 </div> 16 <mt:Include module="Individual Comment"> 40 17 <MTCommentsFooter> 41 18 </div> 42 19 </MTCommentsFooter> 43 20 </MTComments> 44 21 </div> 45 22 46 23 <mt:ignore> … … 57 34 <div id="comment-greeting"></div> 58 35 36 <script type="text/javascript" charset="utf-8"> 37 38 $(document).ready(function(){ 39 $("#comment-submit").click(function(){ 40 $("#comment-submit").attr("disabled","disabled"); 41 $("#comment-text").attr("disabled","disabled"); 42 if ($("#comment-armor")) { 43 $("#comment-armor").val('<$mt:BlogSitePath encode_sha1="1"$>'); 44 } 45 // var commentForm = $("#comments-form"); 46 // mtCommentOnSubmit(commentForm); 47 if (mtGetUser()) { 48 var authorVal = mtGetUser().name; 49 var emailVal = mtGetUser().email; 50 var urlVal = mtGetUser().url; 51 } else { 52 var authorVal = $("#comment-author").val(); 53 var emailVal = $("#comment-email").val(); 54 var urlVal = $("#comment-url").val(); 55 } 56 var staticVal = $("#comment-static").val(); 57 var entryIdVal = $("#comment-entry_id").val(); 58 var langVal = $("#comment-lang").val(); 59 var parentIdVal = $("#comment-parent_id").val(); 60 var armorVal = $("#comment-armor").val(); 61 var previewVal = $("#comment-prev").val(); 62 var sidVal = $("#comment-sid").val(); 63 64 var replyVal = $("#comment-reply").val(); 65 var textVal = $("#comment-text").val(); 66 var postData = { static: staticVal, entry_id: entryIdVal, parent_id: parentIdVal, armor: armorVal, comment_reply: replyVal, author: authorVal, email: emailVal, url: urlVal, text: textVal}; 67 $.post("<$MTCGIPath$><$MTCommentScript$>", postData, 68 function(data){ 69 $("#comments-list").html(data); 70 $("#comment-submit").removeAttr("disabled"); 71 $("#comment-text").removeAttr("disabled"); 72 $("#comment-text").val(""); 73 } 74 ); 75 return false; 76 }); 77 }); 78 79 </script> 80 59 81 <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> 60 82 <div id="comments-form-inner"> 61 <input type="hidden" name="static" value="1" />62 <input type="hidden" name="entry_id" value="<$MTEntryID$>" />63 <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" />64 <input type="hidden" name="parent_id" value="<$MTCommentParentID$>" id="comment-parent-id" />65 <input type="hidden" name="armor" value="1" />66 <input type="hidden" name="preview" value="" />67 <input type="hidden" name="sid" value="" />83 <input type="hidden" id="comment-static" name="static" value="1" /> 84 <input type="hidden" id="comment-entry_id" name="entry_id" value="<$MTEntryID$>" /> 85 <input type="hidden" id="comment-lang" name="__lang" value="<$MTBlogLanguage$>" /> 86 <input type="hidden" id="comment-parent_id" name="parent_id" value="<$MTCommentParentID$>" id="comment-parent-id" /> 87 <input type="hidden" id="comment-armor" name="armor" value="1" /> 88 <input type="hidden" id="comment-preview" name="preview" value="" /> 89 <input type="hidden" id="comment-sid" name="sid" value="" /> 68 90 <div id="comments-open-data"> 69 91 <div id="comment-form-name"> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/entry.mtml
r847 r890 76 76 </div> 77 77 </div> 78 <div id="overlay"></div> 79 <div id="dialog"><div id="dialog-inner"> 80 <div id="dialog-content"></div> 81 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 82 </div></div> 78 83 </body> 79 84 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/gallery.mtml
r873 r890 1 <mt:SetVarBlock name="asset_count"><mt:AssetCount /></mt:SetVarBlock> 1 <mt:Ignore> 2 Determine the actual number of image assets without including 3 thumbnails and do not display the gallery widget unless there 4 are image assets. 5 </mt:Ignore> 6 <mt:Assets type="image"><mt:SetVarBlock name="asset_count"><mt:var name="__counter__"></mt:SetVarBlock></mt:Assets> 2 7 <mt:If name="asset_count" gt="0"> 8 3 9 <script type="text/javascript" charset="utf-8"> 10 // set starting point and ending point -- will show max of 10 images 4 11 var currentItem = 1; 5 6 <mt:Var name="asset_count2" value="0" /> 7 8 <mt:Assets type="image"> 9 <mt:SetVarBlock name="asset_count2"><mt:var name="__counter__"></mt:SetVarBlock> 10 </mt:Assets> 11 12 var lastItem = <mt:Var name="asset_count2" />; 13 14 if (lastItem > 10) { 15 lastItem = 10 16 } 17 function galleryNext() { 18 var nextItemNumber = currentItem + 1; 19 if (nextItemNumber <= lastItem ) { 20 var currentItemId = 'gallery-item-' + currentItem; 21 var nextItemId = 'gallery-item-' + nextItemNumber; 22 document.getElementById(currentItemId).style.display = 'none'; 23 document.getElementById(nextItemId).style.display = 'block'; 24 currentItem = nextItemNumber; 25 document.getElementById('showcase-prev').className = 'active'; 26 if (currentItem == lastItem) { 27 document.getElementById('showcase-next').className = 'inactive'; 28 } else { 29 document.getElementById('showcase-next').className = 'active'; 30 } 31 } 32 } 33 function galleryPrev() { 34 var prevItemNumber = currentItem - 1; 35 if (prevItemNumber > 0) { 36 var currentItemId = 'gallery-item-' + currentItem; 37 var prevItemId = 'gallery-item-' + prevItemNumber; 38 document.getElementById(currentItemId).style.display = 'none'; 39 document.getElementById(prevItemId).style.display = 'block'; 40 currentItem = prevItemNumber; 41 document.getElementById('showcase-next').className = 'active'; 42 if (currentItem == 1) { 43 document.getElementById('showcase-prev').className = 'inactive'; 44 } else { 45 document.getElementById('showcase-prev').className = 'active'; 46 } 47 } 48 } 12 var lastItem = <mt:Var name="asset_count" /> > 10 ? 10 : <mt:Var name="asset_count" />; 49 13 </script> 50 14 … … 54 18 <div class="gallery-item-nav"> 55 19 <a href="javascript:galleryPrev();" id="showcase-prev" class="inactive">Prev</a> 56 <a href="javascript:galleryNext();" id="showcase-next" class="<mt:If name="asset_count 2" gt="1">active<mt:Else>inactive</mt:If>">Next</a>20 <a href="javascript:galleryNext();" id="showcase-next" class="<mt:If name="asset_count" gt="1">active<mt:Else>inactive</mt:If>">Next</a> 57 21 </div> 58 22 <div class="widget-content"><div class="widget-content-inner"> 59 23 <mt:Assets lastn="10" type="image"> 60 24 <div id="gallery-item-<mt:var name="__counter__">" class="gallery-item" <mt:if name="__first__">style="display: block;"</mt:if>> 61 <a class="asset-image" href=" <mt:AssetURL />" target="_blank"><img src="<$mt:AssetThumbnailURL square="1" width="120"$>" class="asset-img-thumb" alt="<$mt:AssetLabel$>" title="<$mt:AssetLabel$>" /></a>62 <h3><a href=" <mt:AssetURL />" target="_blank"><$mt:AssetLabel$></a></h3>63 <div class="asset-description"><$mt:AssetDescription $></div>25 <a class="asset-image" href="javascript:dialogShow('<$mt:AssetURL$>',<mt:AssetProperty property="image_height" />,<mt:AssetProperty property="image_width" />,'gallery-item-<mt:var name="__counter__">');"><img src="<$mt:AssetThumbnailURL square="1" width="120"$>" class="asset-img-thumb" alt="<$mt:AssetLabel$>" title="<$mt:AssetLabel$>" /></a> 26 <h3><a href="javascript:dialogShow('<$mt:AssetURL$>',<mt:AssetProperty property="image_height" />,<mt:AssetProperty property="image_width" />,'gallery-item-<mt:var name="__counter__">');"><$mt:AssetLabel$></a></h3> 27 <div class="asset-description"><$mt:AssetDescription $></div> 64 28 </div> 65 29 </mt:Assets> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/html_head.mtml
r847 r890 4 4 <link rel="start" href="<$MTBlogURL$>" title="Home" /> 5 5 <link rel="alternate" type="application/atom+xml" title="Recent Entries" href="<$MTLink template="feed_recent"$>" /> 6 <script type="text/javascript" src="<$MTStaticWebPath$>plugins/mid-century/jquery.js"></script> 6 7 <script type="text/javascript" src="<$MTLink template="javascript"$>"></script> 8 <script type="text/javascript" src="<$mt:Link template="Theme Javascript"$>"></script> 7 9 <$MTCCLicenseRDF$> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/main_index.mtml
r847 r890 46 46 </div> 47 47 </div> 48 <div id="overlay"></div> 49 <div id="dialog"><div id="dialog-inner"> 50 <div id="dialog-content"></div> 51 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 52 </div></div> 48 53 </body> 49 54 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/monthly_entry_listing.mtml
r847 r890 69 69 </div> 70 70 </div> 71 <div id="overlay"></div> 72 <div id="dialog"><div id="dialog-inner"> 73 <div id="dialog-content"></div> 74 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 75 </div></div> 71 76 </body> 72 77 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/page.mtml
r847 r890 63 63 </div> 64 64 </div> 65 <div id="overlay"></div> 66 <div id="dialog"><div id="dialog-inner"> 67 <div id="dialog-content"></div> 68 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 69 </div></div> 65 70 </body> 66 71 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/search_results.mtml
r847 r890 177 177 </div> 178 178 </div> 179 <div id="overlay"></div> 180 <div id="dialog"><div id="dialog-inner"> 181 <div id="dialog-content"></div> 182 <a href="javascript:dialogClose();" id="dialog-close"><__trans phrase="Close"></a> 183 </div></div> 179 184 </body> 180 185 </html> trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/sidebar.mtml
r873 r890 1 1 <div id="beta"> 2 2 <div id="beta-inner"> 3 3 4 <$mt:include module="<__trans phrase="Gallery">"$> 4 5 5 6 <div id="beta-columns"> 6 7 <div id="beta-columns-left"> 7 <mt:Pages folder="about" lastn="1">8 <mt:PagesHeader>9 <div class="widget-about widget">10 </mt:PagesHeader>11 <h3 class="widget-header"><mt:PageTitle /></h3>12 <div class="widget-content">13 <mt:PageExcerpt />14 </div>15 <mt:PagesFooter>16 </div>17 </mt:PagesFooter>18 </mt:Pages>19 8 20 < !-- categories -->9 <$mt:include module="<__trans phrase="About Me">"$> 21 10 22 <mt:IfArchiveTypeEnabled archive_type="Category"> 23 <div class="widget-archive widget-archive-category widget"> 24 <h3 class="widget-header">Categories</h3> 25 <div class="widget-content"> 26 <mt:TopLevelCategories> 27 <mt:SubCatIsFirst> 28 <ul class="widget-list"> 29 </mt:SubCatIsFirst> 30 <mt:IfNonZero tag="mt:CategoryCount"> 31 <li class="widget-list-item"><a href="<$mt:CategoryArchiveLink$>"<mt:IfNonEmpty tag="mt:CategoryDescription"> title="<$mt:CategoryDescription$>"</mt:IfNonEmpty>><$mt:CategoryLabel$> (<$mt:CategoryCount$>)</a> 32 </mt:IfNonZero> 33 <$mt:SubCatsRecurse$> 34 </li> 35 <mt:SubCatIsLast> 36 </ul> 37 </mt:SubCatIsLast> 38 </mt:TopLevelCategories> 39 </div> 40 </div> 41 </mt:IfArchiveTypeEnabled> 42 43 <mt:IfArchiveTypeEnabled archive_type="Monthly"> 44 <mt:ArchiveList archive_type="Monthly"> 45 <mt:ArchiveListHeader> 46 <div class="widget-archive-monthly widget-archive widget"> 47 <h3 class="widget-header"><__trans phrase="[_1] <a href="[_2]">Archives</a>" params="<$mt:ArchiveTypeLabel$>%%<$mt:Link template="archive_index"$>"></h3> 48 <div class="widget-content"> 49 <ul class="widget-list"> 50 </mt:ArchiveListHeader> 51 <li class="widget-list-item"><a href="<$mt:ArchiveLink$>"><__trans phrase="[_1] ([_2])" params="<$mt:ArchiveTitle$>%%<$mt:ArchiveCount$>"></a></li> 52 <mt:ArchiveListFooter> 53 </ul> 54 </div> 55 </div> 56 </mt:ArchiveListFooter> 57 </mt:ArchiveList> 58 </mt:IfArchiveTypeEnabled> 11 <$mt:include module="<__trans phrase="Categories">"$> 59 12 60 </div> 13 <$mt:include module="<__trans phrase="Monthly">"$> 14 15 </div><!-- end #beta-columns-left --> 61 16 <div id="beta-columns-right"> 62 17 18 <mt:Ignore>All pages should display the "Recent Comments" widget except Entry Archive Templates, which should display the "Recent Entries" widget.</mt:Ignore> 63 19 <mt:IfArchiveType type="individual"> 64 <$mt:include widget="<__trans phrase="Recent Entries">"$>20 <$mt:include module="<__trans phrase="Recent Entries">"$> 65 21 <mt:Else> 66 <$mt:include widget="<__trans phrase="Recent Comments">"$>22 <$mt:include module="<__trans phrase="Recent Comments">"$> 67 23 </mt:IfArchiveType> 68 24 69 70 71 </div> 72 </div> 73 </div> 74 </div> 25 </div><!-- end #beta-columns-right --> 26 </div><!-- end #beta-columns --> 27 </div><!-- end #beta-inner --> 28 </div><!-- end #beta -->
