e8b220953e
- **IMPORTANT**: We have changed the html tag for the superscript. Please check and update your custom CSS. - Add: .pot file to enable Translations for everybody - Add: Settings to customize the mouse-over box (color, background color, border, max. width) - Update: Translation file names - Update: Translation EN and DE - Update: Styling of the superscript (need to check custom CSS code for the superscript) - Update: Description of CSS classes for the 'customize CSS' text area - Bugfix: Removed 'a' tag around the superscript for Footnotes inside the content to avoid page reloads (empty href attribute) - Bugfix: Avoid Settings fallback to its default value after submit an empty value for a setting - Bugfix: Enable multiple WP_Post objects for the_post hook git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/1.5.6@1005624 b8457f37-d9ea-0310-8a92-e5e31aec5664
44 lines
No EOL
1.6 KiB
PHP
Executable file
44 lines
No EOL
1.6 KiB
PHP
Executable file
<?php
|
|
/*
|
|
Plugin Name: footnotes
|
|
Plugin URI: http://wordpress.org/plugins/footnotes/
|
|
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
|
Author: ManFisher Medien ManuFaktur
|
|
Version: 1.5.6
|
|
Author URI: http://manfisher.net/plugins/footnotes/
|
|
Text Domain: footnotes
|
|
Domain Path: /languages
|
|
*/
|
|
/*
|
|
Copyright 2014 Mark Cheret, Stefan Herndler (email : info@manfisher.eu | support@herndler.org)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License, version 3, as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/**
|
|
* @filesource
|
|
* @author Stefan Herndler
|
|
* @since 0.0.1
|
|
*/
|
|
|
|
// Get all common classes and functions
|
|
require_once(dirname(__FILE__) . "/includes.php");
|
|
|
|
// add Plugin Links to the "installed plugins" page
|
|
$l_str_plugin_file = 'footnotes/index.php';
|
|
add_filter("plugin_action_links_{$l_str_plugin_file}", array("MCI_Footnotes_Hooks", "PluginLinks"), 10, 2);
|
|
|
|
// initialize the Plugin
|
|
$g_obj_MCI_Footnotes = new MCI_Footnotes();
|
|
// run the Plugin
|
|
$g_obj_MCI_Footnotes->run(); |