<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [2159] trunk/bp-themes/bp-sn-parent/activity/single.php:
Activity permalink template.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>2159</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-11-30 12:37:46 +0000 (Mon, 30 Nov 2009)</dd>
</dl>
<h3>Log Message</h3>
<pre>Activity permalink template.</pre>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpsnparentactivitysinglephp">trunk/bp-themes/bp-sn-parent/activity/single.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpthemesbpsnparentactivitysinglephp"></a>
<div class="addfile"><h4>Added: trunk/bp-themes/bp-sn-parent/activity/single.php (0 => 2159)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-parent/activity/single.php         (rev 0)
+++ trunk/bp-themes/bp-sn-parent/activity/single.php        2009-11-30 12:37:46 UTC (rev 2159)
</span><span class="lines">@@ -0,0 +1,102 @@
</span><ins>+<?php get_header() ?>
+
+        <div class="content-header">
+                <?php bp_last_activity() ?>
+        </div>
+
+        <div id="content">
+                <?php do_action( 'template_notices' ) // (error/success feedback) ?>
+
+                <?php do_action( 'bp_before_my_activity_content' ) ?>
+
+                <div class="left-menu">
+                        <!-- Profile Menu (Avatar, Add Friend, Send Message buttons etc) -->
+                        <?php locate_template( array( 'profile/profile-menu.php' ), true ) ?>
+                </div>
+
+                <div class="main-column">
+
+                        <?php bp_get_profile_header() ?>
+
+                        <?php if ( function_exists( 'bp_activity_install')) : ?>
+
+                                <?php do_action( 'bp_before_profile_activity_widget' ) ?>
+
+                                <div class="bp-widget">
+                                        <h4><?php echo bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ) ?> <span><a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></span></h4>
+
+                                        <div class="activity">
+
+                                        <?php if ( bp_has_activities( 'display_comments=threaded&include=' . bp_get_activity_permalink_id() ) ) : ?>
+
+                                                <ul id="activity-list" class="activity-list item-list">
+                                                <?php while ( bp_activities() ) : bp_the_activity(); ?>
+
+                                                        <li class="<?php bp_activity_css_class() ?>" id="activity-<?php bp_activity_id() ?>">
+                                                                <div class="activity-avatar">
+                                                                        <?php bp_activity_avatar('width=40&height=40') ?>
+                                                                </div>
+
+                                                                <div class="activity-content">
+                                                                        <?php bp_activity_content() ?>
+
+                                                                        <?php if ( is_user_logged_in() && 'activity_comment' != bp_get_activity_action_name() ) : ?>
+                                                                                <div class="activity-meta">
+                                                                                        <a href="#acomment-<?php bp_activity_id() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'buddypress' ) ?> (<?php bp_activity_comment_count() ?>)</a>
+                                                                                </div>
+                                                                        <?php endif; ?>
+                                                                </div>
+
+                                                                <?php if ( 'activity_comment' == bp_get_activity_action_name() ) : ?>
+                                                                        <div class="activity-inreplyto">
+                                                                                <strong><?php _e( 'In reply to', 'buddypress' ) ?></strong> - <?php bp_activity_parent_content() ?>
+                                                                        </div>
+                                                                <?php endif; ?>
+
+                                                                <div class="activity-comments">
+                                                                        <?php bp_activity_comments() ?>
+
+                                                                        <?php if ( is_user_logged_in() ) : ?>
+                                                                                <form action="" method="post" name="activity-comment-form" id="ac-form-<?php bp_activity_id() ?>" class="ac-form">
+                                                                                        <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=25&height=25' ) ?></div>
+                                                                                        <div class="ac-reply-content">
+                                                                                                <div class="ac-textarea">
+                                                                                                        <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac-input-<?php bp_activity_id() ?>"></textarea>
+                                                                                                </div>
+                                                                                                <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'buddypress' ) ?> &rarr;" />
+                                                                                        </div>
+                                                                                        <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?>
+                                                                                </form>
+                                                                        <?php endif; ?>
+                                                                </div>
+
+                                                        </li>
+
+                                                <?php endwhile; ?>
+                                                </ul>
+
+                                        <?php else: ?>
+
+                                                <div id="message" class="info">
+                                                        <p><?php _e( 'There was a problem fetching that activity item.', 'buddypress' ) ?></p>
+                                                </div>
+
+                                        <?php endif; ?>
+
+                                        </div>
+
+                                </div>
+
+                                <?php do_action( 'bp_after_profile_activity_widget' ) ?>
+
+                        <?php endif; ?>
+
+                        <?php do_action( 'bp_after_profile_activity_loop' ) ?>
+
+                </div>
+
+                <?php do_action( 'bp_after_my_activity_content' ) ?>
+
+        </div>
+
+<?php get_footer() ?>
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>
</body>
</html>