<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -54,8 +54,7 @@ class HomeController &lt; ApplicationController
   end
 
   def offline
-    redirect_to 'http://pwww.teacherswithoutborders.org'
-    #render :layout =&gt; false
+    render :layout =&gt; false
   end
   
   private</diff>
      <filename>app/controllers/home_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,18 +5,9 @@
   &lt;/head&gt;
   &lt;body&gt;    
     &lt;div style=&quot;width:500px;margin:50px auto;&quot;&gt;
-      &lt;img src=&quot;https://na5.salesforce.com/servlet/servlet.ImageServer?id=01570000000g4my&amp;oid=00D700000008wUh&quot; /&gt;
       &lt;div style=&quot;border-top-color:#FF9933;border-top-style:solid;border-top-width:6px;&quot;&gt;
-        &lt;p&gt;Dear Colleagues,&lt;/p&gt;
-        &lt;p&gt;Teachers Without Borders is improving our website and will be migrating our content over to a new server. The TWB website will be offline on April 15, 2009, from 6pm to 12am Pacific Standard Time.&lt;/p&gt;
-        &lt;p&gt;We apologize for any inconvenience and encourage you to share feedback about our site when it resumes operations on April 16th.&lt;/p&gt;
-        &lt;p&gt;Best Regards,&lt;/p&gt;
-        &lt;p&gt;
-          Brandon Waterman&lt;br /&gt;
-          Webmaster&lt;br /&gt;
-          Teachers Without Borders&lt;br /&gt;
-          www.teacherswithoutborders.org
-        &lt;/p&gt;
+        &lt;p&gt;We are currently offline&lt;/p&gt;
+        &lt;p&gt;We apologize for any inconvenience.&lt;/p&gt;
       &lt;/div&gt;
     &lt;/div&gt;
   &lt;/body&gt;</diff>
      <filename>app/views/home/offline.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -29,7 +29,8 @@
 					&lt;li&gt;&lt;%= link_to _('Member Stories'), admin_member_stories_path %&gt;&lt;/li&gt;
 					&lt;li&gt;&lt;%= link_to _('Pages'), admin_pages_path %&gt;&lt;/li&gt;
 					&lt;li&gt;&lt;%= link_to _('Permissions'), admin_roles_path %&gt;&lt;/li&gt;
-					&lt;li&gt;&lt;%= link_to _('Settings'), edit_admin_site_path(global_site) %&gt;&lt;/li&gt;		
+					&lt;li&gt;&lt;%= link_to _('Settings'), edit_admin_site_path(global_site) %&gt;&lt;/li&gt;
+					&lt;li&gt;&lt;%= link_to _('Themes'), edit_admin_theme_path %&gt;&lt;/li&gt;		
 				&lt;/ul&gt;
 				&lt;div id=&quot;log-out&quot; class=&quot;right&quot;&gt;
 				&lt;% if logged_in? -%&gt;
@@ -64,7 +65,7 @@
         &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
       &lt;/div&gt;    
     &lt;/div&gt;
-    &lt;div id=&quot;footer&quot; class=&quot;text_c&quot; style=&quot;padding-top: 20px;&quot;&gt;
-    &lt;/div&gt;
+    &lt;div id=&quot;footer&quot; class=&quot;text_c&quot; style=&quot;padding-top: 20px;&quot;&gt;
+    &lt;/div&gt;
   &lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>app/views/layouts/admin.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,6 @@
 	&lt;div class=&quot;activity_box&quot;&gt;
 		&lt;h2&gt;&lt;%= sanitize news_item.title -%&gt; &lt;%= _('Posted by') + link_to(h(news_item.creator.login), profile_path(news_item.creator)) if news_item.creator %&gt;&lt;/h2&gt;
 		&lt;div class=&quot;left&quot;&gt;
-			&lt;img class=&quot;alignleft&quot; src=&quot;&lt;%= icon_url(news_item, {:size =&gt; :bigger, :file_column_version =&gt; :bigger }) -%&gt;&quot; /&gt;
 			&lt;div class=&quot;standard-format&quot;&gt;
 			  &lt;%= process_body_content(news_item) %&gt;
 			&lt;/div&gt;</diff>
      <filename>app/views/news/_news_item.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,6 @@
 ActionController::Routing::Routes.draw do |map|
 
-#  map.root :controller =&gt; 'home', :action =&gt; 'home'
-
-  map.root :controller =&gt; 'home', :action =&gt; 'offline'
+  map.root :controller =&gt; 'home', :action =&gt; 'home'
 
   # home
   map.with_options(:controller =&gt; 'home') do |home|
@@ -124,7 +122,7 @@ ActionController::Routing::Routes.draw do |map|
     a.resources :uploads, :collection =&gt; { :images =&gt; :get, :files =&gt; :get }
     a.resources :member_stories
     a.resources :pages, :member =&gt; { :children =&gt; :get }
-    a.resource :theme
+    a.resource :theme
   end
 
   # messages</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
+ActiveRecord::Schema.define(:version =&gt; 20090318002859) do
 
   create_table &quot;bag_properties&quot;, :force =&gt; true do |t|
     t.integer &quot;bag_id&quot;,                :default =&gt; 1
@@ -91,8 +91,6 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.integer  &quot;contentable_id&quot;
     t.string   &quot;contentable_type&quot;
     t.integer  &quot;parent_id&quot;,        :default =&gt; 0
-    t.integer  &quot;lft&quot;
-    t.integer  &quot;rgt&quot;
   end
 
   create_table &quot;content_pages&quot;, :force =&gt; true do |t|
@@ -106,10 +104,8 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.text     &quot;body_raw&quot;
     t.integer  &quot;contentable_id&quot;
     t.string   &quot;contentable_type&quot;
-    t.integer  &quot;parent_id&quot;
+    t.integer  &quot;parent_id&quot;,        :default =&gt; 0, :null =&gt; false
     t.integer  &quot;version&quot;
-    t.integer  &quot;lft&quot;
-    t.integer  &quot;rgt&quot;
   end
 
   add_index &quot;content_pages&quot;, [&quot;parent_id&quot;], :name =&gt; &quot;index_content_pages_on_parent_id&quot;
@@ -232,6 +228,10 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.integer  &quot;visibility&quot;,                :default =&gt; 2
     t.boolean  &quot;requires_approval_to_join&quot;, :default =&gt; false
     t.integer  &quot;member_count&quot;
+    t.integer  &quot;icon_file_size&quot;
+    t.string   &quot;icon_file_name&quot;
+    t.string   &quot;icon_content_type&quot;
+    t.datetime &quot;icon_updated_at&quot;
   end
 
   add_index &quot;groups&quot;, [&quot;url_key&quot;], :name =&gt; &quot;index_groups_on_url_key&quot;
@@ -266,22 +266,18 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
 
   create_table &quot;logos&quot;, :force =&gt; true do |t|
     t.integer  &quot;site_id&quot;
-    t.integer  &quot;parent_id&quot;
     t.integer  &quot;user_id&quot;
-    t.integer  &quot;size&quot;
-    t.integer  &quot;width&quot;
-    t.integer  &quot;height&quot;
-    t.string   &quot;content_type&quot;
-    t.string   &quot;filename&quot;
-    t.string   &quot;thumbnail&quot;
+    t.integer  &quot;image_file_size&quot;
+    t.string   &quot;image_content_type&quot;
+    t.string   &quot;image_file_name&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
+    t.datetime &quot;image_updated_at&quot;
   end
 
   add_index &quot;logos&quot;, [&quot;site_id&quot;], :name =&gt; &quot;index_logos_on_site_id&quot;
-  add_index &quot;logos&quot;, [&quot;parent_id&quot;], :name =&gt; &quot;index_logos_on_parent_id&quot;
   add_index &quot;logos&quot;, [&quot;user_id&quot;], :name =&gt; &quot;index_logos_on_user_id&quot;
-  add_index &quot;logos&quot;, [&quot;content_type&quot;], :name =&gt; &quot;index_logos_on_content_type&quot;
+  add_index &quot;logos&quot;, [&quot;image_content_type&quot;], :name =&gt; &quot;index_logos_on_content_type&quot;
 
   create_table &quot;membership_requests&quot;, :force =&gt; true do |t|
     t.integer  &quot;group_id&quot;
@@ -335,6 +331,10 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.string   &quot;url_key&quot;
     t.string   &quot;icon&quot;
     t.integer  &quot;creator_id&quot;
+    t.integer  &quot;icon_file_size&quot;
+    t.string   &quot;icon_file_name&quot;
+    t.string   &quot;icon_content_type&quot;
+    t.datetime &quot;icon_updated_at&quot;
   end
 
   add_index &quot;news_items&quot;, [&quot;url_key&quot;], :name =&gt; &quot;index_news_items_on_url_key&quot;
@@ -362,13 +362,16 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
   end
 
   create_table &quot;photos&quot;, :force =&gt; true do |t|
-    t.string   &quot;caption&quot;,        :limit =&gt; 1000
+    t.string   &quot;caption&quot;,            :limit =&gt; 1000
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
     t.integer  &quot;photoable_id&quot;
-    t.string   &quot;image&quot;
     t.string   &quot;photoable_type&quot;
     t.integer  &quot;creator_id&quot;
+    t.integer  &quot;image_file_size&quot;
+    t.string   &quot;image_file_name&quot;
+    t.string   &quot;image_content_type&quot;
+    t.datetime &quot;image_updated_at&quot;
   end
 
   add_index &quot;photos&quot;, [&quot;photoable_id&quot;], :name =&gt; &quot;index_photos_on_user_id&quot;
@@ -532,7 +535,7 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.integer  &quot;user_id&quot;
     t.string   &quot;content_type&quot;
     t.string   &quot;name&quot;
-    t.string   &quot;caption&quot;,         :limit =&gt; 1000
+    t.string   &quot;caption&quot;,           :limit =&gt; 1000
     t.text     &quot;description&quot;
     t.string   &quot;filename&quot;
     t.string   &quot;thumbnail&quot;
@@ -541,9 +544,13 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.integer  &quot;height&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
-    t.boolean  &quot;is_public&quot;,                       :default =&gt; true
+    t.boolean  &quot;is_public&quot;,                         :default =&gt; true
     t.integer  &quot;uploadable_id&quot;
     t.string   &quot;uploadable_type&quot;
+    t.integer  &quot;data_file_size&quot;
+    t.string   &quot;data_file_name&quot;
+    t.string   &quot;data_content_type&quot;
+    t.datetime &quot;data_updated_at&quot;
   end
 
   add_index &quot;uploads&quot;, [&quot;parent_id&quot;], :name =&gt; &quot;index_uploads_on_parent_id&quot;
@@ -605,6 +612,10 @@ ActiveRecord::Schema.define(:version =&gt; 20090307163458) do
     t.integer  &quot;posts_count&quot;,                             :default =&gt; 0
     t.datetime &quot;last_seen_at&quot;
     t.string   &quot;api_key&quot;
+    t.integer  &quot;icon_file_size&quot;
+    t.string   &quot;icon_file_name&quot;
+    t.string   &quot;icon_content_type&quot;
+    t.datetime &quot;icon_updated_at&quot;
   end
 
   add_index &quot;users&quot;, [&quot;login&quot;], :name =&gt; &quot;index_users_on_login&quot;</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2ac96374ba47f411461fc750c16681f14d541b07</id>
    </parent>
  </parents>
  <author>
    <name>Justin Ball</name>
    <email>justinball@gmail.com</email>
  </author>
  <url>http://github.com/jbasdf/luvfoo/commit/ad88433214a4ead1cfc2131a27b61ff0c835ef9e</url>
  <id>ad88433214a4ead1cfc2131a27b61ff0c835ef9e</id>
  <committed-date>2009-05-12T10:06:18-07:00</committed-date>
  <authored-date>2009-05-12T10:06:18-07:00</authored-date>
  <message>added theme code</message>
  <tree>c56b0737ec216558b60b5bcbc84e36f30c7e92d4</tree>
  <committer>
    <name>Justin Ball</name>
    <email>justinball@gmail.com</email>
  </committer>
</commit>
