Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {include_css file="result-common.css"}
- {include_css file="result-code.css"}
- {include_script module="shrttw" file="result.js"}
- {include_script file="prototype.js"}
- {include_script file="user-tweets.js"}
- <script type="text/javascript" charset="utf-8">
- {literal}
- document.observe('dom:loaded', function() {
- // attach click event to submit button
- prettyPrint();
- });
- {/literal}
- </script>
- {assign var='syntax_highlighting_language' value=$tweet->textcode_type}
- <link href="/css/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="/scripts/prettify.js"></script>
- <div style="float: right; margin: 0px 25px 0px 0px;">
- <a href="/download/{$tweet->identifier}" class="awesome blue" ><strong>↓</strong> Download this file</a>
- <a href="javascript:;" class="awesome red" onclick=" $('bottom-comments').addClassName('shown');"><strong>☁</strong> {if $tweet->comment_count == 0 || $tweet->comment_count == null}No{else}{$tweet->comment_count}{/if} Comments</a>
- </div>
- <div class="form-wrapper">
- <form action="" method="post" accept-charset="utf-8" enctype="multipart/form-data" id="create-form">
- <div id="chatty" class="result-box chatty">
- <div id="label-{$tweet->idtweet}" class="result-box-head">
- <a class="tweet_name" {if $user_owns_tweet}id="title" onclick="TweetController.makeLabelEditable({$tweet->idtweet});"{/if}>{if $tweet->image_label == ""}{if $user_owns_tweet}Add a title{else}Untitled{/if}{else}{$tweet->image_label}{/if}</a>
- </div>
- <div class="result-box-belly">
- {if $user_owns_tweet}
- <select id="languages-bar" class="languages" style="display: none;">
- {foreach from=$available_languages item='language'}
- <option {if $language == $tweet->textcode_type}selected{/if}>{$language}</option>
- {/foreach}
- </select>
- {/if}
- <div id="code-wrapper" class="code-wrapper">
- <pre name="coder" class="prettyprint ">{$tweet->escapedTextCode(true)}</pre>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div >
- {include file="static/comments.tpl"}
- </div>
- <br clear="all" />
Add Comment
Please, Sign In to add comment