Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esi-management
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
John
esi-management
Commits
0ebdd0df
Commit
0ebdd0df
authored
Jan 25, 2017
by
John Punzalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ESI, change ability to tags
parent
e5f1c365
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
esi-management-news-form.php
.../admin/modules/news/partials/esi-management-news-form.php
+1
-1
class-esi-management-activator.php
...si-management/includes/class-esi-management-activator.php
+3
-3
class-esi-management.php
.../plugins/esi-management/includes/class-esi-management.php
+1
-1
No files found.
wp-content/plugins/esi-management/admin/modules/news/partials/esi-management-news-form.php
View file @
0ebdd0df
...
...
@@ -199,7 +199,7 @@ add_thickbox();
</tr>
<tr
class=
"row-tag-id"
>
<th
scope=
"row"
><dsw
<
label
for=
"tag_id"
>
<?php
_e
(
'
Ability
'
,
'esi'
);
?>
</label>
<
label
for=
"tag_id"
>
<?php
_e
(
'
Tag
'
,
'esi'
);
?>
</label>
</th>
<td>
<select
id=
"tag_id"
class=
"chosen-select"
name=
"tag_id[]"
multiple=
"multiple"
>
...
...
wp-content/plugins/esi-management/includes/class-esi-management-activator.php
View file @
0ebdd0df
...
...
@@ -243,7 +243,7 @@ class Esi_Management_Activator {
)"
;
dbDelta
(
$sql
);
// Create
Ability
table
// Create
Tag
table
$table_name
=
$wpdb
->
prefix
.
'esi_tag'
;
$sql
=
"CREATE TABLE
$table_name
(
id INT NOT NULL AUTO_INCREMENT,
...
...
@@ -254,7 +254,7 @@ class Esi_Management_Activator {
)"
;
dbDelta
(
$sql
);
// Create
Ability
Entity liaison table
// Create
Tag
Entity liaison table
$table_name
=
$wpdb
->
prefix
.
'esi_tag_entity'
;
$sql
=
"CREATE TABLE
$table_name
(
tag_id INT NOT NULL,
...
...
@@ -264,7 +264,7 @@ class Esi_Management_Activator {
dbDelta
(
$sql
);
// Create
Ability
News liaison table
// Create
Tag
News liaison table
$table_name
=
$wpdb
->
prefix
.
'esi_tag_news'
;
$sql
=
"CREATE TABLE
$table_name
(
tag_id INT NOT NULL,
...
...
wp-content/plugins/esi-management/includes/class-esi-management.php
View file @
0ebdd0df
...
...
@@ -166,7 +166,7 @@ class Esi_Management {
require_once
plugin_dir_path
(
dirname
(
__FILE__
)
)
.
'admin/modules/region/class-esi-management-region-list.php'
;
require_once
plugin_dir_path
(
dirname
(
__FILE__
)
)
.
'admin/modules/region/class-esi-management-region-form.php'
;
//
Ability
//
Tag
require_once
plugin_dir_path
(
dirname
(
__FILE__
)
)
.
'admin/modules/tag/class-esi-management-tag.php'
;
require_once
plugin_dir_path
(
dirname
(
__FILE__
)
)
.
'admin/modules/tag/class-esi-management-tag-list.php'
;
require_once
plugin_dir_path
(
dirname
(
__FILE__
)
)
.
'admin/modules/tag/class-esi-management-tag-form.php'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment