Changeset 757309
- Timestamp:
- 08/16/2013 08:07:05 PM (13 years ago)
- Location:
- show-qr-url/trunk
- Files:
-
- 2 added
- 2 edited
-
js (added)
-
js/admin.js (added)
-
readme.txt (modified) (1 diff)
-
showQRURL.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
show-qr-url/trunk/readme.txt
r757099 r757309 2 2 Contributors: sebat 3 3 Tags: widget, sidebar, QR-Code, mobile, piwik, Google Analytics 4 Requires at least: 2.04 Requires at least: 3.3 5 5 Tested up to: 3.6 6 6 Stable tag: 1.4.1 7 7 Author: Sebastian Thiele 8 8 Author URI: htt://www.sebastian-thiele.net 9 License: GPLv2 9 10 10 Diese Plugin baut ein Sidebar-Widget ein, in dem ein in der groessee anpassbarer QR Code angezeigt wird, der auf die aktuelle URL verweist.11 Sidebar-Widget zum generieren von QR-Codes die auf die aktuelle Seite verweisen. 11 12 12 13 == Description == -
show-qr-url/trunk/showQRURL.php
r229786 r757309 2 2 /* 3 3 Plugin Name: Show QR URL 4 Plugin URI: http://sebastian.thiele.me/projekte/wordpress-plugin-show-qr-url5 4 Description: This Plugin shows a QR-Code with the encoded URL of the corent Page. Useing Google Shart API 6 5 Author: Sebastian Thiele 7 Author URI: htt:// sebastian.thiele.me8 Version: 1.4 6 Author URI: htt://www.sebastian-thiele.net 7 Version: 1.4.1 9 8 */ 9 10 11 // Load JS & CSS for Admin 12 function load_admin_js($hook) { 13 if ($hook == 'settings_page_show-qr-url') { 14 wp_enqueue_script( 15 'showqrurl_admin_js', 16 '/wp-content/plugins/show-qr-url/js/admin.js', 17 array( 'jquery' ) 18 ); 19 20 wp_enqueue_style( 21 'showqrurl_admin_css', 22 '/wp-content/plugins/show-qr-url/css/admin.css' 23 ); 24 25 } 26 } 27 add_action( 'admin_enqueue_scripts', 'load_admin_js' ); 28 10 29 11 30 include("showQRURLadmin.php"); … … 172 191 173 192 $plugindir = basename(dirname(__FILE__)); 174 wp_enqueue_style("showqrurl_admin_css","/wp-content/plugins/show-qr-url/css/admin.css", false, 'last', 'all'); 193 175 194 176 195 … … 187 206 add_action("plugins_loaded", "showQRURL_init"); 188 207 add_action("admin_menu", "showQRURL_admin"); 189 add_action("admin_head", "shoqQRURL_admin_js");190 191 192 208 193 209 ?>
Note: See TracChangeset
for help on using the changeset viewer.