Skip to content

Commit d0dad00

Browse files
committed
vanilla 2.0.17
0 parents  commit d0dad00

File tree

894 files changed

+149030
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

894 files changed

+149030
-0
lines changed

.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/cache/*/
2+
/cache/*.ini
3+
/cache/*.php
4+
*vanillaforums*
5+
/applications/wiki*
6+
/uploads/*/
7+
/uploads/*.*
8+
/conf/config.php
9+
/conf/bootstrap.before.php
10+
/conf/bootstrap.after.php
11+
/conf/locale-*
12+
/applications/vanillaforumscom
13+
/applications/vfcom
14+
/applications/vforg
15+
*.kpf
16+
.DS_Store
17+
Thumbs.db
18+
*.swp
19+
_notes

.htaccess

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Original
2+
# If you modify this file then change the above line to: # Modified
3+
<IfModule mod_rewrite.c>
4+
RewriteEngine On
5+
# Certain hosts may require the following line.
6+
# If vanilla is in a subfolder then you need to specify it after the /.
7+
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
8+
# RewriteBase /
9+
RewriteCond %{REQUEST_FILENAME} !-d
10+
RewriteCond %{REQUEST_FILENAME} !-f
11+
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
12+
</IfModule>

LICENSE.txt

+340
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?php if (!defined('APPLICATION')) exit();
2+
/*
3+
Copyright 2008, 2009 Vanilla Forums Inc.
4+
This file is part of Garden.
5+
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6+
Garden is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7+
You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>.
8+
Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
9+
*/
10+
/**
11+
* Conversations Controller
12+
*
13+
* @package Conversations
14+
*/
15+
16+
/**
17+
* Master controller for Conversations for others to extend.
18+
*
19+
* @since 2.0.0
20+
* @package Conversations
21+
*/
22+
class ConversationsController extends Gdn_Controller {
23+
/**
24+
* Returns an array of pages that contain settings information for this application.
25+
*
26+
* @return array
27+
*/
28+
public function GetSettingsPages(&$Menu) {
29+
// There are no configuration pages for Conversations
30+
}
31+
32+
/**
33+
* Do-nothing construct to let children constructs bubble up.
34+
*
35+
* @access public
36+
*/
37+
public function __construct() {
38+
parent::__construct();
39+
}
40+
41+
/**
42+
* Include JS, CSS, and modules used by all methods.
43+
*
44+
* Always called by dispatcher before controller's requested method.
45+
*
46+
* @since 2.0.0
47+
* @access public
48+
*/
49+
public function Initialize() {
50+
$this->Permission('Garden.SignIn.Allow');
51+
if ($this->DeliveryType() == DELIVERY_TYPE_ALL) {
52+
$this->Head = new HeadModule($this);
53+
$this->AddJsFile('jquery.js');
54+
$this->AddJsFile('jquery.livequery.js');
55+
$this->AddJsFile('jquery.form.js');
56+
$this->AddJsFile('jquery.popup.js');
57+
$this->AddJsFile('jquery.gardenhandleajaxform.js');
58+
$this->AddJsFile('jquery.gardenmorepager.js');
59+
$this->AddJsFile('jquery.autogrow.js');
60+
$this->AddJsFile('jquery.autocomplete.js');
61+
$this->AddJsFile('global.js');
62+
$this->AddJsFile('conversations.js');
63+
}
64+
65+
$this->AddCssFile('style.css');
66+
$this->AddCssFile('conversations.css');
67+
parent::Initialize();
68+
}
69+
}

0 commit comments

Comments
 (0)