Changeset 890 for trunk

Show
Ignore:
Timestamp:
07/24/08 23:52:20 (1 month ago)
Author:
jramsey
Message:

adding jquery and lots of other stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/MidCenturyTemplateSet/mt-static/plugins/mid-century/screen.css

    r874 r890  
    155155    font-style: normal; 
    156156} 
     157h1#page-title.alt-title { 
     158    border-bottom: none; 
     159    margin-bottom: 10px; 
     160} 
    157161h2 { 
    158162    font-size: 18px; 
     
    318322    margin-left: 55px; 
    319323} 
    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
    321391 
    322392/* Entries ----------------------------------------------------------------- */ 
     
    712782.widget-gallery .asset-description { 
    713783    line-height: 1.5; 
     784    overflow: hidden; 
     785    height: 90px; 
    714786} 
    715787 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/MidCenturyTemplateSet.pl

    r847 r890  
    5959                            rebuild_me => '1', 
    6060                        }, 
     61                        'theme_javascript' => { 
     62                            label => 'Theme Javascript', 
     63                            outfile => 'theme_javascript.js', 
     64                            rebuild_me => '1', 
     65                        }, 
    6166                    }, 
    6267                    archive => { 
     
    97102                    }, 
    98103                    module => { 
     104                        'about_me' => { 
     105                            label => 'About Me', 
     106                        }, 
    99107                        'banner_footer' => { 
    100108                            label => 'Banner Footer', 
     
    102110                        'banner_header' => { 
    103111                            label => 'Banner Header', 
     112                        }, 
     113                        'categories' => { 
     114                            label => 'Categories', 
    104115                        }, 
    105116                        'entry_summary' => { 
     
    121132                            label => 'Gallery', 
    122133                        }, 
     134                        'monthly' => { 
     135                            label => 'Monthly', 
     136                        }, 
     137                        'recent_comments' => { 
     138                            label => 'Recent Comments', 
     139                        }, 
     140                        'recent_entries' => { 
     141                            label => 'Recent Entries', 
     142                        }, 
    123143                        'trackbacks' => { 
    124144                            label => 'Trackbacks', 
     
    126146                        'userpic' => { 
    127147                            label => 'Userpic', 
    128                         }, 
    129                     }, 
    130                     widget => { 
    131                         'recent_comments' => { 
    132                             label => 'Recent Comments', 
    133                         }, 
    134                         'recent_entries' => { 
    135                             label => 'Recent Entries', 
    136148                        }, 
    137149                    }, 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/archive_index.mtml

    r847 r890  
    144144        </div> 
    145145    </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> 
    146151</body> 
    147152</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/category_entry_listing.mtml

    r847 r890  
    6969        </div> 
    7070    </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> 
    7176</body> 
    7277</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/comment_preview.mtml

    r847 r890  
    2828 
    2929 
    30                             <h1 id="page-title"><$MTVar name="page_title"$></h1> 
     30                            <h1 id="page-title" class="alt-title"><__trans phrase="Previewing your Comment"></h1> 
    3131 
    32  
     32<div id="comments" class="comments" style="margin-left: 55px;"> 
    3333<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>"> 
    3535                                <div class="inner"> 
     36                                    <div class="comment-content"> 
     37                                        <div class="comment-content-inner"> 
     38                                        <$MTCommentBody$> 
     39                                        </div> 
     40                                    </div> 
    3641                                    <div class="comment-header"> 
    3742                                        <div class="asset-meta"> 
    3843                                            <span class="byline"> 
    3944                                                <$MTCommentAuthorIdentity$> 
    40     <mt:IfCommentParent> 
     45                            <mt:IfCommentParent> 
    4146                                                <__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> 
    4348                                                <span class="vcard author"><$MTCommentAuthorLink$></span> 
    44     </mt:IfCommentParent> 
     49                            </mt:IfCommentParent> 
    4550                                                | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 
     51                            <MTIfCommentsAccepted> 
     52                                                | <$MTCommentReplyToLink$> 
     53                            </MTIfCommentsAccepted> 
    4654                                            </span> 
    4755                                        </div> 
    48                                     </div> 
    49                                     <div class="comment-content"> 
    50                                         <$MTCommentBody$> 
    5156                                    </div> 
    5257                                </div> 
     
    5560 
    5661<mt:ignore><!-- Comment Form --></mt:ignore> 
     62</div> 
    5763                            <div class="comments-open" id="comments-open"> 
    5864                                <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2> 
     
    6066                                    <div id="comment-greeting"></div> 
    6167                                    <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> 
     68                                    <div id="comments-form-inner"> 
    6269                                        <input type="hidden" name="static" value="1" /> 
    6370                                        <input type="hidden" name="armor" value="1" /> 
     
    98105                                            <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" /> 
    99106                                        </div> 
     107                                    </div> 
    100108                                    </form> 
    101109                                </div> 
     
    117125        </div> 
    118126    </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> 
    119132</body> 
    120133</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  
    88    <!-- Display comments --> 
    99    </mt:ignore> 
     10    <div id="comments-list"> 
    1011    <MTComments> 
    1112        <MTCommentsHeader> 
     
    1314    <div class="comments-content"> 
    1415        </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"> 
    4017        <MTCommentsFooter> 
    4118    </div> 
    4219        </MTCommentsFooter> 
    4320    </MTComments> 
    44  
     21    </div> 
    4522 
    4623    <mt:ignore> 
     
    5734            <div id="comment-greeting"></div> 
    5835 
     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 
    5981            <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> 
    6082                <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="" /> 
    6890                <div id="comments-open-data"> 
    6991                    <div id="comment-form-name"> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/entry.mtml

    r847 r890  
    7676        </div> 
    7777    </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> 
    7883</body> 
    7984</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> 
    27<mt:If name="asset_count" gt="0"> 
     8 
    39<script type="text/javascript" charset="utf-8"> 
     10    // set starting point and ending point -- will show max of 10 images 
    411    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" />; 
    4913</script> 
    5014 
     
    5418    <div class="gallery-item-nav"> 
    5519        <a href="javascript:galleryPrev();" id="showcase-prev" class="inactive">Prev</a> 
    56         <a href="javascript:galleryNext();" id="showcase-next" class="<mt:If name="asset_count2" 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> 
    5721    </div> 
    5822    <div class="widget-content"><div class="widget-content-inner"> 
    5923<mt:Assets lastn="10" type="image"> 
    6024    <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> 
    6428    </div> 
    6529</mt:Assets> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/html_head.mtml

    r847 r890  
    44<link rel="start" href="<$MTBlogURL$>" title="Home" /> 
    55<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> 
    67<script type="text/javascript" src="<$MTLink template="javascript"$>"></script> 
     8<script type="text/javascript" src="<$mt:Link template="Theme Javascript"$>"></script> 
    79<$MTCCLicenseRDF$> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/main_index.mtml

    r847 r890  
    4646        </div> 
    4747    </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> 
    4853</body> 
    4954</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/monthly_entry_listing.mtml

    r847 r890  
    6969        </div> 
    7070    </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> 
    7176</body> 
    7277</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/page.mtml

    r847 r890  
    6363        </div> 
    6464    </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> 
    6570</body> 
    6671</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/search_results.mtml

    r847 r890  
    177177        </div> 
    178178    </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> 
    179184</body> 
    180185</html> 
  • trunk/MidCenturyTemplateSet/plugins/MidCenturyTemplateSet/templates/blogbase/sidebar.mtml

    r873 r890  
    11<div id="beta"> 
    22    <div id="beta-inner"> 
     3         
    34        <$mt:include module="<__trans phrase="Gallery">"$> 
    45         
    56        <div id="beta-columns"> 
    67            <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> 
    198                 
    20                 <!-- categories --
     9                <$mt:include module="<__trans phrase="About Me">"$
    2110                 
    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">"$> 
    5912                 
    60             </div> 
     13                <$mt:include module="<__trans phrase="Monthly">"$> 
     14                 
     15            </div><!-- end #beta-columns-left --> 
    6116            <div id="beta-columns-right"> 
    6217                 
     18                <mt:Ignore>All pages should display the "Recent Comments" widget except Entry Archive Templates, which should display the "Recent Entries" widget.</mt:Ignore> 
    6319                <mt:IfArchiveType type="individual"> 
    64                     <$mt:include widget="<__trans phrase="Recent Entries">"$> 
     20                    <$mt:include module="<__trans phrase="Recent Entries">"$> 
    6521                    <mt:Else> 
    66                     <$mt:include widget="<__trans phrase="Recent Comments">"$> 
     22                    <$mt:include module="<__trans phrase="Recent Comments">"$> 
    6723                </mt:IfArchiveType> 
    6824                 
    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 -->