AAL changes
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -7,7 +7,7 @@ use Tz\WordPress\Tools\Notifications\Settings; | ... | @@ -7,7 +7,7 @@ use Tz\WordPress\Tools\Notifications\Settings; |
| 7 | $user_ID = get_current_user_id(); | 7 | $user_ID = get_current_user_id(); |
| 8 | $AAL = get_user_meta($user_ID, '_AAL', false); | 8 | $AAL = get_user_meta($user_ID, '_AAL', false); |
| 9 | if(!in_array('notifications_full', $AAL[0])) { | 9 | if(!in_array('notifications_full', $AAL[0])) { |
| 10 | echo '<style type="text/css"> .edit, .delete{ display:none; }</style>'; | 10 | echo '<style type="text/css"> .translation-link, .edit, .delete{ display:none; }</style>'; |
| 11 | }; | 11 | }; |
| 12 | 12 | ||
| 13 | 13 | ||
| ... | @@ -96,7 +96,7 @@ use Tz\WordPress\Tools\Notifications\Settings; | ... | @@ -96,7 +96,7 @@ use Tz\WordPress\Tools\Notifications\Settings; |
| 96 | <td><?php echo $entry->post_title; ?></td> | 96 | <td><?php echo $entry->post_title; ?></td> |
| 97 | 97 | ||
| 98 | <td> | 98 | <td> |
| 99 | <a href="/wp-admin/admin.php?page=notifications&action=edit&page_id=<?php echo $entry->ID; ?>#tab-2" | 99 | <a class="translation-link" href="/wp-admin/admin.php?page=notifications&action=edit&page_id=<?php echo $entry->ID; ?>#tab-2" |
| 100 | title="Add translation to French"> | 100 | title="Add translation to French"> |
| 101 | <?php | 101 | <?php |
| 102 | $emailData = $entry->email; | 102 | $emailData = $entry->email; | ... | ... |
-
Please register or sign in to post a comment