?> <li><?php echo link_to("Edit", array("#update", 'id' => Request::$params->id)); ?> </li> <li><?php echo link_to("Delete", array("#destroy", 'id' => Request::$params->id)); ?> </li> <?php } end_content_for(); ?> <?php do_content_for("footer_final"); ?> <br /> <?php if (User::$current->can_change($pool, 'posts')) { ?> <li><?php echo link_to("Order", array("#order", 'id' => Request::$params->id)); ?> </li> <?php // <li>< echo link_to("Import", array("#import", 'id' => Request::$params->id)) ></li> ?> <?php if (User::is('>=33')) { ?>
</td> </tr> <tr> <td colspan="2"><?php echo submit_tag("Post"); ?> <input name="preview" onclick="new Ajax.Updater('preview', '/forum/preview', {asynchronous:true, evalScripts:true, method:'get', onSuccess:function(request){$('preview').show()}, parameters:Form.serialize(this.form)});" type="button" value="Preview"/></td> </tr> </table> </form> </div> </div> <?php do_content_for("subnavbar"); ?> <li><?php echo link_to("List", "#index"); ?> </li> <li><?php echo link_to("Help", "help#forum"); ?> </li> <?php end_content_for(); ?> <script type="text/javascript"> $("forum_post_title").focus();
'><a href="/pool" >Pools</a></div> <div class='menu top-item-wiki<?php echo $cm['wiki']; ?> '><a href="#" >Wiki</a></div> <div id='forum-link' class='menu top-item-forum<?php echo $cm['forum']; ?> '><a href="/forum" >Forum</a></div> <div class='menu top-item-help<?php echo $cm['help']; ?> '><a href="#" >Help</a></div> <div class='menu top-item-more<?php echo $cm['static']; ?> '><a href="#" >More »</a></div> </div> <?php do_content_for("post_cookie_javascripts"); ?> <script type="text/javascript"> var main_menu = new MainMenu($("main-menu"), def); main_menu.add_forum_posts_to_submenu(); main_menu.init(); $('cn').show(); </script> <?php end_content_for();
">Uploads</a></h4> <?php //$posts = array_map(function($x){if (CONFIG::can_see_post(User::$current, $x)) return $x;}, (array)$user->recent_uploaded_posts()); ?> <?php render_partial("post/posts", array('posts' => array_map(function ($x) { if (CONFIG::can_see_post(User::$current, $x)) { return $x; } }, (array) $user->recent_uploaded_posts()))); ?> </div> <?php do_content_for("footer"); ?> <li><a href="/user">List</a></li> <?php if (User::is('>=40')) { ?> <li><a href="/user/block?id=<?php echo $user->id; ?> ">Ban</a></li> <?php } if (User::is('>=35') && $user->level <= 30) { ?> <li><a href="/user/invites?name=<?php echo $user->name;
<?php do_content_for('subnavbar'); ?> <li><?php echo link_to('List', 'tag#index'); ?> </li> <li><?php echo link_to('Popular', 'tag#popular_by_day'); ?> </li> <li><?php echo link_to('Aliases', 'tag_alias#index'); ?> </li> <li><?php echo link_to('Implications', 'tag_implication#index'); ?> </li> <?php if (User::is('>=40')) { ?> <li><?php echo link_to('Mass edit', 'tag#mass_edit'); ?> </li> <?php } ?> <li><?php
cnt.update("" + held_posts + " " + (held_posts == 1? "post":"posts")); a.href = "/post/index?tags=holds%3Aonly%20user%3A" + Cookie.get("login") + "%20limit%3A100" e.show(); } } Post.cache_sample_urls(); new TagCompletionBox($("post_tags")); if($("tag-script")) new TagCompletionBox($("tag-script")); </script> <?php end_content_for(); ?> <?php do_content_for('html_header'); ?> <?php //echo auto_discovery_link_tag_with_id :rss, {:controller => "post", :action => "piclens", :tags => params[:tags], :page => params[:page]}, {:id => 'pl'} ?> <?php //echo navigation_links(@posts) end_content_for(); ?> <?php render_partial('footer'); ?> <?php if (check_content_for('subnavbar')) {
<div id="comments" style="margin-top: 1em; max-width: 800px; width: 100%;"> <?php $comments = Comment::find_all(array('conditions' => array('post_id = ?', $post->id), 'order' => 'id')); render_partial("comment/comments", array('comments' => $comments, 'post_id' => $post->id, 'hide' => false)); ?> </div> <?php if (isset($page_uses_translations)) { ?> <?php do_content_for("above_footer"); ?> Comment translation provided by <a href="http://translate.google.com">Google</a>. <br /> <?php end_content_for(); ?> <?php } ?>
<?php do_content_for("html_header"); ?> <script type="text/javascript"> if(navigator.platform.indexOf("iPhone") != -1 || navigator.platform == "iPad" || navigator.platform == "iPod") // includes "iPhone Simulator" document.write('<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">'); else document.write('<meta name="viewport" content="target-densityDpi=150; user-scalable=0;">'); if(navigator.platform == "iPad") document.write('<link rel="apple-touch-startup-image" href="/images/iphone-startup-ipad.png">'); else document.write('<link rel="apple-touch-startup-image" href="/images/iphone-startup.png">'); </script> <meta name="apple-mobile-web-app-capable" content="yes" > <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="application-name" content="<?php echo str_replace('.', ' ', CONFIG::app_name); ?> "> <meta name="application-url" content="/post/browse"> <link rel="apple-touch-icon" href="/images/iphone-icon.png"> <style type="text/css"> /* iPhone tends to highlight things oddly, sometimes even highlighting the * entire page on swipe. Turn tap highlighting off. */ * { -webkit-tap-highlight-color: rgba(0,0,0,0); } </style> <?php