<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -72,8 +72,8 @@
   &lt;p&gt;&lt;em&gt;Private messaging is not enabled for &lt;%=h @person.first_name %&gt;.&lt;/em&gt;&lt;/p&gt;
 &lt;% end %&gt;
 
-&lt;h2 class=&quot;profile&quot; id=&quot;about&quot;&gt;About&lt;/h2&gt;
-&lt;div id=&quot;about_content&quot;&gt;
+&lt;h2 class=&quot;profile tab&quot; id=&quot;about&quot;&gt;About&lt;/h2&gt;
+&lt;div id=&quot;about_content&quot; class=&quot;section&quot;&gt;
   &lt;% if @person.about.to_s.any? %&gt;
     &lt;%= preserve_breaks @person.about %&gt;
   &lt;% else %&gt;
@@ -86,28 +86,28 @@
 &lt;/div&gt;
 
 &lt;% if @person.testimony.to_s.any? %&gt;
-  &lt;h2 class=&quot;profile&quot; id=&quot;testimony&quot;&gt;Testimony&lt;/h2&gt;
-  &lt;div id=&quot;testimony_content&quot;&gt;
+  &lt;h2 class=&quot;profile tab&quot; id=&quot;testimony&quot;&gt;Testimony&lt;/h2&gt;
+  &lt;div id=&quot;testimony_content&quot; class=&quot;section&quot;&gt;
     &lt;%= preserve_breaks @person.testimony %&gt;
     &lt;p&gt;&lt;%= link_to 'Read more testimonies...', search_path(:testimony =&gt; true) %&gt;&lt;/p&gt;
   &lt;/div&gt;
 &lt;% end %&gt;
 
 &lt;% if Setting.get(:features, :blog) %&gt;
-  &lt;h2 class=&quot;profile&quot; id=&quot;blog&quot;&gt;Blog&lt;/h2&gt;
-  &lt;div id=&quot;blog_content&quot;&gt;
+  &lt;h2 class=&quot;profile tab&quot; id=&quot;blog&quot;&gt;Blog&lt;/h2&gt;
+  &lt;div id=&quot;blog_content&quot; class=&quot;section&quot;&gt;
     &lt;%= render :partial =&gt; 'blogs/blog' %&gt;
   &lt;/div&gt;
 &lt;% end %&gt;
 
-&lt;h2 class=&quot;profile&quot; id=&quot;favorites&quot;&gt;Favorites&lt;/h2&gt;
-&lt;div id=&quot;favorites_content&quot;&gt;
+&lt;h2 class=&quot;profile tab&quot; id=&quot;favorites&quot;&gt;Favorites&lt;/h2&gt;
+&lt;div id=&quot;favorites_content&quot; class=&quot;section&quot;&gt;
   &lt;%= render :partial =&gt; 'favorites' %&gt;
 &lt;/div&gt;
 
 &lt;% if @person.wall_enabled? %&gt;
-  &lt;h2 class=&quot;profile&quot; id=&quot;wall&quot;&gt;Wall&lt;/h2&gt;
-  &lt;div id=&quot;wall_content&quot;&gt;
+  &lt;h2 class=&quot;profile tab&quot; id=&quot;wall&quot;&gt;Wall&lt;/h2&gt;
+  &lt;div id=&quot;wall_content&quot; class=&quot;section&quot;&gt;
     &lt;%= render :partial =&gt; 'walls/wall' %&gt;
   &lt;/div&gt;
 &lt;% end %&gt;
@@ -126,3 +126,9 @@
 &lt;% if @show_map %&gt;
   &lt;%= render :partial =&gt; 'map_scripts' %&gt;
 &lt;% end %&gt;
+
+&lt;% if Setting.get(:appearance, :tabbed_profile) %&gt;
+  &lt;%= stylesheet_link_tag 'tabs.css' %&gt;
+  &lt;%= javascript_include_tag 'tabs.js' %&gt;
+  &lt;script type=&quot;text/javascript&quot;&gt; set_up() &lt;/script&gt;
+&lt;% end %&gt;</diff>
      <filename>app/views/people/show.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -239,6 +239,10 @@ Appearance:
     format: string
     value: aqueouslight
     description: Name of selected theme (from themes/ directory).
+  Tabbed Profile:
+    format: boolean
+    value: false
+    description: Enable to group profile page sections under tabs.
 Privacy: 
   Allow Unencrypted Logins: 
     format: boolean</diff>
      <filename>config/settings.yml</filename>
    </modified>
    <modified>
      <diff>@@ -23,10 +23,10 @@
     tabs = [];
     headings = []
     for(var i=0; i&lt;divs.length; i++) {
-      if(divs[i].className == SECTION_CLASS) sections.push(divs[i]);
+      if(divs[i].className.indexOf(SECTION_CLASS) &gt; -1) sections.push(divs[i]);
     }
     for(var i=0; i&lt;htags.length; i++) {
-      if(htags[i].className == TAB_CLASS) {
+      if(htags[i].className.indexOf(TAB_CLASS) &gt; -1) {
         var div = document.createElement(&quot;div&quot;);
         div.innerHTML = htags[i].innerHTML;
         tabs.push(div);</diff>
      <filename>public/javascripts/tabs.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>13553f9bc1f0c7b32755c7a98528b9c089c31076</id>
    </parent>
  </parents>
  <author>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </author>
  <url>http://github.com/seven1m/onebody/commit/6193cdf62657af8bf48390f608df5455eb0ef643</url>
  <id>6193cdf62657af8bf48390f608df5455eb0ef643</id>
  <committed-date>2009-05-12T13:25:05-07:00</committed-date>
  <authored-date>2009-05-12T05:15:25-07:00</authored-date>
  <message>Add &quot;Tabbed Profile&quot; option to use tabs on profile page.</message>
  <tree>ec702261097faea965cb0de3c8f5387626e1cb3c</tree>
  <committer>
    <name>Tim Morgan</name>
    <email>tim@timmorgan.org</email>
  </committer>
</commit>
