public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Adds site filter option to the admin for comments

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2270 
567b1171-46fb-0310-a4c9-b4bef9110e78
Caged (author)
Mon Sep 25 00:05:03 -0700 2006
commit  d641158067c978e19c6c27dbe9df7f2540aabf88
tree    3198f9d4397a7a058ed589265760bb3a65d00c4b
parent  c7ab20fea87d25476c02707fbc01e51c98a23c65
...
52
53
54
 
 
 
 
 
 
 
 
 
55
56
57
...
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
0
@@ -52,6 +52,15 @@
0
   <h3>Publishing and Reading</h3>
0
   <dl class="setform">
0
     <dt>
0
+ <label for="comments_filter">Comments filter</label>
0
+ <p class="hint">When comments are posted, they use this markup</p>
0
+ </dt>
0
+ <dd>
0
+ <select name="site[filter]">
0
+ <%= options_for_select(filter_options, site.filter) %>
0
+ </select>
0
+ </dd>
0
+ <dt>
0
       <label for="site_articles_per_page">Articles per page</label>
0
       <p class="hint">Default article limit for search/tag pages.</p>
0
     </dt>
...
77
78
79
80
81
 
82
83
84
...
87
88
89
90
91
92
93
94
 
95
96
97
...
77
78
79
 
80
81
82
83
84
...
87
88
89
 
90
91
92
93
94
95
96
97
0
@@ -77,8 +77,8 @@ ActiveRecord::Schema.define(:version => 61) do
0
     t.column "author_email", :string
0
     t.column "author_ip", :string, :limit => 100
0
     t.column "comments_count", :integer, :default => 0
0
- t.column "updater_id", :integer
0
     t.column "version", :integer
0
+ t.column "updater_id", :integer
0
     t.column "site_id", :integer
0
     t.column "approved", :boolean, :default => false
0
     t.column "comment_age", :integer, :default => 0
0
@@ -87,11 +87,11 @@ ActiveRecord::Schema.define(:version => 61) do
0
 
0
   create_table "events", :force => true do |t|
0
     t.column "mode", :string
0
- t.column "user_id", :integer
0
     t.column "article_id", :integer
0
     t.column "title", :text
0
     t.column "body", :text
0
     t.column "created_at", :datetime
0
+ t.column "user_id", :integer
0
     t.column "author", :string, :limit => 100
0
     t.column "comment_id", :integer
0
     t.column "site_id", :integer

Comments

    No one has commented yet.