Changeset 1608009
- Timestamp:
- 03/05/2017 06:07:29 AM (9 years ago)
- Location:
- documentpress-display-any-document-on-your-site/trunk
- Files:
-
- 1 added
- 4 edited
-
assets/js/buttons_priv.js (added)
-
documentpress.php (modified) (1 diff)
-
includes/class-documentpress-settings.php (modified) (1 diff)
-
includes/class-documentpress.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
documentpress-display-any-document-on-your-site/trunk/documentpress.php
r1341856 r1608009 2 2 /* 3 3 * Plugin Name: DocumentPress 4 * Version: 1. 84 * Version: 1.9 5 5 * Plugin URI: http://www.fifthsegment.com/ 6 6 * Description: Allows you to embed your documents in any format (.docx, .xls, .pdf, .ppt .anything!) on to your wordpress site. -
documentpress-display-any-document-on-your-site/trunk/includes/class-documentpress-settings.php
r1337764 r1608009 130 130 'type' => 'checkbox', 131 131 'default' => 'on' 132 ), 133 array( 134 'id' => 'restrict_uploaded_docs', 135 'label' => __( 'Restrict Uploaded documents to disallow downloads/printing.', 'documentpress' ), 136 'description' => __( 'Restrict Uploaded documents to disallow downloads/printing.', 'documentpress' ), 137 'type' => 'checkbox', 138 'default' => '' 132 139 ), 133 140 -
documentpress-display-any-document-on-your-site/trunk/includes/class-documentpress.php
r1341302 r1608009 169 169 170 170 function myplugin_register_tinymce_javascript( $plugin_array ) { 171 $plugin_array['docupress'] = esc_url( $this->assets_url ) . 'js/buttons.js'; 171 $restrict_uploaded_docs = get_option( $this->base.'restrict_uploaded_docs' ); 172 if ( $restrict_uploaded_docs != "on" ){ 173 $plugin_array['docupress'] = esc_url( $this->assets_url ) . 'js/buttons.js'; 174 }else{ 175 $plugin_array['docupress'] = esc_url( $this->assets_url ) . 'js/buttons_priv.js'; 176 } 177 172 178 return $plugin_array; 173 179 } -
documentpress-display-any-document-on-your-site/trunk/readme.txt
r1341856 r1608009 4 4 Tags: wordpress, plugin, template 5 5 Requires at least: 4.0 6 Tested up to: 4. 47 Stable tag: 1. 86 Tested up to: 4.7 7 Stable tag: 1.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 1.9 = 44 * 2017-3-5 45 * Allows users to set permissions to restricted on Google Drive files. 46 43 47 = 1.0 = 44 48 * 2016-1-25
Note: See TracChangeset
for help on using the changeset viewer.