660d32edc3
* Updated replacing function when footnote is a link (bugfix) * Footnote hover box remains until cursor leaves footnote or hover box * Links in the footnote hover box are click able * New setting to allow footnotes on Summarized Posts * New setting to tell the world you're using footnotes plugin * New setting for the counter style of the footnote index ** Arabic Numbers (1, 2, 3, 4, 5, ...) ** Arabic Numbers leading 0 (01, 02, 03, 04, 05, ...) ** Latin Characters lower-case (a, b, c, d, e, ...) ** Latin Characters upper-case (A, B, C, D, E, ...) ** Roman Numerals (I, II, III, IV, V, ...) * Adding a link to the WordPress plugin in the footer if the WP-admin accepts it * Updated translations for the new settings * re-changed the version number to have 3 digits git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@917816 b8457f37-d9ea-0310-8a92-e5e31aec5664
38 lines
No EOL
2.3 KiB
PHP
38 lines
No EOL
2.3 KiB
PHP
<?php
|
|
/**
|
|
* Created by Stefan Herndler.
|
|
* User: Stefan
|
|
* Date: 15.05.14
|
|
* Time: 16:21
|
|
* Version: 1.0-beta
|
|
* Since: 1.0
|
|
*/
|
|
|
|
/* GENERAL PLUGIN CONSTANTS */
|
|
define( "FOOTNOTES_PLUGIN_NAME", "footnotes" ); /* plugin's internal name */
|
|
define( "FOOTNOTE_SETTINGS_CONTAINER", "footnotes_storage" ); /* database container where all footnote settings are stored */
|
|
|
|
/* PLUGIN SETTINGS PAGE */
|
|
define( "FOOTNOTES_SETTINGS_PAGE_ID", "footnotes" ); /* plugin's setting page internal id */
|
|
|
|
/* PLUGIN SETTINGS PAGE TABS */
|
|
define( "FOOTNOTE_SETTINGS_LABEL_GENERAL", "footnotes_general_settings" ); /* internal label for the plugin's settings tab */
|
|
define( "FOOTNOTE_SETTINGS_LABEL_HOWTO", "footnotes_howto" ); /* internal label for the plugin's settings tab */
|
|
|
|
/* PLUGIN SETTINGS INPUT FIELDS */
|
|
define( "FOOTNOTE_INPUTFIELD_COMBINE_IDENTICAL", "footnote_inputfield_combine_identical" ); /* id of input field for the combine identical setting */
|
|
define( "FOOTNOTE_INPUTFIELD_REFERENCES_LABEL", "footnote_inputfield_references_label" ); /* id of input field for the references label setting */
|
|
define( "FOOTNOTE_INPUTFIELD_COLLAPSE_REFERENCES", "footnote_inputfield_collapse_references" ); /* id of input field for the "collapse references" setting */
|
|
define( "FOOTNOTE_INPUTFIELD_PLACEHOLDER_START", "footnote_inputfield_placeholder_start"); /* id of input field for the "placeholder starting tag" setting */
|
|
define( "FOOTNOTE_INPUTFIELD_PLACEHOLDER_END", "footnote_inputfield_placeholder_end"); /* id of input field for the "placeholder ending tag" setting */
|
|
define( "FOOTNOTE_INPUTFIELD_SEARCH_IN_EXCERPT", "footnote_inputfield_search_in_excerpt"); /* id of input field for the "allow footnotes in the excerpt" setting */
|
|
define( "FOOTNOTE_INPUTFIELD_LOVE", "footnote_inputfield_love"); /* id of input field for "love and share this plugin" setting */
|
|
define( "FOOTNOTE_INPUTFIELD_COUNTER_STYLE", "footnote_inputfield_counter_style"); /* id of input field for "counter style of footnote index" setting */
|
|
|
|
/* PLUGIN REFERENCES CONTAINER ID */
|
|
define( "FOOTNOTE_REFERENCES_CONTAINER_ID", "footnote_references_container" ); /* id for the div surrounding the footnotes */
|
|
|
|
/* PLUGIN DIRECTORIES */
|
|
define( "FOOTNOTES_PLUGIN_DIR_NAME", "footnotes" );
|
|
define( "FOOTNOTES_LANGUAGE_DIR", dirname( __FILE__ ) . "/../languages/" );
|
|
define( "FOOTNOTES_TEMPLATES_DIR", dirname( __FILE__ ) . "/../templates/" ); |