.fileorganizer_button { background-color: #4CAF50; /* Green */ border: none; color: white; padding: 8px 16px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; -webkit-transition-duration: 0.4s; /* Safari */ transition-duration: 0.4s; cursor: pointer; } .fileorganizer_button:focus{ border: none; color: white; } .fileorganizer_button1 { color: white; background-color: #4CAF50; border:3px solid #4CAF50; } .fileorganizer_button1:hover { box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19); color: white; border:3px solid #4CAF50; } .fileorganizer_button2 { color: white; background-color: #0085ba; } .fileorganizer_button2:hover { box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19); color: white; } .fileorganizer_button3 { color: white; background-color: #365899; } .fileorganizer_button3:hover { box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19); color: white; } .fileorganizer_button4 { color: white; background-color: rgb(66, 184, 221); } .fileorganizer_button4:hover { box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19); color: white; } .fileorganizer_promo-close{ float:right; text-decoration:none; margin: 5px 10px 0px 0px; } .fileorganizer_promo-close:hover{ color: red; } #fileorganizer_promo li { list-style-position: inside; list-style-type: circle; } .fileorganizer-loc-types { display:flex; flex-direction: row; align-items:center; flex-wrap: wrap; } .fileorganizer-loc-types li{ list-style-type:none !important; margin-right: 10px; } '; function fileorganizer_base_promo(){ echo '
Dismiss

You have been using FileOrganizer for few days and we hope FileOrganizer is able to help you to manage files from your Website.
If you like our plugin would you please show some love by doing actions like :

Upgrade to Pro Rate it 5★\'s Like Us on Facebook Tweet about FileOrganizer

FileOrganizer Pro comes with features like Allow User Roles, Change Upload Size, User Restrictions, User Role Restrictions, Email Alert etc. that helps you to manage files more securely at multiple user level.

'; } function fileorganizer_plugin_update_notice(){ if(defined('SOFTACULOUS_PLUGIN_UPDATE_NOTICE')){ return; } $to_update_plugins = apply_filters('softaculous_plugin_update_notice', []); if(empty($to_update_plugins)){ return; } /* translators: %1$s is replaced with a "string" of name of plugins, and %2$s is replaced with "string" which can be "is" or "are" based on the count of the plugin */ $msg = sprintf(__('New versions of %1$s %2$s available. Updating ensures better performance, security, and access to the latest features.', 'fileorganizer'), ''.esc_html(implode(', ', $to_update_plugins)).'', (count($to_update_plugins) > 1 ? 'are' : 'is')) . ' Update Now'; define('SOFTACULOUS_PLUGIN_UPDATE_NOTICE', true); // To make sure other plugins don't return a Notice echo '

'.$msg. '

'; wp_register_script('fileorganizer-update-notice', '', ['jquery'], '', true); wp_enqueue_script('fileorganizer-update-notice'); wp_add_inline_script('fileorganizer-update-notice', 'jQuery("#fileorganizer-plugin-update-notice").on("click", function(e){ let target = jQuery(e.target); if(!target.hasClass("notice-dismiss")){ return; } var data; // Hide it jQuery("#fileorganizer-plugin-update-notice").hide(); // Save this preference jQuery.post("'.admin_url('admin-ajax.php?action=fileorganizer_close_update_notice').'&security='.wp_create_nonce('fileorganizer_promo_nonce').'", data, function(response) { //alert(response); }); });'); }