|
Revision 1259, 1.7 kB
(checked in by bsmith, 12 months ago)
|
|
adding profile to Vanilla+TypePad?-Connect-Comments template set
|
| Line | |
|---|
| 1 | <!-- |
|---|
| 2 | The below markup is here to mimic markup found in Movable Type default tempaltes. |
|---|
| 3 | Customize per your preference. |
|---|
| 4 | --> |
|---|
| 5 | <mt:IfCommentsActive> |
|---|
| 6 | <!-- If comments are accepted, then do this... --> |
|---|
| 7 | <div id="comments" class="comments"> |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | <mt:IfCommentsAccepted> |
|---|
| 11 | <div class="comments-open" id="comments-open"> |
|---|
| 12 | <h2 class="comments-open-header"><__trans phrase="Comments"></h2> |
|---|
| 13 | <div class="comments-open-content"> |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | <!-- Start - TypePad Connect Code --> |
|---|
| 17 | <div id="tpc_thread"></div> |
|---|
| 18 | <div style="display:none;" id="tpc_post_title"><$MTEntryTitle$></div> |
|---|
| 19 | <div style="display:none;" id="tpc_post_message"><$MTEntryBody$></div> |
|---|
| 20 | <script type="text/javascript"> |
|---|
| 21 | var TPConnect = {}; |
|---|
| 22 | TPConnect.tpc_url = '<$MTEntryPermalink$>'; |
|---|
| 23 | TPConnect.tpc_title = document.getElementById('tpc_post_title').innerHTML; |
|---|
| 24 | TPConnect.tpc_message = document.getElementById('tpc_post_message').innerHTML; |
|---|
| 25 | </script> |
|---|
| 26 | <script type="text/javascript" src="http://profile.typepad.com/services/embed/tpc/<$mt:Var name="typepad_blog_id"$>/embed.js?permalink=<$MTEntryPermalink$>"></script> |
|---|
| 27 | <script type="text/javascript" src="http://static.typepad.com/.shared/js/profile/blogside.js"></script> |
|---|
| 28 | <noscript><a href="http://profile.typepad.com/services/embed/tpc/<$mt:Var name="typepad_blog_id"$>/thread?permalink=<$MTEntryPermalink$>">View the entire comment thread.</a></noscript> |
|---|
| 29 | <!-- End - TypePad Connect Code --> |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | </div> |
|---|
| 33 | </div> |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | <mt:Else> |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | <!-- If comments are NOT accepted, then do this... --> |
|---|
| 40 | <p><__trans phrase="Commenting is closed."></p> |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | </mt:IfCommentsAccepted> |
|---|
| 44 | </div> |
|---|
| 45 | </mt:IfCommentsActive> |
|---|