Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f0709f21
authored
2016-03-17 15:58:25 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
AAL changes
1 parent
88614410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
com/Notifications/views/admin.php
com/Notifications/views/admin.php
View file @
f0709f2
...
...
@@ -7,7 +7,7 @@ use Tz\WordPress\Tools\Notifications\Settings;
$user_ID
=
get_current_user_id
();
$AAL
=
get_user_meta
(
$user_ID
,
'_AAL'
,
false
);
if
(
!
in_array
(
'notifications_full'
,
$AAL
[
0
]))
{
echo
'<style type="text/css"> .edit, .delete{ display:none; }</style>'
;
echo
'<style type="text/css"> .
translation-link, .
edit, .delete{ display:none; }</style>'
;
};
...
...
@@ -96,7 +96,7 @@ use Tz\WordPress\Tools\Notifications\Settings;
<td>
<?php
echo
$entry
->
post_title
;
?>
</td>
<td>
<a
href=
"/wp-admin/admin.php?page=notifications&action=edit&page_id=
<?php
echo
$entry
->
ID
;
?>
#tab-2"
<a
class=
"translation-link"
href=
"/wp-admin/admin.php?page=notifications&action=edit&page_id=
<?php
echo
$entry
->
ID
;
?>
#tab-2"
title=
"Add translation to French"
>
<?php
$emailData
=
$entry
->
email
;
...
...
Please
register
or
sign in
to post a comment