<!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>+&lt;?php get_header() ?&gt;
+
+        &lt;div class=&quot;content-header&quot;&gt;
+                &lt;?php bp_last_activity() ?&gt;
+        &lt;/div&gt;
+
+        &lt;div id=&quot;content&quot;&gt;
+                &lt;?php do_action( 'template_notices' ) // (error/success feedback) ?&gt;
+
+                &lt;?php do_action( 'bp_before_my_activity_content' ) ?&gt;
+
+                &lt;div class=&quot;left-menu&quot;&gt;
+                        &lt;!-- Profile Menu (Avatar, Add Friend, Send Message buttons etc) --&gt;
+                        &lt;?php locate_template( array( 'profile/profile-menu.php' ), true ) ?&gt;
+                &lt;/div&gt;
+
+                &lt;div class=&quot;main-column&quot;&gt;
+
+                        &lt;?php bp_get_profile_header() ?&gt;
+
+                        &lt;?php if ( function_exists( 'bp_activity_install')) : ?&gt;
+
+                                &lt;?php do_action( 'bp_before_profile_activity_widget' ) ?&gt;
+
+                                &lt;div class=&quot;bp-widget&quot;&gt;
+                                        &lt;h4&gt;&lt;?php echo bp_word_or_name( __( &quot;My Activity&quot;, 'buddypress' ), __( &quot;%s's Activity&quot;, 'buddypress' ), true, false ) ?&gt; &lt;span&gt;&lt;a href=&quot;&lt;?php bp_activities_member_rss_link() ?&gt;&quot; title=&quot;&lt;?php _e( 'RSS Feed', 'buddypress' ) ?&gt;&quot;&gt;&lt;?php _e( 'RSS Feed', 'buddypress' ) ?&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h4&gt;
+
+                                        &lt;div class=&quot;activity&quot;&gt;
+
+                                        &lt;?php if ( bp_has_activities( 'display_comments=threaded&amp;include=' . bp_get_activity_permalink_id() ) ) : ?&gt;
+
+                                                &lt;ul id=&quot;activity-list&quot; class=&quot;activity-list item-list&quot;&gt;
+                                                &lt;?php while ( bp_activities() ) : bp_the_activity(); ?&gt;
+
+                                                        &lt;li class=&quot;&lt;?php bp_activity_css_class() ?&gt;&quot; id=&quot;activity-&lt;?php bp_activity_id() ?&gt;&quot;&gt;
+                                                                &lt;div class=&quot;activity-avatar&quot;&gt;
+                                                                        &lt;?php bp_activity_avatar('width=40&amp;height=40') ?&gt;
+                                                                &lt;/div&gt;
+
+                                                                &lt;div class=&quot;activity-content&quot;&gt;
+                                                                        &lt;?php bp_activity_content() ?&gt;
+
+                                                                        &lt;?php if ( is_user_logged_in() &amp;&amp; 'activity_comment' != bp_get_activity_action_name() ) : ?&gt;
+                                                                                &lt;div class=&quot;activity-meta&quot;&gt;
+                                                                                        &lt;a href=&quot;#acomment-&lt;?php bp_activity_id() ?&gt;&quot; class=&quot;acomment-reply&quot; id=&quot;acomment-comment-&lt;?php bp_activity_id() ?&gt;&quot;&gt;&lt;?php _e( 'Comment', 'buddypress' ) ?&gt; (&lt;?php bp_activity_comment_count() ?&gt;)&lt;/a&gt;
+                                                                                &lt;/div&gt;
+                                                                        &lt;?php endif; ?&gt;
+                                                                &lt;/div&gt;
+
+                                                                &lt;?php if ( 'activity_comment' == bp_get_activity_action_name() ) : ?&gt;
+                                                                        &lt;div class=&quot;activity-inreplyto&quot;&gt;
+                                                                                &lt;strong&gt;&lt;?php _e( 'In reply to', 'buddypress' ) ?&gt;&lt;/strong&gt; - &lt;?php bp_activity_parent_content() ?&gt;
+                                                                        &lt;/div&gt;
+                                                                &lt;?php endif; ?&gt;
+
+                                                                &lt;div class=&quot;activity-comments&quot;&gt;
+                                                                        &lt;?php bp_activity_comments() ?&gt;
+
+                                                                        &lt;?php if ( is_user_logged_in() ) : ?&gt;
+                                                                                &lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;activity-comment-form&quot; id=&quot;ac-form-&lt;?php bp_activity_id() ?&gt;&quot; class=&quot;ac-form&quot;&gt;
+                                                                                        &lt;div class=&quot;ac-reply-avatar&quot;&gt;&lt;?php bp_loggedin_user_avatar( 'width=25&amp;height=25' ) ?&gt;&lt;/div&gt;
+                                                                                        &lt;div class=&quot;ac-reply-content&quot;&gt;
+                                                                                                &lt;div class=&quot;ac-textarea&quot;&gt;
+                                                                                                        &lt;textarea id=&quot;ac-input-&lt;?php bp_activity_id() ?&gt;&quot; class=&quot;ac-input&quot; name=&quot;ac-input-&lt;?php bp_activity_id() ?&gt;&quot;&gt;&lt;/textarea&gt;
+                                                                                                &lt;/div&gt;
+                                                                                                &lt;input type=&quot;submit&quot; name=&quot;ac-form-submit&quot; value=&quot;&lt;?php _e( 'Post', 'buddypress' ) ?&gt; &amp;rarr;&quot; /&gt;
+                                                                                        &lt;/div&gt;
+                                                                                        &lt;?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?&gt;
+                                                                                &lt;/form&gt;
+                                                                        &lt;?php endif; ?&gt;
+                                                                &lt;/div&gt;
+
+                                                        &lt;/li&gt;
+
+                                                &lt;?php endwhile; ?&gt;
+                                                &lt;/ul&gt;
+
+                                        &lt;?php else: ?&gt;
+
+                                                &lt;div id=&quot;message&quot; class=&quot;info&quot;&gt;
+                                                        &lt;p&gt;&lt;?php _e( 'There was a problem fetching that activity item.', 'buddypress' ) ?&gt;&lt;/p&gt;
+                                                &lt;/div&gt;
+
+                                        &lt;?php endif; ?&gt;
+
+                                        &lt;/div&gt;
+
+                                &lt;/div&gt;
+
+                                &lt;?php do_action( 'bp_after_profile_activity_widget' ) ?&gt;
+
+                        &lt;?php endif; ?&gt;
+
+                        &lt;?php do_action( 'bp_after_profile_activity_loop' ) ?&gt;
+
+                &lt;/div&gt;
+
+                &lt;?php do_action( 'bp_after_my_activity_content' ) ?&gt;
+
+        &lt;/div&gt;
+
+&lt;?php get_footer() ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>