<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/admin/.svn/dir-prop-base</filename>
    </added>
    <added>
      <filename>app/controllers/admin/.svn/text-base/logs_controller.rb.svn-base</filename>
    </added>
    <added>
      <filename>app/views/admin/categories/.svn/dir-prop-base</filename>
    </added>
    <added>
      <filename>app/views/admin/links/.svn/dir-prop-base</filename>
    </added>
    <added>
      <filename>app/views/admin/links/.svn/text-base/list.html.erb.svn-base</filename>
    </added>
    <added>
      <filename>app/views/admin/logs/.svn/entries</filename>
    </added>
    <added>
      <filename>app/views/admin/logs/.svn/format</filename>
    </added>
    <added>
      <filename>config/1stlog</filename>
    </added>
    <added>
      <filename>config/deploy.rb</filename>
    </added>
    <added>
      <filename>db/.svn/dir-prop-base</filename>
    </added>
    <added>
      <filename>db/migrate/.svn/dir-prop-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/textile_editor_helper/.svn/text-base/Rakefile.netbeans-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/textile_editor_helper/.svn/text-base/init.rb.netbeans-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/textile_editor_helper/tasks/.svn/text-base/textile_editor_helper_tasks.rake.netbeans-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/theme_support/generators/theme/.svn/text-base/USAGE.netbeans-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/theme_support/generators/theme/.svn/text-base/theme_generator.rb.netbeans-base</filename>
    </added>
    <added>
      <filename>vendor/plugins/uuidtools-1.0.1/.svn/text-base/rakefile.netbeans-base</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -8,3 +8,11 @@ require 'rake/testtask'
 require 'rake/rdoctask'
 
 require 'tasks/rails'
+
+begin
+  require '/opt/dev/vlad/lib/vlad'
+  Vlad.load :scm =&gt; &quot;git&quot;
+rescue LoadError
+  # do nothing
+end
+</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@ application.rb
 K 25
 svn:wc:ra_dav:version-url
 V 53
-/svn/!svn/ver/75/trunk/app/controllers/application.rb
+/svn/!svn/ver/77/trunk/app/controllers/application.rb
 END
 natures_controller.rb
 K 25</diff>
      <filename>app/controllers/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -52,14 +52,14 @@ iceskysl
 *
 application.rb
 file
-75
+77
 
 
 
-2008-05-24T02:34:13.000000Z
-2dda541c012611f42737ab6a16c9e4c8
-2008-05-24T02:44:39.792441Z
-75
+2008-05-24T18:14:41.000000Z
+19ccb0c4c18294266a9ae771b29f4264
+2008-05-24T19:45:39.649205Z
+77
 iceskysl
 *
 natures_controller.rb</diff>
      <filename>app/controllers/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -92,10 +92,10 @@ class ApplicationController &lt; ActionController::Base
   #&#20391;&#36793;&#26639;
   def nav
     #&#20998;&#31867;
-    @types = Type.find(:all)
+    @parent_categories = Category.get_all_parent_items
     @category_of_type = []  
-    for type in @types  
-      @category_of_type &lt;&lt; Category.find(:all,:conditions=&gt;['type_id=?',type.id],:order =&gt; &quot;position DESC&quot;)
+    for parent in @parent_categories  
+      @category_of_type &lt;&lt; Category.get_all_items_in_parent(parent.id)
     end 
      
     #&#38142;&#25509;</diff>
      <filename>app/controllers/.svn/text-base/application.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,11 @@
+K 26
+svn:wc:ra_dav:activity-url
+V 14
+/svn/!svn/act/
 K 25
 svn:wc:ra_dav:version-url
 V 44
-/svn/!svn/ver/72/trunk/app/controllers/admin
+/svn/!svn/ver/78/trunk/app/controllers/admin
 END
 attachments_controller.rb
 K 25
@@ -19,7 +23,7 @@ links_controller.rb
 K 25
 svn:wc:ra_dav:version-url
 V 64
-/svn/!svn/ver/72/trunk/app/controllers/admin/links_controller.rb
+/svn/!svn/ver/78/trunk/app/controllers/admin/links_controller.rb
 END
 plugins_controller.rb
 K 25
@@ -27,11 +31,11 @@ svn:wc:ra_dav:version-url
 V 66
 /svn/!svn/ver/66/trunk/app/controllers/admin/plugins_controller.rb
 END
-themes_controller.rb
+categories_controller.rb
 K 25
 svn:wc:ra_dav:version-url
-V 65
-/svn/!svn/ver/66/trunk/app/controllers/admin/themes_controller.rb
+V 69
+/svn/!svn/ver/78/trunk/app/controllers/admin/categories_controller.rb
 END
 comments_controller.rb
 K 25
@@ -39,11 +43,11 @@ svn:wc:ra_dav:version-url
 V 67
 /svn/!svn/ver/72/trunk/app/controllers/admin/comments_controller.rb
 END
-categories_controller.rb
+themes_controller.rb
 K 25
 svn:wc:ra_dav:version-url
-V 69
-/svn/!svn/ver/72/trunk/app/controllers/admin/categories_controller.rb
+V 65
+/svn/!svn/ver/66/trunk/app/controllers/admin/themes_controller.rb
 END
 caches_controller.rb
 K 25
@@ -69,23 +73,23 @@ svn:wc:ra_dav:version-url
 V 66
 /svn/!svn/ver/72/trunk/app/controllers/admin/profile_controller.rb
 END
-users_controller.rb
-K 25
-svn:wc:ra_dav:version-url
-V 64
-/svn/!svn/ver/72/trunk/app/controllers/admin/users_controller.rb
-END
 topics_controller.rb
 K 25
 svn:wc:ra_dav:version-url
 V 65
 /svn/!svn/ver/72/trunk/app/controllers/admin/topics_controller.rb
 END
-types_controller.rb
+users_controller.rb
 K 25
 svn:wc:ra_dav:version-url
 V 64
-/svn/!svn/ver/72/trunk/app/controllers/admin/types_controller.rb
+/svn/!svn/ver/72/trunk/app/controllers/admin/users_controller.rb
+END
+logs_controller.rb
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svn/!svn/ver/78/trunk/app/controllers/admin/logs_controller.rb
 END
 index_controller.rb
 K 25</diff>
      <filename>app/controllers/admin/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,17 @@
 8
 
 dir
-74
+78
 https://1stlog.googlecode.com/svn/trunk/app/controllers/admin
 https://1stlog.googlecode.com/svn
 
 
 
-2008-05-20T10:31:11.870824Z
-72
-wujunchen
+2008-05-24T19:45:58.164440Z
+78
+iceskysl
 has-props
-has-prop-mods
+
 svn:special svn:externals svn:needs-lock
 
 
@@ -28,7 +28,7 @@ svn:special svn:externals svn:needs-lock
 *
 attachments_controller.rb
 file
-
+74
 
 
 
@@ -40,7 +40,7 @@ wujunchen
 *
 usergroups_controller.rb
 file
-
+74
 
 
 
@@ -56,15 +56,15 @@ file
 
 
 
-2008-05-23T16:33:03.000000Z
-f581bbeec3bc98a1703d1b5f1ca57273
-2008-05-20T10:31:11.870824Z
-72
-wujunchen
+2008-05-24T19:27:42.000000Z
+cc00036e3ef74cd8d66da9afb392852f
+2008-05-24T19:45:58.164440Z
+78
+iceskysl
 *
 plugins_controller.rb
 file
-
+74
 
 
 
@@ -76,7 +76,7 @@ iceskysl
 *
 themes_controller.rb
 file
-
+74
 
 
 
@@ -88,7 +88,7 @@ iceskysl
 *
 comments_controller.rb
 file
-
+74
 
 
 
@@ -104,15 +104,15 @@ file
 
 
 
-2008-05-23T16:33:03.000000Z
-7d8bb2c85b134fda5d1842b3fe111c61
-2008-05-20T10:31:11.870824Z
-72
-wujunchen
+2008-05-24T19:00:39.000000Z
+eb1707f888a72e0292d89dbd6ebf1d98
+2008-05-24T19:45:58.164440Z
+78
+iceskysl
 *
 caches_controller.rb
 file
-
+74
 
 
 
@@ -124,7 +124,7 @@ iceskysl
 *
 configurations_controller.rb
 file
-
+74
 
 
 
@@ -136,7 +136,7 @@ wujunchen
 *
 tags_controller.rb
 file
-
+74
 
 
 
@@ -148,7 +148,7 @@ wujunchen
 *
 profile_controller.rb
 file
-
+74
 
 
 
@@ -160,7 +160,7 @@ wujunchen
 *
 users_controller.rb
 file
-
+74
 
 
 
@@ -172,7 +172,7 @@ wujunchen
 *
 topics_controller.rb
 file
-
+74
 
 
 
@@ -182,21 +182,21 @@ a8090b6bc0c3175cdd01b97b4523e785
 72
 wujunchen
 *
-types_controller.rb
+logs_controller.rb
 file
 
 
 
-delete
-2008-05-23T16:33:03.000000Z
-00f4de9a1c34bd49623d3534819caf8e
-2008-05-20T10:31:11.870824Z
-72
-wujunchen
+
+2008-05-24T17:42:36.000000Z
+5b324f364654c106208d6b81dc5accfc
+2008-05-24T19:45:58.164440Z
+78
+iceskysl
 *
 index_controller.rb
 file
-
+74
 
 
 </diff>
      <filename>app/controllers/admin/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -7,11 +7,10 @@ class Admin::CategoriesController &lt; Admin::IndexController
   end
 
   # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
-  verify :method =&gt; :post, :only =&gt; [ :destroy, :create, :update ],
-         :redirect_to =&gt; { :action =&gt; :list }
+  verify :method =&gt; :post, :only =&gt; [ :destroy, :create ],  :redirect_to =&gt; { :action =&gt; :index }
 
   def list
-#    @category_pages, @categories = paginate :categories, :per_page =&gt; 10
+    #    @category_pages, @categories = paginate :categories, :per_page =&gt; 10
     render :layout =&gt; false
   end
 
@@ -20,39 +19,42 @@ class Admin::CategoriesController &lt; Admin::IndexController
   end
 
   def new
-    @types = Type.find(:all)
+    @parent_categories = Category.get_all_parent_items
     @category = Category.new
-    render :layout =&gt; false
+    #    render :layout =&gt; false
   end
 
   def create
     @category = Category.new(params[:category])
     if @category.save
       flash[:notice] = 'Category was successfully created.'
-      redirect_to :action =&gt; 'list'
+      redirect_to :action =&gt; 'index'
     else
       render :action =&gt; 'new'
     end
   end
 
   def edit
-    @types = Type.find(:all)
+    @parent_categories = Category.get_all_parent_items
     @category = Category.find(params[:id])
-    render :layout =&gt; false
   end
 
+  #&#26356;&#26032;&#20998;&#31867;
   def update
     @category = Category.find(params[:id])
+    logger.info(&quot;=============&quot;)
     if @category.update_attributes(params[:category])
-      flash[:notice] = 'Category was successfully updated.'
-      redirect_to :action =&gt; 'show', :id =&gt; @category
+      flash[:notice] = '&#20998;&#31867;&#26356;&#26032;&#25104;&#21151;.'
+      redirect_to :action =&gt; 'index'
     else
+      flash[:notice] = '&#20998;&#31867;&#26356;&#26032;&#22833;&#36133;.'
       render :action =&gt; 'edit'
     end
   end
 
+  #&#21024;&#38500;&#20998;&#31867;
   def destroy
     Category.find(params[:id]).destroy
-    redirect_to :action =&gt; 'list'
+    redirect_to :action =&gt; 'index'
   end
 end</diff>
      <filename>app/controllers/admin/.svn/text-base/categories_controller.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -8,8 +8,7 @@ class Admin::LinksController &lt; Admin::IndexController
   end
 
   # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
-  verify :method =&gt; :post, :only =&gt; [ :destroy, :create, :update ],
-         :redirect_to =&gt; { :action =&gt; :list }
+  verify :method =&gt; :post, :only =&gt; [ :destroy, :create ], :redirect_to =&gt; { :action =&gt; :index }
 
   def list
     visible =params[:visible]
@@ -20,9 +19,7 @@ class Admin::LinksController &lt; Admin::IndexController
     end
   end
 
-  def show
-    @link = Link.find(params[:id])
-  end
+ 
 
   def new
     @plink = Link.find(:all,:conditions =&gt; &quot;parent_id = 0&quot;)
@@ -32,8 +29,8 @@ class Admin::LinksController &lt; Admin::IndexController
   def create
     @link = Link.new(params[:link])
     if @link.save
-      flash[:notice] = 'Link was successfully created.'
-      redirect_to :action =&gt; 'list'
+      flash[:notice] = &quot;&#38142;&#25509;'#{@link.title}'&#28155;&#21152;&#25104;&#21151;.&quot;
+      redirect_to :action =&gt; 'index'
     else
       render :action =&gt; 'new'
     end
@@ -47,8 +44,8 @@ class Admin::LinksController &lt; Admin::IndexController
   def update
     @link = Link.find(params[:id])
     if @link.update_attributes(params[:link])
-      flash[:notice] = 'Link was successfully updated.'
-      redirect_to :action =&gt; 'show', :id =&gt; @link
+      flash[:notice] = '&#38142;&#25509;&#26356;&#26032;&#25104;&#21151;.'
+      redirect_to :action =&gt; 'index'
     else
       render :action =&gt; 'edit'
     end
@@ -58,4 +55,5 @@ class Admin::LinksController &lt; Admin::IndexController
     Link.find(params[:id]).destroy
     redirect_to :action =&gt; 'list'
   end
+  
 end</diff>
      <filename>app/controllers/admin/.svn/text-base/links_controller.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -62,14 +62,14 @@ file
 66
 iceskysl
 *
-themes_helper.rb
+categories_helper.rb
 file
 
 
 
 
 2008-05-23T16:32:39.000000Z
-8f7179c7fa8f8447711d61b1a26e12c3
+c500d7443bb43c47a7d8f7b5068f4850
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
@@ -86,14 +86,14 @@ dc0b5165ba539c38424232a934904bf8
 66
 iceskysl
 *
-categories_helper.rb
+themes_helper.rb
 file
 
 
 
 
 2008-05-23T16:32:39.000000Z
-c500d7443bb43c47a7d8f7b5068f4850
+8f7179c7fa8f8447711d61b1a26e12c3
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
@@ -146,26 +146,26 @@ file
 66
 iceskysl
 *
-users_helper.rb
+topics_helper.rb
 file
 
 
 
 
 2008-05-23T16:32:39.000000Z
-f2aa1d65d6ebfc59c4566d831f41ba62
+e5f417c9d7298dfbf4d35b31021b6889
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-topics_helper.rb
+users_helper.rb
 file
 
 
 
 
 2008-05-23T16:32:39.000000Z
-e5f417c9d7298dfbf4d35b31021b6889
+f2aa1d65d6ebfc59c4566d831f41ba62
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
@@ -182,6 +182,13 @@ delete
 66
 iceskysl
 *
+logs_helper.rb
+file
+0
+
+
+add
+*
 index_helper.rb
 file
 </diff>
      <filename>app/helpers/admin/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -32,13 +32,13 @@ dir
 plugins
 dir
 *
-categories
+themes
 dir
 *
 comments
 dir
 *
-themes
+categories
 dir
 *
 caches
@@ -53,15 +53,22 @@ dir
 profile
 dir
 *
-topics
+users
 dir
 *
-users
+topics
 dir
 *
 types
 dir
 *
+logs
+dir
+
+
+
+add
+*
 index
 dir
 *</diff>
      <filename>app/views/admin/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -1,43 +1,35 @@
+K 26
+svn:wc:ra_dav:activity-url
+V 14
+/svn/!svn/act/
 K 25
 svn:wc:ra_dav:version-url
 V 49
-/svn/!svn/ver/66/trunk/app/views/admin/categories
-END
-list.rhtml
-K 25
-svn:wc:ra_dav:version-url
-V 60
-/svn/!svn/ver/66/trunk/app/views/admin/categories/list.rhtml
+/svn/!svn/ver/80/trunk/app/views/admin/categories
 END
 index.html.erb
 K 25
 svn:wc:ra_dav:version-url
 V 64
-/svn/!svn/ver/66/trunk/app/views/admin/categories/index.html.erb
-END
-show.rhtml
-K 25
-svn:wc:ra_dav:version-url
-V 60
-/svn/!svn/ver/66/trunk/app/views/admin/categories/show.rhtml
+/svn/!svn/ver/80/trunk/app/views/admin/categories/index.html.erb
 END
 _form.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 61
-/svn/!svn/ver/66/trunk/app/views/admin/categories/_form.rhtml
+/svn/!svn/ver/80/trunk/app/views/admin/categories/_form.rhtml
 END
 edit.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 60
-/svn/!svn/ver/66/trunk/app/views/admin/categories/edit.rhtml
+/svn/!svn/ver/80/trunk/app/views/admin/categories/edit.rhtml
 END
 _items.html.erb
 K 25
 svn:wc:ra_dav:version-url
 V 65
-/svn/!svn/ver/66/trunk/app/views/admin/categories/_items.html.erb
+/svn/!svn/ver/80/trunk/app/views/admin/categories/_items.html.erb
 END
 _slider.html.erb
 K 25
@@ -49,5 +41,5 @@ new.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 59
-/svn/!svn/ver/66/trunk/app/views/admin/categories/new.rhtml
+/svn/!svn/ver/80/trunk/app/views/admin/categories/new.rhtml
 END</diff>
      <filename>app/views/admin/categories/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,17 @@
 8
 
 dir
-74
+80
 https://1stlog.googlecode.com/svn/trunk/app/views/admin/categories
 https://1stlog.googlecode.com/svn
 
 
 
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 has-props
-has-prop-mods
+
 svn:special svn:externals svn:needs-lock
 
 
@@ -26,40 +26,16 @@ svn:special svn:externals svn:needs-lock
 
 01612b04-d432-0410-ac2e-49b30577d389
 *
-list.rhtml
-file
-
-
-
-delete
-2008-05-23T16:33:47.000000Z
-ea9eaa208659512bbac178f3d1352d60
-2008-04-22T01:27:37.349214Z
-66
-iceskysl
-*
 index.html.erb
 file
 
 
 
 
-2008-05-23T16:33:47.000000Z
-8965211b661c2ce8aa3d072ebd984b32
-2008-04-22T01:27:37.349214Z
-66
-iceskysl
-*
-show.rhtml
-file
-
-
-
-delete
-2008-05-23T16:33:47.000000Z
-bb1befacee814f9e04ed6344c046fae5
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T17:50:00.000000Z
+7d8a80af273694abcf04c0a2df9104b5
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 *
 _form.rhtml
@@ -68,10 +44,10 @@ file
 
 
 
-2008-05-23T16:33:47.000000Z
-aff54102d3070efd6f6b6cc51b8c2442
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:40:35.000000Z
+2feb57167a1e2b684aab7cebf5c8a4b2
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 *
 edit.rhtml
@@ -80,10 +56,10 @@ file
 
 
 
-2008-05-23T16:33:47.000000Z
-43515bb607423eb4efcbc7866033cc69
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:57:38.000000Z
+1b7e2c1599bd3e564910ab2183fe813f
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 *
 _items.html.erb
@@ -92,15 +68,15 @@ file
 
 
 
-2008-05-23T16:33:47.000000Z
-bcc20688e594b1c288af491667a5908c
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:36:41.000000Z
+06731f2a107a02d8c22efd132569d648
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 *
 _slider.html.erb
 file
-
+74
 
 
 
@@ -116,9 +92,9 @@ file
 
 
 
-2008-05-23T16:33:47.000000Z
-fd47cbb0336e58c7f223daf76360d227
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T17:47:46.000000Z
+41766d4c85040699d509de3b915538da
+2008-05-24T19:47:04.763924Z
+80
 iceskysl
 *</diff>
      <filename>app/views/admin/categories/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -2,46 +2,45 @@
 &lt;!--[form:category]--&gt;
 
 
-  &lt;tr class=&quot;tablecell&quot;&gt;
-	&lt;td width=&quot;50%&quot;&gt;
-	&lt;b&gt;&#36873;&#25321;&#29238;&#20998;&#31867;&lt;/b&gt;&lt;br/&gt;
-	&#22635;&#20889;&#20998;&#31867;&#30340;&#21517;&#31216;,&#20250;&#26174;&#31034;&#22312;&#20320;&#30340;&#39318;&#39029;&#19978;&lt;/td&gt;
-	&lt;td&gt;
-	 &lt;select name=&quot;category[type_id]&quot;&gt;
- &lt;% @types.each do |type| -%&gt;
- &lt;option value=&quot;&lt;%= type.id -%&gt;&quot;&gt;
- &lt;%= type.title -%&gt;
- &lt;/option&gt;
- &lt;% end %&gt;
- &lt;/select&gt;
-	&lt;/td&gt;
-  &lt;/tr&gt;
-  
-  &lt;tr class=&quot;tablecell&quot;&gt;
-	&lt;td width=&quot;50%&quot;&gt;
-	&lt;b&gt;&#20998;&#31867;&#21517;&#31216;&lt;/b&gt;&lt;br/&gt;
-	&#22635;&#20889;&#20998;&#31867;&#30340;&#21517;&#31216;,&#20250;&#26174;&#31034;&#22312;&#20320;&#30340;&#39318;&#39029;&#19978;&lt;/td&gt;
-	&lt;td&gt;
-	&lt;%= text_field 'category', 'title' ,{:value=&gt;&quot;&quot;,:size=&gt;50, :class =&gt; 'formfield' } %&gt;
-	&lt;/td&gt;
-  &lt;/tr&gt;
-
-  &lt;tr class=&quot;tablecell&quot;&gt;
-	&lt;td width=&quot;50%&quot;&gt;
-	&lt;b&gt;&#20998;&#31867;&#25551;&#36848;&lt;/b&gt;&lt;br/&gt;
-	&#22635;&#20889;&#20320;&#23545;&#35813;&#20998;&#31867;&#30340;&#25551;&#36848;&#20197;&#26356;&#22909;&#30340;&#26631;&#35782;&#36825;&#20010;&#20998;&#31867;&#30340;&#20316;&#29992;&lt;/td&gt;
-	&lt;td&gt;
-	&lt;%= text_field 'category', 'description' ,{:size=&gt;50,:maxlength=&gt;&quot;50&quot;,:value=&gt;&quot;&quot;, :class =&gt; 'formfield'} %&gt;
-	&lt;/td&gt;
-  &lt;/tr&gt;    
-
- &lt;tr class=&quot;tablecell&quot;&gt;
-	&lt;td width=&quot;50%&quot;&gt;
-	&lt;b&gt;&#25490;&#21015;&#20301;&#32622;&lt;/b&gt;&lt;br/&gt;
-	&#22635;&#20889;&#20320;&#24819;&#35813;&#20998;&#31867;&#30340;&#25490;&#21015;&#20301;&#32622;&lt;/td&gt;
-	&lt;td&gt;
-	&lt;%= text_field 'category', 'position' ,{:size=&gt;50,:maxlength=&gt;&quot;50&quot;,:value=&gt;&quot;1&quot;, :class =&gt; 'formfield'}  %&gt;
-	&lt;/td&gt;
+&lt;tr class=&quot;tablecell&quot;&gt;
+  &lt;td width=&quot;50%&quot;&gt;
+    &lt;b&gt;&#36873;&#25321;&#29238;&#20998;&#31867;&lt;/b&gt;&lt;br/&gt;
+  &#22635;&#20889;&#20998;&#31867;&#30340;&#21517;&#31216;,&#20250;&#26174;&#31034;&#22312;&#20320;&#30340;&#39318;&#39029;&#19978;&lt;/td&gt;
+  &lt;td&gt;
+    &lt;select name=&quot;category[parent_id]&quot;&gt;
+      &lt;option value=&quot;0&quot;&gt; ==&#26080;== &lt;/option&gt;
+      &lt;% @parent_categories.each do |parent| -%&gt;
+        &lt;option value=&quot;&lt;%= parent.id -%&gt;&quot;&gt; &lt;%= parent.title -%&gt; &lt;/option&gt;
+      &lt;% end %&gt;
+    &lt;/select&gt;
+  &lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr class=&quot;tablecell&quot;&gt;
+  &lt;td width=&quot;50%&quot;&gt;
+    &lt;b&gt;&#20998;&#31867;&#21517;&#31216;&lt;/b&gt;&lt;br/&gt;
+  &#22635;&#20889;&#20998;&#31867;&#30340;&#21517;&#31216;,&#20250;&#26174;&#31034;&#22312;&#20320;&#30340;&#39318;&#39029;&#19978;&lt;/td&gt;
+  &lt;td&gt;
+    &lt;%= text_field 'category', 'title' ,{:size=&gt;20, :class =&gt; 'formfield' } %&gt;
+  &lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr class=&quot;tablecell&quot;&gt;
+  &lt;td width=&quot;50%&quot;&gt;
+    &lt;b&gt;&#20998;&#31867;&#25551;&#36848;&lt;/b&gt;&lt;br/&gt;
+  &#22635;&#20889;&#20320;&#23545;&#35813;&#20998;&#31867;&#30340;&#25551;&#36848;&#20197;&#26356;&#22909;&#30340;&#26631;&#35782;&#36825;&#20010;&#20998;&#31867;&#30340;&#20316;&#29992;&lt;/td&gt;
+  &lt;td&gt;
+    &lt;%= text_field 'category', 'desc' ,{:size=&gt;20,:maxlength=&gt;&quot;20&quot;, :class =&gt; 'formfield'} %&gt;
+  &lt;/td&gt;
+&lt;/tr&gt;    
+
+&lt;tr class=&quot;tablecell&quot;&gt;
+  &lt;td width=&quot;50%&quot;&gt;
+    &lt;b&gt;&#25490;&#21015;&#20301;&#32622;&lt;/b&gt;&lt;br/&gt;
+  &#22635;&#20889;&#20320;&#24819;&#35813;&#20998;&#31867;&#30340;&#25490;&#21015;&#20301;&#32622;&lt;/td&gt;
+  &lt;td&gt;
+    &lt;%= text_field 'category', 'position' ,{:size=&gt;20,:maxlength=&gt;&quot;20&quot;,:value=&gt;&quot;1&quot;, :class =&gt; 'formfield'}  %&gt;
+  &lt;/td&gt;
 &lt;/tr&gt; 
 
 &lt;!--[eoform:category]--&gt;</diff>
      <filename>app/views/admin/categories/.svn/text-base/_form.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -4,30 +4,36 @@
       &lt;table width=&quot;100%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
         
         &lt;tr class=&quot;tdbheader&quot;&gt;
-          &lt;td nowrap width=&quot;16%&quot;&gt;&#21517;&#31216;&lt;/td&gt;
-          &lt;td nowrap width=&quot;10%&quot;&gt;&#20998;&#31867;&lt;/td&gt;
+          &lt;td nowrap width=&quot;5%&quot;&gt;&#20301;&#32622;&lt;/td&gt;
+          &lt;td nowrap width=&quot;16%&quot;&gt;&#20998;&#31867;&#21517;&#31216;&lt;/td&gt;
           &lt;td nowrap width=&quot;20%&quot;&gt;&#29238;&#20998;&#31867;&lt;/td&gt;
+          &lt;td nowrap width=&quot;10%&quot;&gt;&#25991;&#31456;&#25968;&lt;/td&gt;
           &lt;td nowrap width=&quot;40%&quot;&gt;&#25551;&#36848;&lt;/td&gt;
+           &lt;td nowrap=&quot;nowrap&quot; width=&quot;2%&quot;&gt; &#32534;&#36753; &lt;/td&gt;
         &lt;/tr&gt;
         &lt;%@categories.each do |cate|%&gt;
           &lt;tr class=&quot;tablecell&quot;&gt;
             &lt;td nowrap&gt;&lt;%=cate.position%&gt;&lt;/td&gt;
             &lt;td nowrap&gt;&lt;%=cate.title%&gt;&lt;/td&gt;
-            &lt;td nowrap&gt;&lt;%=cate.type.title%&gt;&lt;/td&gt;
-            &lt;td nowrap&gt;&lt;%=cate.description%&gt;&lt;/td&gt;
+            &lt;td nowrap&gt;&lt;%=cate.parent%&gt;&lt;/td&gt;
+            &lt;td nowrap&gt;&lt;%=cate.topics_count%&gt;&lt;/td&gt;
+            &lt;td nowrap&gt;&lt;%=cate.desc%&gt;&lt;/td&gt;
+              &lt;td nowrap=&quot;nowrap&quot;&gt;
+              &lt;%=link_to image_tag(&quot;icos/edit.gif&quot;, :border=&gt;&quot;0&quot;,:size =&gt; &quot;16x16&quot;, :alt =&gt; &quot;&#32534;&#36753;&quot;),{:action=&gt;&quot;edit&quot;,:id=&gt;cate.id}%&gt;
+            &lt;/td&gt;
           &lt;/tr&gt;
         &lt;%end%&gt;
-              
-        
+                                              
+                                        
         &lt;tr class=&quot;tablecell&quot;&gt;
-          &lt;td colspan=&quot;8&quot; nowrap=&quot;nowrap&quot;&gt;
+          &lt;td colspan=&quot;6&quot; nowrap=&quot;nowrap&quot;&gt;
             &lt;div class=&quot;records&quot;&gt;&#39029;:&lt;%= @categories.current_page%&gt;/&lt;%=@categories.page_count %&gt;,&#35760;&#24405;:&lt;%=@categories.total_entries %&gt;&lt;/div&gt;
             &lt;div class=&quot;multipage&quot;&gt;&lt;%= will_paginate @categories %&gt;&lt;/div&gt;
           &lt;/td&gt;
         &lt;/tr&gt;
         
         &lt;tr&gt;
-          &lt;td class=&quot;tablebottom&quot; colspan=&quot;4&quot;&gt;&lt;/td&gt;
+          &lt;td class=&quot;tablebottom&quot; colspan=&quot;6&quot;&gt;&lt;/td&gt;
         &lt;/tr&gt;
       &lt;/table&gt;
     &lt;/td&gt;</diff>
      <filename>app/views/admin/categories/.svn/text-base/_items.html.erb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,51 @@
-&lt;h1&gt;Editing category&lt;/h1&gt;
 
-&lt;% form_tag :action =&gt; 'update', :id =&gt; @category do %&gt;
-  &lt;%= render :partial =&gt; 'form' %&gt;
-  &lt;%= submit_tag 'Edit' %&gt;
-&lt;% end %&gt;
 
-&lt;%= link_to 'Show', :action =&gt; 'show', :id =&gt; @category %&gt; |
-&lt;%= link_to 'Back', :action =&gt; 'list' %&gt;
+
+ 
+
+&#65279;&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;div class=&quot;navlink&quot;&gt;&lt;a href=&quot;/admin/index&quot;&gt;&#25511;&#21046;&#38754;&#29256;&lt;/a&gt; &#187; &#20998;&#31867;&#31649;&#29702;&lt;/div&gt;
+&lt;/div&gt;
+
+
+
+&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;table border=&quot;0&quot;  cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;width:100%;&quot;&gt;
+    
+    &lt;tr&gt;
+      &lt;td valign=&quot;top&quot; style=&quot;width:150px;&quot;&gt;
+        &lt;%=render(:partial =&gt; &quot;slider&quot;)%&gt;   
+      &lt;/td&gt;
+      
+      &lt;td valign=&quot;top&quot; style=&quot;width:20px;&quot;&gt;&lt;/td&gt;
+      &lt;td valign=&quot;top&quot;&gt;
+
+          &lt;% form_for(:category, :url =&gt; admin_category_path(:id =&gt; @category) ,:html =&gt; { :method =&gt; :put }) do |form| -%&gt;
+            &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
+              &lt;tbody&gt;&lt;tr&gt;
+                  &lt;td class=&quot;rightmainbody&quot;&gt;
+                    &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
+                  
+                      &lt;tbody&gt;
+                        &lt;tr class=&quot;tdbheader&quot;&gt;
+                          &lt;td colspan=&quot;2&quot;&gt;&#26356;&#26032;&#20998;&#31867;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;%= render :partial =&gt; 'form' ,:object =&gt; form%&gt;
+                        &lt;tr class=&quot;tablecell&quot;&gt;
+                          &lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;
+                            &lt;%= submit_tag '&#26356;&#26032;', :class=&gt;&quot;formbutton&quot;  %&gt;
+                            &lt;input value=&quot;&#37325;&#32622;&quot; class=&quot;formbutton&quot; type=&quot;reset&quot;&gt;
+                          &lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                          &lt;td class=&quot;tablebottom&quot; colspan=&quot;2&quot;&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                  &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;
+                &lt;/tr&gt;
+            
+            &lt;/tbody&gt;&lt;/table&gt;
+          &lt;% end %&gt;
+        &lt;/td&gt;
+      &lt;/tr&gt;
+    &lt;/table&gt;
+  &lt;/div&gt;</diff>
      <filename>app/views/admin/categories/.svn/text-base/edit.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 &#65279;&lt;div class=&quot;mainbody&quot;&gt;
-  &lt;div class=&quot;navlink&quot;&gt;&lt;a href=&quot;/admin/index&quot;&gt;&#25511;&#21046;&#38754;&#29256;&lt;/a&gt; &#187; &#38468;&#20214;&#31649;&#29702;&lt;/div&gt;
+  &lt;div class=&quot;navlink&quot;&gt;&lt;a href=&quot;/admin/index&quot;&gt;&#25511;&#21046;&#38754;&#29256;&lt;/a&gt; &#187; &#20998;&#31867;&#31649;&#29702;&lt;/div&gt;
 &lt;/div&gt;
 
 
@@ -14,9 +14,8 @@
       
       &lt;td valign=&quot;top&quot; style=&quot;width:20px;&quot;&gt;&lt;/td&gt;
       &lt;td valign=&quot;top&quot;&gt;
-        &lt;form action=&quot;admincp.php?job=comment&quot; method=&quot;POST&quot; name=&quot;form&quot;&gt;
-         &lt;%=render(:partial =&gt; &quot;items&quot;)%&gt;  
-        &lt;/form&gt;
+          &lt;%=render(:partial =&gt; &quot;items&quot;)%&gt;  
+ 
       &lt;/td&gt;
     &lt;/tr&gt;
   &lt;/table&gt;</diff>
      <filename>app/views/admin/categories/.svn/text-base/index.html.erb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,34 +1,49 @@
-		&lt;%= error_messages_for 'type' %&gt;
-		&lt;% form_tag :action =&gt; 'create' do %&gt;
+&#65279;&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;div class=&quot;navlink&quot;&gt;&lt;a href=&quot;/admin/index&quot;&gt;&#25511;&#21046;&#38754;&#29256;&lt;/a&gt; &#187; &#20998;&#31867;&#31649;&#29702;&lt;/div&gt;
+&lt;/div&gt;
+
+
+
+&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;table border=&quot;0&quot;  cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;width:100%;&quot;&gt;
+    
+    &lt;tr&gt;
+      &lt;td valign=&quot;top&quot; style=&quot;width:150px;&quot;&gt;
+        &lt;%=render(:partial =&gt; &quot;slider&quot;)%&gt;   
+      &lt;/td&gt;
+      
+      &lt;td valign=&quot;top&quot; style=&quot;width:20px;&quot;&gt;&lt;/td&gt;
+      &lt;td valign=&quot;top&quot;&gt;
+        &lt;% form_tag :action =&gt; 'create' do %&gt;
+                
+          &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
+            &lt;tbody&gt;&lt;tr&gt;
+                &lt;td class=&quot;rightmainbody&quot;&gt;
+                  &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
+                  
+                    &lt;tbody&gt;
+                      &lt;tr class=&quot;tdbheader&quot;&gt;
+                        &lt;td colspan=&quot;2&quot;&gt;&#26032;&#24314;&#23376;&#20998;&#31867;&lt;/td&gt;
+                      &lt;/tr&gt;
+                      &lt;%= render :partial =&gt; 'form' %&gt;
+                      &lt;tr class=&quot;tablecell&quot;&gt;
+                        &lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;
+                          &lt;%= submit_tag '&#25552;&#20132;', :class=&gt;&quot;formbutton&quot;  %&gt;
+                          &lt;input value=&quot;&#37325;&#32622;&quot; class=&quot;formbutton&quot; type=&quot;reset&quot;&gt;
+                        &lt;/td&gt;
+                      &lt;/tr&gt;
+                      &lt;tr&gt;
+                        &lt;td class=&quot;tablebottom&quot; colspan=&quot;2&quot;&gt;&lt;/td&gt;
+                      &lt;/tr&gt;
+                &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;
+              &lt;/tr&gt;
+            
+          &lt;/tbody&gt;&lt;/table&gt;
+        &lt;% end %&gt;
+      &lt;/td&gt;
+    &lt;/tr&gt;
+  &lt;/table&gt;
+&lt;/div&gt;
 
-		  &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
-			&lt;tbody&gt;&lt;tr&gt;
-			  &lt;td class=&quot;rightmainbody&quot;&gt;
-				  &lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
 
-				  &lt;tbody&gt;
-				  &lt;tr class=&quot;tdbheader&quot;&gt;
-					&lt;td colspan=&quot;2&quot;&gt;&#26032;&#24314;&#23376;&#20998;&#31867;&lt;/td&gt;
-				  &lt;/tr&gt;
 
-
-
-
-  &lt;%= render :partial =&gt; 'form' %&gt;
-
-
-				  &lt;tr class=&quot;tablecell&quot;&gt;
-					&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;
-
-					&lt;%= submit_tag '&#25552;&#20132;', :class=&gt;&quot;formbutton&quot;  %&gt;
-					&lt;input value=&quot;&#37325;&#32622;&quot; class=&quot;formbutton&quot; type=&quot;reset&quot;&gt;
-					&lt;/td&gt;
-				  &lt;/tr&gt;
-				  &lt;tr&gt;
-					&lt;td class=&quot;tablebottom&quot; colspan=&quot;2&quot;&gt;&lt;/td&gt;
-				  &lt;/tr&gt;
-				&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;
-			&lt;/tr&gt;
-
-		  &lt;/tbody&gt;&lt;/table&gt;
-&lt;% end %&gt;</diff>
      <filename>app/views/admin/categories/.svn/text-base/new.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,37 +1,35 @@
+K 26
+svn:wc:ra_dav:activity-url
+V 14
+/svn/!svn/act/
 K 25
 svn:wc:ra_dav:version-url
 V 44
-/svn/!svn/ver/66/trunk/app/views/admin/links
+/svn/!svn/ver/79/trunk/app/views/admin/links
 END
-list.rhtml
+list.html.erb
 K 25
 svn:wc:ra_dav:version-url
-V 55
-/svn/!svn/ver/66/trunk/app/views/admin/links/list.rhtml
-END
-show.rhtml
-K 25
-svn:wc:ra_dav:version-url
-V 55
-/svn/!svn/ver/66/trunk/app/views/admin/links/show.rhtml
+V 58
+/svn/!svn/ver/79/trunk/app/views/admin/links/list.html.erb
 END
 _form.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 56
-/svn/!svn/ver/66/trunk/app/views/admin/links/_form.rhtml
+/svn/!svn/ver/79/trunk/app/views/admin/links/_form.rhtml
 END
 edit.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 55
-/svn/!svn/ver/66/trunk/app/views/admin/links/edit.rhtml
+/svn/!svn/ver/79/trunk/app/views/admin/links/edit.rhtml
 END
 _items.html.erb
 K 25
 svn:wc:ra_dav:version-url
 V 60
-/svn/!svn/ver/66/trunk/app/views/admin/links/_items.html.erb
+/svn/!svn/ver/79/trunk/app/views/admin/links/_items.html.erb
 END
 _slider.html.erb
 K 25
@@ -43,5 +41,5 @@ new.rhtml
 K 25
 svn:wc:ra_dav:version-url
 V 54
-/svn/!svn/ver/66/trunk/app/views/admin/links/new.rhtml
+/svn/!svn/ver/79/trunk/app/views/admin/links/new.rhtml
 END</diff>
      <filename>app/views/admin/links/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,17 @@
 8
 
 dir
-74
+79
 https://1stlog.googlecode.com/svn/trunk/app/views/admin/links
 https://1stlog.googlecode.com/svn
 
 
 
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 has-props
-has-prop-mods
+
 svn:special svn:externals svn:needs-lock
 
 
@@ -26,28 +26,16 @@ svn:special svn:externals svn:needs-lock
 
 01612b04-d432-0410-ac2e-49b30577d389
 *
-list.rhtml
+list.html.erb
 file
 
 
 
-delete
-2008-05-23T16:33:36.000000Z
-b779a0eea877305519bdf5998a3ce457
-2008-04-22T01:27:37.349214Z
-66
-iceskysl
-*
-show.rhtml
-file
-
-
 
-delete
-2008-05-23T16:33:36.000000Z
-f29d937533b654617879233e3879070f
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:26:48.000000Z
+629cb4787940b2c36226b94c0e293cc6
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 *
 _form.rhtml
@@ -56,10 +44,10 @@ file
 
 
 
-2008-05-23T16:33:36.000000Z
-f4c0c9e85b60be018dda4f8f91de8cb9
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:19:34.000000Z
+41dbb385f0656490beebe47980542c44
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 *
 edit.rhtml
@@ -68,10 +56,10 @@ file
 
 
 
-2008-05-23T16:33:36.000000Z
-6479470596b35f9b5ab47048c36f8cf4
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:21:22.000000Z
+000d642d001218f8302eda9987c145b5
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 *
 _items.html.erb
@@ -80,15 +68,15 @@ file
 
 
 
-2008-05-23T16:33:36.000000Z
-8d6663abeb2c227792a44a54b5ab365a
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:07:17.000000Z
+09fed82307478b9fdcd68a5299d5e179
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 *
 _slider.html.erb
 file
-
+74
 
 
 
@@ -104,9 +92,9 @@ file
 
 
 
-2008-05-23T16:33:36.000000Z
-e649fc2dd2f66cde9a9650a18fb4a8a2
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T17:51:59.000000Z
+49ac74798fc69e746488b07ea0cc0e10
+2008-05-24T19:46:25.242301Z
+79
 iceskysl
 *</diff>
      <filename>app/views/admin/links/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -7,12 +7,8 @@
               &lt;td colspan=&quot;2&quot;&gt;&#28155;&#21152;&#38142;&#25509;&lt;/td&gt;
               
             &lt;/tr&gt;
-            &lt;tr class=&quot;tablecell&quot;&gt;
-              &lt;td&gt;&#29366;&#24577;:&lt;/td&gt;
-              &lt;td&gt;&lt;select name=&quot;visible&quot;&gt;
-                  &lt;option value=&quot;1&quot; selected=&quot;selected&quot;&gt;&#26174;&#31034;&lt;/option&gt;
-              &lt;option value=&quot;0&quot;&gt;&#38544;&#34255;&lt;/option&gt;&lt;/select&gt;&lt;/td&gt;
-            &lt;/tr&gt;
+
+            
             &lt;tr class=&quot;tablecell&quot;&gt;
               &lt;td&gt;&#19978;&#32423;&#20998;&#31867;:&lt;/td&gt;
               
@@ -24,16 +20,22 @@
             &lt;tr class=&quot;tablecell&quot;&gt;
               &lt;td&gt;&#21517;&#31216;:&lt;/td&gt;
               
-              &lt;td&gt;&lt;%= text_field 'link', 'title'  %&gt;&lt;/td&gt;
+              &lt;td&gt;&lt;%= text_field 'link', 'title' ,{:size=&gt;20, :class =&gt; 'formfield' } %&gt;&lt;/td&gt;
             &lt;/tr&gt;
             &lt;tr class=&quot;tablecell&quot;&gt;
               &lt;td&gt;&#22320;&#22336;:&lt;/td&gt;
-              &lt;td&gt;&lt;%= text_field 'link', 'weburl'  %&gt;&lt;/td&gt;
+              &lt;td&gt;&lt;%= text_field 'link', 'weburl' ,{:size=&gt;20, :class =&gt; 'formfield' } %&gt;&lt;/td&gt;
             &lt;/tr&gt;
             &lt;tr class=&quot;tablecell&quot;&gt;
               &lt;td&gt;&#25551;&#36848;:&lt;/td&gt;
               
-              &lt;td&gt;&lt;%= text_field 'link', 'description'  %&gt;&lt;/td&gt;
+              &lt;td&gt;&lt;%= text_field 'link', 'description' ,{ :class =&gt; 'formfield' } %&gt;&lt;/td&gt;
+            &lt;/tr&gt;
+            &lt;tr class=&quot;tablecell&quot;&gt;
+              &lt;td&gt;&#29366;&#24577;:&lt;/td&gt;
+              &lt;td&gt;&lt;select name=&quot;visible&quot;&gt;
+                  &lt;option value=&quot;1&quot; selected=&quot;selected&quot;&gt;&#26174;&#31034;&lt;/option&gt;
+              &lt;option value=&quot;0&quot;&gt;&#38544;&#34255;&lt;/option&gt;&lt;/select&gt;&lt;/td&gt;
             &lt;/tr&gt;
             &lt;tr class=&quot;tablecell&quot;&gt;
               &lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;input value=&quot;&#25552;&#20132;&quot; class=&quot;formbutton&quot; type=&quot;submit&quot;&gt; &lt;input value=&quot;&#37325;&#32622;&quot; class=&quot;formbutton&quot; type=&quot;reset&quot;&gt;&lt;/td&gt;</diff>
      <filename>app/views/admin/links/.svn/text-base/_form.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -9,31 +9,36 @@
           
           &lt;td nowrap width=&quot;20%&quot;&gt;&#22320;&#22336;&lt;/td&gt;
           &lt;td nowrap width=&quot;40%&quot;&gt;&#25551;&#36848;&lt;/td&gt;
+          &lt;td nowrap=&quot;nowrap&quot; width=&quot;2%&quot;&gt; &#32534;&#36753; &lt;/td&gt;
+          
         &lt;/tr&gt;
         &lt;%@links.each do |link|%&gt;
           &lt;tr class=&quot;tablecell&quot;&gt;
           
             &lt;td nowrap&gt;&lt;%=link.title%&gt;&lt;/td&gt;
-            &lt;td nowrap&gt;&lt;%=link.type.name%&gt;&lt;/td&gt;
+            &lt;td nowrap&gt;&lt;%=link.parent%&gt;&lt;/td&gt;
             &lt;td nowrap&gt;&lt;%=link.weburl%&gt;&lt;/td&gt;
-              &lt;td nowrap&gt;&lt;%=link.description%&gt;&lt;/td&gt;
-            &lt;/tr&gt;
-          &lt;%end%&gt;
-                
-          
-          &lt;tr class=&quot;tablecell&quot;&gt;
-            &lt;td colspan=&quot;8&quot; nowrap=&quot;nowrap&quot;&gt;&lt;div class=&quot;records&quot;&gt;&#39029;:&lt;%= @links.current_page%&gt;/&lt;%=@links.page_count %&gt;,&#35760;&#24405;:&lt;%=@links.total_entries %&gt;&lt;/div&gt;
+            &lt;td&gt;&lt;%=link.description%&gt;&lt;/td&gt;
+            &lt;td nowrap=&quot;nowrap&quot;&gt;
+              &lt;%=link_to image_tag(&quot;icos/edit.gif&quot;, :border=&gt;&quot;0&quot;,:size =&gt; &quot;16x16&quot;, :alt =&gt; &quot;&#32534;&#36753;&quot;),{:action=&gt;&quot;edit&quot;,:id=&gt;link.id}%&gt;
+            &lt;/td&gt;
+          &lt;/tr&gt;
+        &lt;%end%&gt;
+                        
+                  
+        &lt;tr class=&quot;tablecell&quot;&gt;
+          &lt;td colspan=&quot;5&quot; nowrap=&quot;nowrap&quot;&gt;&lt;div class=&quot;records&quot;&gt;&#39029;:&lt;%= @links.current_page%&gt;/&lt;%=@links.page_count %&gt;,&#35760;&#24405;:&lt;%=@links.total_entries %&gt;&lt;/div&gt;
             
-            &lt;div class=&quot;multipage&quot;&gt;&lt;%= will_paginate @links %&gt;&lt;/div&gt;&lt;/td&gt;
+          &lt;div class=&quot;multipage&quot;&gt;&lt;%= will_paginate @links %&gt;&lt;/div&gt;&lt;/td&gt;
           
-          &lt;/tr&gt;
+        &lt;/tr&gt;
         
-          &lt;tr&gt;
-            &lt;td class=&quot;tablebottom&quot; colspan=&quot;9&quot;&gt;&lt;/td&gt;
-          &lt;/tr&gt;
-        &lt;/table&gt;
-      &lt;/td&gt;
+        &lt;tr&gt;
+          &lt;td class=&quot;tablebottom&quot; colspan=&quot;5&quot;&gt;&lt;/td&gt;
+        &lt;/tr&gt;
+      &lt;/table&gt;
+    &lt;/td&gt;
     
-    &lt;/tr&gt;
+  &lt;/tr&gt;
   
-  &lt;/table&gt;
\ No newline at end of file
+&lt;/table&gt;
\ No newline at end of file</diff>
      <filename>app/views/admin/links/.svn/text-base/_items.html.erb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,25 @@
-&lt;h1&gt;Editing link&lt;/h1&gt;
 
-&lt;% form_tag :action =&gt; 'update', :id =&gt; @link do %&gt;
-  &lt;%= render :partial =&gt; 'form' %&gt;
-  &lt;%= submit_tag 'Edit' %&gt;
-&lt;% end %&gt;
 
-&lt;%= link_to 'Show', :action =&gt; 'show', :id =&gt; @link %&gt; |
-&lt;%= link_to 'Back', :action =&gt; 'list' %&gt;
+&#65279;&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;div class=&quot;navlink&quot;&gt;&lt;a href=&quot;/admin/index&quot;&gt;&#25511;&#21046;&#38754;&#29256;&lt;/a&gt; &#187; &#38142;&#25509;&#31649;&#29702;&lt;/div&gt;
+&lt;/div&gt;
+
+
+
+&lt;div class=&quot;mainbody&quot;&gt;
+  &lt;table border=&quot;0&quot;  cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;width:100%;&quot;&gt;
+    
+    &lt;tr&gt;
+      &lt;td valign=&quot;top&quot; style=&quot;width:150px;&quot;&gt;
+        &lt;%=render(:partial =&gt; &quot;slider&quot;)%&gt;   
+      &lt;/td&gt;
+      
+      &lt;td valign=&quot;top&quot; style=&quot;width:20px;&quot;&gt;&lt;/td&gt;
+      &lt;td valign=&quot;top&quot;&gt;
+          &lt;% form_for(:link, :url =&gt; admin_link_path(:id =&gt; @link) ,:html =&gt; { :method =&gt; :put }) do |form| -%&gt;
+          &lt;%= render :partial =&gt; 'form' ,:object =&gt; form%&gt;
+        &lt;% end %&gt;
+      &lt;/td&gt;
+    &lt;/tr&gt;
+  &lt;/table&gt;
+&lt;/div&gt;</diff>
      <filename>app/views/admin/links/.svn/text-base/edit.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@
       &lt;td valign=&quot;top&quot; style=&quot;width:20px;&quot;&gt;&lt;/td&gt;
       &lt;td valign=&quot;top&quot;&gt;
         &lt;% form_tag :action =&gt; 'create' do %&gt;
-            &lt;%= render :partial =&gt; 'form' %&gt;
+          &lt;%= render :partial =&gt; 'form' %&gt;
         &lt;% end %&gt;
       &lt;/td&gt;
     &lt;/tr&gt;</diff>
      <filename>app/views/admin/links/.svn/text-base/new.rhtml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@ routes.rb
 K 25
 svn:wc:ra_dav:version-url
 V 39
-/svn/!svn/ver/68/trunk/config/routes.rb
+/svn/!svn/ver/82/trunk/config/routes.rb
 END
 database.yml
 K 25
@@ -37,7 +37,7 @@ appconfig.yml
 K 25
 svn:wc:ra_dav:version-url
 V 43
-/svn/!svn/ver/66/trunk/config/appconfig.yml
+/svn/!svn/ver/82/trunk/config/appconfig.yml
 END
 environment.rb
 K 25</diff>
      <filename>config/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -52,15 +52,15 @@ iceskysl
 *
 routes.rb
 file
-76
+82
 
 
 
-2008-05-23T16:41:08.000000Z
-22964fc2b33e1d84f97baaefd2bff268
-2008-05-04T14:50:25.670763Z
-68
-wujunchen
+2008-05-24T18:51:33.000000Z
+5487b7323a624ef183753b2c2f99d7e7
+2008-05-24T19:49:23.010407Z
+82
+iceskysl
 *
 database.yml
 file
@@ -91,14 +91,14 @@ dir
 *
 appconfig.yml
 file
+82
 
 
 
-
-2008-05-23T16:41:08.000000Z
-22cdef0fc12701957012baeb96140688
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T17:35:13.000000Z
+f267140fa2e8707eb4a5c327352f5ec6
+2008-05-24T19:49:23.010407Z
+82
 iceskysl
 *
 environment.rb</diff>
      <filename>config/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,19 @@
 KEY: &quot;trackback_key&quot;
 visible: &quot;1&quot;
 
-NAME: &quot;1stlog&quot;
-VERSION: &quot;Ver1.2.0.0&quot;
-RELEASE_TIME: &quot;2008.04.20&quot;
-HOMEPAGE: &quot;http://1stlog.1sters.com&quot;
-
-AUTHOR: &quot;IceskYsl@1sters!&quot;
-AUTHOR_EMAIL: &quot;iceskysl@gmail.com&quot;
-AUTHOR_BLOG: &quot;http://iceskysl.1sters.com&quot;
+APP:
+    NAME: &quot;1stlog&quot;
+    VERSION: &quot;Ver2.0.0&quot;
+    RELEASE_TIME: &quot;2008.05.24&quot;
+    HOMEPAGE: &quot;http://1stlog.1sters.com&quot;
+
+
+AUTHOR:
+    NAME: &quot;IceskYsl@1sters!&quot;
+    EMAIL: &quot;iceskysl@gmail.com&quot;
+    BLOG: &quot;http://iceskysl.1sters.com&quot;
+
+COPYRIGHT:
+    NAME: 1sters!
+    HOMEPAGE: http://www.1sters.com
+    </diff>
      <filename>config/.svn/text-base/appconfig.yml.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -11,8 +11,7 @@ ActionController::Routing::Routes.draw do |map|
 
   #&#21518;&#21488;&#31649;&#29702;&#38656;&#35201;&#30340;URL
   map.namespace(:admin) do |admin|
-    admin.resources :categories,
-      :has_many   =&gt; [ :topics, :comments ] 
+    admin.resources :categories, :has_many   =&gt; [ :topics, :comments ] ,:collection=&gt;{:list =&gt; :get}
     admin.resources :natures,
       :has_one   =&gt; [   :topics, :comments ] 
     admin.resources  :topics,:collection=&gt;{:list =&gt; :get}
@@ -26,6 +25,7 @@ ActionController::Routing::Routes.draw do |map|
     admin.resources  :attachments
     admin.resources  :plugins
     admin.resources  :caches,:collection=&gt;{:counts =&gt; :get}
+     admin.resources  :logs,:collection=&gt;{:counts =&gt; :get}
   end
 
   #&#21069;&#21488;</diff>
      <filename>config/.svn/text-base/routes.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,15 @@
+K 26
+svn:wc:ra_dav:activity-url
+V 14
+/svn/!svn/act/
 K 25
 svn:wc:ra_dav:version-url
 V 25
-/svn/!svn/ver/66/trunk/db
+/svn/!svn/ver/81/trunk/db
 END
 schema.rb
 K 25
 svn:wc:ra_dav:version-url
 V 35
-/svn/!svn/ver/66/trunk/db/schema.rb
+/svn/!svn/ver/81/trunk/db/schema.rb
 END</diff>
      <filename>db/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,17 @@
 8
 
 dir
-74
+81
 https://1stlog.googlecode.com/svn/trunk/db
 https://1stlog.googlecode.com/svn
 
 
 
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:47:59.525361Z
+81
 iceskysl
 has-props
-has-prop-mods
+
 svn:special svn:externals svn:needs-lock
 
 
@@ -32,10 +32,10 @@ file
 
 
 
-2008-05-23T16:34:19.000000Z
-8ac5117561e1ccd1f2a3efd3b7d20798
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:05:17.000000Z
+fd4dc721b38988fc2ac26bb658f22d5e
+2008-05-24T19:47:59.525361Z
+81
 iceskysl
 *
 migrate</diff>
      <filename>db/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -9,6 +9,146 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version =&gt; 0) do
+ActiveRecord::Schema.define(:version =&gt; 17) do
+
+  create_table &quot;attachments&quot;, :force =&gt; true do |t|
+    t.integer  &quot;topic_id&quot;
+    t.string   &quot;filename&quot;
+    t.string   &quot;filetype&quot;
+    t.integer  &quot;filesize&quot;,   :default =&gt; 0
+    t.string   &quot;filepath&quot;,   :default =&gt; &quot;&quot;
+    t.integer  &quot;downloads&quot;,  :default =&gt; 0
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+    t.integer  &quot;isimage&quot;,    :default =&gt; 0
+  end
+
+  create_table &quot;categories&quot;, :force =&gt; true do |t|
+    t.integer &quot;parent_id&quot;,    :default =&gt; 0
+    t.string  &quot;title&quot;
+    t.string  &quot;desc&quot;
+    t.integer &quot;position&quot;,     :default =&gt; 0
+    t.integer &quot;topics_count&quot;, :default =&gt; 0
+  end
+
+  create_table &quot;comments&quot;, :force =&gt; true do |t|
+    t.text     &quot;body&quot;
+    t.integer  &quot;type_id&quot;
+    t.integer  &quot;topic_id&quot;
+    t.string   &quot;name&quot;
+    t.string   &quot;email&quot;,      :default =&gt; &quot; @ &quot;
+    t.string   &quot;website&quot;,    :default =&gt; &quot;http://&quot;
+    t.datetime &quot;created_at&quot;
+    t.string   &quot;remote_ip&quot;
+  end
+
+  create_table &quot;configurations&quot;, :force =&gt; true do |t|
+    t.string &quot;name&quot;
+    t.string &quot;title&quot;
+    t.string &quot;description&quot;
+    t.text   &quot;value&quot;
+    t.string &quot;group&quot;
+  end
+
+  create_table &quot;links&quot;, :force =&gt; true do |t|
+    t.integer &quot;parent_id&quot;,   :default =&gt; 0
+    t.string  &quot;title&quot;
+    t.string  &quot;description&quot;
+    t.string  &quot;weburl&quot;,      :default =&gt; &quot;http://&quot;
+    t.integer &quot;position&quot;
+    t.integer &quot;visible&quot;,     :default =&gt; 1
+  end
+
+  create_table &quot;natures&quot;, :force =&gt; true do |t|
+    t.string  &quot;title&quot;
+    t.string  &quot;description&quot;
+    t.integer &quot;topics_count&quot;, :default =&gt; 0
+    t.integer &quot;position&quot;,     :default =&gt; 0
+  end
+
+  create_table &quot;statistics&quot;, :force =&gt; true do |t|
+    t.string   &quot;name&quot;
+    t.string   &quot;value&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+  end
+
+  create_table &quot;tags&quot;, :force =&gt; true do |t|
+    t.string  &quot;title&quot;
+    t.string  &quot;description&quot;
+    t.integer &quot;topics_count&quot;, :default =&gt; 0
+  end
+
+  create_table &quot;themes&quot;, :force =&gt; true do |t|
+    t.string   &quot;name&quot;
+    t.string   &quot;time&quot;
+    t.string   &quot;author&quot;
+    t.string   &quot;description&quot;
+    t.string   &quot;homepage&quot;
+    t.string   &quot;preview&quot;
+    t.string   &quot;pwd&quot;
+    t.string   &quot;useit&quot;,       :default =&gt; &quot;0&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+  end
+
+  create_table &quot;topics&quot;, :force =&gt; true do |t|
+    t.string   &quot;title&quot;
+    t.text     &quot;body&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+    t.integer  &quot;type_id&quot;,           :default =&gt; 0
+    t.integer  &quot;category_id&quot;,       :default =&gt; 0
+    t.integer  &quot;tag_id&quot;,            :default =&gt; 0
+    t.string   &quot;attachment_id&quot;,     :default =&gt; &quot;&quot;
+    t.integer  &quot;user_id&quot;,           :default =&gt; 0
+    t.integer  &quot;views_count&quot;,       :default =&gt; 0
+    t.integer  &quot;comments_count&quot;,    :default =&gt; 0
+    t.integer  &quot;istop&quot;,             :default =&gt; 0
+    t.string   &quot;remote_ip&quot;,         :default =&gt; &quot;&quot;
+    t.string   &quot;keys&quot;,              :default =&gt; &quot;&quot;
+    t.integer  &quot;visible&quot;,           :default =&gt; 1
+    t.integer  &quot;closecomment&quot;,      :default =&gt; 0
+    t.string   &quot;readpassword&quot;,      :default =&gt; &quot;&quot;
+    t.integer  &quot;showsnippet&quot;,       :default =&gt; 1
+    t.integer  &quot;snippetcounts&quot;,     :default =&gt; 200
+    t.integer  &quot;track_backs_count&quot;, :default =&gt; 0
+    t.integer  &quot;nature_id&quot;,         :default =&gt; 1
+  end
+
+  create_table &quot;track_backs&quot;, :force =&gt; true do |t|
+    t.integer  &quot;topic_id&quot;
+    t.string   &quot;title&quot;,      :default =&gt; &quot;TrackBack Titel&quot;
+    t.string   &quot;excerpt&quot;,    :default =&gt; &quot;TrackBack Excerpt&quot;
+    t.string   &quot;blog_name&quot;,  :default =&gt; &quot;Blog Name&quot;
+    t.string   &quot;url&quot;,        :default =&gt; &quot;url&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+    t.string   &quot;remote_ip&quot;,  :default =&gt; &quot;&quot;
+    t.integer  &quot;visible&quot;,    :default =&gt; 0
+  end
+
+  create_table &quot;user_groups&quot;, :force =&gt; true do |t|
+    t.string  &quot;title&quot;
+    t.string  &quot;description&quot;
+    t.integer &quot;users_count&quot;, :default =&gt; 0
+  end
+
+  create_table &quot;users&quot;, :force =&gt; true do |t|
+    t.string   &quot;login_name&quot;
+    t.string   &quot;nickname&quot;
+    t.string   &quot;hashed_pass&quot;
+    t.string   &quot;email&quot;
+    t.string   &quot;im&quot;
+    t.text     &quot;personality&quot;
+    t.binary   &quot;data&quot;
+    t.string   &quot;content_type&quot;
+    t.integer  &quot;user_group_id&quot;,  :default =&gt; 1
+    t.integer  &quot;topics_count&quot;,   :default =&gt; 0
+    t.integer  &quot;comments_count&quot;, :default =&gt; 0
+    t.datetime &quot;created_at&quot;,     :default =&gt; '2008-05-25 02:05:16'
+    t.datetime &quot;updated_at&quot;
+    t.text     &quot;note&quot;
+  end
 
 end</diff>
      <filename>db/.svn/text-base/schema.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 K 25
 svn:wc:ra_dav:version-url
 V 33
-/svn/!svn/ver/66/trunk/db/migrate
+/svn/!svn/ver/81/trunk/db/migrate
 END
 015_init_config.rb
 K 25
@@ -37,7 +37,7 @@ END
 K 25
 svn:wc:ra_dav:version-url
 V 58
-/svn/!svn/ver/66/trunk/db/migrate/005_create_categories.rb
+/svn/!svn/ver/81/trunk/db/migrate/005_create_categories.rb
 END
 007_create_comments.rb
 K 25
@@ -61,7 +61,7 @@ END
 K 25
 svn:wc:ra_dav:version-url
 V 58
-/svn/!svn/ver/66/trunk/db/migrate/016_create_statistics.rb
+/svn/!svn/ver/81/trunk/db/migrate/016_create_statistics.rb
 END
 001_create_topics.rb
 K 25
@@ -69,23 +69,17 @@ svn:wc:ra_dav:version-url
 V 54
 /svn/!svn/ver/66/trunk/db/migrate/001_create_topics.rb
 END
-002_create_users.rb
-K 25
-svn:wc:ra_dav:version-url
-V 53
-/svn/!svn/ver/66/trunk/db/migrate/002_create_users.rb
-END
 013_add_nature_id.rb
 K 25
 svn:wc:ra_dav:version-url
 V 54
 /svn/!svn/ver/66/trunk/db/migrate/013_add_nature_id.rb
 END
-008_create_tags.rb
+002_create_users.rb
 K 25
 svn:wc:ra_dav:version-url
-V 52
-/svn/!svn/ver/66/trunk/db/migrate/008_create_tags.rb
+V 53
+/svn/!svn/ver/66/trunk/db/migrate/002_create_users.rb
 END
 011_add_track_backs_count.rb
 K 25
@@ -93,15 +87,15 @@ svn:wc:ra_dav:version-url
 V 62
 /svn/!svn/ver/66/trunk/db/migrate/011_add_track_backs_count.rb
 END
-010_create_track_backs.rb
+008_create_tags.rb
 K 25
 svn:wc:ra_dav:version-url
-V 59
-/svn/!svn/ver/66/trunk/db/migrate/010_create_track_backs.rb
+V 52
+/svn/!svn/ver/66/trunk/db/migrate/008_create_tags.rb
 END
-004_create_types.rb
+010_create_track_backs.rb
 K 25
 svn:wc:ra_dav:version-url
-V 53
-/svn/!svn/ver/66/trunk/db/migrate/004_create_types.rb
+V 59
+/svn/!svn/ver/66/trunk/db/migrate/010_create_track_backs.rb
 END</diff>
      <filename>db/migrate/.svn/all-wcprops</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,17 @@
 8
 
 dir
-74
+81
 https://1stlog.googlecode.com/svn/trunk/db/migrate
 https://1stlog.googlecode.com/svn
 
 
 
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T19:47:59.525361Z
+81
 iceskysl
 has-props
-has-prop-mods
+
 svn:special svn:externals svn:needs-lock
 
 
@@ -28,7 +28,7 @@ svn:special svn:externals svn:needs-lock
 *
 015_init_config.rb
 file
-
+74
 
 
 
@@ -40,7 +40,7 @@ iceskysl
 *
 003_create_user_groups.rb
 file
-
+74
 
 
 
@@ -52,7 +52,7 @@ iceskysl
 *
 006_create_attachments.rb
 file
-
+74
 
 
 
@@ -64,7 +64,7 @@ iceskysl
 *
 012_create_natures.rb
 file
-
+74
 
 
 
@@ -76,7 +76,7 @@ iceskysl
 *
 009_create_links.rb
 file
-
+74
 
 
 
@@ -92,15 +92,15 @@ file
 
 
 
-2008-05-23T16:34:19.000000Z
-8e1b66f820fa3857492a4b104dd6d019
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:01:44.000000Z
+4148bcc935573a93efb630c6f5a1de48
+2008-05-24T19:47:59.525361Z
+81
 iceskysl
 *
 007_create_comments.rb
 file
-
+74
 
 
 
@@ -112,7 +112,7 @@ iceskysl
 *
 017_create_themes.rb
 file
-
+74
 
 
 
@@ -124,7 +124,7 @@ iceskysl
 *
 014_create_configurations.rb
 file
-
+74
 
 
 
@@ -140,15 +140,15 @@ file
 
 
 
-2008-05-23T16:34:19.000000Z
-af715499acaba1d7dbe97da50c2e39b1
-2008-04-22T01:27:37.349214Z
-66
+2008-05-24T18:04:29.000000Z
+70f12b355cf440eeab53f3f7a542abdd
+2008-05-24T19:47:59.525361Z
+81
 iceskysl
 *
 001_create_topics.rb
 file
-
+74
 
 
 
@@ -158,21 +158,9 @@ file
 66
 iceskysl
 *
-002_create_users.rb
-file
-
-
-
-
-2008-05-23T16:34:19.000000Z
-72abf240e904f4600daa9c84dc06555f
-2008-04-22T01:27:37.349214Z
-66
-iceskysl
-*
 013_add_nature_id.rb
 file
-
+74
 
 
 
@@ -182,21 +170,21 @@ file
 66
 iceskysl
 *
-008_create_tags.rb
+002_create_users.rb
 file
-
+74
 
 
 
 2008-05-23T16:34:19.000000Z
-68cbb9aba3cf3bdaeb93c2bba155f193
+72abf240e904f4600daa9c84dc06555f
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
 011_add_track_backs_count.rb
 file
-
+74
 
 
 
@@ -206,26 +194,26 @@ dc1009eb0354ddc9e34f72d8fca0136e
 66
 iceskysl
 *
-010_create_track_backs.rb
+008_create_tags.rb
 file
-
+74
 
 
 
 2008-05-23T16:34:19.000000Z
-38a195b4455ac2e1f83f0b0f179a05c2
+68cbb9aba3cf3bdaeb93c2bba155f193
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-004_create_types.rb
+010_create_track_backs.rb
 file
+74
 
 
 
-delete
 2008-05-23T16:34:19.000000Z
-f21cd53148d458346055965b9f4af600
+38a195b4455ac2e1f83f0b0f179a05c2
 2008-04-22T01:27:37.349214Z
 66
 iceskysl</diff>
      <filename>db/migrate/.svn/entries</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,15 @@
 class CreateCategories &lt; ActiveRecord::Migration
   def self.up
     create_table :categories do |t|
-      t.column :type_id, :integer, :default =&gt; 0      #&#22823;&#31867;&#21035; &#26032;&#38395; &#21338;&#23458;  &#25991;&#31456;
+      t.column :parent_id, :integer, :default =&gt; 0      #&#22823;&#31867;&#21035; &#26032;&#38395; &#21338;&#23458;  &#25991;&#31456;
       t.column :title, :string  #&#23567;&#31867;&#20998;&#31867;&#21517; &#26032;&#38395; &#21338;&#23458; &#20844;&#21578;&#30340;&#20108;&#32423;&#20998;&#31867;
-      t.column :description, :string  #&#23567;&#20998;&#31867;&#20998;&#31867;&#25551;&#36848;
+      t.column :desc, :string  #&#23567;&#20998;&#31867;&#20998;&#31867;&#25551;&#36848;
       t.column :position, :integer ,:default =&gt; 0     #&#25490;&#21015;&#39034;&#24207;
       t.column :topics_count, :integer, :default =&gt; 0 #&#25991;&#31456;&#25968;
     end
-   Category.new(:type_id=&gt;1,:title=&gt;'&#40664;&#35748;&#20998;&#31867;', :description=&gt;'&#40664;&#35748;&#30340;&#20998;&#31867;',:position=&gt;'0').save 
     
+    Category.new(:parent_id =&gt; 0,:title=&gt;'&#40664;&#35748;&#20998;&#31867;', :desc =&gt; '&#40664;&#35748;&#30340;&#20998;&#31867;',:position=&gt;'0').save 
+    Category.new(:parent_id =&gt; 1,:title=&gt;'&#20108;&#32423;&#20998;&#31867;', :desc =&gt; '&#40664;&#35748;&#30340;&#20108;&#32423;&#20998;&#31867;',:position=&gt;'0').save 
   end
 
   def self.down</diff>
      <filename>db/migrate/.svn/text-base/005_create_categories.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -20,10 +20,10 @@ class CreateStatistics &lt; ActiveRecord::Migration
       Statistic.new(:name=&gt;k,:value=&gt;v).save
     end
     
-    #&#21021;&#22987;&#21270;&#29256;&#26435;&#20449;&#24687;&#31561;
-    YAML::load(File.open(&quot;#{RAILS_ROOT}/config/appconfig.yml&quot;)).each do |k,v|
-      Statistic.new(:name=&gt;k,:value=&gt;v).save
-    end
+#    #&#21021;&#22987;&#21270;&#29256;&#26435;&#20449;&#24687;&#31561;
+#    YAML::load(File.open(&quot;#{RAILS_ROOT}/config/appconfig.yml&quot;)).each do |k,v|
+#      Statistic.new(:name=&gt;k,:value=&gt;v).save
+#    end
     
   end
 </diff>
      <filename>db/migrate/.svn/text-base/016_create_statistics.rb.svn-base</filename>
    </modified>
    <modified>
      <diff>@@ -50,50 +50,50 @@ file
 66
 iceskysl
 *
-user_controller_test.rb
+topic_controller_test.rb
 file
 
 
 
 
 2008-05-23T16:32:26.000000Z
-8b66c4e29c3710db4c91bc303cc01bc8
+a3a2f845363ebfd883d5adf633e22afc
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-topic_controller_test.rb
+user_controller_test.rb
 file
 
 
 
 
 2008-05-23T16:32:26.000000Z
-a3a2f845363ebfd883d5adf633e22afc
+8b66c4e29c3710db4c91bc303cc01bc8
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-type_controller_test.rb
+plugins_controller_test.rb
 file
 
 
 
-delete
+
 2008-05-23T16:32:26.000000Z
-04ef0fd3366fc039ebc2501d36e7159b
+b8d9c58bf37595ace53d6475e943cfe8
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-plugins_controller_test.rb
+type_controller_test.rb
 file
 
 
 
-
+delete
 2008-05-23T16:32:26.000000Z
-b8d9c58bf37595ace53d6475e943cfe8
+04ef0fd3366fc039ebc2501d36e7159b
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
@@ -182,26 +182,33 @@ file
 66
 iceskysl
 *
-index_controller_test.rb
+logs_controller_test.rb
+file
+0
+
+
+add
+*
+configuration_controller_test.rb
 file
 
 
 
 
 2008-05-23T16:32:26.000000Z
-954b75e1846480ec5c56302fd92b5318
+e30d3583760013ff555182b8c4538f84
 2008-04-22T01:27:37.349214Z
 66
 iceskysl
 *
-configuration_controller_test.rb
+index_controller_test.rb
 file
 
 
 
 
 2008-05-23T16:32:26.000000Z
-e30d3583760013ff555182b8c4538f84
+954b75e1846480ec5c56302fd92b5318
 2008-04-22T01:27:37.349214Z
 66
 iceskysl</diff>
      <filename>test/functional/admin/.svn/entries</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/cells/.svn/text-base/youtube_cell.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/application.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/archives_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/categories_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/feed_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/index_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/natures_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/publish_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/tag_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/.svn/text-base/topic_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/dir-props</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/caches_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/categories_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/index_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/links_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/types_controller.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/controllers/admin/.svn/text-base/types_controller.rb.svn-base</filename>
    </removed>
    <removed>
      <filename>app/models/.svn/text-base/category.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/models/.svn/text-base/link.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/models/.svn/text-base/topic.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/models/.svn/text-base/type.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/dir-props</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/_form.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/_items.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/edit.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/index.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/list.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/list.rhtml.svn-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/new.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/categories/.svn/text-base/show.rhtml.svn-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/index/.svn/text-base/_content.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/index/.svn/text-base/index.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/dir-props</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/_form.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/_items.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/edit.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/list.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/list.rhtml.svn-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/new.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/admin/links/.svn/text-base/show.rhtml.svn-base</filename>
    </removed>
    <removed>
      <filename>app/views/index/.svn/text-base/login.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/shared/admin/.svn/text-base/_copyright.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/shared/admin/.svn/text-base/_nav.html.erb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>app/views/shared/item/.svn/text-base/_types.rhtml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/appconfig.yml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/boot.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/database.yml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/database_p.yml.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/environment.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/.svn/text-base/routes.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/initializers/.svn/text-base/inflections.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/initializers/.svn/text-base/load_configs.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>config/initializers/.svn/text-base/mime_types.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>db/.svn/dir-props</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/dir-props</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/002_create_users.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/003_create_user_groups.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/004_create_types.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/004_create_types.rb.svn-base</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/005_create_categories.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>db/migrate/.svn/text-base/016_create_statistics.rb.netbeans-base</filename>
    </removed>
    <removed>
      <filename>public/stylesheets/.svn/text-base/cp.css.netbeans-base</filename>
    </removed>
    <removed>
      <filename>test/functional/admin/.svn/text-base/index_controller_test.rb.netbeans-base</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>d899156975a4c20be6a5fefe74c5bc9733d82385</id>
    </parent>
  </parents>
  <author>
    <name>IcesksYsl@1sters!</name>
    <email>iceskysl@gmail.com</email>
  </author>
  <url>http://github.com/IceskYsl/1stlog/commit/78d4d5c02fc89af74562265d021ba3073efe8248</url>
  <id>78d4d5c02fc89af74562265d021ba3073efe8248</id>
  <committed-date>2008-05-25T08:35:22-07:00</committed-date>
  <authored-date>2008-05-25T08:35:22-07:00</authored-date>
  <message>&#20462;&#25913;&#20197;&#21069;&#30340;&#20195;&#30721;&#65292;&#20351;&#24471;&#26356;&#21152;&#21512;&#29702;.</message>
  <tree>36ba1b7f805e870f90d81cf9cae150f0f4a26aa0</tree>
  <committer>
    <name>IcesksYsl@1sters!</name>
    <email>iceskysl@gmail.com</email>
  </committer>
</commit>
