| @@ -1,9 +1,42 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * @package Logtivity | |
| 5 | + * @contact logtivity.io, [email protected] | |
| 6 | + * @copyright 2024-2026 Logtivity. All rights reserved | |
| 7 | + * @license https://www.gnu.org/licenses/gpl.html GNU/GPL | |
| 8 | + * | |
| 9 | + * This file is part of Logtivity. | |
| 10 | + * | |
| 11 | + * Logtivity is free software: you can redistribute it and/or modify | |
| 12 | + * it under the terms of the GNU General Public License as published by | |
| 13 | + * the Free Software Foundation, either version 2 of the License, or | |
| 14 | + * (at your option) any later version. | |
| 15 | + * | |
| 16 | + * Logtivity is distributed in the hope that it will be useful, | |
| 17 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | + * GNU General Public License for more details. | |
| 20 | + * | |
| 21 | + * You should have received a copy of the GNU General Public License | |
| 22 | + * along with Logtivity. If not, see <https://www.gnu.org/licenses/>. | |
| 23 | + */ | |
| 24 | + | |
| 25 | +$white_label = true; | |
| 26 | +if(! isset($options['logtivity_enable_white_label_mode']) || $options['logtivity_enable_white_label_mode'] != '1') { | |
| 27 | + $white_label = false; | |
| 28 | +} | |
| 29 | +?> | |
| 1 | 30 | <div class="wrap"> |
| 2 | 31 | |
| 3 | - <img style="margin: 20px 0 10px; display: block; width: 200px; height: auto;" src="<?php echo plugin_dir_url('logtivity.php') ?>logtivity/assets/logtivity-logo.svg" alt="Logtivity"> | |
| 32 | + <?php if (! $white_label): ?> | |
| 33 | + <div class="logtivity-header"> | |
| 34 | + <img alt="Logtivity" src="<?php echo plugin_dir_url('logtivity.php') ?>logtivity/assets/logtivity-logo-white.svg"> | |
| 35 | + </div> | |
| 36 | + <?php endif ?> | |
| 4 | 37 | |
| 5 | 38 | <div id="poststuff"> |
| 6 | 39 | |
| 7 | - <div id="post-body" class="metabox-holder columns-2"> | |
| 40 | + <div id="post-body" class="metabox-holder<?php echo ! $white_label ? ' columns-2' : '' ?>"> | |
| 8 | 41 | |
| 9 | - <div id="post-body-content"> | |
| 42 | + <div id="post-body-content"> | |