Changeset 535280
- Timestamp:
- 04/24/2012 02:35:12 AM (14 years ago)
- Location:
- copyrightpro
- Files:
-
- 13 added
- 1 deleted
- 2 edited
-
tags/1.1 (added)
-
tags/1.1/images (added)
-
tags/1.1/images/Computer.gif (added)
-
tags/1.1/images/copyrightpro.jpg (added)
-
tags/1.1/images/p0.png (added)
-
tags/1.1/images/p1.png (added)
-
tags/1.1/images/p2.png (added)
-
tags/1.1/images/p3.png (added)
-
tags/1.1/images/p4.png (added)
-
tags/1.1/index.php (added)
-
tags/1.1/panel.php (added)
-
tags/1.1/readme.txt (added)
-
tags/1.1/screenshot-1.jpg (added)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/script.htm (deleted)
Legend:
- Unmodified
- Added
- Removed
-
copyrightpro/trunk/index.php
r418493 r535280 4 4 Plugin URI: http://wp-copyrightpro.com/ 5 5 Description: CopyRightPro is a free version of Wp-Copyrightpro plug-in that prevents the copying of texts and images from your blog, if you install this plug-in, your content of wordpress will be protected. 6 Version: 1. 06 Version: 1.1 7 7 Author: Andres Felipe Perea V. 8 8 Author URI: http://wp-copyrightpro.com/ … … 51 51 /* FUNCIONES DE PROTECCION */ 52 52 function copyright_headv1(){ 53 include ('script.htm'); 53 54 global $wpdb; 55 $fivesdrafts = $wpdb->get_results("SELECT*FROM copyrightpro"); 56 57 foreach ($fivesdrafts as $fivesdraft) { 58 $result[0]=$fivesdraft->copy_click; 59 $result[1]=$fivesdraft->copy_selection; 60 } 61 62 if ($result[0]=="y"){?> 63 <script language="Javascript"> 64 <!-- Begin 65 document.oncontextmenu = function(){return false} 66 // End --> 67 </script> 68 <?php } 69 70 if ($result[1]=="y"){?> 71 <script type="text/javascript"> 72 // IE Evitar seleccion de texto 73 document.onselectstart=function(){ 74 if (event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type != "password") 75 return false 76 else return true; 77 }; 78 // FIREFOX Evitar seleccion de texto 79 if (window.sidebar){ 80 document.onmousedown=function(e){ 81 var obj=e.target; 82 if (obj.tagName.toUpperCase() == "INPUT" || obj.tagName.toUpperCase() == "TEXTAREA" || obj.tagName.toUpperCase() == "PASSWORD") 83 return true; 84 /*else if (obj.tagName=="BUTTON"){ 85 return true; 86 }*/ 87 else 88 return false; 89 } 90 } 91 // End --> 92 </script> 93 94 <?php } 95 54 96 } 55 97 -
copyrightpro/trunk/readme.txt
r418493 r535280 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5TS4C2GX9WUR6&lc=ES&item_name=Wp%2dcopyrightpro¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted 4 4 Tags: copyright, images, gallery, prevent copy, text, disable right click, prevent select text, wordpress, content, protect, wp no right click plugin 5 Requires at least: 3. 2.16 Tested up to: 3. 2.17 Stable tag: 1. 05 Requires at least: 3.3.2 6 Tested up to: 3.3.2 7 Stable tag: 1.1 8 8 9 9 If you install CopyRightPro, your content of wordpress will be protected. … … 26 26 **[Official Website](http://wp-copyrightpro.com/)** 27 27 **[Support](http://wp-copyrightpro.com/)** 28 **[Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5TS4C2GX9WUR6&lc=ES&item_name= Wp%2dcopyrightpro¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)**28 **[Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5TS4C2GX9WUR6&lc=ES&item_name=puydi&item_number=wpcopyrightpro¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)** 29 29 30 30 … … 71 71 = 1.0 = 72 72 * Firt version of CopyRightPro 73 74 = 1.1 = 75 * For wordpress 3.3.2
Note: See TracChangeset
for help on using the changeset viewer.