Plugin Directory

Changeset 1895852


Ignore:
Timestamp:
06/20/2018 01:52:00 PM (8 years ago)
Author:
eslamsalem
Message:

clean & deprecated

Location:
frumentarii
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • frumentarii/tags/1.3.1/frumentarii.php

    r1504405 r1895852  
    1111if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1212
    13 /*****************************************************************************
    14  * constants and globals                                                     *
    15  *****************************************************************************/
    16 if (!defined( 'Frumentarii_VERSION' )) {
    17     define( 'Frumentarii_VERSION', '1.3' );
     13
     14add_action('admin_notices', 'frumentarii_admin_notice' );
     15
     16
     17function frumentarii_admin_notice() {
     18    $shieldfy_active = get_option('frumentarii_active_plugin');
     19    if($shieldfy_active == false){
     20        $user = get_userdata(get_current_user_id());
     21        $avatar = get_avatar(get_current_user_id(),48,"monsterid","",array(
     22            'extra_attr'=>'style="margin-right:10px; float: left;border-radius: 50%;"'
     23        ));
     24        echo '<div role="alert" style="border-radius: 4px;  margin-left: -20px;  margin-bottom: 20px;    padding: 15px;background-color: #dff0d8;    border-color: #d6e9c6;    color: #3c763d;">
     25            Sorry , But this plugin is not maintained anymore , Please Uninstall it  ... Best regards
     26             <div style="clear:both"></div>
     27         </div>';
     28    }
    1829}
    19 if (!defined( 'Frumentarii_URL' )) {
    20     define( 'Frumentarii_URL', plugin_dir_url( __FILE__ ) );
    21 }
    22 if (!defined( 'Frumentarii_DIR' )) {
    23     define( 'Frumentarii_DIR', dirname( __FILE__ ) );
    24 }
    25 if (!defined( 'Frumentarii_DATA_DIR' )) {
    26     define( 'Frumentarii_DATA_DIR', Frumentarii_DIR.'/data' );
    27 }
    28 if(!defined('Frumentarii_API_ENDPOINT')){
    29     define( 'Frumentarii_API_ENDPOINT', 'http://api.frumentarii.shieldfy.com' );
    30 }
    31 if(!defined('Frumentarii_FREE_API_ENDPOINT')){
    32     define( 'Frumentarii_FREE_API_ENDPOINT', 'http://api.frumentarii.shieldfy.com' );
    33 }
    34 if(!defined('Frumentarii_ADMIN_URL')){
    35     define('Frumentarii_ADMIN_URL',admin_url('admin.php?page=frumentarii'));
    36 }
    37 
    38 require_once( Frumentarii_DIR . '/bootstrap.php' );
  • frumentarii/tags/1.3.1/readme.txt

    r1504514 r1895852  
    1212== Description ==
    1313
    14 
    15 = Don't let malware infection ruin your website. =
    16 
    17 Frumentarii is fast ,smart and very friendly with just a few clicks you can scan your website for malwares , viruses and backdoors
    18 
    19 
    20 = Updated database and smart signatures =
    21 
    22 Our engine is smart enough to detect not only known malwares via traditional signature but also it detect unknown malwares by tracking suspicious code.
    23 
    24 
    25 = Fast High level support =
    26 
    27 Frumentarii security team is always here for help , our support is here for you anytime 24/7.
    28 
     14W're very sorry , but this package is not maintained anymore , Best.
    2915
    3016== Installation ==
  • frumentarii/trunk/frumentarii.php

    r1504405 r1895852  
    1111if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1212
    13 /*****************************************************************************
    14  * constants and globals                                                     *
    15  *****************************************************************************/
    16 if (!defined( 'Frumentarii_VERSION' )) {
    17     define( 'Frumentarii_VERSION', '1.3' );
     13
     14add_action('admin_notices', 'frumentarii_admin_notice' );
     15
     16
     17function frumentarii_admin_notice() {
     18    $shieldfy_active = get_option('frumentarii_active_plugin');
     19    if($shieldfy_active == false){
     20        $user = get_userdata(get_current_user_id());
     21        $avatar = get_avatar(get_current_user_id(),48,"monsterid","",array(
     22            'extra_attr'=>'style="margin-right:10px; float: left;border-radius: 50%;"'
     23        ));
     24        echo '<div role="alert" style="border-radius: 4px;  margin-left: -20px;  margin-bottom: 20px;    padding: 15px;background-color: #dff0d8;    border-color: #d6e9c6;    color: #3c763d;">
     25            Sorry , But this plugin is not maintained anymore , Please Uninstall it  ... Best regards
     26             <div style="clear:both"></div>
     27         </div>';
     28    }
    1829}
    19 if (!defined( 'Frumentarii_URL' )) {
    20     define( 'Frumentarii_URL', plugin_dir_url( __FILE__ ) );
    21 }
    22 if (!defined( 'Frumentarii_DIR' )) {
    23     define( 'Frumentarii_DIR', dirname( __FILE__ ) );
    24 }
    25 if (!defined( 'Frumentarii_DATA_DIR' )) {
    26     define( 'Frumentarii_DATA_DIR', Frumentarii_DIR.'/data' );
    27 }
    28 if(!defined('Frumentarii_API_ENDPOINT')){
    29     define( 'Frumentarii_API_ENDPOINT', 'http://api.frumentarii.shieldfy.com' );
    30 }
    31 if(!defined('Frumentarii_FREE_API_ENDPOINT')){
    32     define( 'Frumentarii_FREE_API_ENDPOINT', 'http://api.frumentarii.shieldfy.com' );
    33 }
    34 if(!defined('Frumentarii_ADMIN_URL')){
    35     define('Frumentarii_ADMIN_URL',admin_url('admin.php?page=frumentarii'));
    36 }
    37 
    38 require_once( Frumentarii_DIR . '/bootstrap.php' );
  • frumentarii/trunk/readme.txt

    r1504514 r1895852  
    1212== Description ==
    1313
    14 
    15 = Don't let malware infection ruin your website. =
    16 
    17 Frumentarii is fast ,smart and very friendly with just a few clicks you can scan your website for malwares , viruses and backdoors
    18 
    19 
    20 = Updated database and smart signatures =
    21 
    22 Our engine is smart enough to detect not only known malwares via traditional signature but also it detect unknown malwares by tracking suspicious code.
    23 
    24 
    25 = Fast High level support =
    26 
    27 Frumentarii security team is always here for help , our support is here for you anytime 24/7.
    28 
     14W're very sorry , but this package is not maintained anymore , Best.
    2915
    3016== Installation ==
Note: See TracChangeset for help on using the changeset viewer.