D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
usernoise
/
admin
/
Filename :
notifications.php
back
Copy
<?php class UN_Notifications { function __construct(){ if (is_admin()) add_action('init', array($this, '_init')); } public function _init(){ if (current_user_can('manage_options') && !un_get_option(UN_ENABLED)) add_action('admin_notices', array($this, '_notice_usernoise_disabled')); } public function _notice_usernoise_disabled(){ global $parent_file; if ($parent_file == 'options-general.php' && isset($_REQUEST['page']) && $_REQUEST['page'] == 'usernoise') return; ?> <div class="error"> <p> <?php echo sprintf(__('Usernoise is disabled now. You can enable and configure it at the <a href="%s">settings page</a>.', 'usernoise'), admin_url('options-general.php?page=usernoise'))?> </p> </div> <?php } } new UN_Notifications;
Name
Size
Last Modified
Owner
Permissions
Actions
.htaccess
0.193
KB
June 03 2023 12:03:18
ltfsolutionsco
0644
admin-bar.php
1.464
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
admin-base.php
0.03
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
dashboard.php
1.67
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
editor-page.php
3.618
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
feedback-list.php
2.381
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
menu.php
0.94
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
notifications.php
0.754
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
settings.php
9.489
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
upgrade.php
2.31
KB
July 23 2015 5:29:44
ltfsolutionsco
0755
2017 © D7net | D704T team