Plugin Directory

Changeset 1135602


Ignore:
Timestamp:
04/15/2015 05:44:20 PM (11 years ago)
Author:
shankaranand12
Message:

Adding the lock background

Location:
wp-content-protection/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-content-protection/trunk/include/wpcp-content-protection-mechanism.php

    r1121478 r1135602  
    6363    if(in_array(1,$avail_prot_mech)){
    6464     $message = $objFun->wpcp_get_protection_msg($avail_prot_mech);
    65      $content = $message;
     65     $content = '<div class="wpcp">'.$message.'</div>';
    6666    }
    6767    return $content;
  • wp-content-protection/trunk/include/wpcp-initfunctions.php

    r1121478 r1135602  
    1010   
    1111    function __construct() {
    12       add_action('admin_enqueue_scripts',array($this,'admin_scripts_styles'));
    13      
     12      add_action('admin_enqueue_scripts',array($this,'wpcp_admin_scripts_styles'));
     13      add_action('wp_enqueue_scripts',array($this,'wpcp_scripts_styles'));
    1414      //wp-admin
    1515      //Create an menu for settings.
     
    2323     *Adding the scripts and style in admin
    2424     */
    25     function admin_scripts_styles(){
     25    function wpcp_admin_scripts_styles(){
    2626        wp_enqueue_script('adminwpcpscriptsjs', WPCP__PLUGIN_URL.'assets/js/admin-wpcp-script.js',array('jquery'),'',TRUE);
    2727        wp_enqueue_style('adminwpcpscriptscss', WPCP__PLUGIN_URL.'assets/css/admin-wpcp-style.css');
     28    }
     29   
     30    function wpcp_scripts_styles(){
     31        wp_enqueue_style('wpcp.style.css', WPCP__PLUGIN_URL.'assets/css/wpcp-style.css');
    2832    }
    2933   
  • wp-content-protection/trunk/readme.txt

    r1127533 r1135602  
    11=== WP Content Protection ===
    22Contributors:shankaranand12
    3 Tags: Content protection,Membership content,content membership,Protection,login protection,Password protection,protection password,user role protection,protection user roles,protection plugin,Content protection plugin
     3Tags: Content protection,Membership content,content membership,Protection,login protection,Password protection,protection password,user role protection,protection user roles,protection plugin,Content protection plugin,premium content
    44Requires at least: 3.1
    55Tested up to: 4.1.1
     
    2626  Follow : Settings => wp content protection .
    2727
    28 
     28<a href="https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/">Click here </a> for plugin settins.
    2929
    3030== Installation ==
     
    33332. Activate the plugin through the 'Plugins' menu in WordPress
    34343. After activating check all the settings on below path : Settings => wp content protection .
     35<a href="https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/">Click here </a> for plugin settins.
    3536
    3637== Screenshots ==
  • wp-content-protection/trunk/wp-content-protection.php

    r1126743 r1135602  
    22/*
    33 *Plugin Name:WP Content Protection
    4  *Plugin uri:
     4 *Plugin uri:https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/
    55 *Author:Shankaranand
    6  *Description:This plugin(WP Content Protection : No membership required) is used to protect the content.No membership is required to protect the content.Content protection can be done by PASSWORD,USER ROLES and SPECIFIC AREA.
     6 *Description:This plugin(WP Content Protection : No membership required) is used to protect the content.Content protection is done by (i)-LoggedIn Security,(ii)-Password Security,(iii)-User Role security.
    77 *Version:1.2
    8  *Author uri:http://about.me/shankaranand
     8 *Author uri:https://shankaranandmaurya.wordpress.com/
    99 *Text Domain:WPCP
    1010 */
Note: See TracChangeset for help on using the changeset viewer.