| @@ -1,11 +1,14 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Tableberg\Admin; |
| 4 | 4 | |
| 5 | +// Needed so the qualified name `Tableberg\Assets` below resolves to the root | |
| 6 | +// namespace instead of `Tableberg\Admin\Tableberg\Assets`. | |
| 5 | 7 | use Tableberg; |
| 6 | 8 | |
| 7 | 9 | class Tableberg_Admin { |
| 10 | + private $plugin_name; | |
| 8 | 11 | private $plugin_url; |
| 9 | 12 | |
| 10 | 13 | public function __construct() { |
| 11 | 14 | |
| @@ -175,9 +178,9 @@ | ||
| 175 | 178 | $diff_interval = round(($datetime2->format('U') - $datetime1->format('U')) / (60 * 60 * 24)); |
| 176 | 179 | |
| 177 | 180 | if ($diff_interval >= 21 && get_option('tableberg_review_notify') == 'no') { |
| 178 | 181 | ?> |
| 179 | - <div class="tableberg-review-notice notice notice-info" style="display: inline-block; position: relative; padding:0.5rem 1.5rem"> | |
| 182 | + <div class="tableberg-review-notice notice notice-info" style="position: relative; padding:0.5rem 1.5rem"> | |
| 180 | 183 | <button type="button" class="notice-dismiss Tableberg_HideReview_Notice" style="position: absolute; top: 2px; right: 2px;"> |
| 181 | 184 | <span class="screen-reader-text"><?php esc_html_e('Dismiss this notice.', 'tableberg'); ?></span> |
| 182 | 185 | </button> |
| 183 | 186 | <p style="font-size: 14px; line-height: 2;padding-right:2rem"> |