my-simon 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -20
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/my-simon.gemspec +3 -78
- metadata +2 -77
- data/DOC/Launch Check List.docx +0 -0
- data/DOC/Launch Check List.pdf +0 -0
- data/build/rakefile.rb +0 -12
- data/config.rb +0 -24
- data/scaffolding/simon/controller.tpl +0 -9
- data/scaffolding/simon/model.tpl +0 -10
- data/scaffolding/simon/view.tpl +0 -5
- data/scaffolding/standards/html_template.html +0 -44
- data/scaffolding/standards/html_template.php +0 -44
- data/scaffolding/standards/jquery_plugin_template.js +0 -45
- data/scaffolding/standards/js_template.js +0 -43
- data/www/.htaccess +0 -488
- data/www/404.html +0 -32
- data/www/crossdomain.xml +0 -25
- data/www/favicon.ico +0 -0
- data/www/index.php +0 -17
- data/www/lib/js/homePage.js +0 -43
- data/www/lib/js/jquery/JQbook.js +0 -809
- data/www/lib/js/jquery/jquery-1.8.0.min.js +0 -27
- data/www/lib/js/jquery/jquery.alphanumeric.js +0 -82
- data/www/lib/js/jquery/jquery.cookie.js +0 -96
- data/www/lib/js/jquery/jquery.easing.1.3.js +0 -207
- data/www/lib/js/main.js +0 -117
- data/www/lib/js/master.js +0 -6
- data/www/lib/js/plugins/handlebars-1.0.rc.1.js +0 -1920
- data/www/lib/js/plugins/modernizr-1.7.min.js +0 -2
- data/www/lib/js/plugins/swfobject.js +0 -777
- data/www/lib/js/plugins_mod/README.txt +0 -3
- data/www/lib/php/app.php +0 -53
- data/www/lib/php/controller/index.php +0 -10
- data/www/lib/php/controller/regex.php +0 -23
- data/www/lib/php/model/Book.php +0 -8
- data/www/lib/php/model/Model.php +0 -8
- data/www/lib/php/plugins/php-activerecord/ActiveRecord.php +0 -44
- data/www/lib/php/plugins/php-activerecord/lib/CallBack.php +0 -226
- data/www/lib/php/plugins/php-activerecord/lib/Column.php +0 -155
- data/www/lib/php/plugins/php-activerecord/lib/Config.php +0 -288
- data/www/lib/php/plugins/php-activerecord/lib/Connection.php +0 -456
- data/www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php +0 -38
- data/www/lib/php/plugins/php-activerecord/lib/DateTime.php +0 -45
- data/www/lib/php/plugins/php-activerecord/lib/Exceptions.php +0 -137
- data/www/lib/php/plugins/php-activerecord/lib/Expressions.php +0 -183
- data/www/lib/php/plugins/php-activerecord/lib/Inflector.php +0 -115
- data/www/lib/php/plugins/php-activerecord/lib/Model.php +0 -1673
- data/www/lib/php/plugins/php-activerecord/lib/Reflections.php +0 -86
- data/www/lib/php/plugins/php-activerecord/lib/Relationship.php +0 -637
- data/www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php +0 -396
- data/www/lib/php/plugins/php-activerecord/lib/Serialization.php +0 -302
- data/www/lib/php/plugins/php-activerecord/lib/Singleton.php +0 -57
- data/www/lib/php/plugins/php-activerecord/lib/Table.php +0 -547
- data/www/lib/php/plugins/php-activerecord/lib/Utils.php +0 -351
- data/www/lib/php/plugins/php-activerecord/lib/Validations.php +0 -833
- data/www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php +0 -73
- data/www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php +0 -121
- data/www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php +0 -104
- data/www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php +0 -81
- data/www/lib/php/system/Config.php +0 -174
- data/www/lib/php/system/config.routes.php +0 -29
- data/www/lib/php/system/router.php +0 -220
- data/www/lib/php/template/footer.php +0 -59
- data/www/lib/php/template/header.php +0 -74
- data/www/lib/php/view/index.php +0 -5
- data/www/media/images/facebook_share.jpg +0 -0
- data/www/robots.txt +0 -5
- data/www/sandbox/readme.txt +0 -3
- data/www/sass/javascript.scss +0 -1
- data/www/sass/layout.scss +0 -128
- data/www/sass/master.scss +0 -4
- data/www/sass/reset.scss +0 -47
- data/www/sass/typography.scss +0 -24
- data/www/styles/javascript.css +0 -1
- data/www/styles/layout.css +0 -186
- data/www/styles/master.css +0 -4
- data/www/styles/reset.css +0 -60
- data/www/styles/typography.css +0 -24
data/README.md
CHANGED
@@ -1,21 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
simon-cli
|
2
|
+
=========
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Using Simon to setup the boilerplate
|
9
|
-
```php
|
10
|
-
./simon setup
|
11
|
-
```
|
12
|
-
|
13
|
-
Using Simon to add a new Section
|
14
|
-
```php
|
15
|
-
./simon add section
|
16
|
-
```
|
17
|
-
|
18
|
-
Using Simon to add a remote repository (via beanstalkapp)
|
19
|
-
```php
|
20
|
-
./simon add repo
|
21
|
-
```
|
4
|
+
Cli Editor for https://github.com/samcreate/Simon
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ require 'jeweler'
|
|
8
8
|
Jeweler::Tasks.new do |gem|
|
9
9
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
10
10
|
gem.name = "my-simon"
|
11
|
-
gem.homepage = "
|
11
|
+
gem.homepage = "https://github.com/samcreate/simon-cli"
|
12
12
|
gem.license = "MIT"
|
13
13
|
gem.summary = "CLI tool for Simon"
|
14
14
|
gem.description = "CLI tool for Simon, the simple PHP project boilerplate!"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/my-simon.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "my-simon"
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron McGuire"]
|
@@ -20,8 +20,6 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
22
|
".gitignore.orig",
|
23
|
-
"DOC/Launch Check List.docx",
|
24
|
-
"DOC/Launch Check List.pdf",
|
25
23
|
"Gemfile",
|
26
24
|
"Gemfile.lock",
|
27
25
|
"LICENSE.txt",
|
@@ -29,86 +27,13 @@ Gem::Specification.new do |s|
|
|
29
27
|
"README.rdoc",
|
30
28
|
"Rakefile",
|
31
29
|
"VERSION",
|
32
|
-
"build/rakefile.rb",
|
33
|
-
"config.rb",
|
34
30
|
"lib/simon.rb",
|
35
31
|
"my-simon.gemspec",
|
36
|
-
"scaffolding/simon/controller.tpl",
|
37
|
-
"scaffolding/simon/model.tpl",
|
38
|
-
"scaffolding/simon/view.tpl",
|
39
|
-
"scaffolding/standards/html_template.html",
|
40
|
-
"scaffolding/standards/html_template.php",
|
41
|
-
"scaffolding/standards/jquery_plugin_template.js",
|
42
|
-
"scaffolding/standards/js_template.js",
|
43
32
|
"simon",
|
44
33
|
"test/helper.rb",
|
45
|
-
"test/test_simon.rb"
|
46
|
-
"www/.htaccess",
|
47
|
-
"www/404.html",
|
48
|
-
"www/crossdomain.xml",
|
49
|
-
"www/favicon.ico",
|
50
|
-
"www/index.php",
|
51
|
-
"www/lib/js/homePage.js",
|
52
|
-
"www/lib/js/jquery/JQbook.js",
|
53
|
-
"www/lib/js/jquery/jquery-1.8.0.min.js",
|
54
|
-
"www/lib/js/jquery/jquery.alphanumeric.js",
|
55
|
-
"www/lib/js/jquery/jquery.cookie.js",
|
56
|
-
"www/lib/js/jquery/jquery.easing.1.3.js",
|
57
|
-
"www/lib/js/main.js",
|
58
|
-
"www/lib/js/master.js",
|
59
|
-
"www/lib/js/plugins/handlebars-1.0.rc.1.js",
|
60
|
-
"www/lib/js/plugins/modernizr-1.7.min.js",
|
61
|
-
"www/lib/js/plugins/swfobject.js",
|
62
|
-
"www/lib/js/plugins_mod/README.txt",
|
63
|
-
"www/lib/php/app.php",
|
64
|
-
"www/lib/php/controller/index.php",
|
65
|
-
"www/lib/php/controller/regex.php",
|
66
|
-
"www/lib/php/model/Book.php",
|
67
|
-
"www/lib/php/model/Model.php",
|
68
|
-
"www/lib/php/plugins/php-activerecord/ActiveRecord.php",
|
69
|
-
"www/lib/php/plugins/php-activerecord/lib/CallBack.php",
|
70
|
-
"www/lib/php/plugins/php-activerecord/lib/Column.php",
|
71
|
-
"www/lib/php/plugins/php-activerecord/lib/Config.php",
|
72
|
-
"www/lib/php/plugins/php-activerecord/lib/Connection.php",
|
73
|
-
"www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php",
|
74
|
-
"www/lib/php/plugins/php-activerecord/lib/DateTime.php",
|
75
|
-
"www/lib/php/plugins/php-activerecord/lib/Exceptions.php",
|
76
|
-
"www/lib/php/plugins/php-activerecord/lib/Expressions.php",
|
77
|
-
"www/lib/php/plugins/php-activerecord/lib/Inflector.php",
|
78
|
-
"www/lib/php/plugins/php-activerecord/lib/Model.php",
|
79
|
-
"www/lib/php/plugins/php-activerecord/lib/Reflections.php",
|
80
|
-
"www/lib/php/plugins/php-activerecord/lib/Relationship.php",
|
81
|
-
"www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php",
|
82
|
-
"www/lib/php/plugins/php-activerecord/lib/Serialization.php",
|
83
|
-
"www/lib/php/plugins/php-activerecord/lib/Singleton.php",
|
84
|
-
"www/lib/php/plugins/php-activerecord/lib/Table.php",
|
85
|
-
"www/lib/php/plugins/php-activerecord/lib/Utils.php",
|
86
|
-
"www/lib/php/plugins/php-activerecord/lib/Validations.php",
|
87
|
-
"www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php",
|
88
|
-
"www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php",
|
89
|
-
"www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php",
|
90
|
-
"www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php",
|
91
|
-
"www/lib/php/system/Config.php",
|
92
|
-
"www/lib/php/system/config.routes.php",
|
93
|
-
"www/lib/php/system/router.php",
|
94
|
-
"www/lib/php/template/footer.php",
|
95
|
-
"www/lib/php/template/header.php",
|
96
|
-
"www/lib/php/view/index.php",
|
97
|
-
"www/media/images/facebook_share.jpg",
|
98
|
-
"www/robots.txt",
|
99
|
-
"www/sandbox/readme.txt",
|
100
|
-
"www/sass/javascript.scss",
|
101
|
-
"www/sass/layout.scss",
|
102
|
-
"www/sass/master.scss",
|
103
|
-
"www/sass/reset.scss",
|
104
|
-
"www/sass/typography.scss",
|
105
|
-
"www/styles/javascript.css",
|
106
|
-
"www/styles/layout.css",
|
107
|
-
"www/styles/master.css",
|
108
|
-
"www/styles/reset.css",
|
109
|
-
"www/styles/typography.css"
|
34
|
+
"test/test_simon.rb"
|
110
35
|
]
|
111
|
-
s.homepage = "
|
36
|
+
s.homepage = "https://github.com/samcreate/simon-cli"
|
112
37
|
s.licenses = ["MIT"]
|
113
38
|
s.require_paths = ["lib"]
|
114
39
|
s.rubygems_version = "1.8.23"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my-simon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -102,8 +102,6 @@ extra_rdoc_files:
|
|
102
102
|
files:
|
103
103
|
- .document
|
104
104
|
- .gitignore.orig
|
105
|
-
- DOC/Launch Check List.docx
|
106
|
-
- DOC/Launch Check List.pdf
|
107
105
|
- Gemfile
|
108
106
|
- Gemfile.lock
|
109
107
|
- LICENSE.txt
|
@@ -111,85 +109,12 @@ files:
|
|
111
109
|
- README.rdoc
|
112
110
|
- Rakefile
|
113
111
|
- VERSION
|
114
|
-
- build/rakefile.rb
|
115
|
-
- config.rb
|
116
112
|
- lib/simon.rb
|
117
113
|
- my-simon.gemspec
|
118
|
-
- scaffolding/simon/controller.tpl
|
119
|
-
- scaffolding/simon/model.tpl
|
120
|
-
- scaffolding/simon/view.tpl
|
121
|
-
- scaffolding/standards/html_template.html
|
122
|
-
- scaffolding/standards/html_template.php
|
123
|
-
- scaffolding/standards/jquery_plugin_template.js
|
124
|
-
- scaffolding/standards/js_template.js
|
125
114
|
- simon
|
126
115
|
- test/helper.rb
|
127
116
|
- test/test_simon.rb
|
128
|
-
-
|
129
|
-
- www/404.html
|
130
|
-
- www/crossdomain.xml
|
131
|
-
- www/favicon.ico
|
132
|
-
- www/index.php
|
133
|
-
- www/lib/js/homePage.js
|
134
|
-
- www/lib/js/jquery/JQbook.js
|
135
|
-
- www/lib/js/jquery/jquery-1.8.0.min.js
|
136
|
-
- www/lib/js/jquery/jquery.alphanumeric.js
|
137
|
-
- www/lib/js/jquery/jquery.cookie.js
|
138
|
-
- www/lib/js/jquery/jquery.easing.1.3.js
|
139
|
-
- www/lib/js/main.js
|
140
|
-
- www/lib/js/master.js
|
141
|
-
- www/lib/js/plugins/handlebars-1.0.rc.1.js
|
142
|
-
- www/lib/js/plugins/modernizr-1.7.min.js
|
143
|
-
- www/lib/js/plugins/swfobject.js
|
144
|
-
- www/lib/js/plugins_mod/README.txt
|
145
|
-
- www/lib/php/app.php
|
146
|
-
- www/lib/php/controller/index.php
|
147
|
-
- www/lib/php/controller/regex.php
|
148
|
-
- www/lib/php/model/Book.php
|
149
|
-
- www/lib/php/model/Model.php
|
150
|
-
- www/lib/php/plugins/php-activerecord/ActiveRecord.php
|
151
|
-
- www/lib/php/plugins/php-activerecord/lib/CallBack.php
|
152
|
-
- www/lib/php/plugins/php-activerecord/lib/Column.php
|
153
|
-
- www/lib/php/plugins/php-activerecord/lib/Config.php
|
154
|
-
- www/lib/php/plugins/php-activerecord/lib/Connection.php
|
155
|
-
- www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php
|
156
|
-
- www/lib/php/plugins/php-activerecord/lib/DateTime.php
|
157
|
-
- www/lib/php/plugins/php-activerecord/lib/Exceptions.php
|
158
|
-
- www/lib/php/plugins/php-activerecord/lib/Expressions.php
|
159
|
-
- www/lib/php/plugins/php-activerecord/lib/Inflector.php
|
160
|
-
- www/lib/php/plugins/php-activerecord/lib/Model.php
|
161
|
-
- www/lib/php/plugins/php-activerecord/lib/Reflections.php
|
162
|
-
- www/lib/php/plugins/php-activerecord/lib/Relationship.php
|
163
|
-
- www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php
|
164
|
-
- www/lib/php/plugins/php-activerecord/lib/Serialization.php
|
165
|
-
- www/lib/php/plugins/php-activerecord/lib/Singleton.php
|
166
|
-
- www/lib/php/plugins/php-activerecord/lib/Table.php
|
167
|
-
- www/lib/php/plugins/php-activerecord/lib/Utils.php
|
168
|
-
- www/lib/php/plugins/php-activerecord/lib/Validations.php
|
169
|
-
- www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php
|
170
|
-
- www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php
|
171
|
-
- www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php
|
172
|
-
- www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php
|
173
|
-
- www/lib/php/system/Config.php
|
174
|
-
- www/lib/php/system/config.routes.php
|
175
|
-
- www/lib/php/system/router.php
|
176
|
-
- www/lib/php/template/footer.php
|
177
|
-
- www/lib/php/template/header.php
|
178
|
-
- www/lib/php/view/index.php
|
179
|
-
- www/media/images/facebook_share.jpg
|
180
|
-
- www/robots.txt
|
181
|
-
- www/sandbox/readme.txt
|
182
|
-
- www/sass/javascript.scss
|
183
|
-
- www/sass/layout.scss
|
184
|
-
- www/sass/master.scss
|
185
|
-
- www/sass/reset.scss
|
186
|
-
- www/sass/typography.scss
|
187
|
-
- www/styles/javascript.css
|
188
|
-
- www/styles/layout.css
|
189
|
-
- www/styles/master.css
|
190
|
-
- www/styles/reset.css
|
191
|
-
- www/styles/typography.css
|
192
|
-
homepage: http://github.com/samcreate/simon
|
117
|
+
homepage: https://github.com/samcreate/simon-cli
|
193
118
|
licenses:
|
194
119
|
- MIT
|
195
120
|
post_install_message:
|
data/DOC/Launch Check List.docx
DELETED
Binary file
|
data/DOC/Launch Check List.pdf
DELETED
Binary file
|
data/build/rakefile.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
task :build do
|
2
|
-
puts "Building CSS"
|
3
|
-
sh 'juicer merge ../www/styles/master.css -o ../www/styles/evbmaster-min.css --force'
|
4
|
-
puts "Building JS"
|
5
|
-
sh 'juicer merge -i ../www/lib/js/master.js -o ../www/lib/js/evbmaster-min.js --force'
|
6
|
-
puts "Building CSS Mobile"
|
7
|
-
sh 'juicer merge ../www/mobile/styles/master.css -o ../www/mobile/styles/evbmaster-min.css --force'
|
8
|
-
puts "Building JS Mobile"
|
9
|
-
sh 'juicer merge -i ../www/mobile/lib/js/master.js -o ../www/mobile/lib/js/evbmaster-min.js --force'
|
10
|
-
end
|
11
|
-
|
12
|
-
|
data/config.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# Require any additional compass plugins here.
|
2
|
-
|
3
|
-
# Set this to the root of your project when deployed:
|
4
|
-
http_path = "/"
|
5
|
-
css_dir = "www/styles"
|
6
|
-
sass_dir = "www/sass"
|
7
|
-
images_dir = "www/media/images"
|
8
|
-
javascripts_dir = "www/lib/js"
|
9
|
-
|
10
|
-
# You can select your preferred output style here (can be overridden via the command line):
|
11
|
-
# output_style = :expanded or :nested or :compact or :compressed
|
12
|
-
|
13
|
-
# To enable relative paths to assets via compass helper functions. Uncomment:
|
14
|
-
# relative_assets = true
|
15
|
-
|
16
|
-
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
17
|
-
# line_comments = false
|
18
|
-
|
19
|
-
|
20
|
-
# If you prefer the indented syntax, you might want to regenerate this
|
21
|
-
# project again passing --syntax sass, or you can uncomment this:
|
22
|
-
# preferred_syntax = :sass
|
23
|
-
# and then run:
|
24
|
-
# sass-convert -R --from scss --to sass www/sass scss && rm -rf sass && mv scss sass
|
data/scaffolding/simon/model.tpl
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
|
3
|
-
// ======================================================================================
|
4
|
-
// = Model template for active record http://www.phpactiverecord.org/projects/main/wiki =
|
5
|
-
// ======================================================================================
|
6
|
-
class %name% extends ActiveRecord\Model {
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
?>
|
data/scaffolding/simon/view.tpl
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
require_once 'lib/php/Config.php';
|
3
|
-
$settings = Config::getInstance();
|
4
|
-
|
5
|
-
?>
|
6
|
-
<!doctype html>
|
7
|
-
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
|
8
|
-
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
|
9
|
-
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
|
10
|
-
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
|
11
|
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
|
12
|
-
<head>
|
13
|
-
<?php
|
14
|
-
require_once 'lib/php/includes/html_header.php';
|
15
|
-
?>
|
16
|
-
</head>
|
17
|
-
<body environment="<?php echo $settings->environment ?>" cdn_path="<?php echo $settings->cdn_path ?>" serviceURL="<?php echo $settings->base_url?>" >
|
18
|
-
<div id="PageWrapper">
|
19
|
-
<header>
|
20
|
-
<h1>
|
21
|
-
<a href="#">CHANGE_ME</a>
|
22
|
-
</h1>
|
23
|
-
</header>
|
24
|
-
|
25
|
-
<div id="MainContent" role="main">
|
26
|
-
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<footer>
|
30
|
-
|
31
|
-
</footer>
|
32
|
-
</div>
|
33
|
-
<!--[if lt IE 7 ]>
|
34
|
-
<script src="lib/js/plugins/dd_belatedpng.js"></script>
|
35
|
-
<script> DD_belatedPNG.fix('img, .png_bg');</script>
|
36
|
-
<![endif]-->
|
37
|
-
<script>
|
38
|
-
var _gaq=[['_setAccount','<?php echo $settings->analytics_id; ?>'],['_trackPageview']]; // Change UA-XXXXX-X to be your site's ID
|
39
|
-
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
|
40
|
-
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
41
|
-
s.parentNode.insertBefore(g,s)}(document,'script'));
|
42
|
-
</script>
|
43
|
-
</body>
|
44
|
-
</html>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
require_once 'lib/php/Config.php';
|
3
|
-
$settings = Config::getInstance();
|
4
|
-
|
5
|
-
?>
|
6
|
-
<!doctype html>
|
7
|
-
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
|
8
|
-
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
|
9
|
-
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
|
10
|
-
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
|
11
|
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
|
12
|
-
<head>
|
13
|
-
<?php
|
14
|
-
require_once 'lib/php/includes/html_header.php';
|
15
|
-
?>
|
16
|
-
</head>
|
17
|
-
<body>
|
18
|
-
<div id="PageWrapper">
|
19
|
-
<header>
|
20
|
-
<h1>
|
21
|
-
<a href="#">CHANGE_ME</a>
|
22
|
-
</h1>
|
23
|
-
</header>
|
24
|
-
|
25
|
-
<div id="MainContent" role="main">
|
26
|
-
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<footer>
|
30
|
-
|
31
|
-
</footer>
|
32
|
-
</div>
|
33
|
-
<!--[if lt IE 7 ]>
|
34
|
-
<script src="lib/js/plugins/dd_belatedpng.js"></script>
|
35
|
-
<script> DD_belatedPNG.fix('img, .png_bg');</script>
|
36
|
-
<![endif]-->
|
37
|
-
<script>
|
38
|
-
var _gaq=[['_setAccount','<?php echo $settings->analytics_id; ?>'],['_trackPageview']]; // Change UA-XXXXX-X to be your site's ID
|
39
|
-
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
|
40
|
-
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
41
|
-
s.parentNode.insertBefore(g,s)}(document,'script'));
|
42
|
-
</script>
|
43
|
-
</body>
|
44
|
-
</html>
|
@@ -1,45 +0,0 @@
|
|
1
|
-
(function($) {
|
2
|
-
|
3
|
-
$.pluginName = function(element, options) {
|
4
|
-
|
5
|
-
var defaults = {
|
6
|
-
foo: 'bar',
|
7
|
-
onFoo: function() {}
|
8
|
-
}
|
9
|
-
|
10
|
-
var plugin = this;
|
11
|
-
|
12
|
-
plugin.settings = {}
|
13
|
-
|
14
|
-
var $element = $(element),
|
15
|
-
element = element;
|
16
|
-
|
17
|
-
plugin.init = function() {
|
18
|
-
plugin.settings = $.extend({}, defaults, options);
|
19
|
-
// code goes here
|
20
|
-
}
|
21
|
-
|
22
|
-
plugin.foo_public_method = function() {
|
23
|
-
// code goes here
|
24
|
-
}
|
25
|
-
|
26
|
-
var foo_private_method = function() {
|
27
|
-
// code goes here
|
28
|
-
}
|
29
|
-
|
30
|
-
plugin.init();
|
31
|
-
|
32
|
-
}
|
33
|
-
|
34
|
-
$.fn.pluginName = function(options) {
|
35
|
-
|
36
|
-
return this.each(function() {
|
37
|
-
if (undefined == $(this).data('pluginName')) {
|
38
|
-
var plugin = new $.pluginName(this, options);
|
39
|
-
$(this).data('pluginName', plugin);
|
40
|
-
}
|
41
|
-
});
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
})(jQuery);
|