phcpresspro 70.2.0 → 71.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcpresspro/application_controller.rb +1 -1
- data/app/views/layouts/phcpresspro/application.html.erb +13 -8
- data/app/views/layouts/phcpresspro/components/backend/navigation/_top_menu.html.erb +1 -2
- data/app/views/layouts/phcpresspro/components/backend/sidebars/_side_menu.html.erb +123 -60
- data/config/routes.rb +3 -3
- data/lib/phcpresspro/engine.rb +1 -0
- data/lib/phcpresspro/version.rb +1 -1
- metadata +4 -5
- data/app/helpers/phcpresspro/website/pages_helper.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6a1e4742aea49ed1732bc2501d5615e995f410778882db14e5fb743f32c245
|
4
|
+
data.tar.gz: 96bdd2e04b1ea70cc2596bb64f83c3ef248d2ad4d0a3f2ff2fbda07dfe2cca3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7eec8eaaec253273f6a8b37b71220f2964003fc0f58a3d31dc43dd1e2fbdf53a37de04573cb0fdf149f9c6f7cb309896b8e87cb1a6f338413481e11fb9ce2b5
|
7
|
+
data.tar.gz: 7b04d9955885dd3299891e90fa0719b665cf4b019a79eb00682935f0a21471e4a24b2c39474f9a2a5969e4ce21b3d0ae4a4df0a50fb5d16afa9fdca36d8357d4
|
@@ -2,24 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
|
5
|
-
<% phc_seo_title "PHCPress(Pro)
|
5
|
+
<% phc_seo_title "PHCPress(Pro) AMS" %>
|
6
6
|
<% phc_seo_description "Content Management System by PHCDevworks" %>
|
7
7
|
|
8
|
+
<!-- -PHC- SEO and Site Description -->
|
8
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
9
10
|
<title><%= yield(:phc_seo_title) %></title>
|
10
11
|
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
11
|
-
|
12
12
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
13
13
|
<link rel="canonical" href="http://phcmembers.com">
|
14
|
+
<!-- -PHC- SEO and Site Description -->
|
15
|
+
|
16
|
+
<!-- -PHC- Security -->
|
17
|
+
<%= csrf_meta_tags %>
|
18
|
+
<%= csp_meta_tag %>
|
19
|
+
<!-- -PHC- Security -->
|
20
|
+
|
21
|
+
<!-- -PHC- CSS -->
|
22
|
+
<%= stylesheet_link_tag 'phcpresspro/application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
23
|
+
<!-- -PHC- CSS -->
|
14
24
|
|
15
25
|
<!-- Font -->
|
16
26
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
|
17
|
-
|
18
|
-
<!-- Requried Style Sheets -->
|
19
|
-
<%= stylesheet_link_tag "phcpresspro/application", media: "all", 'data-turbolinks-track': 'reload' %>
|
20
|
-
|
21
|
-
<!-- Security -->
|
22
|
-
<%= csrf_meta_tags %>
|
27
|
+
<!-- Font -->
|
23
28
|
|
24
29
|
</head>
|
25
30
|
<body>
|
@@ -1,7 +1,6 @@
|
|
1
|
-
<!-- Topbar - Navigation -->
|
2
1
|
<!-- Topbar - Navigation Header -->
|
3
2
|
<div class="navbar-header">
|
4
|
-
<%= link_to
|
3
|
+
<%= link_to phcpresspro.article_posts_path, class: "navbar-brand" do %>
|
5
4
|
<!--<span class="navbar-logo"></span>-->
|
6
5
|
<strong>PHC</strong>Press(Pro)
|
7
6
|
<% end %>
|
@@ -1,8 +1,9 @@
|
|
1
|
-
<!-- Sidebar -->
|
1
|
+
<!-- Sidebar for Users and Admin -->
|
2
2
|
<div data-scrollbar="true" data-height="100%">
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
|
4
|
+
<!-- Sidebar - User Profile Menu -->
|
5
|
+
<ul class="nav">
|
6
|
+
<% if current_user %>
|
6
7
|
<li class="nav-profile">
|
7
8
|
<a href="javascript:;" data-toggle="nav-profile">
|
8
9
|
<div class="cover with-shadow"></div>
|
@@ -30,12 +31,43 @@
|
|
30
31
|
</li>
|
31
32
|
</ul>
|
32
33
|
</li>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
<% end %>
|
35
|
+
<% if current_admin %>
|
36
|
+
<li class="nav-profile">
|
37
|
+
<a href="javascript:;" data-toggle="nav-profile">
|
38
|
+
<div class="cover with-shadow"></div>
|
39
|
+
<div class="image">
|
40
|
+
<%= image_tag current_admin.gravatar_url %>
|
41
|
+
</div>
|
42
|
+
<div class="info">
|
43
|
+
<b class="caret pull-right"></b>
|
44
|
+
<%= current_admin.firstname + ' ' + current_admin.lastname %>
|
45
|
+
<small><%= current_admin.username %></small>
|
46
|
+
</div>
|
47
|
+
</a>
|
48
|
+
</li>
|
49
|
+
<li>
|
50
|
+
<ul class="nav nav-profile">
|
51
|
+
<li>
|
52
|
+
<%= link_to phcaccountspro.edit_admin_registration_path do %>
|
53
|
+
<i class="fas fa-cogs"></i> Account Settings
|
54
|
+
<% end %>
|
55
|
+
</li>
|
56
|
+
<li>
|
57
|
+
<%= link_to phcaccountspro.destroy_admin_session_path do %>
|
58
|
+
<i class="fas fa-sign-out-alt"></i> Logout
|
59
|
+
<% end %>
|
60
|
+
</li>
|
61
|
+
</ul>
|
62
|
+
</li>
|
63
|
+
<% end %>
|
64
|
+
</ul>
|
65
|
+
<!-- Sidebar - User Profile Menu -->
|
66
|
+
<!-- Sidebar - Sidebar Navigation -->
|
67
|
+
<ul class="nav">
|
68
|
+
|
69
|
+
<% if defined?phcpresspro %>
|
70
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
39
71
|
<li class="nav-header">Article Management</li>
|
40
72
|
<li class="has-sub">
|
41
73
|
<a href="javascript:;">
|
@@ -59,18 +91,79 @@
|
|
59
91
|
<li class="<%= is_active_controller('phcpresspro/article/categories#new') %>"><%= link_to('New Category', phcpresspro.new_article_category_path) %></li>
|
60
92
|
</ul>
|
61
93
|
</li>
|
62
|
-
<!-- Sidebar - Sidebar Navigation -
|
94
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
95
|
+
<% end %>
|
96
|
+
|
97
|
+
<% if defined?phcmemberspro %>
|
98
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
99
|
+
<li class="nav-header">Membership Manager</li>
|
100
|
+
<li class="has-sub">
|
101
|
+
<a href="javascript:;">
|
102
|
+
<b class="caret"></b>
|
103
|
+
<i class="fas fa-users"></i>
|
104
|
+
<span>Member's Data</span>
|
105
|
+
</a>
|
106
|
+
<ul class="sub-menu">
|
107
|
+
<li class="<%= is_active_controller('phcmemberspro/member/profiles') %>"><%= link_to('Profile Index', phcmemberspro.member_profiles_path) %></li>
|
108
|
+
<li class="<%= is_active_controller('phcmemberspro/member/profiles#new') %>"><%= link_to('New Member Profile', phcmemberspro.new_member_profile_path) %></li>
|
109
|
+
</ul>
|
110
|
+
</li>
|
111
|
+
<li class="has-sub">
|
112
|
+
<a href="javascript:;">
|
113
|
+
<b class="caret"></b>
|
114
|
+
<i class="fas fa-list-alt"></i>
|
115
|
+
<span>Member's Directory</span>
|
116
|
+
</a>
|
117
|
+
<ul class="sub-menu">
|
118
|
+
<li class="<%= is_active_controller('phcmemberspro/directory/categories') %>"><%= link_to('Directory Index', phcmemberspro.directory_categories_path) %></li>
|
119
|
+
<li class="<%= is_active_controller('phcmemberspro/directory/categories#new') %>"><%= link_to('New Directory Listing', phcmemberspro.new_directory_category_path) %></li>
|
120
|
+
</ul>
|
121
|
+
</li>
|
122
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
123
|
+
<% end %>
|
124
|
+
|
125
|
+
<% if defined?phcscriptcdnpro %>
|
126
|
+
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
|
127
|
+
<li class="nav-header">Script Management</li>
|
128
|
+
<li class="has-sub">
|
129
|
+
<a href="javascript:;">
|
130
|
+
<b class="caret"></b>
|
131
|
+
<i class="fas fa-newspaper"></i>
|
132
|
+
<span>Script Posts</span>
|
133
|
+
</a>
|
134
|
+
<ul class="sub-menu">
|
135
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %>"><%= link_to "All Script Listings", phcscriptcdnpro.script_listings_path %></li>
|
136
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings#new') %>"><%= link_to "Add a New Listing", phcscriptcdnpro.new_script_listing_path %></li>
|
137
|
+
</ul>
|
138
|
+
</li>
|
139
|
+
<li class="has-sub">
|
140
|
+
<a href="javascript:;">
|
141
|
+
<b class="caret"></b>
|
142
|
+
<i class="fas fa-sitemap"></i>
|
143
|
+
<span>Script Extras</span>
|
144
|
+
</a>
|
145
|
+
<ul class="sub-menu">
|
146
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %>"><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
|
147
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/licences') %>"><%= link_to "Script Licences", phcscriptcdnpro.script_licences_path %></li>
|
148
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/extensions') %>"><%= link_to "Script Extensions", phcscriptcdnpro.script_extensions_path %></li>
|
149
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/versions') %>"><%= link_to "Script Versions", phcscriptcdnpro.script_versions_path %></li>
|
150
|
+
</ul>
|
151
|
+
</li>
|
152
|
+
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
|
153
|
+
<% end %>
|
154
|
+
|
155
|
+
<% if current_admin %>
|
63
156
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
64
|
-
<li class="nav-header">
|
157
|
+
<li class="nav-header">Admin Settings</li>
|
65
158
|
<li class="has-sub">
|
66
159
|
<a href="javascript:;">
|
67
160
|
<b class="caret"></b>
|
68
161
|
<i class="fas fa-user"></i>
|
69
|
-
<span>
|
162
|
+
<span>Admin Dashboard</span>
|
70
163
|
</a>
|
71
164
|
<ul class="sub-menu">
|
72
|
-
<li><%= link_to('Settings', phcaccountspro.
|
73
|
-
<li><%= link_to('Logout', phcaccountspro.
|
165
|
+
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Settings', phcaccountspro.edit_admin_registration_path) %></li>
|
166
|
+
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Logout', phcaccountspro.destroy_admin_session_path, method: :delete) %></li>
|
74
167
|
</ul>
|
75
168
|
</li>
|
76
169
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
@@ -81,55 +174,23 @@
|
|
81
174
|
</a>
|
82
175
|
</li>
|
83
176
|
<!-- Sidebar - Sidebar Minifier -->
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<ul class="nav">
|
90
|
-
<li class="nav-profile">
|
91
|
-
<a href="javascript:;" data-toggle="nav-profile">
|
92
|
-
<div class="cover with-shadow"></div>
|
93
|
-
<div class="image">
|
94
|
-
<%= image_tag current_admin.gravatar_url %>
|
95
|
-
</div>
|
96
|
-
<div class="info">
|
97
|
-
<b class="caret pull-right"></b>
|
98
|
-
<%= current_admin.firstname + ' ' + current_admin.lastname %>
|
99
|
-
<small><%= current_admin.username %></small>
|
100
|
-
</div>
|
101
|
-
</a>
|
102
|
-
</li>
|
103
|
-
<li>
|
104
|
-
<ul class="nav nav-profile">
|
105
|
-
<li>
|
106
|
-
<%= link_to phcaccountspro.edit_admin_registration_path do %>
|
107
|
-
<i class="fas fa-cogs"></i> Account Settings
|
108
|
-
<% end %>
|
109
|
-
</li>
|
110
|
-
<li>
|
111
|
-
<%= link_to phcaccountspro.destroy_admin_session_path do %>
|
112
|
-
<i class="fas fa-sign-out-alt"></i> Logout
|
113
|
-
<% end %>
|
114
|
-
</li>
|
115
|
-
</ul>
|
116
|
-
</li>
|
117
|
-
</ul>
|
118
|
-
<!-- Sidebar - User Profile Menu -->
|
119
|
-
<!-- Sidebar - Sidebar Navigation -->
|
120
|
-
<ul class="nav">
|
121
|
-
<li class="nav-header">Accounts Menu</li>
|
177
|
+
<% end %>
|
178
|
+
|
179
|
+
<% if current_user %>
|
180
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
181
|
+
<li class="nav-header">Account Settings</li>
|
122
182
|
<li class="has-sub">
|
123
183
|
<a href="javascript:;">
|
124
184
|
<b class="caret"></b>
|
125
|
-
<i class="
|
185
|
+
<i class="fas fa-user"></i>
|
126
186
|
<span>Accounts Dashboard</span>
|
127
187
|
</a>
|
128
188
|
<ul class="sub-menu">
|
129
|
-
<li><%= link_to('Settings', phcaccountspro.
|
130
|
-
<li><%= link_to('Logout', phcaccountspro.
|
189
|
+
<li class="<%= is_active_controller('phcaccountspro/admin/edit') %>"><%= link_to('Settings', phcaccountspro.edit_user_registration_path) %></li>
|
190
|
+
<li class="<%= is_active_controller('phcaccountspro/admin/new') %>"><%= link_to('Logout', phcaccountspro.destroy_user_session_path, method: :delete) %></li>
|
131
191
|
</ul>
|
132
192
|
</li>
|
193
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
133
194
|
<!-- Sidebar - Sidebar Minifier -->
|
134
195
|
<li>
|
135
196
|
<a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
|
@@ -137,8 +198,10 @@
|
|
137
198
|
</a>
|
138
199
|
</li>
|
139
200
|
<!-- Sidebar - Sidebar Minifier -->
|
140
|
-
|
141
|
-
|
142
|
-
|
201
|
+
<% end %>
|
202
|
+
|
203
|
+
</ul>
|
204
|
+
<!-- Sidebar - Sidebar Navigation -->
|
205
|
+
|
143
206
|
</div>
|
144
|
-
<!-- Sidebar -->
|
207
|
+
<!-- Sidebar for Users and Admin -->
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Phcpresspro::Engine.routes.draw do
|
2
2
|
|
3
|
-
#
|
4
|
-
mount Phcaccountspro::Engine =>
|
3
|
+
# Mount Accounts Engine
|
4
|
+
mount Phcaccountspro::Engine, :at => '/'
|
5
5
|
|
6
|
-
# Application
|
6
|
+
# Application Articles
|
7
7
|
namespace :article do
|
8
8
|
resources :categories, class_name: 'Phcpresspro::Articles::Category'
|
9
9
|
resources :posts, class_name: 'Phcpresspro::Articles::Post'
|
data/lib/phcpresspro/engine.rb
CHANGED
@@ -55,6 +55,7 @@ module Phcpresspro
|
|
55
55
|
|
56
56
|
# Load Requried Helper Files
|
57
57
|
config.to_prepare do
|
58
|
+
Phcaccountspro::ApplicationController.helper(ApplicationHelper)
|
58
59
|
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
59
60
|
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
60
61
|
end
|
data/lib/phcpresspro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcpresspro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 71.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -428,14 +428,14 @@ dependencies:
|
|
428
428
|
requirements:
|
429
429
|
- - "~>"
|
430
430
|
- !ruby/object:Gem::Version
|
431
|
-
version: '
|
431
|
+
version: '59.0'
|
432
432
|
type: :runtime
|
433
433
|
prerelease: false
|
434
434
|
version_requirements: !ruby/object:Gem::Requirement
|
435
435
|
requirements:
|
436
436
|
- - "~>"
|
437
437
|
- !ruby/object:Gem::Version
|
438
|
-
version: '
|
438
|
+
version: '59.0'
|
439
439
|
- !ruby/object:Gem::Dependency
|
440
440
|
name: sqlite3
|
441
441
|
requirement: !ruby/object:Gem::Requirement
|
@@ -667,7 +667,6 @@ files:
|
|
667
667
|
- app/helpers/phcpresspro/application_helper.rb
|
668
668
|
- app/helpers/phcpresspro/article/categories_helper.rb
|
669
669
|
- app/helpers/phcpresspro/article/posts_helper.rb
|
670
|
-
- app/helpers/phcpresspro/website/pages_helper.rb
|
671
670
|
- app/jobs/phcpresspro/application_job.rb
|
672
671
|
- app/mailers/phcpresspro/application_mailer.rb
|
673
672
|
- app/models/phcpresspro/application_record.rb
|