2021-02-23 16:44:18 +00:00
|
|
|
|
<?php // phpcs:disable WordPress.Files.FileName.InvalidClassFileName
|
2021-02-23 16:00:59 +00:00
|
|
|
|
/**
|
|
|
|
|
* Includes the Plugin Constants class to load all Plugin constant vars like Plugin name, etc.
|
|
|
|
|
*
|
|
|
|
|
* @filesource
|
2021-02-23 16:44:18 +00:00
|
|
|
|
* @package footnotes
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* @since 1.5.0 12.09.14 10:56
|
2021-02-23 16:44:18 +00:00
|
|
|
|
*
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* Edited for:
|
|
|
|
|
* 2.0.4 add Public Plugin name for dashboard heading 2020-11-01T0452+0100
|
2021-02-23 16:44:18 +00:00
|
|
|
|
*
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* Last modified: 2021-02-18T2027+0100
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Contains all Plugin Constants. Contains no Method or Property.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.5.0
|
|
|
|
|
*/
|
|
|
|
|
class MCI_Footnotes_Config {
|
|
|
|
|
/**
|
|
|
|
|
* Internal Plugin name.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.5.0
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2021-02-23 16:44:18 +00:00
|
|
|
|
const C_STR_PLUGIN_NAME = 'footnotes';
|
2021-02-23 16:00:59 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Public Plugin name.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.5.0
|
|
|
|
|
* @var string
|
2021-02-23 16:44:18 +00:00
|
|
|
|
*
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* edited classes for v2.0.4
|
|
|
|
|
*/
|
|
|
|
|
const C_STR_PLUGIN_PUBLIC_NAME = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Public Plugin name for dashboard heading
|
2021-02-23 16:44:18 +00:00
|
|
|
|
*
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* After properly displaying in dashboard headings until WPv5.4, the above started
|
2021-02-23 16:44:18 +00:00
|
|
|
|
* in WPv5.5 being torn apart as if the headline was text-align:justify and not
|
2021-02-23 16:00:59 +00:00
|
|
|
|
* the last line. That ugly display bug badly affected the plugin’s communication.
|
|
|
|
|
* The only working solution found so far is using position:fixed in one heading
|
|
|
|
|
* that isn’t translated, and dropping the logo in another, translatable heading.
|
|
|
|
|
*
|
|
|
|
|
* @since 2.0.4
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
const C_STR_PLUGIN_HEADING_NAME = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Html tag for the LOVE symbol.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.5.0
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</span>';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* HTML code for the 'love' symbol used in dashboard heading
|
|
|
|
|
*
|
|
|
|
|
* @since 2.0.4
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
const C_STR_LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">♥</span>';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Short code to DON'T display the 'LOVE ME' slug on certain pages.
|
|
|
|
|
*
|
|
|
|
|
* @since 1.5.0
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]';
|
|
|
|
|
}
|