commit deleting unwanted trunk/trunk/

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2412199 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-11-04 06:03:09 +00:00
parent 969b4c0946
commit 8eeb6b7c35
61 changed files with 0 additions and 9825 deletions

View file

@ -1,80 +0,0 @@
<?php
/**
* Includes the Plugin Constants class to load all Plugin constant vars like Plugin name, etc.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*
* Last edited for v2.0.4 2020-11-01T0452+0100
*/
/**
* Contains all Plugin Constants. Contains no Method or Property.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Config {
/**
* Internal Plugin name.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_PLUGIN_NAME = "footnotes";
/**
* Public Plugin name.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*
* 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
*
* After properly displaying in dashboard headings until WPv5.4, the above started
* in WPv5.5 being torn apart as if the headline was text-align:justify and not
* the last line. That ugly display bug badly affected the plugins communication.
* The only working solution found so far is using position:fixed in one heading
* that isnt 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.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</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">&hearts;</span>';
/**
* Short code to DON'T display the 'LOVE ME' slug on certain pages.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]';
}

View file

@ -1,213 +0,0 @@
<?php
/**
* Includes the Convert Class.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*/
/**
* Converts data types and Footnotes specific values.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Convert {
/**
* Converts a integer into the user-defined counter style for the footnotes.
*
* @author Stefan Herndler
* @since 1.5.0
* @param int $p_int_Index Index to be converted.
* @param string $p_str_ConvertStyle Style of the new/converted Index.
* @return string Converted Index as string in the defined counter style.
*/
public static function Index($p_int_Index, $p_str_ConvertStyle = "arabic_plain") {
switch ($p_str_ConvertStyle) {
case "romanic":
return self::toRomanic($p_int_Index);
case "latin_high":
return self::toLatin($p_int_Index, true);
case "latin_low":
return self::toLatin($p_int_Index, false);
case "arabic_leading":
return self::toArabicLeading($p_int_Index);
case "arabic_plain":
default:
return $p_int_Index;
}
}
/**
* Converts an integer into latin ascii characters, either lower or upper-case.
* Function available from A to ZZ ( means 676 footnotes at 1 page possible).
*
* @author Stefan Herndler
* @since 1.0-gamma
* @param int $p_int_Value Value/Index to be converted.
* @param bool $p_bool_UpperCase True to convert the value to upper case letter, otherwise to lower case.
* @return string
*/
private static function toLatin($p_int_Value, $p_bool_UpperCase) {
// output string
$l_str_Return = "";
$l_int_Offset = 0;
// check if the value is higher then 26 = Z
while ($p_int_Value > 26) {
// increase offset and reduce counter
$l_int_Offset++;
$p_int_Value -= 26;
}
// if offset set (more then Z), then add a new letter in front
if ($l_int_Offset > 0) {
$l_str_Return = chr($l_int_Offset + 64);
}
// add the origin letter
$l_str_Return .= chr($p_int_Value + 64);
// return the latin character representing the integer
if ($p_bool_UpperCase) {
return strtoupper($l_str_Return);
}
return strtolower($l_str_Return);
}
/**
* Converts an integer to a leading-0 integer.
*
* @author Stefan Herndler
* @since 1.0-gamma
* @param int $p_int_Value Value/Index to be converted.
* @return string Value with a leading zero.
*/
private static function toArabicLeading($p_int_Value) {
// add a leading 0 if number lower then 10
if ($p_int_Value < 10) {
return "0" . $p_int_Value;
}
return $p_int_Value;
}
/**
* Converts an integer to a romanic letter.
*
* @author Stefan Herndler
* @since 1.0-gamma
* @param int $p_int_Value Value/Index to be converted.
* @return string
*/
private static function toRomanic($p_int_Value) {
// table containing all necessary romanic letters
$l_arr_RomanicLetters = array(
'M' => 1000,
'CM' => 900,
'D' => 500,
'CD' => 400,
'C' => 100,
'XC' => 90,
'L' => 50,
'XL' => 40,
'X' => 10,
'IX' => 9,
'V' => 5,
'IV' => 4,
'I' => 1
);
// return value
$l_str_Return = '';
// iterate through integer value until it is reduced to 0
while ($p_int_Value > 0) {
foreach ($l_arr_RomanicLetters as $l_str_Romanic => $l_int_Arabic) {
if ($p_int_Value >= $l_int_Arabic) {
$p_int_Value -= $l_int_Arabic;
$l_str_Return .= $l_str_Romanic;
break;
}
}
}
// return romanic letters as string
return $l_str_Return;
}
/**
* Converts a string depending on its value to a boolean.
*
* @author Stefan Herndler
* @since 1.0-beta
* @param string $p_str_Value String to be converted to boolean.
* @return bool Boolean representing the string.
*/
public static function toBool($p_str_Value) {
// convert string to lower-case to make it easier
$p_str_Value = strtolower($p_str_Value);
// check if string seems to contain a "true" value
switch ($p_str_Value) {
case "checked":
case "yes":
case "true":
case "on":
case "1":
return true;
}
// nothing found that says "true", so we return false
return false;
}
/**
* Get a html Array short code depending on Arrow-Array key index.
*
* @author Stefan Herndler
* @since 1.3.2
* @param int $p_int_Index Index representing the Arrow. If empty all Arrows are specified.
* @return array|string Array of all Arrows if Index is empty otherwise html tag of a specific arrow.
*/
public static function getArrow($p_int_Index = -1) {
// define all possible arrows
$l_arr_Arrows = array("&#8593;", "&#8613;", "&#8607;", "&#8617;", "&#8626;", "&#8629;", "&#8657;", "&#8673;", "&#8679;", "&#65514;");
// convert index to an integer
if (!is_int($p_int_Index)) {
$p_int_Index = intval($p_int_Index);
}
// return the whole arrow array
if ($p_int_Index < 0 || $p_int_Index > count($l_arr_Arrows)) {
return $l_arr_Arrows;
}
// return a single arrow
return $l_arr_Arrows[$p_int_Index];
}
/**
* Displays a Variable.
*
* @author Stefan Herndler
* @since 1.5.0
* @param mixed $p_mixed_Value
*/
public static function debug($p_mixed_Value) {
if (empty($p_mixed_Value)) {
var_dump($p_mixed_Value);
} else if (is_array($p_mixed_Value)) {
printf("<pre>");
print_r($p_mixed_Value);
printf("</pre>");
} else if (is_object($p_mixed_Value)) {
printf("<pre>");
print_r($p_mixed_Value);
printf("</pre>");
} else if (is_numeric($p_mixed_Value) || is_int($p_mixed_Value)) {
var_dump($p_mixed_Value);
} else if (is_date($p_mixed_Value)) {
var_dump($p_mixed_Value);
} else {
var_dump($p_mixed_Value);
}
echo "<br/>";
}
}

View file

@ -1,212 +0,0 @@
<?php
/**
* Includes the Plugin settings menu.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:26
*/
/**
* Handles the Settings interface of the Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Layout_Init {
/**
* Slug for the Plugin main menu.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_MAIN_MENU_SLUG = "mfmmf";
/**
* Plugin main menu name.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_MAIN_MENU_TITLE = "ManFisher";
/**
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
private $a_arr_SubPageClasses = array();
/**
* Class Constructor. Initializes all WordPress hooks for the Plugin Settings.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function __construct() {
// iterate through each class define in the current script
foreach(get_declared_classes() as $l_str_ClassName) {
// accept only child classes of the layout engine
if(is_subclass_of($l_str_ClassName, 'MCI_Footnotes_LayoutEngine')) {
/** @var MCI_Footnotes_LayoutEngine $l_obj_Class */
$l_obj_Class = new $l_str_ClassName();
// append new instance of the layout engine sub class
$this->a_arr_SubPageClasses[$l_obj_Class->getPriority()] = $l_obj_Class;
}
}
ksort($this->a_arr_SubPageClasses);
// register hooks/actions
add_action('admin_init', array($this, 'initializeSettings'));
add_action('admin_menu', array($this, 'registerMainMenu'));
// register AJAX callbacks for Plugin information
add_action("wp_ajax_nopriv_footnotes_getPluginInfo", array($this, "getPluginMetaInformation"));
add_action("wp_ajax_footnotes_getPluginInfo", array($this, "getPluginMetaInformation"));
}
/**
* Initializes all sub pages and registers the settings.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function initializeSettings() {
MCI_Footnotes_Settings::instance()->RegisterSettings();
// iterate though each sub class of the layout engine and register their sections
/** @var MCI_Footnotes_LayoutEngine $l_obj_LayoutEngineSubClass */
foreach($this->a_arr_SubPageClasses as $l_obj_LayoutEngineSubClass) {
$l_obj_LayoutEngineSubClass->registerSections();
}
}
/**
* Registers the new main menu for the WordPress dashboard.
* Registers all sub menu pages for the new main menu.
*
* @author Stefan Herndler
* @since 2.0.2
* @see http://codex.wordpress.org/Function_Reference/add_menu_page
*/
public function registerMainMenu() {
global $menu;
// iterate through each main menu
foreach($menu as $l_arr_MainMenu) {
// iterate through each main menu attribute
foreach($l_arr_MainMenu as $l_str_Attribute) {
// main menu already added, append sub pages and stop
if ($l_str_Attribute == self::C_STR_MAIN_MENU_SLUG) {
$this->registerSubPages();
return;
}
}
}
// add a new main menu page to the WordPress dashboard
add_menu_page(
self::C_STR_MAIN_MENU_TITLE, // page title
self::C_STR_MAIN_MENU_TITLE, // menu title
'manage_options', // capability
self::C_STR_MAIN_MENU_SLUG, // menu slug
array($this, "displayOtherPlugins"), // function
plugins_url('footnotes/img/main-menu.png'), // icon url
null // position
);
$this->registerSubPages();
}
/**
* Registers all SubPages for this Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function registerSubPages() {
// first registered sub menu page MUST NOT contain a unique slug suffix
// iterate though each sub class of the layout engine and register their sub page
/** @var MCI_Footnotes_LayoutEngine $l_obj_LayoutEngineSubClass */
foreach($this->a_arr_SubPageClasses as $l_obj_LayoutEngineSubClass) {
$l_obj_LayoutEngineSubClass->registerSubPage();
}
}
/**
* Displays other Plugins from the developers.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function displayOtherPlugins() {
printf("<br/><br/>");
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "manfisher");
echo $l_obj_Template->getContent();
printf('<em>visit <a href="https://cheret.de/plugins/footnotes-2/" target="_blank">Mark Cheret</a></em>');
printf("<br/><br/>");
printf('</div>');
}
/**
* AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function getPluginMetaInformation() {
// get plugin internal name from POST data
$l_str_PluginName = array_key_exists("plugin", $_POST) ? $_POST["plugin"] : null;
if (empty($l_str_PluginName)) {
echo json_encode(array("error" => "Plugin name invalid."));
exit;
}
$l_str_Url = "https://api.wordpress.org/plugins/info/1.0/".$l_str_PluginName.".json";
// call URL and collect data
$l_arr_Response = wp_remote_get($l_str_Url);
// check if response is valid
if (is_wp_error($l_arr_Response)) {
echo json_encode(array("error" => "Error receiving Plugin Information from WordPress."));
exit;
}
if (!array_key_exists("body", $l_arr_Response)) {
echo json_encode(array("error" => "Error reading WordPress API response message."));
exit;
}
// get the body of the response
$l_str_Response = $l_arr_Response["body"];
// get plugin object
$l_arr_Plugin = json_decode($l_str_Response, true);
if (empty($l_arr_Plugin)) {
echo json_encode(array("error" => "Error reading Plugin meta information.<br/>URL: " . $l_str_Url . "<br/>Response: " . $l_str_Response));
exit;
}
$l_int_NumRatings = array_key_exists("num_ratings", $l_arr_Plugin) ? intval($l_arr_Plugin["num_ratings"]) : 0;
$l_int_Rating = array_key_exists("rating", $l_arr_Plugin) ? floatval($l_arr_Plugin["rating"]) : 0.0;
$l_int_Stars = round(5 * $l_int_Rating / 100.0, 1);
// return Plugin information as JSON encoded string
echo json_encode(
array(
"error" => "",
"PluginDescription" => array_key_exists("short_description", $l_arr_Plugin) ? html_entity_decode($l_arr_Plugin["short_description"]) : "Error reading Plugin information",
"PluginAuthor" => array_key_exists("author", $l_arr_Plugin) ? html_entity_decode($l_arr_Plugin["author"]) : "unknown",
"PluginRatingText" => $l_int_Stars . " " . __("rating based on", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . " " . $l_int_NumRatings . " " . __("ratings", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"PluginRating1" => $l_int_Stars >= 0.5 ? "star-full" : "star-empty",
"PluginRating2" => $l_int_Stars >= 1.5 ? "star-full" : "star-empty",
"PluginRating3" => $l_int_Stars >= 2.5 ? "star-full" : "star-empty",
"PluginRating4" => $l_int_Stars >= 3.5 ? "star-full" : "star-empty",
"PluginRating5" => $l_int_Stars >= 4.5 ? "star-full" : "star-empty",
"PluginRating" => $l_int_NumRatings,
"PluginLastUpdated" => array_key_exists("last_updated", $l_arr_Plugin) ? $l_arr_Plugin["last_updated"] : "unknown",
"PluginDownloads" => array_key_exists("downloaded", $l_arr_Plugin) ? $l_arr_Plugin["downloaded"] : "---"
)
);
exit;
}
}

View file

@ -1,487 +0,0 @@
<?php
/**
* Includes Layout Engine for the admin dashboard.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*/
/**
* Layout Engine for the administration dashboard.
*
* @author Stefan Herndler
* @since 1.5.0
*/
abstract class MCI_Footnotes_LayoutEngine {
/**
* Stores the Hook connection string for the child sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @var null|string
*/
protected $a_str_SubPageHook = null;
/**
* Stores all Sections for the child sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
protected $a_arr_Sections = array();
/**
* Returns a Priority index. Lower numbers have a higher Priority.
*
* @author Stefan Herndler
* @since 1.5.0
* @return int
*/
abstract public function getPriority();
/**
* Returns the unique slug of the child sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
abstract protected function getSubPageSlug();
/**
* Returns the title of the child sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
abstract protected function getSubPageTitle();
/**
* Returns an array of all registered sections for a sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*/
abstract protected function getSections();
/**
* Returns an array of all registered meta boxes.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*/
abstract protected function getMetaBoxes();
/**
* Returns an array describing a sub page section.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_ID Unique ID suffix.
* @param string $p_str_Title Title of the section.
* @param int $p_int_SettingsContainerIndex Settings Container Index.
* @param bool $p_bool_hasSubmitButton Should a Submit Button be displayed for this section, default: true.
* @return array Array describing the section.
*/
protected function addSection($p_str_ID, $p_str_Title, $p_int_SettingsContainerIndex, $p_bool_hasSubmitButton = true) {
return array("id" => MCI_Footnotes_Config::C_STR_PLUGIN_NAME . "-" . $p_str_ID, "title" => $p_str_Title, "submit" => $p_bool_hasSubmitButton, "container" => $p_int_SettingsContainerIndex);
}
/**
* Returns an array describing a meta box.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SectionID Parent Section ID.
* @param string $p_str_ID Unique ID suffix.
* @param string $p_str_Title Title for the meta box.
* @param string $p_str_CallbackFunctionName Class method name for callback.
* @return array meta box description to be able to append a meta box to the output.
*/
protected function addMetaBox($p_str_SectionID, $p_str_ID, $p_str_Title, $p_str_CallbackFunctionName) {
return array("parent" => MCI_Footnotes_Config::C_STR_PLUGIN_NAME . "-" . $p_str_SectionID, "id" => $p_str_ID, "title" => $p_str_Title, "callback" => $p_str_CallbackFunctionName);
}
/**
* Registers a sub page.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function registerSubPage() {
global $submenu;
// any sub menu for our main menu exists
if (array_key_exists(plugin_basename(MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG), $submenu)) {
// iterate through all sub menu entries of the ManFisher main menu
foreach($submenu[plugin_basename(MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG)] as $l_arr_SubMenu) {
if ($l_arr_SubMenu[2] == plugin_basename(MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG . $this->getSubPageSlug())) {
// remove that sub menu and add it again to move it to the bottom
remove_submenu_page(MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG, MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG .$this->getSubPageSlug());
}
}
}
$this->a_str_SubPageHook = add_submenu_page(
MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG, // parent slug
$this->getSubPageTitle(), // page title
$this->getSubPageTitle(), // menu title
'manage_options', // capability
MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG . $this->getSubPageSlug(), // menu slug
array($this, 'displayContent') // function
);
}
/**
* Registers all sections for a sub page.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function registerSections() {
// iterate through each section
foreach($this->getSections() as $l_arr_Section) {
// append tab to the tab-array
$this->a_arr_Sections[$l_arr_Section["id"]] = $l_arr_Section;
add_settings_section(
$l_arr_Section["id"], // unique id
"", //$l_arr_Section["title"], // title
array($this, 'Description'), // callback function for the description
$l_arr_Section["id"] // parent sub page slug
);
$this->registerMetaBoxes($l_arr_Section["id"]);
}
}
/**
* Registers all Meta boxes for a sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_ParentID Parent section unique id.
*/
private function registerMetaBoxes($p_str_ParentID) {
// iterate through each meta box
foreach($this->getMetaBoxes() as $l_arr_MetaBox) {
if ($l_arr_MetaBox["parent"] != $p_str_ParentID) {
continue;
}
add_meta_box(
$p_str_ParentID. "-" . $l_arr_MetaBox["id"], // unique id
$l_arr_MetaBox["title"], // meta box title
array($this, $l_arr_MetaBox["callback"]), // callback function to display (echo) the content
$p_str_ParentID, // post type = parent section id
'main' // context
);
}
}
/**
* Append javascript and css files for specific sub page.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function appendScripts() {
// enable meta boxes layout and close functionality
wp_enqueue_script('postbox');
// add WordPress color picker layout
wp_enqueue_style('wp-color-picker');
// add WordPress color picker function
wp_enqueue_script('wp-color-picker');
// register stylesheet
wp_register_style('mci-footnotes-admin-styles', plugins_url('../../css/settings.css', __FILE__));
// add stylesheet to the output
wp_enqueue_style('mci-footnotes-admin-styles');
}
/**
* Displays the content of specific sub page.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function displayContent() {
// register and enqueue scripts and styling
$this->appendScripts();
// get current section
reset($this->a_arr_Sections);
$l_str_ActiveSectionID = isset($_GET['t']) ? $_GET['t'] : key($this->a_arr_Sections);
$l_arr_ActiveSection = $this->a_arr_Sections[$l_str_ActiveSectionID];
// store settings
$l_bool_SettingsUpdated = false;
if (array_key_exists("save-settings", $_POST)) {
if ($_POST["save-settings"] == "save") {
unset($_POST["save-settings"]);
unset($_POST["submit"]);
$l_bool_SettingsUpdated = $this->saveSettings();
}
}
// display all sections and highlight the active section
echo '<div class="wrap">';
echo '<h2 class="nav-tab-wrapper">';
// iterate through all register sections
foreach ($this->a_arr_Sections as $l_str_ID => $l_arr_Description) {
echo sprintf(
'<a class="nav-tab%s" href="?page=%s&t=%s">%s</a>',
$l_arr_ActiveSection["id"] == $l_str_ID ? ' nav-tab-active' : '',
MCI_Footnotes_Layout_Init::C_STR_MAIN_MENU_SLUG . $this->getSubPageSlug(), $l_str_ID, $l_arr_Description["title"]
);
}
echo '</h2><br/>';
if ($l_bool_SettingsUpdated) {
echo sprintf('<div id="message" class="updated">%s</div>', __("Settings saved", MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
}
// form to submit the active section
echo '<!--suppress HtmlUnknownTarget --><form method="post" action="">';
//settings_fields($l_arr_ActiveSection["container"]);
echo '<input type="hidden" name="save-settings" value="save" />';
// outputs the settings field of the active section
do_settings_sections($l_arr_ActiveSection["id"]);
do_meta_boxes($l_arr_ActiveSection["id"], 'main', NULL);
// add submit button to active section if defined
if ($l_arr_ActiveSection["submit"]) {
submit_button();
}
// close the form to submit data
echo '</form>';
// close container for the settings page
echo '</div>';
// output special javascript for the expand/collapse function of the meta boxes
echo '<script type="text/javascript">';
echo "jQuery(document).ready(function ($) {";
echo 'jQuery(".mfmmf-color-picker").wpColorPicker();';
echo "jQuery('.if-js-closed').removeClass('if-js-closed').addClass('closed');";
echo "postboxes.add_postbox_toggles('" . $this->a_str_SubPageHook . "');";
echo "});";
echo '</script>';
}
/**
* Save all Plugin settings.
*
* @author Stefan Herndler
* @since 1.5.0
* @return bool
*/
private function saveSettings() {
$l_arr_newSettings = array();
// get current section
reset($this->a_arr_Sections);
$l_str_ActiveSectionID = isset($_GET['t']) ? $_GET['t'] : key($this->a_arr_Sections);
$l_arr_ActiveSection = $this->a_arr_Sections[$l_str_ActiveSectionID];
// iterate through each value that has to be in the specific contaienr
foreach(MCI_Footnotes_Settings::instance()->getDefaults($l_arr_ActiveSection["container"]) as $l_str_Key => $l_mixed_Value) {
// setting is available in the POST array, use it
if (array_key_exists($l_str_Key, $_POST)) {
$l_arr_newSettings[$l_str_Key] = $_POST[$l_str_Key];
} else {
// setting is not defined in the POST array, define it to avoid the Default value
$l_arr_newSettings[$l_str_Key] = "";
}
}
// update settings
return MCI_Footnotes_Settings::instance()->saveOptions($l_arr_ActiveSection["container"], $l_arr_newSettings);
}
/**
* Output the Description of a section. May be overwritten in any section.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Description() {
// default no description will be displayed
}
/**
* Loads specific setting and returns an array with the keys [id, name, value].
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingKeyName Settings Array key name.
* @return array Contains Settings ID, Settings Name and Settings Value.
*/
protected function LoadSetting($p_str_SettingKeyName) {
// get current section
reset($this->a_arr_Sections);
$p_arr_Return = array();
$p_arr_Return["id"] = sprintf('%s', $p_str_SettingKeyName);
$p_arr_Return["name"] = sprintf('%s', $p_str_SettingKeyName);
$p_arr_Return["value"] = esc_attr(MCI_Footnotes_Settings::instance()->get($p_str_SettingKeyName));
return $p_arr_Return;
}
/**
* Returns a line break to start a new line.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function addNewline() {
return '<br/>';
}
/**
* Returns a line break to have a space between two lines.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function addLineSpace() {
return '<br/><br/>';
}
/**
* Returns a simple text inside html <span> text.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Text Message to be surrounded with simple html tag (span).
* @return string
*/
protected function addText($p_str_Text) {
return sprintf('<span>%s</span>', $p_str_Text);
}
/**
* Returns the html tag for an input/select label.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to connect the Label with the input/select field.
* @param string $p_str_Caption Label caption.
* @return string
*/
protected function addLabel($p_str_SettingName, $p_str_Caption) {
if (empty($p_str_Caption)) {
return "";
}
return sprintf('<label for="%s">%s:</label>', $p_str_SettingName, $p_str_Caption);
}
/**
* Returns the html tag for an input [type = text].
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to pre load the input field.
* @param int $p_str_MaxLength Maximum length of the input, default 999 characters.
* @param bool $p_bool_Readonly Set the input to be read only, default false.
* @param bool $p_bool_Hidden Set the input to be hidden, default false.
* @return string
*/
protected function addTextBox($p_str_SettingName, $p_str_MaxLength = 999, $p_bool_Readonly = false, $p_bool_Hidden = false) {
$l_str_Style = "";
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
if ($p_bool_Hidden) {
$l_str_Style .= 'display:none;';
}
return sprintf('<input type="text" name="%s" id="%s" maxlength="%d" style="%s" value="%s" %s/>',
$l_arr_Data["name"], $l_arr_Data["id"], $p_str_MaxLength,
$l_str_Style, $l_arr_Data["value"], $p_bool_Readonly ? 'readonly="readonly"' : '');
}
/**
* Returns the html tag for an input [type = checkbox].
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to pre load the input field.
* @return string
*/
protected function addCheckbox($p_str_SettingName) {
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
return sprintf('<input type="checkbox" name="%s" id="%s" %s/>',
$l_arr_Data["name"], $l_arr_Data["id"],
MCI_Footnotes_Convert::toBool($l_arr_Data["value"]) ? 'checked="checked"' : '');
}
/**
* Returns the html tag for a select box.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to pre select the current value.
* @param array $p_arr_Options Possible options to be selected.
* @return string
*/
protected function addSelectBox($p_str_SettingName, $p_arr_Options) {
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
$l_str_Options = "";
/* loop through all array keys */
foreach ($p_arr_Options as $l_str_Value => $l_str_Caption) {
$l_str_Options .= sprintf('<option value="%s" %s>%s</option>',
$l_str_Value,
$l_arr_Data["value"] == $l_str_Value ? "selected" : "",
$l_str_Caption);
}
return sprintf('<select name="%s" id="%s">%s</select>',
$l_arr_Data["name"], $l_arr_Data["id"], $l_str_Options);
}
/**
* Returns the html tag for a text area.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to pre fill the text area.
* @return string
*/
protected function addTextArea($p_str_SettingName) {
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
return sprintf('<textarea name="%s" id="%s">%s</textarea>',
$l_arr_Data["name"], $l_arr_Data["id"], $l_arr_Data["value"]);
}
/**
* Returns the html tag for an input [type = text] with color selection class.
*
* @author Stefan Herndler
* @since 1.5.6
* @param string $p_str_SettingName Name of the Settings key to pre load the input field.
* @return string
*/
protected function addColorSelection($p_str_SettingName) {
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
return sprintf('<input type="text" name="%s" id="%s" class="mfmmf-color-picker" value="%s"/>',
$l_arr_Data["name"], $l_arr_Data["id"], $l_arr_Data["value"]);
}
/**
* Returns the html tag for an input [type = num].
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_SettingName Name of the Settings key to pre load the input field.
* @param int $p_in_Min Minimum value.
* @param int $p_int_Max Maximum value.
* @return string
*/
protected function addNumBox($p_str_SettingName, $p_in_Min, $p_int_Max) {
// collect data for given settings field
$l_arr_Data = $this->LoadSetting($p_str_SettingName);
return sprintf('<input type="number" name="%s" id="%s" value="%d" min="%d" max="%d"/>',
$l_arr_Data["name"], $l_arr_Data["id"], $l_arr_Data["value"], $p_in_Min, $p_int_Max);
}
} // end of class

View file

@ -1,140 +0,0 @@
<?php
/**
* Includes the Plugin Class to display Diagnostics.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 14:47
*/
/**
* Displays Diagnostics of the web server, PHP and WordPress.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Layout_Diagnostics extends MCI_Footnotes_LayoutEngine {
/**
* Returns a Priority index. Lower numbers have a higher Priority.
*
* @author Stefan Herndler
* @since 1.5.0
* @return int
*/
public function getPriority() {
return 999;
}
/**
* Returns the unique slug of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getSubPageSlug() {
return "-diagnostics";
}
/**
* Returns the title of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getSubPageTitle() {
return __("Diagnostics", MCI_Footnotes_Config::C_STR_PLUGIN_NAME);
}
/**
* Returns an array of all registered sections for the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*/
protected function getSections() {
return array(
$this->addSection("diagnostics", __("Diagnostics", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), null, false)
);
}
/**
* Returns an array of all registered meta boxes for each section of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*/
protected function getMetaBoxes() {
return array(
$this->addMetaBox("diagnostics", "diagnostics", __("Displays information about the web server, PHP and WordPress", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Diagnostics")
);
}
/**
* Displays a diagnostics about the web server, php and WordPress.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Diagnostics() {
global $wp_version;
$l_str_PhpExtensions = "";
// iterate through each PHP extension
foreach (get_loaded_extensions() as $l_int_Index => $l_str_Extension) {
if ($l_int_Index > 0) {
$l_str_PhpExtensions .= ' | ';
}
$l_str_PhpExtensions .= $l_str_Extension . ' ' . phpversion($l_str_Extension);
}
/** @var WP_Theme $l_obj_CurrentTheme */
$l_obj_CurrentTheme = wp_get_theme();
$l_str_WordPressPlugins = "";
// iterate through each installed WordPress Plugin
foreach (get_plugins() as $l_arr_Plugin) {
$l_str_WordPressPlugins .= '<tr>';
$l_str_WordPressPlugins .= '<td>' . $l_arr_Plugin["Name"] . '</td>';
$l_str_WordPressPlugins .= '<td>' . $l_arr_Plugin["Version"] . ' [' . $l_arr_Plugin["PluginURI"] . ']' . '</td>';
$l_str_WordPressPlugins .= '</tr>';
}
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "diagnostics");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-server" => __("Server name", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"server" => $_SERVER["SERVER_NAME"],
"label-php" => __("PHP version", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"php" => phpversion(),
"label-user-agent" => __("User agent", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"user-agent" => $_SERVER["HTTP_USER_AGENT"],
"label-max-execution-time" => __("Max execution time", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"max-execution-time" => ini_get('max_execution_time') . ' ' . __('seconds', MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-memory-limit" => __("Memory limit", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"memory-limit" => ini_get('memory_limit'),
"label-php-extensions" => __("PHP extensions", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"php-extensions" => $l_str_PhpExtensions,
"label-wordpress" => __("WordPress version", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"wordpress" => $wp_version,
"label-theme" => __("Active Theme", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"theme" => $l_obj_CurrentTheme->get("Name") . " " . $l_obj_CurrentTheme->get("Version") . ", " . $l_obj_CurrentTheme->get("Author"). " [" . $l_obj_CurrentTheme->get("AuthorURI") . "]",
"plugins" => $l_str_WordPressPlugins
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
}

View file

@ -1,545 +0,0 @@
<?php
/**
* Includes the Plugin Class to display all Settings.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 14:47
*
* Edited for v2.0.4 2020-11-01T0509+0100
*/
/**
* Displays and handles all Settings of the Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
/**
* Returns a Priority index. Lower numbers have a higher Priority.
*
* @author Stefan Herndler
* @since 1.5.0
* @return int
*/
public function getPriority() {
return 10;
}
/**
* Returns the unique slug of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getSubPageSlug() {
return "-" . MCI_Footnotes_Config::C_STR_PLUGIN_NAME;
}
/**
* Returns the title of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getSubPageTitle() {
return MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME;
}
/**
* Returns an array of all registered sections for the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*/
protected function getSections() {
$l_arr_Tabs = array();
$l_arr_Tabs[] = $this->addSection("settings", __("Settings", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 0, true);
$l_arr_Tabs[] = $this->addSection("customize", __("Customize", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 1, true);
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE))) {
$l_arr_Tabs[] = $this->addSection("expert", __("Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), 2, true);
}
$l_arr_Tabs[] = $this->addSection("how-to", __("How to", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), null, false);
return $l_arr_Tabs;
}
/**
* Returns an array of all registered meta boxes for each section of the sub page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return array
*
* Edited for v2.0.4 to reflect changes in display since WPv5.5
* Details in class/config.php
*/
protected function getMetaBoxes() {
return array(
// Change string "%s styling" to "Footnotes styling":
$this->addMetaBox("settings", "styling", __("Footnotes styling", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Styling"),
$this->addMetaBox("settings", "reference-container", __("References Container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "ReferenceContainer"),
// Leave intact since this is not localized:
$this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_HEADING_NAME . '&nbsp;' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL_HEADING, "Love"),
$this->addMetaBox("settings", "other", __("Other", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Other"),
// This is restored to meet user demand for arrow symbol semantics:
$this->addMetaBox("customize", "hyperlink-arrow", __("Hyperlink symbol in the Reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "HyperlinkArrow"),
$this->addMetaBox("customize", "superscript", __("Superscript layout", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Superscript"),
$this->addMetaBox("customize", "mouse-over-box", __("Mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "MouseOverBox"),
$this->addMetaBox("customize", "custom-css", __("Add custom CSS to the public page", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "CustomCSS"),
$this->addMetaBox("expert", "lookup", __("WordPress hooks to look for Footnote short codes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "lookupHooks"),
$this->addMetaBox("how-to", "help", __("Brief introduction in how to use the plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Help"),
$this->addMetaBox("how-to", "donate", __("Help us to improve our Plugin", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Donate")
);
}
/**
* Displays all settings for the reference container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function ReferenceContainer() {
// options for the positioning of the reference container
$l_arr_Positions = array(
"footer" => __("in the footer", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"post_end" => __("at the end of the post", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"widget" => __("in the widget area", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-reference-container");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-name" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME, __("References label", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"name" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME),
"label-collapse" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE, __("Collapse references by default", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"collapse" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE),
"label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, __("Where shall the reference container appear", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION, $l_arr_Positions)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings for the footnotes styling.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Styling() {
// define some space for the output
$l_str_Space = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
// options for the combination of identical footnotes
$l_arr_CombineIdentical = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// options for the start of the footnotes short code
$l_arr_ShortCodeStart = array(
"((" => "((",
htmlspecialchars("<fn>") => htmlspecialchars("<fn>"),
"[ref]" => "[ref]",
"userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// options for the end of the footnotes short code
$l_arr_ShortCodeEnd = array(
"))" => "))",
htmlspecialchars("</fn>") => htmlspecialchars("</fn>"),
"[/ref]" => "[/ref]",
"userdefined" => __('user defined', MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// options for the counter style of the footnotes
$l_arr_CounterStyle = array(
"arabic_plain" => __("Arabic Numbers - Plain", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "1, 2, 3, 4, 5, ...",
"arabic_leading" => __("Arabic Numbers - Leading 0", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "01, 02, 03, 04, 05, ...",
"latin_low" => __("Latin Character - lower case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "a, b, c, d, e, ...",
"latin_high" => __("Latin Character - upper case", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "A, B, C, D, E, ...",
"romanic" => __("Roman Numerals", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) . $l_str_Space . "I, II, III, IV, V, ..."
);
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-styling");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-identical" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, __("Combine identical footnotes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"identical" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES, $l_arr_CombineIdentical),
"label-short-code-start" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, __("Footnote tag starts with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"short-code-start" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START, $l_arr_ShortCodeStart),
"label-short-code-end" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, __("and ends with", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"short-code-end" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END, $l_arr_ShortCodeEnd),
"label-short-code-start-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED, ""),
"short-code-start-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED),
"label-short-code-end-user" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED, ""),
"short-code-end-user" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED),
"label-counter-style" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, __("Counter style", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"counter-style" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE, $l_arr_CounterStyle),
"short-code-start-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START,
"short-code-end-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END,
"short-code-start-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED,
"short-code-end-user-id" => MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED,
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings for 'I love Footnotes'.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Love() {
// options for the positioning of the reference container
$l_arr_Love = array(
"text-1" => sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"text-2" => sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"text-3" => sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME),
"random" => __('random text', MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => sprintf(__("Don't display a %s %s text in my footer.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME, MCI_Footnotes_Config::C_STR_LOVE_SYMBOL)
);
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-love");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-love" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, sprintf(__("Tell the world you're using %s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)),
"love" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE, $l_arr_Love),
"label-no-love" => $this->addText(sprintf(__("Don't tell the world you're using %s on specific pages by adding the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME)),
"no-love" => $this->addText(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings that are not grouped in special meta boxes.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Other() {
// options for the Footnotes to be replaced in excerpt
$l_arr_Enabled = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "settings-other");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, __("Allow footnotes on Summarized Posts", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT, $l_arr_Enabled),
"label-expert-mode" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, __("Enable the Expert mode", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"expert-mode" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_EXPERT_MODE, $l_arr_Enabled)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings for the footnotes Superscript.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Superscript() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-superscript");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-before" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE, __("Before Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"before" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE),
"label-after" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER, __("After Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"after" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings for the footnotes mouse-over box.
*
* @author Stefan Herndler
* @since 1.5.2
*/
public function MouseOverBox() {
// options for the Footnotes to be replaced in excerpt
$l_arr_Enabled = array(
"yes" => __("Yes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"no" => __("No", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// options for the Mouse-over box position
$l_arr_Position = array(
"top left" => __("top left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"top center" => __("top center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"top right" => __("top right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"center right" => __("center right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom right" => __("bottom right", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom center" => __("bottom center", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"bottom left" => __("bottom left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"center left" => __("center left", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
);
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-mouse-over-box");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-enable" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __("Enable the mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"enable" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $l_arr_Enabled),
"label-activate-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, __("Display only an excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"activate-excerpt" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED, $l_arr_Enabled),
"label-excerpt-length" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH, __("Maximum characters for the excerpt", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"excerpt-length" => $this->addTextBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH),
"label-position" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, __("Position", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"position" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION, $l_arr_Position),
"label-offset-x" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, __("Offset X (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"offset-x" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X, -50, 50),
"notice-offset-x" => __("Offset (X axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-offset-y" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, __("Offset Y (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"offset-y" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y, -50, 50),
"notice-offset-y" => __("Offset (Y axis) in px (may be negative)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-color" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR, __("Color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR),
"notice-color" => __("Empty color will use the default color defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-background" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND, __("Background color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"background" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND),
"notice-background" => __("Empty color will use the default background-color defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-border-width" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, __("Border width (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"border-width" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH, 0, 4),
"notice-border-width" => __("Set the width to 0px to hide the border.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-border-color" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR, __("Border color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"border-color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR),
"notice-border-color" => __("Empty color will use the default border-color defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-border-radius" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, __("Border radius (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"border-radius" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS, 0, 20),
"notice-border-radius" => __("Set the radius to 0px to avoid a radius.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-max-width" => $this->addLabel(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, __("Max. width (px)", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"max-width" => $this->addNumBox(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH, 0, 1280),
"notice-max-width" => __("Set the max-width to 0px to disable this setting.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-box-shadow-color" => $this->addLabel(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR, __("Box shadow color", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"box-shadow-color" => $this->addColorSelection(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR),
"notice-box-shadow-color" => __("Empty color will use the default box shadow defined by your current theme.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all settings for the prepended symbol
*
* @author Stefan Herndler
* @since 1.5.0
*
* Edited heading for v2.0.4
* The former 'hyperlink arrow' became 'prepended arrow' in v2.0.3 after
* a user complaint about missing backlinking semantics of the footnote number.
*/
public function HyperlinkArrow() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-hyperlink-arrow");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-symbol" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, __("Hyperlink symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"symbol" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, MCI_Footnotes_Convert::getArrow()),
"label-user-defined" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED, __("or enter a user defined symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"user-defined" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED),
"comment" => __("if set it overrides the hyperlink symbol above", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays the custom css box.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function CustomCSS() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-css");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-css" => $this->addLabel(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS, __("Add custom CSS", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"css" => $this->addTextArea(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS),
"headline" => $this->addText(__("Available CSS classes to customize the footnotes and the reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-1" => ".footnote_plugin_tooltip_text",
"class-1" => $this->addText(__("superscript, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-2" => ".footnote_tooltip",
"class-2" => $this->addText(__("mouse-over box, tooltip for each superscript", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-3" => ".footnote_plugin_index",
"class-3" => $this->addText(__("1st column of the Reference Container, Footnotes index", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
"label-class-4" => ".footnote_plugin_text",
"class-4" => $this->addText(__("2nd column of the Reference Container, Footnote text", MCI_Footnotes_Config::C_STR_PLUGIN_NAME))
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays available Hooks to look for Footnote short codes.
*
* @author Stefan Herndler
* @since 1.5.5
*/
public function lookupHooks() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "expert-lookup");
// replace all placeholders
$l_obj_Template->replace(
array(
"head-hook" => __("WordPress hook function name", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"head-checkbox" => __("Activate", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"head-url" => __("WordPress documentation", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"label-the-title" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_TITLE, "the_title"),
"the-title" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_TITLE),
"url-the-title" => "http://codex.wordpress.org/Plugin_API/Filter_Reference/the_title",
"label-the-content" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_CONTENT, "the_content"),
"the-content" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_CONTENT),
"url-the-content" => "http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content",
"label-the-excerpt" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT, "the_excerpt"),
"the-excerpt" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT),
"url-the-excerpt" => "http://codex.wordpress.org/Function_Reference/the_excerpt",
"label-widget-title" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE, "widget_title"),
"widget-title" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE),
"url-widget-title" => "http://codex.wordpress.org/Plugin_API/Filter_Reference/widget_title",
"label-widget-text" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT, "widget_text"),
"widget-text" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT),
"url-widget-text" => "http://codex.wordpress.org/Plugin_API/Filter_Reference/widget_text",
"label-post-object" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_POST, "the_post"),
"post-object" => $this->addCheckbox(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_POST),
"url-post-object" => "http://codex.wordpress.org/Plugin_API/Filter_Reference/the_post"
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays a short introduction of the Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Help() {
global $g_obj_MCI_Footnotes;
// load footnotes starting and end tag
$l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START);
$l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END);
if ($l_arr_Footnote_StartingTag["value"] == "userdefined" || $l_arr_Footnote_EndingTag["value"] == "userdefined") {
// load user defined starting and end tag
$l_arr_Footnote_StartingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED);
$l_arr_Footnote_EndingTag = $this->LoadSetting(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED);
}
$l_str_Example = "Hello" . $l_arr_Footnote_StartingTag["value"] .
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,".
" sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.".
" Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,".
" consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.".
" At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
. $l_arr_Footnote_EndingTag["value"] . " World!";
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-help");
// replace all placeholders
$l_obj_Template->replace(
array(
"label-start" => __("Start your footnote with the following short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"start" => $l_arr_Footnote_StartingTag["value"],
"label-end" => __("...and end your footnote with this short code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"end" => $l_arr_Footnote_EndingTag["value"],
"example-code" => $l_str_Example,
"example-string" => "<br/>" . __("will be displayed as:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"example" => $g_obj_MCI_Footnotes->a_obj_Task->exec($l_str_Example, true),
"information" => sprintf(__("For further information please check out our %ssupport forum%s on WordPress.org.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a href="http://wordpress.org/support/plugin/footnotes" target="_blank" class="footnote_plugin">', '</a>')
)
);
// call wp_head function to get the Styling of the mouse-over box
$g_obj_MCI_Footnotes->a_obj_Task->wp_head();
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
/**
* Displays all Donate button to support the developers.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function Donate() {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "how-to-donate");
// replace all placeholders
$l_obj_Template->replace(
array(
"caption" => __('Donate now',MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
)
);
// display template with replaced placeholders
echo $l_obj_Template->getContent();
}
}

View file

@ -1,88 +0,0 @@
<?php
/**
* Handles all WordPress hooks of this Plugin.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*/
/**
* Registers all WordPress Hooks and executes them on demand.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Hooks {
/**
* Registers all WordPress hooks.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function registerHooks() {
register_activation_hook(dirname(__FILE__) . "/../footnotes.php", array("MCI_Footnotes_Hooks", "activatePlugin"));
register_deactivation_hook(dirname(__FILE__) . "/../footnotes.php", array("MCI_Footnotes_Hooks", "deactivatePlugin"));
register_uninstall_hook(dirname(__FILE__) . "/../footnotes.php", array("MCI_Footnotes_Hooks", "uninstallPlugin"));
}
/**
* Executed when the Plugin gets activated.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function activatePlugin() {
// currently unused
}
/**
* Executed when the Plugin gets deactivated.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function deactivatePlugin() {
// currently unused
}
/**
* Executed when the Plugin gets uninstalled.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function uninstallPlugin() {
// WordPress User has to be logged in
if (!is_user_logged_in()) {
wp_die(__('You must be logged in to run this script.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
}
// WordPress User needs the permission to (un)install plugins
if (!current_user_can('install_plugins')) {
wp_die(__('You do not have permission to run this script.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
}
// deletes all settings and restore the default values
MCI_Footnotes_Settings::instance()->ClearAll();
}
/**
* Add Links to the Plugin in the "installed Plugins" page.
*
* @author Stefan Herndler
* @since 1.5.0
* @param array $p_arr_Links Current Links.
* @param string $p_str_PluginFileName Plugins init file name.
* @return array
*/
public static function PluginLinks($p_arr_Links, $p_str_PluginFileName) {
// append link to the WordPress Plugin page
$p_arr_Links[] = sprintf('<a href="http://wordpress.org/support/plugin/footnotes" target="_blank">%s</a>', __('Support', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
// append link to the Settings page
$p_arr_Links[] = sprintf('<a href="%s">%s</a>', admin_url('admin.php?page=mfmmf-footnotes'), __('Settings', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
// append link to the PlayPal Donate function
$p_arr_Links[] = sprintf('<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6Z6CZDW8PPBBJ" target="_blank">%s</a>', __('Donate', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
// return new links
return $p_arr_Links;
}
}

View file

@ -1,131 +0,0 @@
<?php
/**
* Includes the main Class of the Plugin.
*
* IMPORTANT: In registerPublic(), keep plugin version # up to date for cache busting.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*
* Edited for v2.0.0: Added jQueryUI from CDN 2020-10-26T1907+0100
* Edited for v2.0.3: Added style sheet versioning 2020-10-29T1413+0100
* Edited for v2.0.4: Added jQuery UI from WordPress 2020-11-01T1902+0100
*
* Last modified: 2020-11-03T1622+0100
*/
/**
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes {
/**
* Reference to the Plugin Task object.
*
* @author Stefan Herndler
* @since 1.5.0
* @var null|MCI_Footnotes_Task
*/
public $a_obj_Task = null;
/**
* Executes the Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function run() {
// register language
MCI_Footnotes_Language::registerHooks();
// register Button hooks
MCI_Footnotes_WYSIWYG::registerHooks();
// register general hooks
MCI_Footnotes_Hooks::registerHooks();
// initialize the Plugin Dashboard
$this->initializeDashboard();
// initialize the Plugin Task
$this->initializeTask();
// Register all Public Stylesheets and Scripts
add_action('init', array($this, 'registerPublic'));
// Enqueue all Public Stylesheets and Scripts
add_action('wp_enqueue_scripts', array($this, 'registerPublic'));
// Register all Widgets of the Plugin.
add_action('widgets_init', array($this, 'initializeWidgets'));
}
/**
* Initializes all Widgets of the Plugin.
*
* @author Stefan Herndler
* @since 1.5.0
*
* Edited for 1.6.5: replaced deprecated function create_function()
*
* Contributed by Felipe Lavín Z. Thankfully acknowledged.
*
* Deprecated in PHP 7.2
* See <https://wordpress.org/support/topic/deprecated-in-php-7-2-function-create_function-is-deprecated/>
* See also: <https://wordpress.org/support/topic/deprecated-function-create_function-14/>
*/
public function initializeWidgets() {
register_widget("MCI_Footnotes_Widget_ReferenceContainer");
}
/**
* Initializes the Dashboard of the Plugin and loads them.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function initializeDashboard() {
new MCI_Footnotes_Layout_Init();
}
/**
* Initializes the Plugin Task and registers the Task hooks.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function initializeTask() {
$this->a_obj_Task = new MCI_Footnotes_Task();
$this->a_obj_Task->registerHooks();
}
/**
* Registers and enqueues scripts and stylesheets to the public pages.
*
* @author Stefan Herndler
* @since 1.5.0
*
* Updated for v2.0.4 by adding jQueryUI from WordPress following @check2020de:
* <https://wordpress.org/support/topic/gdpr-issue-with-jquery/>
* See <https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui>
*
* jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released.
*/
public function registerPublic() {
// add the jQuery plugin (already registered by WordPress)
wp_enqueue_script( 'jquery' );
// Add jQueryUI: 'no need to enqueue -core, because dependencies are set'
wp_enqueue_script( 'jquery-ui-widget' );
wp_enqueue_script( 'jquery-ui-mouse' );
wp_enqueue_script( 'jquery-ui-accordion' );
wp_enqueue_script( 'jquery-ui-autocomplete' );
wp_enqueue_script( 'jquery-ui-slider' );
// Add jQuery tools:
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__));
// IMPORTANT: up-to-date plugin version number for cache busting.
wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__), '', '2.0.6');
}
}

View file

@ -1,58 +0,0 @@
<?php
/**
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 17:47
*/
/**
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Language {
/**
* Register WordPress Hook.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function registerHooks() {
add_action('plugins_loaded', array("MCI_Footnotes_Language", "loadTextDomain"));
}
/**
* Loads the text domain for current WordPress language if exists. Otherwise fallback "en_GB" will be loaded.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function loadTextDomain() {
// language file with localization exists
if (self::load(apply_filters('plugin_locale', get_locale(), ''))) {
// added 3rd (empty) parameter as a PHP-related bug fix thanks to MatKus (@matkus) in
// <https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/>
// <https://www.php.net/manual/en/migration71.incompatible.php>
// "Fatal error: Uncaught ArgumentCountError: Too few arguments […]"
// 2020-10-26T1609+0100
return;
}
// fallback to english
self::load("en_GB");
}
/**
* Loads a specific text domain.
*
* @author Stefan Herndler
* @since 1.5.1
* @param string $p_str_LanguageCode Language Code to load a specific text domain.
* @return bool
*/
private static function load($p_str_LanguageCode) {
return load_textdomain(MCI_Footnotes_Config::C_STR_PLUGIN_NAME,
dirname(__FILE__) . "/../languages/" . $p_str_LanguageCode . '.mo');
}
}

View file

@ -1,591 +0,0 @@
<?php
/**
* Includes the Settings class to handle all Plugin settings.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 10:43
*
* Edited for v2.0.4 2020-11-02T2115+0100
*/
/**
* The class loads all Settings from each WordPress Settings container.
* It a Setting is not defined yet the default value will be used.
* Each Setting will be validated and sanitized when loaded from the container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Settings {
/**
* Settings Container Key for the label of the reference container.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_REFERENCE_CONTAINER_NAME = "footnote_inputfield_references_label";
/**
* Settings Container Key to collapse the reference container by default.
*
* @author Stefan Herndler
* @since 1.5.0
* @var bool
*/
const C_BOOL_REFERENCE_CONTAINER_COLLAPSE = "footnote_inputfield_collapse_references";
/**
* Settings Container Key for the positioning of the reference container.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_REFERENCE_CONTAINER_POSITION = "footnote_inputfield_reference_container_place";
/**
* Settings Container Key to combine identical footnotes.
*
* @author Stefan Herndler
* @since 1.5.0
* @var bool
*/
const C_BOOL_COMBINE_IDENTICAL_FOOTNOTES = "footnote_inputfield_combine_identical";
/**
* Settings Container Key for the start of the footnotes short code.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_SHORT_CODE_START = "footnote_inputfield_placeholder_start";
/**
* Settings Container Key for the end of the footnotes short code.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_SHORT_CODE_END = "footnote_inputfield_placeholder_end";
/**
* Settings Container Key for the user defined start of the footnotes short code.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED = "footnote_inputfield_placeholder_start_user_defined";
/**
* Settings Container Key for the user defined end of the footnotes short code.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED = "footnote_inputfield_placeholder_end_user_defined";
/**
* Settings Container Key for the counter style of the footnotes.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_COUNTER_STYLE = "footnote_inputfield_counter_style";
/**
* Settings Container Key for the 'I love footnotes' text.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_LOVE = "footnote_inputfield_love";
/**
* Settings Container Key to look for footnotes in post excerpts.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_BOOL_FOOTNOTES_IN_EXCERPT = "footnote_inputfield_search_in_excerpt";
/**
* Settings Container Key for the Expert mode.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_FOOTNOTES_EXPERT_MODE = "footnote_inputfield_enable_expert_mode";
/**
* Settings Container Key for the styling before the footnotes index.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_STYLING_BEFORE = "footnote_inputfield_custom_styling_before";
/**
* Settings Container Key for the styling after the footnotes index.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_FOOTNOTES_STYLING_AFTER = "footnote_inputfield_custom_styling_after";
/**
* Settings Container Key for the mouse-over box to be enabled.
*
* @author Stefan Herndler
* @since 1.5.2
* @var string
*/
const C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED = "footnote_inputfield_custom_mouse_over_box_enabled";
/**
* Settings Container Key for the mouse-over box to display only an excerpt.
*
* @author Stefan Herndler
* @since 1.5.4
* @var string
*/
const C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED = "footnote_inputfield_custom_mouse_over_box_excerpt_enabled";
/**
* Settings Container Key for the mouse-over box to define the max. length of the enabled expert.
*
* @author Stefan Herndler
* @since 1.5.4
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH = "footnote_inputfield_custom_mouse_over_box_excerpt_length";
/**
* Settings Container Key for the mouse-over box to define the positioning.
*
* @author Stefan Herndler
* @since 1.5.7
* @var string
*/
const C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION = "footnote_inputfield_custom_mouse_over_box_position";
/**
* Settings Container Key for the mouse-over box to define the offset (x).
*
* @author Stefan Herndler
* @since 1.5.7
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X = "footnote_inputfield_custom_mouse_over_box_offset_x";
/**
* Settings Container Key for the mouse-over box to define the offset (y).
*
* @author Stefan Herndler
* @since 1.5.7
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y = "footnote_inputfield_custom_mouse_over_box_offset_y";
/**
* Settings Container Key for the mouse-over box to define the color.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR = "footnote_inputfield_custom_mouse_over_box_color";
/**
* Settings Container Key for the mouse-over box to define the background color.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND = "footnote_inputfield_custom_mouse_over_box_background";
/**
* Settings Container Key for the mouse-over box to define the border width.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH = "footnote_inputfield_custom_mouse_over_box_border_width";
/**
* Settings Container Key for the mouse-over box to define the border color.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR = "footnote_inputfield_custom_mouse_over_box_border_color";
/**
* Settings Container Key for the mouse-over box to define the border radius.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS = "footnote_inputfield_custom_mouse_over_box_border_radius";
/**
* Settings Container Key for the mouse-over box to define the max width.
*
* @author Stefan Herndler
* @since 1.5.6
* @var string
*/
const C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH = "footnote_inputfield_custom_mouse_over_box_max_width";
/**
* Settings Container Key for the mouse-over box to define the box-shadow color.
*
* @author Stefan Herndler
* @since 1.5.8
* @var string
*/
const C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR = "footnote_inputfield_custom_mouse_over_box_shadow_color";
/**
* Settings Container Key for the Hyperlink arrow.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_HYPERLINK_ARROW = "footnote_inputfield_custom_hyperlink_symbol";
/**
* Settings Container Key for the user defined Hyperlink arrow.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_HYPERLINK_ARROW_USER_DEFINED = "footnote_inputfield_custom_hyperlink_symbol_user";
/**
* Settings Container Key for the user defined styling.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_CUSTOM_CSS = "footnote_inputfield_custom_css";
/**
* Settings Container Key the activation of the_title hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_THE_TITLE = "footnote_inputfield_expert_lookup_the_title";
/**
* Settings Container Key the activation of the_content hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_THE_CONTENT = "footnote_inputfield_expert_lookup_the_content";
/**
* Settings Container Key the activation of the_excerpt hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_THE_EXCERPT = "footnote_inputfield_expert_lookup_the_excerpt";
/**
* Settings Container Key the activation of widget_title hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE = "footnote_inputfield_expert_lookup_widget_title";
/**
* Settings Container Key the activation of widget_text hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT = "footnote_inputfield_expert_lookup_widget_text";
/**
* Settings Container Key the activation of the_post hook.
*
* @author Stefan Herndler
* @since 1.5.5
* @var string
*/
const C_BOOL_EXPERT_LOOKUP_THE_POST = "footnote_inputfield_expert_lookup_the_post";
/**
* Stores a singleton reference of this class.
*
* @author Stefan Herndler
* @since 1.5.0
* @var MCI_Footnotes_Settings
*/
private static $a_obj_Instance = null;
/**
* Contains all Settings Container names.
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
private $a_arr_Container = array("footnotes_storage", "footnotes_storage_custom", "footnotes_storage_expert");
/**
* Contains all Default Settings for each Settings Container.
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
private $a_arr_Default = array(
"footnotes_storage" => array(
self::C_STR_REFERENCE_CONTAINER_NAME => 'References',
self::C_BOOL_REFERENCE_CONTAINER_COLLAPSE => '',
self::C_STR_REFERENCE_CONTAINER_POSITION => 'post_end',
// Identical footnotes should not be combined by default
// as long as the feature raises criticism for malfunctioning:
// <https://wordpress.org/support/topic/too-many-errors-18/>
self::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES => '',
self::C_STR_FOOTNOTES_SHORT_CODE_START => '((',
self::C_STR_FOOTNOTES_SHORT_CODE_END => '))',
self::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '',
self::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED => '',
self::C_STR_FOOTNOTES_COUNTER_STYLE => 'arabic_plain',
self::C_STR_FOOTNOTES_LOVE => 'no',
self::C_BOOL_FOOTNOTES_IN_EXCERPT => 'yes',
self::C_BOOL_FOOTNOTES_EXPERT_MODE => 'no'
),
"footnotes_storage_custom" => array(
self::C_STR_FOOTNOTES_STYLING_BEFORE => '',
self::C_STR_FOOTNOTES_STYLING_AFTER => ')',
self::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes',
self::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED => 'no',
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH => 150,
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION => 'top right',
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X => 10,
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => 10,
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR => '',
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND => '#fff7a7',
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH => 1,
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR => '#cccc99',
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS => 3,
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH => 0,
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR => '#666666',
self::C_STR_HYPERLINK_ARROW => '&#8593;',
self::C_STR_HYPERLINK_ARROW_USER_DEFINED => '',
self::C_STR_CUSTOM_CSS => ''
),
// These should all be enabled by default.
// See <https://wordpress.org/support/topic/more-feature-ideas/>
"footnotes_storage_expert" => array(
self::C_BOOL_EXPERT_LOOKUP_THE_TITLE => 'yes',
self::C_BOOL_EXPERT_LOOKUP_THE_CONTENT => 'yes',
self::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT => 'yes',
self::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE => 'yes',
self::C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT => 'yes',
self::C_BOOL_EXPERT_LOOKUP_THE_POST => 'yes'
)
);
/**
* Contains all Settings from each Settings container as soon as this class is initialized.
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
private $a_arr_Settings = array();
/**
* Class Constructor. Loads all Settings from each WordPress Settings container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function __construct() {
$this->loadAll();
}
/**
* Returns a singleton of this class.
*
* @author Stefan Herndler
* @since 1.5.0
* @return MCI_Footnotes_Settings
*/
public static function instance() {
// no instance defined yet, load it
if (self::$a_obj_Instance === null) {
self::$a_obj_Instance = new self();
}
// return a singleton of this class
return self::$a_obj_Instance;
}
/**
* Returns the name of a specified Settings Container.
*
* @author Stefan Herndler
* @since 1.5.0
* @param int $p_int_Index Settings Container Array Key Index.
* @return string Settings Container name.
*/
public function getContainer($p_int_Index) {
return $this->a_arr_Container[$p_int_Index];
}
/**
* Returns the default values of a specific Settings Container.
*
* @author Stefan Herndler
* @since 1.5.6
* @param int $p_int_Index Settings Container Aray Key Index.
* @return array
*/
public function getDefaults($p_int_Index) {
return $this->a_arr_Default[$this->a_arr_Container[$p_int_Index]];
}
/**
* Loads all Settings from each Settings container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
private function loadAll() {
// clear current settings
$this->a_arr_Settings = array();
for ($i = 0; $i < count($this->a_arr_Container); $i++) {
// load settings
$this->a_arr_Settings = array_merge($this->a_arr_Settings, $this->Load($i));
}
}
/**
* Loads all Settings from specified Settings Container.
*
* @author Stefan Herndler
* @since 1.5.0
* @param int $p_int_Index Settings Container Array Key Index.
* @return array Settings loaded from Container of Default Settings if Settings Container is empty (first usage).
*/
private function Load($p_int_Index) {
// load all settings from container
$l_arr_Options = get_option($this->getContainer($p_int_Index));
// load all default settings
$l_arr_Default = $this->a_arr_Default[$this->getContainer($p_int_Index)];
// no settings found, set them to their default value
if (empty($l_arr_Options)) {
return $l_arr_Default;
}
// iterate through all available settings ( = default values)
foreach($l_arr_Default as $l_str_Key => $l_str_Value) {
// available setting not found in the container
if (!array_key_exists($l_str_Key, $l_arr_Options)) {
// define the setting with its default value
$l_arr_Options[$l_str_Key] = $l_str_Value;
}
}
// iterate through each setting in the container
foreach($l_arr_Options as $l_str_Key => $l_str_Value) {
// remove all whitespace at the beginning and end of a setting
//$l_str_Value = trim($l_str_Value);
// write the sanitized value back to the setting container
$l_arr_Options[$l_str_Key] = $l_str_Value;
}
// return settings loaded from Container
return $l_arr_Options;
}
/**
* Updates a whole Settings container.
*
* @author Stefan Herndler
* @since 1.5.0
* @param int $p_int_Index Index of the Settings container.
* @param array $p_arr_newValues new Settings.
* @return bool
*/
public function saveOptions($p_int_Index, $p_arr_newValues) {
if (update_option($this->getContainer($p_int_Index), $p_arr_newValues)) {
$this->loadAll();
return true;
}
return false;
}
/**
* Returns the value of specified Settings name.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Key Settings Array Key name.
* @return mixed Value of the Setting on Success or Null in Settings name is invalid.
*/
public function get($p_str_Key) {
return array_key_exists($p_str_Key, $this->a_arr_Settings) ? $this->a_arr_Settings[$p_str_Key] : null;
}
/**
* Deletes each Settings Container and loads the default values for each Settings Container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function ClearAll() {
// iterate through each Settings Container
for ($i = 0; $i < count($this->a_arr_Container); $i++) {
// delete the settings container
delete_option($this->getContainer($i));
}
// set settings back to the default values
$this->a_arr_Settings = $this->a_arr_Default;
}
/**
* Register all Settings Container for the Plugin Settings Page in the Dashboard.
* Settings Container Label will be the same as the Settings Container Name.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function RegisterSettings() {
// register all settings
for ($i = 0; $i < count($this->a_arr_Container); $i++) {
register_setting($this->getContainer($i), $this->getContainer($i));
}
}
}

View file

@ -1,537 +0,0 @@
<?php
/**
* Includes the core function of the Plugin - Search and Replace the Footnotes.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0
*
* Edited for v2.0.0 and following.
*
* Last modified 2020-11-04T0505+0100
*/
// If called directly, abort:
defined( 'ABSPATH' ) or die;
/**
* Looks for Footnotes short codes and replaces them. Also displays the Reference Container.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Task {
/**
* Contains all footnotes found on current public page.
*
* @author Stefan Herndler
* @since 1.5.0
* @var array
*/
public static $a_arr_Footnotes = array();
/**
* Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
*
* @author Stefan Herndler
* @since 1.5.0
* @var bool
*/
public static $a_bool_AllowLoveMe = true;
/**
* Prefix for the Footnote html element ID.
*
* @author Stefan Herndler
* @since 1.5.8
* @var string
*/
public static $a_str_Prefix = "";
/**
* Register WordPress Hooks to replace Footnotes in the content of a public page.
*
* @author Stefan Herndler
* @since 1.5.0
*
* Edited for v2.0.5 2020-11-02T0330+0100
* Edited for v2.0.6 2020-11-04T0504+0100
*
* Explicitly setting all priority to default "10" instead of lowest "PHP_INT_MAX",
* especially for the_content, makes the footnotes reference container display
* beneath the content and above other features added by other plugins.
* Although the default, 10 seems to suffice.
* Requested by users: <https://wordpress.org/support/topic/change-the-position-5/>
* Documentation: <https://codex.wordpress.org/Plugin_API/#Hook_in_your_Filter>
*
* Still need to assess priority levels, see bug reported in:
* <https://wordpress.org/support/topic/change-the-position-5/#post-13612697>
*
* Rolled back in v2.0.6.
*/
public function registerHooks() {
// append custom css to the header
add_filter('wp_head', array($this, "wp_head"),PHP_INT_MAX);
// append the love and share me slug to the footer
add_filter('wp_footer', array($this, "wp_footer"),PHP_INT_MAX);
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_TITLE))) {
add_filter('the_title', array($this, "the_title"),PHP_INT_MAX);
}
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_CONTENT))) {
add_filter('the_content', array($this, "the_content"),PHP_INT_MAX);
}
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT))) {
add_filter('the_excerpt', array($this, "the_excerpt"),PHP_INT_MAX);
}
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE))) {
add_filter('widget_title', array($this, "widget_title"),PHP_INT_MAX);
}
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT))) {
add_filter('widget_text', array($this, "widget_text"),PHP_INT_MAX);
}
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_POST))) {
add_filter('the_post', array($this, "the_post"),PHP_INT_MAX);
}
// reset stored footnotes when displaying the header
self::$a_arr_Footnotes = array();
self::$a_bool_AllowLoveMe = true;
}
/**
* Outputs the custom css to the header of the public page.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function wp_head() {
$l_str_Color = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR);
$l_str_Background = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BACKGROUND);
$l_int_BorderWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_WIDTH);
$l_str_BorderColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_BORDER_COLOR);
$l_int_BorderRadius = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_BORDER_RADIUS);
$l_int_MaxWidth = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_MAX_WIDTH);
$l_str_BoxShadowColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR);
?>
<style type="text/css" media="screen">
<?php
echo MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS);
echo '.footnote_tooltip { display: none; padding: 12px; font-size: 13px;';
if (!empty($l_str_Color)) {
printf(" color: %s;", $l_str_Color);
}
if (!empty($l_str_Background)) {
printf(" background-color: %s;", $l_str_Background);
}
if (!empty($l_int_BorderWidth) && intval($l_int_BorderWidth) > 0) {
printf(" border-width: %dpx; border-style: solid;", $l_int_BorderWidth);
}
if (!empty($l_str_BorderColor)) {
printf(" border-color: %s;", $l_str_BorderColor);
}
if (!empty($l_int_BorderRadius) && intval($l_int_BorderRadius) > 0) {
printf(" border-radius: %dpx;", $l_int_BorderRadius);
}
if (!empty($l_int_MaxWidth) && intval($l_int_MaxWidth) > 0) {
printf(" max-width: %dpx;", $l_int_MaxWidth);
}
if (!empty($l_str_BoxShadowColor)) {
printf(" -webkit-box-shadow: 2px 2px 11px %s;", $l_str_BoxShadowColor);
printf(" -moz-box-shadow: 2px 2px 11px %s;", $l_str_BoxShadowColor);
printf(" box-shadow: 2px 2px 11px %s;", $l_str_BoxShadowColor);
}
echo '}';
?>
</style>
<?php
}
/**
* Displays the 'LOVE FOOTNOTES' slug if enabled.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function wp_footer() {
if (MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "footer") {
echo $this->ReferenceContainer();
}
// get setting for love and share this plugin
$l_str_LoveMeIndex = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_LOVE);
// check if the admin allows to add a link to the footer
if (empty($l_str_LoveMeIndex) || strtolower($l_str_LoveMeIndex) == "no" || !self::$a_bool_AllowLoveMe) {
return;
}
// set a hyperlink to the word "footnotes" in the Love slug
$l_str_LinkedName = sprintf('<a href="http://wordpress.org/plugins/footnotes/" target="_blank" style="text-decoration:none;">%s</a>',MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME);
// get random love me text
if (strtolower($l_str_LoveMeIndex) == "random") {
$l_str_LoveMeIndex = "text-" . rand(1,3);
}
switch ($l_str_LoveMeIndex) {
case "text-1":
$l_str_LoveMeText = sprintf(__('I %s %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, $l_str_LinkedName);
break;
case "text-2":
$l_str_LoveMeText = sprintf(__('this site uses the awesome %s Plugin', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName);
break;
case "text-3":
default:
$l_str_LoveMeText = sprintf(__('extra smooth %s', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), $l_str_LinkedName);
break;
}
echo sprintf('<div style="text-align:center; color:#acacac;">%s</div>', $l_str_LoveMeText);
}
/**
* Replaces footnotes in the post/page title.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Widget content.
* @return string Content with replaced footnotes.
*/
public function the_title($p_str_Content) {
// appends the reference container if set to "post_end"
return $this->exec($p_str_Content, false);
}
/**
* Replaces footnotes in the content of the current page/post.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Page/Post content.
* @return string Content with replaced footnotes.
*/
public function the_content($p_str_Content) {
// appends the reference container if set to "post_end"
return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false);
}
/**
* Replaces footnotes in the excerpt of the current page/post.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Page/Post content.
* @return string Content with replaced footnotes.
*/
public function the_excerpt($p_str_Content) {
return $this->exec($p_str_Content, false, !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_IN_EXCERPT)));
}
/**
* Replaces footnotes in the widget title.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Widget content.
* @return string Content with replaced footnotes.
*/
public function widget_title($p_str_Content) {
// appends the reference container if set to "post_end"
return $this->exec($p_str_Content, false);
}
/**
* Replaces footnotes in the content of the current widget.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Widget content.
* @return string Content with replaced footnotes.
*/
public function widget_text($p_str_Content) {
// appends the reference container if set to "post_end"
return $this->exec($p_str_Content, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "post_end" ? true : false);
}
/**
* Replaces footnotes in each Content var of the current Post object.
*
* @author Stefan Herndler
* @since 1.5.4
* @param array|WP_Post $p_mixed_Posts
*/
public function the_post(&$p_mixed_Posts) {
// single WP_Post object received
if (!is_array($p_mixed_Posts)) {
$p_mixed_Posts = $this->replacePostObject($p_mixed_Posts);
return;
}
// array of WP_Post objects received
for($l_int_Index = 0; $l_int_Index < count($p_mixed_Posts); $l_int_Index++) {
$p_mixed_Posts[$l_int_Index] = $this->replacePostObject($p_mixed_Posts[$l_int_Index]);
}
}
/**
* Replace all Footnotes in a WP_Post object.
*
* @author Stefan Herndler
* @since 1.5.6
* @param WP_Post $p_obj_Post
* @return WP_Post
*/
private function replacePostObject($p_obj_Post) {
//MCI_Footnotes_Convert::debug($p_obj_Post);
$p_obj_Post->post_content = $this->exec($p_obj_Post->post_content);
$p_obj_Post->post_content_filtered = $this->exec($p_obj_Post->post_content_filtered);
$p_obj_Post->post_excerpt = $this->exec($p_obj_Post->post_excerpt);
return $p_obj_Post;
}
/**
* Replaces all footnotes that occur in the given content.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Any string that may contain footnotes to be replaced.
* @param bool $p_bool_OutputReferences Appends the Reference Container to the output if set to true, default true.
* @param bool $p_bool_HideFootnotesText Hide footnotes found in the string.
* @return string
*/
public function exec($p_str_Content, $p_bool_OutputReferences = false, $p_bool_HideFootnotesText = false) {
// replace all footnotes in the content, settings are converted to html characters
$p_str_Content = $this->search($p_str_Content, true, $p_bool_HideFootnotesText);
// replace all footnotes in the content, settings are NOT converted to html characters
$p_str_Content = $this->search($p_str_Content, false, $p_bool_HideFootnotesText);
// append the reference container
if ($p_bool_OutputReferences) {
$p_str_Content = $p_str_Content . $this->ReferenceContainer();
}
// take a look if the LOVE ME slug should NOT be displayed on this page/post, remove the short code if found
if (strpos($p_str_Content, MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG) !== false) {
self::$a_bool_AllowLoveMe = false;
$p_str_Content = str_replace(MCI_Footnotes_Config::C_STR_NO_LOVE_SLUG, "", $p_str_Content);
}
// return the content with replaced footnotes and optional reference container append
return $p_str_Content;
}
/**
* Replaces all footnotes in the given content and appends them to the static property.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Content Content to be searched for footnotes.
* @param bool $p_bool_ConvertHtmlChars html encode settings, default true.
* @param bool $p_bool_HideFootnotesText Hide footnotes found in the string.
* @return string
*/
public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) {
// prepare prepending post ID to make footnote IDs unique wrt archive view:
self::$a_str_Prefix = get_the_id() . '_';
// contains the index for the next footnote on this page
$l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1;
// contains the starting position for the lookup of a footnote
$l_int_PosStart = 0;
// get start and end tag for the footnotes short code
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END);
if ($l_str_StartingTag == "userdefined" || $l_str_EndingTag == "userdefined") {
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED);
}
// decode html special chars
if ($p_bool_ConvertHtmlChars) {
$l_str_StartingTag = htmlspecialchars($l_str_StartingTag);
$l_str_EndingTag = htmlspecialchars($l_str_EndingTag);
}
// if footnotes short code is empty, return the content without changes
if (empty($l_str_StartingTag) || empty($l_str_EndingTag)) {
return $p_str_Content;
}
if (!$p_bool_HideFootnotesText) {
// load template file
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "footnote");
$l_obj_TemplateTooltip = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "tooltip");
} else {
$l_obj_Template = null;
$l_obj_TemplateTooltip = null;
}
// search footnotes short codes in the content
do {
// get first occurrence of the footnote short code [start]
$i_int_len_Content = strlen($p_str_Content);
if ($l_int_PosStart > $i_int_len_Content) $l_int_PosStart = $i_int_len_Content;
$l_int_PosStart = strpos($p_str_Content, $l_str_StartingTag, $l_int_PosStart);
// no short code found, stop here
if ($l_int_PosStart === false) {
break;
}
// get first occurrence of a footnote short code [end]
$l_int_PosEnd = strpos($p_str_Content, $l_str_EndingTag, $l_int_PosStart);
// no short code found, stop here
if ($l_int_PosEnd === false) {
break;
}
// calculate the length of the footnote
$l_int_Length = $l_int_PosEnd - $l_int_PosStart;
// get footnote text
$l_str_FootnoteText = substr($p_str_Content, $l_int_PosStart + strlen($l_str_StartingTag), $l_int_Length - strlen($l_str_StartingTag));
// Text to be displayed instead of the footnote
$l_str_FootnoteReplaceText = "";
// display the footnote as mouse-over box
if (!$p_bool_HideFootnotesText) {
$l_str_Index = MCI_Footnotes_Convert::Index($l_int_FootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
// display only an excerpt of the footnotes text if enabled
$l_str_ExcerptText = $l_str_FootnoteText;
$l_bool_EnableExcerpt = MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_ENABLED));
$l_int_MaxLength = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_EXCERPT_LENGTH));
if ($l_bool_EnableExcerpt) {
$l_str_DummyText = strip_tags($l_str_FootnoteText);
if (is_int($l_int_MaxLength) && strlen($l_str_DummyText) > $l_int_MaxLength) {
$l_str_ExcerptText = substr($l_str_DummyText, 0, $l_int_MaxLength);
$l_str_ExcerptText = substr($l_str_ExcerptText, 0, strrpos($l_str_ExcerptText, ' '));
// Removed hyperlink navigation on user request, but left <a> element for style.
$l_str_ExcerptText .= '&nbsp;&#x2026; ' . sprintf(__("%scontinue%s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '<a class="continue" onclick="footnote_moveToAnchor(\'footnote_plugin_reference_' . self::$a_str_Prefix . $l_str_Index . '\');">', '</a>');
}
}
// fill the footnotes template
$l_obj_Template->replace(
array(
"id" => self::$a_str_Prefix . $l_str_Index,
"index" => $l_str_Index,
"text" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED)) ? $l_str_ExcerptText : "",
"before" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_BEFORE),
"after" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_STYLING_AFTER)
)
);
$l_str_FootnoteReplaceText = $l_obj_Template->getContent();
// reset the template
$l_obj_Template->reload();
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED))) {
$l_int_OffsetY = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y));
$l_int_OffsetX = intval(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_X));
$l_obj_TemplateTooltip->replace(
array(
"id" => self::$a_str_Prefix . $l_str_Index,
"position" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_POSITION),
"offset-y" => !empty($l_int_OffsetY) ? $l_int_OffsetY : 0,
"offset-x" => !empty($l_int_OffsetX) ? $l_int_OffsetX : 0
)
);
$l_str_FootnoteReplaceText .= $l_obj_TemplateTooltip->getContent();
$l_obj_TemplateTooltip->reload();
}
}
// replace the footnote with the template
$p_str_Content = substr_replace($p_str_Content, $l_str_FootnoteReplaceText, $l_int_PosStart, $l_int_Length + strlen($l_str_EndingTag));
// add footnote only if not empty
if (!empty($l_str_FootnoteText)) {
// set footnote to the output box at the end
self::$a_arr_Footnotes[] = $l_str_FootnoteText;
// increase footnote index
$l_int_FootnoteIndex++;
}
// add offset to the new starting position
$l_int_PosStart += $l_int_Length + strlen($l_str_EndingTag);
$l_int_PosStart = $l_int_Length + strlen($l_str_FootnoteReplaceText);
} while (true);
// return content
return $p_str_Content;
}
/**
* Generates the reference container.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*
* Edited for v2.0.6: appended post ID to support autoload / infinite scroll.
* Requested by @docteurfitness: <https://wordpress.org/support/topic/auto-load-post-compatibility-update/>
* Related request: <https://wordpress.org/support/topic/infinite-scroll-does-not-work-anymore-in-wp-5-5/>
* 2020-11-04T0358+0100
*/
public function ReferenceContainer() {
// no footnotes has been replaced on this page
if (empty(self::$a_arr_Footnotes)) {
return "";
}
// get html arrow
$l_str_Arrow = MCI_Footnotes_Convert::getArrow(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW));
// set html arrow to the first one if invalid index defined
if (is_array($l_str_Arrow)) {
$l_str_Arrow = MCI_Footnotes_Convert::getArrow(0);
}
// get user defined arrow
$l_str_ArrowUserDefined = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED);
if (!empty($l_str_ArrowUserDefined)) {
$l_str_Arrow = $l_str_ArrowUserDefined;
}
// load template file
$l_str_Body = "";
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container-body");
// loop through all footnotes found in the page
for ($l_str_Index = 0; $l_str_Index < count(self::$a_arr_Footnotes); $l_str_Index++) {
// get footnote text
$l_str_FootnoteText = self::$a_arr_Footnotes[$l_str_Index];
// if footnote is empty, get to the next one
if (empty($l_str_FootnoteText)) {
continue;
}
// get footnote index
$l_str_FirstFootnoteIndex = ($l_str_Index + 1);
$l_str_FootnoteIndex = MCI_Footnotes_Convert::Index(($l_str_Index + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
// check if it isn't the last footnote in the array
if ($l_str_FirstFootnoteIndex < count(self::$a_arr_Footnotes) && MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES))) {
// get all footnotes that I haven't passed yet
for ($l_str_CheckIndex = $l_str_FirstFootnoteIndex; $l_str_CheckIndex < count(self::$a_arr_Footnotes); $l_str_CheckIndex++) {
// check if a further footnote is the same as the actual one
if ($l_str_FootnoteText == self::$a_arr_Footnotes[$l_str_CheckIndex]) {
// set the further footnote as empty so it won't be displayed later
self::$a_arr_Footnotes[$l_str_CheckIndex] = "";
// add the footnote index to the actual index
$l_str_FootnoteIndex .= ", " . MCI_Footnotes_Convert::Index(($l_str_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
}
}
}
// replace all placeholders in the template
$l_obj_Template->replace(
array(
"index" => $l_str_FootnoteIndex,
"id" => self::$a_str_Prefix . MCI_Footnotes_Convert::Index($l_str_FirstFootnoteIndex, MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)),
"arrow" => $l_str_Arrow,
"text" => $l_str_FootnoteText
)
);
// extra line breaks for page source legibility:
$footnote_item_temp = $l_obj_Template->getContent();
$footnote_item_temp .= "\r\n\r\n";
$l_str_Body .= $footnote_item_temp;
$l_obj_Template->reload();
}
// load template file
$l_obj_TemplateContainer = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_PUBLIC, "reference-container");
$l_obj_TemplateContainer->replace(
array(
"label" => MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_NAME),
"button-style" => !MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '',
"id" => "footnote_references_container_" . get_the_id(),
"style" => MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_REFERENCE_CONTAINER_COLLAPSE)) ? 'display: none;' : '',
"content" => $l_str_Body
)
);
// free all found footnotes if reference container will be displayed
self::$a_arr_Footnotes = array();
return $l_obj_TemplateContainer->getContent();
}
}

View file

@ -1,132 +0,0 @@
<?php
/**
* Includes the Template Engine to load and handle all Template files of the Plugin.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 10:58
*
* Last modified: 2020-11-01T0347+0100
*/
/**
* Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
* Loads a template file, replaces all Placeholders and returns the replaced file content.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Template {
/**
* Directory name for dashboard templates.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_DASHBOARD = "dashboard";
/**
* Directory name for public templates.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_PUBLIC = "public";
/**
* Contains the content of the template after initialize.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
private $a_str_OriginalContent = "";
/**
* Contains the content of the template after initialize with replaced place holders.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
private $a_str_ReplacedContent = "";
/**
* Class Constructor. Reads and loads the template file without replace any placeholder.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_FileType Template file type (take a look on the Class constants).
* @param string $p_str_FileName Template file name inside the Template directory without the file extension.
* @param string $p_str_Extension Optional Template file extension (default: html)
*/
public function __construct($p_str_FileType, $p_str_FileName, $p_str_Extension = "html") {
// no template file type and/or file name set
if (empty($p_str_FileType) || empty($p_str_FileName)) {
return;
}
// get absolute path to the specified template file
$l_str_TemplateFile = dirname(__FILE__) . "/../templates/" . $p_str_FileType . "/" . $p_str_FileName . "." . $p_str_Extension;
// Template file does not exist
if (!file_exists($l_str_TemplateFile)) {
return;
}
// get Template file content
$this->a_str_OriginalContent = str_replace("\n", "", file_get_contents($l_str_TemplateFile));
$this->a_str_OriginalContent = str_replace("\r", "", $this->a_str_OriginalContent);
$this->a_str_OriginalContent = str_replace("\t", " ", $this->a_str_OriginalContent);
$this->a_str_OriginalContent = preg_replace('# +#', " ", $this->a_str_OriginalContent);
$this->reload();
}
/**
* Replace all placeholders specified in array.
*
* @author Stefan Herndler
* @since 1.5.0
* @param array $p_arr_Placeholders Placeholders (key = placeholder, value = value).
* @return bool True on Success, False if Placeholders invalid.
*/
public function replace($p_arr_Placeholders) {
// no placeholders set
if (empty($p_arr_Placeholders)) {
return false;
}
// template content is empty
if (empty($this->a_str_ReplacedContent)) {
return false;
}
// iterate through each placeholder and replace it with its value
foreach($p_arr_Placeholders as $l_str_Placeholder => $l_str_Value) {
$this->a_str_ReplacedContent = str_replace("[[" . $l_str_Placeholder . "]]", $l_str_Value, $this->a_str_ReplacedContent);
}
// success
return true;
}
/**
* Reloads the original content of the template file.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function reload() {
$this->a_str_ReplacedContent = $this->a_str_OriginalContent;
}
/**
* Returns the content of the template file with replaced placeholders.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string Template content with replaced placeholders.
*/
public function getContent() {
return $this->a_str_ReplacedContent;
}
} // end of class

View file

@ -1,75 +0,0 @@
<?php
/**
*
* @filesource
* @author Stefan Herndler
* @since x.x.x 14.09.14 14:30
*/
/**
* Base Class for all Plugin Widgets. Registers each Widget to WordPress.
* The following Methods MUST be overwritten in each sub class:
* **public function widget($args, $instance)** -> echo the Widget Content
* **public function form($instance)** -> echo the Settings of the Widget
*
* @author Stefan Herndler
* @since 1.5.0
*/
abstract class MCI_Footnotes_WidgetBase extends WP_Widget {
/**
* Returns an unique ID as string used for the Widget Base ID.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
abstract protected function getID();
/**
* Returns the Public name of child Widget to be displayed in the Configuration page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
abstract protected function getName();
/**
* Returns the Description of the child widget.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
abstract protected function getDescription();
/**
* Returns the width of the Widget. Default width is 250 pixel.
*
* @author Stefan Herndler
* @since 1.5.0
* @return int
*/
protected function getWidgetWidth() {
return 250;
}
/**
* Class Constructor. Registers the child Widget to WordPress.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public function __construct() {
$l_arr_WidgetOptions = array("classname" => __CLASS__, "description" => $this->getDescription());
$l_arr_ControlOptions = array("id_base" => strtolower($this->getID()), "width" => $this->getWidgetWidth());
// registers the Widget
parent::__construct(
strtolower($this->getID()), // unique ID for the widget, has to be lowercase
$this->getName(), // Plugin name to be displayed
$l_arr_WidgetOptions, // Optional Widget Options
$l_arr_ControlOptions // Optional Widget Control Options
);
}
}

View file

@ -1,79 +0,0 @@
<?php
/**
* Includes the Plugin Widget to put the Reference Container to the Widget area.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 14:26
*/
/**
* Registers a Widget to put the Reference Container to the widget area.
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_Widget_ReferenceContainer extends MCI_Footnotes_WidgetBase {
/**
* Returns an unique ID as string used for the Widget Base ID.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getID() {
return "footnotes_widget";
}
/**
* Returns the Public name of the Widget to be displayed in the Configuration page.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getName() {
return MCI_Footnotes_Config::C_STR_PLUGIN_NAME;
}
/**
* Returns the Description of the child widget.
*
* @author Stefan Herndler
* @since 1.5.0
* @return string
*/
protected function getDescription() {
return __('The widget defines the position of the reference container if set to "widget area".', MCI_Footnotes_Config::C_STR_PLUGIN_NAME);
}
/**
* Outputs the Settings of the Widget.
*
* @author Stefan Herndler
* @since 1.5.0
* @param mixed $instance
* @return void
*/
public function form($instance) {
echo __('The widget defines the position of the reference container if set to "widget area".', MCI_Footnotes_Config::C_STR_PLUGIN_NAME);
}
/**
* Outputs the Content of the Widget.
*
* @author Stefan Herndler
* @since 1.5.0
* @param mixed $args
* @param mixed $instance
*/
public function widget($args, $instance) {
global $g_obj_MCI_Footnotes;
// reference container positioning is set to "widget area"
if (MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION) == "widget") {
echo $g_obj_MCI_Footnotes->a_obj_Task->ReferenceContainer();
}
}
}

View file

@ -1,83 +0,0 @@
<?php
/**
* Includes the Class to handle the WYSIWYG-Buttons.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 17:30
*/
/**
*
* @author Stefan Herndler
* @since 1.5.0
*/
class MCI_Footnotes_WYSIWYG {
public static function registerHooks() {
add_filter("mce_buttons", array("MCI_Footnotes_WYSIWYG", "newVisualEditorButton"));
add_action("admin_print_footer_scripts", array("MCI_Footnotes_WYSIWYG", "newPlainTextEditorButton"));
add_filter("mce_external_plugins", array("MCI_Footnotes_WYSIWYG", "includeScripts"));
add_action("wp_ajax_nopriv_footnotes_getTags", array("MCI_Footnotes_WYSIWYG", "ajaxCallback"));
add_action("wp_ajax_footnotes_getTags", array("MCI_Footnotes_WYSIWYG", "ajaxCallback"));
}
/**
* Append a new Button to the WYSIWYG editor of Posts and Pages.
*
* @author Stefan Herndler
* @since 1.5.0
* @param array $p_arr_Buttons pre defined Buttons from WordPress.
* @return array
*/
public static function newVisualEditorButton($p_arr_Buttons) {
array_push($p_arr_Buttons, MCI_Footnotes_Config::C_STR_PLUGIN_NAME);
return $p_arr_Buttons;
}
/**
* Add a new button to the plain text editor.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function newPlainTextEditorButton() {
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "editor-button");
echo $l_obj_Template->getContent();
}
/**
* Includes the Plugins WYSIWYG editor script.
*
* @author Stefan Herndler
* @since 1.5.0
* @param array $p_arr_Plugins Scripts to be included to the editor.
* @return array
*/
public static function includeScripts($p_arr_Plugins) {
$p_arr_Plugins[MCI_Footnotes_Config::C_STR_PLUGIN_NAME] = plugins_url('/../js/wysiwyg-editor.js', __FILE__);
return $p_arr_Plugins;
}
/**
* AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
* Returns an JSON encoded array with the Footnotes start and end short code.
*
* @author Stefan Herndler
* @since 1.5.0
*/
public static function ajaxCallback() {
// get start and end tag for the footnotes short code
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END);
if ($l_str_StartingTag == "userdefined" || $l_str_EndingTag == "userdefined") {
$l_str_StartingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED);
$l_str_EndingTag = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_SHORT_CODE_END_USER_DEFINED);
}
echo json_encode(array("start" => htmlspecialchars($l_str_StartingTag), "end" => htmlspecialchars($l_str_EndingTag)));
exit;
}
}

View file

@ -1,190 +0,0 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.0.6
*
* Last modified: 2020-11-04T0437+0100
*/
/* MCI Footnotes logo
*
* The classes with 'heading' fix display in dashboard
* See class/config.php and css/settings.css
*/
.footnotes_logo,
.footnotes_logo:hover,
.footnotes_logo_heading {
text-decoration: none;
font-weight: normal;
}
.footnotes_logo_part1,
.footnotes_logo_part1_heading {
color: #2bb975;
}
.footnotes_logo_part2,
.footnotes_logo_part2_heading {
color: #545f5a;
}
/* Inline footnote referrers
* aka superscript footnote anchors
*
* Class footnote_plugin_tooltip_text is the referrer and surroundings
*/
.footnote_plugin_tooltip_text {
cursor: pointer;
z-index: 1;
}
.footnote_plugin_tooltip_text {
display: inline-block;
text-decoration: none;
}
.footnote_plugin_tooltip_text:hover {
text-decoration: underline;
}
/* tooltip infobox */
span.footnote_tooltip {
font-size: inherit;
text-align: left;
line-height: 1.2em;
z-index: 99;
}
.continue {
font-style: italic;
color: green;
text-decoration: none !important;
cursor: pointer;
}
.continue:hover {
color: blue;
text-decoration: underline !important;
}
/* Footnotes reference container
*/
/* label */
.footnote_container_prepare {
display: block !important;
padding-top: 24px !important;
margin-bottom: -5px;
}
.footnote_container_prepare > p {
line-height: 1.3 !important;
margin-top: 1em !important;
margin-bottom: 0.25em !important;
padding: 0 !important;
font-weight: normal !important;
overflow: hidden !important;
border-bottom: 1px solid #aaaaaa !important;
display: block !important;
-webkit-margin-before: 0.83em !important;
-webkit-margin-after: 0.83em !important;
-webkit-margin-start: 0px !important;
-webkit-margin-end: 0px !important;
text-align: left !important;
vertical-align: middle;
}
.footnote_container_prepare > p > span:first-child {
text-align: left !important;
font-size: 1.5em !important;
}
/* collapse button */
#footnote_reference_container_collapse_button {
cursor: pointer;
}
.footnote_container_prepare > p > span:last-child a {
text-decoration: none;
}
.footnote_container_prepare > p > span:last-child a:hover {
text-decoration: underline;
color: #008800;
}
/* Table starts here */
.footnote-reference-container {
width: 100%;
border: none;
}
/* footnotes
* class footnote_plugin_link is for backcompat.
* Used in reference-container-body.html
* See <https://wordpress.org/support/topic/change-the-position-5/#post-13617988>
.footnote_plugin_link, */
.footnote_plugin_index,
.footnote_plugin_text {
border:none !important;
text-align: left !important;
vertical-align: top !important;
padding: 10px 5px 5px 0 !important;
}
.footnote_plugin_index a,
.footnote_plugin_text a {
text-decoration: none !important;
}
.footnote_plugin_index:hover,
.footnote_plugin_text a:hover {
text-decoration: underline !important;
}
.footnote_plugin_index {
cursor: pointer;
overflow-wrap: unset;
word-wrap: unset;
word-wrap: normal !important;
word-break: unset;
word-break: keep-all !important;
max-width: 140px;
width: 1px; /*auto-extending column to fit widest*/
white-space: nowrap;
overflow: hidden;
}
.footnote_plugin_text {
width: unset; /*unset width of text column to fix site issues*/
}
/* Responsive*/
@media only screen and (max-width: 768px) {
.footnote_plugin_index {
max-width: 100px;
}
}
/* Footnotes printing style rules
*
* Printing a table, browsers tend to avoid page breaks,
* but it takes a wrapper to avoid a page break before the table.
*
* UI elements (button, arrows) and link styling are removed.
*/
.footnote_container_overall_wrapper {
page-break-inside: avoid;
}
@media print {
.footnote_tooltip,
.footnote_reference_container_collapse_button_outfit,
.footnote_plugin_index_arrow {
display: none;
}
.footnote_plugin_tooltip_text {
color: inherit;
}
.footnote_plugin_index a {
color: inherit;
text-decoration: none !important;
}
div.post-meta-edit-link-wrapper { /* Edit button in WP2020*/
display: none; /*(added as a service)*/
}
}

View file

@ -1,92 +0,0 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.0.4
* Last modified: 2020-11-01T0415+0100
*/
/* MCI Footnotes logo
*
* The classes with 'heading' fix display in dashboard
* See class/config.php and css/public.css
*/
.postbox-header {
position: relative;
padding: 0 20px;
}
.footnotes_logo_heading {
display: inline-block;
float: left;
position: absolute;
}
.footnotes_logo_part1_heading {
left: 20px;
}
.footnotes_logo_part2_heading {
left: 51px;
}
.footnotes_heart_heading {
color:#ff6d3b;
font-weight:bold;
position: absolute;
left: 96px;
}
input[type=text], input[type=password], textarea, select {
padding-left: 8px !important;
padding-right: 8px !important;
width: 80% !important;
}
textarea {
height: 250px;
}
label {
display: inline-block;
}
.postbox > h3 {
height: 32px !important;
line-height: 32px !important;
}
.postbox > h3 > span {
padding-left: 10px;
}
.postbox > .inside > table {
border: none !important;
}
.postbox > .inside >table > tbody > tr > td:first-child {
width: 15% !important;
font-weight: bold !important;
}
.footnote_placeholder_box_container {
text-align: center !important;
}
span.footnote_highlight_placeholder {
font-weight: bold !important;
padding-left: 8px !important;
padding-right: 8px !important;
}
.footnote_placeholder_box_example {
border: 2px solid #2bb975 !important;
border-radius: 4px !important;
padding-top: 16px !important;
padding-bottom: 16px !important;
width: 50% !important;
display: block !important;
margin: 20px auto !important;
text-align: center !important;
}

View file

@ -1,20 +0,0 @@
== Footnotes Features ==
- Performance of the task so PHP won't throw an error when there are more than 120? Footnotes on a single page
- Maybe increase PHP max execution time while processing the Footnotes task
- different background for every odd table row
- Offer a set of pre-defined styles for the footnotes.Reference.Container
There should be 2 pre-defined styles for the footnotes.Reference.Container and the ability to customize or add templates.
the currently used one should be one of those templates and pre-defined styles offered but not the default setting.
== Footnotes Bugs ==
- Setting "Excerpt No" doesn't work
== TODO ==
- Statistics: How many Footnotes in each post/page
- Convert from other Footnote Plugins (e.g. ' ((' from Civil Footnotes)
- Anonymous stats to the developers

View file

@ -1,45 +0,0 @@
<?php
/*
Plugin Name: footnotes
Plugin URI: https://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: Mark Cheret
Version: 2.0.6
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
*/
/*
Copyright 2020 Mark Cheret (email: mark@cheret.de)
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/footnotes.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();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -1,37 +0,0 @@
<?php
/**
* Includes all common files.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 13:40
*/
/**
* Requires (require_once) all *.php files inside a specific Directory.
*
* @author Stefan Herndler
* @since 1.5.0
* @param string $p_str_Directory Absolute Directory path to lookup for *.php files
*/
function MCI_Footnotes_requirePhpFiles($p_str_Directory) {
// append slash at the end of the Directory if not exist
if (substr($p_str_Directory, -1) != "/") {
$p_str_Directory .= "/";
}
// get all PHP files inside Directory
$l_arr_Files = scandir($p_str_Directory);
// iterate through each class
foreach ($l_arr_Files as $l_str_FileName) {
// skip all non *.php files
if (strtolower(substr($l_str_FileName, -4)) != ".php") {
continue;
}
/** @noinspection PhpIncludeInspection */
require_once($p_str_Directory . $l_str_FileName);
}
}
MCI_Footnotes_requirePhpFiles(dirname(__FILE__) . "/class");
MCI_Footnotes_requirePhpFiles(dirname(__FILE__) . "/class/dashboard");
MCI_Footnotes_requirePhpFiles(dirname(__FILE__) . "/class/widgets");

View file

@ -1,413 +0,0 @@
/*!
* jQuery Tools v1.2.7 - The missing UI library for the Web
*
* toolbox/toolbox.expose.js
* toolbox/toolbox.flashembed.js
* toolbox/toolbox.history.js
* toolbox/toolbox.mousewheel.js
* tooltip/tooltip.js
* tooltip/tooltip.dynamic.js
* tooltip/tooltip.slide.js
*
* NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
*
* http://flowplayer.org/tools/
*
* jquery.event.wheel.js - rev 1
* Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
* Liscensed under the MIT License (MIT-LICENSE.txt)
* http://www.opensource.org/licenses/mit-license.php
* Created: 2008-07-01 | Updated: 2008-07-14
*
* -----
*
* Added jQueryUI and checks whether a.browser exists
* Following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
* 2020-10-26T2005+0100
* Last modified: 2020-10-26T2006+0100
*/
(function (a) {
a.tools = a.tools || {version: "v1.2.7"};
var b;
b = a.tools.expose = {conf: {maskId: "exposeMask", loadSpeed: "slow", closeSpeed: "fast", closeOnClick: !0, closeOnEsc: !0, zIndex: 9998, opacity: .8, startOpacity: 0, color: "#fff", onLoad: null, onClose: null}};
function c() {
if (a.browser && a.browser.msie) {
var b = a(document).height(), c = a(window).height();
return[window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, b - c < 20 ? c : b]
}
return[a(document).width(), a(document).height()]
}
function d(b) {
if (b)return b.call(a.mask)
}
var e, f, g, h, i;
a.mask = {load: function (j, k) {
if (g)return this;
typeof j == "string" && (j = {color: j}), j = j || h, h = j = a.extend(a.extend({}, b.conf), j), e = a("#" + j.maskId), e.length || (e = a("<div/>").attr("id", j.maskId), a("body").append(e));
var l = c();
e.css({position: "absolute", top: 0, left: 0, width: l[0], height: l[1], display: "none", opacity: j.startOpacity, zIndex: j.zIndex}), j.color && e.css("backgroundColor", j.color);
if (d(j.onBeforeLoad) === !1)return this;
j.closeOnEsc && a(document).on("keydown.mask", function (b) {
b.keyCode == 27 && a.mask.close(b)
}), j.closeOnClick && e.on("click.mask", function (b) {
a.mask.close(b)
}), a(window).on("resize.mask", function () {
a.mask.fit()
}), k && k.length && (i = k.eq(0).css("zIndex"), a.each(k, function () {
var b = a(this);
/relative|absolute|fixed/i.test(b.css("position")) || b.css("position", "relative")
}), f = k.css({zIndex: Math.max(j.zIndex + 1, i == "auto" ? 0 : i)})), e.css({display: "block"}).fadeTo(j.loadSpeed, j.opacity, function () {
a.mask.fit(), d(j.onLoad), g = "full"
}), g = !0;
return this
}, close: function () {
if (g) {
if (d(h.onBeforeClose) === !1)return this;
e.fadeOut(h.closeSpeed, function () {
d(h.onClose), f && f.css({zIndex: i}), g = !1
}), a(document).off("keydown.mask"), e.off("click.mask"), a(window).off("resize.mask")
}
return this
}, fit: function () {
if (g) {
var a = c();
e.css({width: a[0], height: a[1]})
}
}, getMask: function () {
return e
}, isLoaded: function (a) {
return a ? g == "full" : g
}, getConf: function () {
return h
}, getExposed: function () {
return f
}}, a.fn.mask = function (b) {
a.mask.load(b);
return this
}, a.fn.expose = function (b) {
a.mask.load(b, this);
return this
}
})(jQuery);
(function () {
var a = document.all, b = "http://www.adobe.com/go/getflashplayer", c = typeof jQuery == "function", d = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/, e = {width: "100%", height: "100%", id: "_" + ("" + Math.random()).slice(9), allowfullscreen: !0, allowscriptaccess: "always", quality: "high", version: [3, 0], onFail: null, expressInstall: null, w3c: !1, cachebusting: !1};
window.attachEvent && window.attachEvent("onbeforeunload", function () {
__flash_unloadHandler = function () {
}, __flash_savedUnloadHandler = function () {
}
});
function f(a, b) {
if (b)for (var c in b)b.hasOwnProperty(c) && (a[c] = b[c]);
return a
}
function g(a, b) {
var c = [];
for (var d in a)a.hasOwnProperty(d) && (c[d] = b(a[d]));
return c
}
window.flashembed = function (a, b, c) {
typeof a == "string" && (a = document.getElementById(a.replace("#", "")));
if (a) {
typeof b == "string" && (b = {src: b});
return new j(a, f(f({}, e), b), c)
}
};
var h = f(window.flashembed, {conf: e, getVersion: function () {
var a, b;
try {
b = navigator.plugins["Shockwave Flash"].description.slice(16)
} catch (c) {
try {
a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"), b = a && a.GetVariable("$version")
} catch (e) {
try {
a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"), b = a && a.GetVariable("$version")
} catch (f) {
}
}
}
b = d.exec(b);
return b ? [b[1], b[3]] : [0, 0]
}, asString: function (a) {
if (a === null || a === undefined)return null;
var b = typeof a;
b == "object" && a.push && (b = "array");
switch (b) {
case"string":
a = a.replace(new RegExp("([\"\\\\])", "g"), "\\$1"), a = a.replace(/^\s?(\d+\.?\d*)%/, "$1pct");
return"\"" + a + "\"";
case"array":
return"[" + g(a,function (a) {
return h.asString(a)
}).join(",") + "]";
case"function":
return"\"function()\"";
case"object":
var c = [];
for (var d in a)a.hasOwnProperty(d) && c.push("\"" + d + "\":" + h.asString(a[d]));
return"{" + c.join(",") + "}"
}
return String(a).replace(/\s/g, " ").replace(/\'/g, "\"")
}, getHTML: function (b, c) {
b = f({}, b);
var d = "<object width=\"" + b.width + "\" height=\"" + b.height + "\" id=\"" + b.id + "\" name=\"" + b.id + "\"";
b.cachebusting && (b.src += (b.src.indexOf("?") != -1 ? "&" : "?") + Math.random()), b.w3c || !a ? d += " data=\"" + b.src + "\" type=\"application/x-shockwave-flash\"" : d += " classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"", d += ">";
if (b.w3c || a)d += "<param name=\"movie\" value=\"" + b.src + "\" />";
b.width = b.height = b.id = b.w3c = b.src = null, b.onFail = b.version = b.expressInstall = null;
for (var e in b)b[e] && (d += "<param name=\"" + e + "\" value=\"" + b[e] + "\" />");
var g = "";
if (c) {
for (var i in c)if (c[i]) {
var j = c[i];
g += i + "=" + encodeURIComponent(/function|object/.test(typeof j) ? h.asString(j) : j) + "&"
}
g = g.slice(0, -1), d += "<param name=\"flashvars\" value='" + g + "' />"
}
d += "</object>";
return d
}, isSupported: function (a) {
return i[0] > a[0] || i[0] == a[0] && i[1] >= a[1]
}}), i = h.getVersion();
function j(c, d, e) {
if (h.isSupported(d.version))c.innerHTML = h.getHTML(d, e); else if (d.expressInstall && h.isSupported([6, 65]))c.innerHTML = h.getHTML(f(d, {src: d.expressInstall}), {MMredirectURL: location.href, MMplayerType: "PlugIn", MMdoctitle: document.title}); else {
c.innerHTML.replace(/\s/g, "") || (c.innerHTML = "<h2>Flash version " + d.version + " or greater is required</h2><h3>" + (i[0] > 0 ? "Your version is " + i : "You have no flash plugin installed") + "</h3>" + (c.tagName == "A" ? "<p>Click here to download latest version</p>" : "<p>Download latest version from <a href='" + b + "'>here</a></p>"), c.tagName == "A" && (c.onclick = function () {
location.href = b
}));
if (d.onFail) {
var g = d.onFail.call(this);
typeof g == "string" && (c.innerHTML = g)
}
}
a && (window[d.id] = document.getElementById(d.id)), f(this, {getRoot: function () {
return c
}, getOptions: function () {
return d
}, getConf: function () {
return e
}, getApi: function () {
return c.firstChild
}})
}
c && (jQuery.tools = jQuery.tools || {version: "v1.2.7"}, jQuery.tools.flashembed = {conf: e}, jQuery.fn.flashembed = function (a, b) {
return this.each(function () {
jQuery(this).data("flashembed", flashembed(this, a, b))
})
})
})();
(function (a) {
var b, c, d, e;
a.tools = a.tools || {version: "v1.2.7"}, a.tools.history = {init: function (g) {
e || (a.browser && a.browser.msie && a.browser.version < "8" ? c || (c = a("<iframe/>").attr("src", "javascript:false;").hide().get(0), a("body").append(c), setInterval(function () {
var d = c.contentWindow.document, e = d.location.hash;
b !== e && a(window).trigger("hash", e)
}, 100), f(location.hash || "#")) : setInterval(function () {
var c = location.hash;
c !== b && a(window).trigger("hash", c)
}, 100), d = d ? d.add(g) : g, g.click(function (b) {
var d = a(this).attr("href");
c && f(d);
if (d.slice(0, 1) != "#") {
location.href = "#" + d;
return b.preventDefault()
}
}), e = !0)
}};
function f(a) {
if (a) {
var b = c.contentWindow.document;
b.open().close(), b.location.hash = a
}
}
a(window).on("hash", function (c, e) {
e ? d.filter(function () {
var b = a(this).attr("href");
return b == e || b == e.replace("#", "")
}).trigger("history", [e]) : d.eq(0).trigger("history", [e]), b = e
}), a.fn.history = function (b) {
a.tools.history.init(this);
return this.on("history", b)
}
})(jQuery);
(function (a) {
a.fn.mousewheel = function (a) {
return this[a ? "on" : "trigger"]("wheel", a)
}, a.event.special.wheel = {setup: function () {
a.event.add(this, b, c, {})
}, teardown: function () {
a.event.remove(this, b, c)
}};
if (a.browser) {
var b = a.browser.mozilla ? "DOMMouseScroll" + (a.browser.version < "1.9" ? " mousemove" : "") : "mousewheel";
}
function c(b) {
switch (b.type) {
case"mousemove":
return a.extend(b.data, {clientX: b.clientX, clientY: b.clientY, pageX: b.pageX, pageY: b.pageY});
case"DOMMouseScroll":
a.extend(b, b.data), b.delta = -b.detail / 3;
break;
case"mousewheel":
b.delta = b.wheelDelta / 120
}
b.type = "wheel";
return a.event.handle.call(this, b, b.delta)
}
})(jQuery);
(function (a) {
a.tools = a.tools || {version: "v1.2.7"}, a.tools.tooltip = {conf: {effect: "toggle", fadeOutSpeed: "fast", predelay: 0, delay: 30, opacity: 1, tip: 0, fadeIE: !1, position: ["top", "center"], offset: [0, 0], relative: !1, cancelDefault: !0, events: {def: "mouseenter,mouseleave", input: "focus,blur", widget: "focus mouseenter,blur mouseleave", tooltip: "mouseenter,mouseleave"}, layout: "<div/>", tipClass: "tooltip"}, addEffect: function (a, c, d) {
b[a] = [c, d]
}};
var b = {toggle: [function (a) {
var b = this.getConf(), c = this.getTip(), d = b.opacity;
d < 1 && c.css({opacity: d}), c.show(), a.call()
}, function (a) {
this.getTip().hide(), a.call()
}], fade: [function (b) {
var c = this.getConf();
!(a.browser && a.browser.msie) || c.fadeIE ? this.getTip().fadeTo(c.fadeInSpeed, c.opacity, b) : (this.getTip().show(), b())
}, function (b) {
var c = this.getConf();
!(a.browser && a.browser.msie) || c.fadeIE ? this.getTip().fadeOut(c.fadeOutSpeed, b) : (this.getTip().hide(), b())
}]};
function c(b, c, d) {
var e = d.relative ? b.position().top : b.offset().top, f = d.relative ? b.position().left : b.offset().left, g = d.position[0];
e -= c.outerHeight() - d.offset[0], f += b.outerWidth() + d.offset[1], /iPad/i.test(navigator.userAgent) && (e -= a(window).scrollTop());
var h = c.outerHeight() + b.outerHeight();
g == "center" && (e += h / 2), g == "bottom" && (e += h), g = d.position[1];
var i = c.outerWidth() + b.outerWidth();
g == "center" && (f -= i / 2), g == "left" && (f -= i);
return{top: e, left: f}
}
function d(d, e) {
var f = this, g = d.add(f), h, i = 0, j = 0, k = d.attr("title"), l = d.attr("data-tooltip"), m = b[e.effect], n, o = d.is(":input"), p = o && d.is(":checkbox, :radio, select, :button, :submit"), q = d.attr("type"), r = e.events[q] || e.events[o ? p ? "widget" : "input" : "def"];
if (!m)throw"Nonexistent effect \"" + e.effect + "\"";
r = r.split(/,\s*/);
if (r.length != 2)throw"Tooltip: bad events configuration for " + q;
d.on(r[0],function (a) {
clearTimeout(i), e.predelay ? j = setTimeout(function () {
f.show(a)
}, e.predelay) : f.show(a)
}).on(r[1], function (a) {
clearTimeout(j), e.delay ? i = setTimeout(function () {
f.hide(a)
}, e.delay) : f.hide(a)
}), k && e.cancelDefault && (d.removeAttr("title"), d.data("title", k)), a.extend(f, {show: function (b) {
if (!h) {
l ? h = a(l) : e.tip ? h = a(e.tip).eq(0) : k ? h = a(e.layout).addClass(e.tipClass).appendTo(document.body).hide().append(k) : (h = d.next(), h.length || (h = d.parent().next()));
if (!h.length)throw"Cannot find tooltip for " + d
}
if (f.isShown())return f;
h.stop(!0, !0);
var o = c(d, h, e);
e.tip && h.html(d.data("title")), b = a.Event(), b.type = "onBeforeShow", g.trigger(b, [o]);
if (b.isDefaultPrevented())return f;
o = c(d, h, e), h.css({position: "absolute", top: o.top, left: o.left}), n = !0, m[0].call(f, function () {
b.type = "onShow", n = "full", g.trigger(b)
});
var p = e.events.tooltip.split(/,\s*/);
h.data("__set") || (h.off(p[0]).on(p[0], function () {
clearTimeout(i), clearTimeout(j)
}), p[1] && !d.is("input:not(:checkbox, :radio), textarea") && h.off(p[1]).on(p[1], function (a) {
a.relatedTarget != d[0] && d.trigger(r[1].split(" ")[0])
}), e.tip || h.data("__set", !0));
return f
}, hide: function (c) {
if (!h || !f.isShown())return f;
c = a.Event(), c.type = "onBeforeHide", g.trigger(c);
if (!c.isDefaultPrevented()) {
n = !1, b[e.effect][1].call(f, function () {
c.type = "onHide", g.trigger(c)
});
return f
}
}, isShown: function (a) {
return a ? n == "full" : n
}, getConf: function () {
return e
}, getTip: function () {
return h
}, getTrigger: function () {
return d
}}), a.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","), function (b, c) {
a.isFunction(e[c]) && a(f).on(c, e[c]), f[c] = function (b) {
b && a(f).on(c, b);
return f
}
})
}
a.fn.tooltip = function (b) {
var c = this.data("tooltip");
if (c)return c;
b = a.extend(!0, {}, a.tools.tooltip.conf, b), typeof b.position == "string" && (b.position = b.position.split(/,?\s/)), this.each(function () {
c = new d(a(this), b), a(this).data("tooltip", c)
});
return b.api ? c : this
}
})(jQuery);
(function (a) {
var b = a.tools.tooltip;
b.dynamic = {conf: {classNames: "top right bottom left"}};
function c(b) {
var c = a(window), d = c.width() + c.scrollLeft(), e = c.height() + c.scrollTop();
return[b.offset().top <= c.scrollTop(), d <= b.offset().left + b.width(), e <= b.offset().top + b.height(), c.scrollLeft() >= b.offset().left]
}
function d(a) {
var b = a.length;
while (b--)if (a[b])return!1;
return!0
}
a.fn.dynamic = function (e) {
typeof e == "number" && (e = {speed: e}), e = a.extend({}, b.dynamic.conf, e);
var f = a.extend(!0, {}, e), g = e.classNames.split(/\s/), h;
this.each(function () {
var b = a(this).tooltip().onBeforeShow(function (b, e) {
var i = this.getTip(), j = this.getConf();
h || (h = [j.position[0], j.position[1], j.offset[0], j.offset[1], a.extend({}, j)]), a.extend(j, h[4]), j.position = [h[0], h[1]], j.offset = [h[2], h[3]], i.css({visibility: "hidden", position: "absolute", top: e.top, left: e.left}).show();
var k = a.extend(!0, {}, f), l = c(i);
if (!d(l)) {
l[2] && (a.extend(j, k.top), j.position[0] = "top", i.addClass(g[0])), l[3] && (a.extend(j, k.right), j.position[1] = "right", i.addClass(g[1])), l[0] && (a.extend(j, k.bottom), j.position[0] = "bottom", i.addClass(g[2])), l[1] && (a.extend(j, k.left), j.position[1] = "left", i.addClass(g[3]));
if (l[0] || l[2])j.offset[0] *= -1;
if (l[1] || l[3])j.offset[1] *= -1
}
i.css({visibility: "visible"}).hide()
});
b.onBeforeShow(function () {
var a = this.getConf(), b = this.getTip();
setTimeout(function () {
a.position = [h[0], h[1]], a.offset = [h[2], h[3]]
}, 0)
}), b.onHide(function () {
var a = this.getTip();
a.removeClass(e.classNames)
}), ret = b
});
return e.api ? ret : this
}
})(jQuery);
(function (a) {
var b = a.tools.tooltip;
a.extend(b.conf, {direction: "up", bounce: !1, slideOffset: 10, slideInSpeed: 200, slideOutSpeed: 200, slideFade: !(a.browser && a.browser.msie)});
var c = {up: ["-", "top"], down: ["+", "top"], left: ["-", "left"], right: ["+", "left"]};
b.addEffect("slide", function (a) {
var b = this.getConf(), d = this.getTip(), e = b.slideFade ? {opacity: b.opacity} : {}, f = c[b.direction] || c.up;
e[f[1]] = f[0] + "=" + b.slideOffset, b.slideFade && d.css({opacity: 0}), d.show().animate(e, b.slideInSpeed, a)
}, function (b) {
var d = this.getConf(), e = d.slideOffset, f = d.slideFade ? {opacity: 0} : {}, g = c[d.direction] || c.up, h = "" + g[0];
d.bounce && (h = h == "+" ? "-" : "+"), f[g[1]] = h + "=" + e, this.getTip().animate(f, d.slideOutSpeed, function () {
a(this).hide(), b.call()
})
})
})(jQuery);

View file

@ -1,74 +0,0 @@
/**
* Created by Stefan on 24.05.14.
*/
(function() {
tinymce.create('tinymce.plugins.Footnotes', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has finished its initialization so use the onInit event
* of the editor instance to intercept that event.
*
* @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
* @param {string} url Absolute URL to where the plugin is located.
*/
init : function(ed, url) {
ed.addButton('footnotes', {
title : 'footnotes',
cmd : 'footnotes',
image : url + '/../img/fn-wysiwyg.png'
});
ed.addCommand('footnotes', function() {
jQuery.ajax({
type: 'POST',
url: './admin-ajax.php',
data: {
action: 'footnotes_getTags'
},
success: function(data, textStatus, XMLHttpRequest){
var l_arr_Tags = JSON.parse(data);
var return_text = l_arr_Tags['start'] + ed.selection.getContent() + l_arr_Tags['end'];
ed.execCommand('insertHTML', true, return_text);
},
error: function(MLHttpRequest, textStatus, errorThrown){
console.log("Error: " + errorThrown);
}
});
});
},
/**
* Creates control instances based in the incomming name. This method is normally not
* needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
* but you sometimes need to create more complex controls like listboxes, split buttons etc then this
* method can be used to create those.
*
* @param {String} n Name of the control to create.
* @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
* @return {tinymce.ui.Control} New control instance or null if no control was created.
*/
createControl : function(n, cm) {
return null;
},
/**
* Returns information about the plugin as a name/value array.
* The current keys are longname, author, authorurl, infourl and version.
*
* @return {Object} Name/value array containing information about the plugin.
*/
getInfo : function() {
return {
longname : 'Inserts the Footnotes short code.',
author : 'Mark Cheret',
authorurl : 'https://cheret.de',
infourl : 'http://wordpress.org/plugins/footnotes/',
version : "2.0.0"
};
}
});
// Register plugin
tinymce.PluginManager.add('footnotes', tinymce.plugins.Footnotes);
})();

Binary file not shown.

View file

@ -1,546 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:57+0100\n"
"PO-Revision-Date: 2020-11-01T1639+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: de_AT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Sehen Sie sich unsere weiteren WordPress Plugins an."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Fehler beim Laden anderer WordPress Plugins von ManFisher!"
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Installieren"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "Dieses Plugin ist bereits installiert upd auf dem neusten Stand."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "bereits installiert"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "Weitere Details"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Zuletzt aktualisiert"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "Bewertung basierend auf"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "Bewertungen"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Einstellungen gespeichert"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnose"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Ausgabe von Informationen bezgl. des Webservers, PHP und WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Servername"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "PHP Version"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "User Agent"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Maximale Ausführungsdauer"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "Sekunden"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Speicherlimitierung"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "PHP Erweiterungen"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "WordPress Version"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Aktuelles Theme"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Einstellungen"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Anpassen"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Experten-Modus"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Fußnotenliste"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Fußnoten-Basiseinstellungen"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Andere Einstellungen"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Symbol zur Verdeutlichung der Rücklinkfunktion der Fußnotennummer in der Liste"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Ausstattung der Fußnotenanker"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress-Hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "im Seitenfuß"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "im Anschluss an den Beitrag"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "in einem Widget"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Überschrift"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Position"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Ja"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "Nein"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "benutzerdefiniert"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Arabische Zahlen"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Arabische Zahlen, mindestens zweistellig"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Lateinische Kleinbuchstaben"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Lateinische Großbuchstaben"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Römische Zahlen"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Identische Fußnoten kombinieren"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Start-Shortcode"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "End-Shortcode"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Zählweise"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "Ich %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "Diese Website verwendet das tolle %s Plugin."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "zufallsbestimmte Anzeige einer der 3 Varianten"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "keinerlei Erwähnung von „%s %s“ im Seitenfuß"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Der Welt mitteilen, dass Sie %s verwenden"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Shortcode zur Unterdrückung der %s-Erwähnung in bestimmten Seiten:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Fußnoten auch in Zusammenfassungen anzeigen"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Experten-Modus aktivieren"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Vor dem Fußnotenanker"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "Nach dem Fußnotenanker"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "oben links"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "oben zentriert"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "oben rechts"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "rechts zentriert"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "unten rechts"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "unten zentriert"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "unten links"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "links zentriert"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Die Tooltipp-Infobox aktivieren"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Darin längere Fußnoten kürzen"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Maximale Anzahl Zeichen in der Infobox"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Position"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Waagerechter Versatz"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Senkrechter Versatz abwärts"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "Pixel; negativer Wert für Aufwärtsversatz"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Schriftfarbe"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color defined by your current theme."
msgstr "Leer lassen um die Standard-Schriftfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Hintergrundfarbe"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color defined by your current theme."
msgstr "Leer lassen um die Standard-Hintergrundfabe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Randbreite"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "Pixel; 0 für randlos"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Randfarbe"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color defined by your current theme."
msgstr "Leer lassen um die Standard-Randfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Eckenradius"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "Pixel; 0 für spitze Ecken"
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "Pixel; 0 deaktiviert diese Einstellung"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Schattenfarbe"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow defined by your current theme."
msgstr "Leer lassen um die Standard-Schattenfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr "Symbol wählen"
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr "oder eigenes Symbol eingeben"
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr "Wenn gesetzt, wird oben gewähltes Symbol ignoriert; Leerzeichen eingeben um kein Symbol anzuzeigen."
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Verfügbare CSS Klassen für Fußnotenanker, Infobox und Fußnotenliste"
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr "&lt;sup&gt;-Element des hochgestellten Fußnotenankers"
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr "&lt;span&gt;-Element der Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr "&lt;td&gt;-Element der 1. Spalte der Fußnotenliste: ID mit Rücklink"
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr "&lt;td&gt;-Element der 2. Spalte der Fußnotenliste: Fußnotentext"
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr "WordPress Hook-Name"
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr "Aktivieren"
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr "WordPress Dokumentation"
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:"
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr "...und beenden Sie diese mit:"
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr "Dies wird dargestellt als:"
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress.org."
#: class/dashboard/subpage-main.php:539
msgid "Donate now"
msgstr "Jetzt spenden"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "Sie müssen angemeldet sein um diese Funktion ausführen zu können."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "Sie haben nicht die Berechtigung diese Funktion auszuführen."
#: class/hooks.php:80
msgid "Support"
msgstr "Support"
#: class/hooks.php:84
msgid "Donate"
msgstr "Spenden"
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "Das Widget definiert die Position der Einzelnachweise wenn »im Widget« gewählt ist."
#~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text"
#~ msgid "inline footnotes, mouse over highlight box"
#~ msgstr "Popup der Fußnote im veröffentlichten Text"
#~ msgid "reference container footnotes linked arrow"
#~ msgstr "Einzelnachweiß - Symbol für den Link"
#~ msgid "General"
#~ msgstr "Allgemein"
#~ msgid "%s Settings"
#~ msgstr "%s Einstellungen"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "Bei Fragen können Sie uns gerne eine %se-Mail%s senden."
#~ msgid "HowTo"
#~ msgstr "Hilfe"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Diese Seite verwendet das %s Plugin"
#~ msgid "starts with:"
#~ msgstr "beginnt mit:"
#~ msgid "Save"
#~ msgstr "Speichern"
#~ msgid "General Information"
#~ msgstr "Allgemeine Informationen"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr "Folgender Platzhalter wird durch Ihre Fußnote ersetzt:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr "Das Plugin ersetzt Ihren Text duch einen Fußnote"

Binary file not shown.

View file

@ -1,546 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
"PO-Revision-Date: 2020-11-01T1640+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Sehen Sie sich unsere weiteren WordPress Plugins an."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Fehler beim Laden anderer WordPress Plugins von ManFisher!"
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Installieren"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "Dieses Plugin ist bereits installiert upd auf dem neusten Stand."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "bereits installiert"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "Weitere Details"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Zuletzt aktualisiert"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "Bewertung basierend auf"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "Bewertungen"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Einstellungen gespeichert"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnose"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Ausgabe von Informationen bezgl. des Webservers, PHP und WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Servername"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "PHP Version"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "User Agent"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Maximale Ausführungsdauer"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "Sekunden"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Speicherlimitierung"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "PHP Erweiterungen"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "WordPress Version"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Aktuelles Theme"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Einstellungen"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Anpassen"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Experten-Modus"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Fußnotenliste"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Fußnoten-Basiseinstellungen"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Andere Einstellungen"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Symbol zur Verdeutlichung der Rücklinkfunktion der Fußnotennummer in der Liste"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Ausstattung der Fußnotenanker"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress-Hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "im Seitenfuß"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "im Anschluss an den Beitrag"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "in einem Widget"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Überschrift"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Position"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Ja"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "Nein"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "benutzerdefiniert"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Arabische Zahlen"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Arabische Zahlen, mindestens zweistellig"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Lateinische Kleinbuchstaben"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Lateinische Großbuchstaben"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Römische Zahlen"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Identische Fußnoten kombinieren"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Start-Shortcode"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "End-Shortcode"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Zählweise"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "Ich %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "Diese Website verwendet das tolle %s Plugin."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "zufallsbestimmte Anzeige einer der 3 Varianten"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "keinerlei Erwähnung von „%s %s“ im Seitenfuß"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Der Welt mitteilen, dass Sie %s verwenden"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Shortcode zur Unterdrückung der %s-Erwähnung in bestimmten Seiten:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Fußnoten auch in Zusammenfassungen anzeigen"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Experten-Modus aktivieren"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Vor dem Fußnotenanker"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "Nach dem Fußnotenanker"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "oben links"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "oben zentriert"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "oben rechts"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "rechts zentriert"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "unten rechts"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "unten zentriert"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "unten links"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "links zentriert"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Die Tooltipp-Infobox aktivieren"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Darin längere Fußnoten kürzen"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Maximale Anzahl Zeichen in der Infobox"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Position"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Waagerechter Versatz"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Senkrechter Versatz abwärts"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "Pixel; negativer Wert für Aufwärtsversatz"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Schriftfarbe"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color defined by your current theme."
msgstr "Leer lassen um die Standard-Schriftfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Hintergrundfarbe"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color defined by your current theme."
msgstr "Leer lassen um die Standard-Hintergrundfabe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Randbreite"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "Pixel; 0 für randlos"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Randfarbe"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color defined by your current theme."
msgstr "Leer lassen um die Standard-Randfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Eckenradius"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "Pixel; 0 für spitze Ecken"
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "Pixel; 0 deaktiviert diese Einstellung"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Schattenfarbe"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow defined by your current theme."
msgstr "Leer lassen um die Standard-Schattenfarbe Ihres Themes zu verwenden."
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr "Symbol wählen"
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr "oder eigenes Symbol eingeben"
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr "Wenn gesetzt, wird oben gewähltes Symbol ignoriert; Leerzeichen eingeben um kein Symbol anzuzeigen."
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Verfügbare CSS Klassen für Fußnotenanker, Infobox und Fußnotenliste"
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr "&lt;sup&gt;-Element des hochgestellten Fußnotenankers"
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr "&lt;span&gt;-Element der Tooltipp-Infobox"
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr "&lt;td&gt;-Element der 1. Spalte der Fußnotenliste: ID mit Rücklink"
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr "&lt;td&gt;-Element der 2. Spalte der Fußnotenliste: Fußnotentext"
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr "WordPress Hook-Name"
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr "Aktivieren"
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr "WordPress Dokumentation"
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr "Starten Sie eine Fußnote mit dem folgenden Shortcode:"
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr "...und beenden Sie diese mit:"
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr "Dies wird dargestellt als:"
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Für mehr Informationen besuchen Sie unser %sSupport Forum%s auf WordPress.org."
#: class/dashboard/subpage-main.php:539
msgid "Donate now"
msgstr "Jetzt spenden"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "Sie müssen angemeldet sein um diese Funktion ausführen zu können."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "Sie haben nicht die Berechtigung diese Funktion auszuführen."
#: class/hooks.php:80
msgid "Support"
msgstr "Support"
#: class/hooks.php:84
msgid "Donate"
msgstr "Spenden"
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "Das Widget definiert die Position der Einzelnachweise wenn »im Widget« gewählt ist."
#~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text"
#~ msgid "inline footnotes, mouse over highlight box"
#~ msgstr "Popup der Fußnote im veröffentlichten Text"
#~ msgid "reference container footnotes linked arrow"
#~ msgstr "Einzelnachweiß - Symbol für den Link"
#~ msgid "General"
#~ msgstr "Allgemein"
#~ msgid "%s Settings"
#~ msgstr "%s Einstellungen"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "Bei Fragen können Sie uns gerne eine %se-Mail%s senden."
#~ msgid "HowTo"
#~ msgstr "Hilfe"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Diese Seite verwendet das %s Plugin"
#~ msgid "starts with:"
#~ msgstr "beginnt mit:"
#~ msgid "Save"
#~ msgstr "Speichern"
#~ msgid "General Information"
#~ msgstr "Allgemeine Informationen"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr "Folgender Platzhalter wird durch Ihre Fußnote ersetzt:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr "Das Plugin ersetzt Ihren Text duch einen Fußnote"

Binary file not shown.

View file

@ -1,567 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
"PO-Revision-Date: 2020-11-01T1640+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Take a look at other Plugins we have developed."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error loading other WordPress Plugins from ManFisher. Sorry!"
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Install now"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "This Plugin is already installed and up to date."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "Installed"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "More details"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Last updated"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "Rating based on"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "ratings"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Settings saved"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnostics"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Displays information about the web server, PHP and WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Server name"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "PHP version"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "User agent"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Maximum execution time"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "seconds"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Memory limit"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "PHP extensions"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "WordPress version"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Active Theme"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Settings"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Customize"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Expert Mode"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Quick Start"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Reference container"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Footnotes main settings"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Other settings"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Symbol clarifying the backlink functionality of the footnote number in the reference container"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Around the inline footnote referrers"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Mouse-over box"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Add custom CSS to the public page"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress hooks to look for footnote short codes"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Brief introduction in how to use the plugin"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Help us to improve our plugin"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "in the footer"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "at the end of the page"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "in the widget area"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Heading"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Collapse by default"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Position"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Yes"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "No"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "user defined"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Plain Arabic Numbers"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Zero-padded Arabic Numbers"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Lowercase Latin letters"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Uppercase Latin letters"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Roman Numerals"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Combine identical footnotes"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Footnote start tag short code"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "Footnote end tag short code"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Counter style"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "I %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "This site uses the awesome %s Plugin."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "random-driven display of either variant"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "no display of any “%s %s” mention in the footer"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Tell the world you're using %s"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Shortcode to inhibit the display of the %s mention on specific pages:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Display footnotes in abstracts too"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Enable the Expert mode"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Before the footnote referrer"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "After the footnote referrer"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "top left"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "centre top"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "top right"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "centre right"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "bottom right"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "centre bottom"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "bottom left"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "centre left"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Enable the tooltip infobox"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Truncate the note in the infobox"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Maximum number of characters"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Position"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Horizontal offset"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Vertical offset downwards"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "pixels; negative value for a upwards offset"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Text colour"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color of the current theme."
msgstr "Leave empty to use the current themes default text colour."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Background colour"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color of the current theme."
msgstr "Leave empty to use the current themes default background colour."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Border width"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "pixels; 0 for borderless"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Border colour"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color of the current theme."
msgstr "Leave empty to use the current themes default border colour."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Rounded corner radius"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "pixels; 0 for sharp corners"
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Maximum width"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "pixels; 0 to disable this setting"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Box shadow colour"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow of the current theme."
msgstr "Leave empty to use the current themes default box shadow colour."
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr "Choose symbol"
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr "or enter a user defined symbol"
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr "When set, this overrides the symbol above; enter space to display no symbol."
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr "Add custom CSS"
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Available CSS classes to customize the footnotes and the reference container"
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr "&lt;sup&gt; element of the superscript footnote referrer"
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr "&lt;span&gt; element of the tooltip infobox"
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr "&lt;td&gt; element in the 1ˢᵗ column of the notes container: ID with backlink"
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr "&lt;td&gt; element in the 2ⁿᵈ column of the notes container: footnote text"
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr "WordPress hook name"
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr "Activate"
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr "WordPress documentation"
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr "Start your footnote with the following short code:"
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr "...and end your footnote with this short code:"
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr "That will display as:"
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "For further information please check out our %ssupport forum%s on WordPress.org."
#: class/dashboard/subpage-main.php:503
msgid "Donate now"
msgstr "Donate now"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "You must be logged in to run this script."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "You do not have permission to run this script."
#: class/hooks.php:80
msgid "Support"
msgstr "Support"
#: class/hooks.php:84
msgid "Donate"
msgstr "Donate"
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr "%sContinue&nbsp;reading%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "The widget defines the position of the reference container if set to \"widget area\"."
#~ msgid "inline footnotes"
#~ msgstr "inline footnotes"
#~ msgid "inline footnotes, mouse over highlight box"
#~ msgstr "inline footnotes, mouse over highlight box"
#~ msgid "reference container footnotes linked arrow"
#~ msgstr "reference container footnotes linked arrow"
#~ msgid "General"
#~ msgstr "General"
#~ msgid "%s Settings"
#~ msgstr "%s Settings"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgid "HowTo"
#~ msgstr "HowTo"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Hey there, I'm using the awesome %s Plugin"
#~ msgid "(("
#~ msgstr "(("
#~ msgid "<fn>"
#~ msgstr "<fn>"
#~ msgid "[ref]"
#~ msgstr "[ref]"
#~ msgid "))"
#~ msgstr "))"
#~ msgid "</fn>"
#~ msgstr "</fn>"
#~ msgid "[/ref]"
#~ msgstr "[/ref]"
#~ msgid "starts with:"
#~ msgstr "starts with:"
#~ msgid "Save"
#~ msgstr "Save"
#~ msgid "General Information"
#~ msgstr "General Information"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr ""
#~ "The plugin replaces this shortcode automatically with your footnotes"

Binary file not shown.

View file

@ -1,567 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2020-11-01T1641+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Take a look at other Plugins we have developed."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error loading other WordPress Plugins from ManFisher. Sorry!"
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Install now"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "This Plugin is already installed and up to date."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "Installed"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "More details"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Last updated"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "Rating based on"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "ratings"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Settings saved"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnostics"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Displays information about the web server, PHP and WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Server name"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "PHP version"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "User agent"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Maximum execution time"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "seconds"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Memory limit"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "PHP extensions"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "WordPress version"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Active Theme"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Settings"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Customize"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Expert Mode"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Quick Start"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Reference container"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Footnotes main settings"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Other settings"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Symbol clarifying the backlink functionality of the footnote number in the reference container"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Around the inline footnote referrers"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Mouse-over box"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Add custom CSS to the public page"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "WordPress hooks to look for footnote short codes"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Brief introduction in how to use the plugin"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Help us to improve our plugin"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "in the footer"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "at the end of the page"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "in the widget area"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Heading"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Collapse by default"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Position"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Yes"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "No"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "user defined"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Plain Arabic Numbers"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Zero-padded Arabic Numbers"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Lowercase Latin letters"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Uppercase Latin letters"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Roman Numerals"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Combine identical footnotes"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Footnote start tag short code"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "Footnote end tag short code"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Counter style"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "I %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "This site uses the awesome %s Plugin."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "random-driven display of either variant"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "no display of any “%s %s” mention in the footer"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Tell the world you're using %s"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Shortcode to inhibit the display of the %s mention on specific pages:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Display footnotes in abstracts too"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Enable the Expert mode"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Before the footnote referrer"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "After the footnote referrer"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "top left"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "center top"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "top right"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "center right"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "bottom right"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "center bottom"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "bottom left"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "center left"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Enable the tooltip infobox"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Truncate the note in the infobox"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Maximum number of characters"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Position"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Horizontal offset"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Vertical offset downwards"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "pixels; negative value for a upwards offset"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Text color"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color of the current theme."
msgstr "Leave empty to use the current themes default text color."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Background color"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color of the current theme."
msgstr "Leave empty to use the current themes default background color."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Border width"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "pixels; 0 for borderless"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Border color"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color of the current theme."
msgstr "Leave empty to use the current themes default border color."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Rounded corner radius"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "pixels; 0 for sharp corners"
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Maximum width"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "pixels; 0 to disable this setting"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Box shadow color"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow of the current theme."
msgstr "Leave empty to use the current themes default box shadow color."
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr "Choose symbol"
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr "or enter a user defined symbol"
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr "When set, this overrides the symbol above; enter space to display no symbol."
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr "Add custom CSS"
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Available CSS classes to customize the footnotes and the reference container"
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr "&lt;sup&gt; element of the superscript footnote referrer"
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr "&lt;span&gt; element of the tooltip infobox"
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr "&lt;td&gt; element in the 1ˢᵗ column of the notes container: ID with backlink"
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr "&lt;td&gt; element in the 2ⁿᵈ column of the notes container: footnote text"
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr "WordPress hook name"
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr "Activate"
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr "WordPress documentation"
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr "Start your footnote with the following short code:"
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr "...and end your footnote with this short code:"
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr "That will display as:"
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "For further information please check out our %ssupport forum%s on WordPress.org."
#: class/dashboard/subpage-main.php:503
msgid "Donate now"
msgstr "Donate now"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "You must be logged in to run this script."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "You do not have permission to run this script."
#: class/hooks.php:80
msgid "Support"
msgstr "Support"
#: class/hooks.php:84
msgid "Donate"
msgstr "Donate"
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr "%sContinue&nbsp;reading%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "The widget defines the position of the reference container if set to \"widget area\"."
#~ msgid "inline footnotes"
#~ msgstr "inline footnotes"
#~ msgid "inline footnotes, mouse over highlight box"
#~ msgstr "inline footnotes, mouse over highlight box"
#~ msgid "reference container footnotes linked arrow"
#~ msgstr "reference container footnotes linked arrow"
#~ msgid "General"
#~ msgstr "General"
#~ msgid "%s Settings"
#~ msgstr "%s Settings"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgid "HowTo"
#~ msgstr "HowTo"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Hey there, I'm using the awesome %s Plugin"
#~ msgid "(("
#~ msgstr "(("
#~ msgid "<fn>"
#~ msgstr "<fn>"
#~ msgid "[ref]"
#~ msgstr "[ref]"
#~ msgid "))"
#~ msgstr "))"
#~ msgid "</fn>"
#~ msgstr "</fn>"
#~ msgid "[/ref]"
#~ msgstr "[/ref]"
#~ msgid "starts with:"
#~ msgstr "starts with:"
#~ msgid "Save"
#~ msgstr "Save"
#~ msgid "General Information"
#~ msgstr "General Information"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr ""
#~ "The plugin replaces this shortcode automatically with your footnotes"

Binary file not shown.

View file

@ -1,558 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2020-11-01T1642+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Echa un vistazo a los otros plugins que hemos desarrollado."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Error cargando otros plugins de ManFisher. Disculpa."
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Instalar ahora"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "Este plugin está ya instalado y actualizado."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "Instalado"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "Más detalles"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Última actualización"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "Puntuación basada en"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "puntuaciones"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Ajustes guardados"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnóstico"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Muestra información sobre el servidor web, PHP y WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Nombre del servidor"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "Versión PHP"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "Agente usuario"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Tiempo máximo de ejecución"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "segundos"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Límite de memoria"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "Extensiones PHP"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "Versión de WordPress"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Tema activo"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Ajustes"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Personalizar"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Modo experto"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Guía rápido"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Sección de notas"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Ajustes básicos"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Otros ajustes"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Símbolo aclarando la funcionalidad de enlace de regreso del número en la sección de notas"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Alrededor de las anclas de nota"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Caja tooltip debajo el puntero sobre el ancla de nota"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Añade CSS personalizado a las páginas públicas"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "Enlaces a WordPress para buscar shortcodes de footnotes"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Breve introducción sobre cómo usar el plugin"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Ayúdanos a mejorar nuestro plugin"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "en el pie"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "al final de la entrada"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "en el área de widgets"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Título"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Contraer por defecto"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Posición"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Sí"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "No"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "definido por el usuario"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Números arábigos"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Números arábigos de dos digitos"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Letras latinas minúsculas"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Letras latinas mayúsculas"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Números romanos"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Combinar notas idénticas"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Etiqueta de inicio de nota"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "Etiqueta de fin de nota"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Estilo del contador"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "Yo %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "Este sitio utiliza el impresionante plugin %s."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "mostrar aleatoriamente qualquiera entre las tres variantes"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "no mostrar alguna variante de “%s %s” en el pie de página"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Cuentar al mundo que estás usando %s"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Para no mostrar públicamente en páginas/entradas específicas que usas %s, añade el siguiente shortcode a las mismas:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Mostrar notas también en abstractos"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Habilitar el modo experto"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Antes del ancla de nota"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "Después del ancla de nota"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "arriba a la izquierda"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "centro superior"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "arriba a la derecha"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "centro derecha"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "abajo a la derecha"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "centro inferior"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "abajo a la izquierda"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "centro izquierda"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Habilitar la infobox debajo del puntero"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Truncar notas largas en la infobox"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Número máximo de caracteres"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Posición"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Desplazamiento horizontal"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "en pixels; valor negativo para desplazar a la izquierda"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Desplazamiento vertical hacia abajo"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "en pixels; valor negativo para desplazar hacia arriba"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Color de texto"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color defined by your current theme."
msgstr "Dejar vacío para usar el color de texto por defecto del tema actual."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Color de fondo"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color defined by your current theme."
msgstr "Dejar vacío para usar el color de fondo por defecto del tema actual."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Ancho de borde"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "píxeles; 0 para sin borde"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Color de borde"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color defined by your current theme."
msgstr "Dejar vacío para usar el color de borde por defecto del tema actual."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Radio de esquinas redondeadas"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "píxeles; 0 para esquinas agudas"
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Ancho máximo"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "píxeles; 0 para un ancho limitado solo por el borde de la ventana"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Color de sombra"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow defined by your current theme."
msgstr "Dejar vacío para usar el color de sombra por defecto del tema actual."
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr "Escoga símbolo"
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr "o entra tu propio símbolo"
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr "Si puesto, se ignorará el arriba; entra espacio para no mostrar símbolo.)"
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr "Añadir CSS personalizado"
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Clases CSS disponibles para personalizar las notas y la sección de notas"
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr "elemento &lt;sup&gt; del ancla de nota sobrescrita"
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr "elemento &lt;span&gt; de la caja tooltip"
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr "elemento &lt;td&gt; de la 1ª columna de la sección de notas: ID con enlace de regreso"
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr "elemento &lt;td&gt; de la 2ª columna de la sección de notas: texto de nota"
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr "Nombre del hook de WordPress"
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr "Activar"
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr "Documentación de WordPress"
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr "Empieza tu nota al pie con el siguiente código:"
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr "...y finalizala con el siguiente código:"
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr "Eso será mostrado así:"
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "Para más información revisa nuestro %sforo de soporte%s en WordPress.org"
#: class/dashboard/subpage-main.php:503
msgid "Donate now"
msgstr "Donar ahora"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "Deberás estar identificado para ejecutar este script."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "No tienes permiso para ejecutar este script."
#: class/hooks.php:80
msgid "Support"
msgstr "Soporte"
#: class/hooks.php:84
msgid "Donate"
msgstr "Donar"
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr "%sContinuar&nbsp;leyendo%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "El widget define la posición de la sección de notas si estableces \"área de widgets\"."
#~ msgid "General"
#~ msgstr "General"
#~ msgid "%s Settings"
#~ msgstr "%s Settings"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgid "HowTo"
#~ msgstr "HowTo"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Hey there, I'm using the awesome %s Plugin"
#~ msgid "(("
#~ msgstr "(("
#~ msgid "<fn>"
#~ msgstr "<fn>"
#~ msgid "[ref]"
#~ msgstr "[ref]"
#~ msgid "))"
#~ msgstr "))"
#~ msgid "</fn>"
#~ msgstr "</fn>"
#~ msgid "[/ref]"
#~ msgstr "[/ref]"
#~ msgid "starts with:"
#~ msgstr "starts with:"
#~ msgid "Save"
#~ msgstr "Save"
#~ msgid "General Information"
#~ msgstr "General Information"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr ""
#~ "The plugin replaces this shortcode automatically with your footnotes"

Binary file not shown.

View file

@ -1,502 +0,0 @@
# The suggested en_US translation has significant differences with
# some message strings, that need updates once the code is stable.
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: enter your name <enter@your.email>\n"
"Language-Team: enter your name <enter@your.email>\n"
"Language: yourlocale_YOURSUBLOCALE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr ""
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr ""
#: class/dashboard/init.php:173
msgid "Install now"
msgstr ""
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr ""
#: class/dashboard/init.php:174
msgid "Installed"
msgstr ""
#: class/dashboard/init.php:193
msgid "More Details"
msgstr ""
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr ""
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr ""
#: class/dashboard/init.php:249
msgid "ratings"
msgstr ""
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr ""
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr ""
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr ""
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr ""
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr ""
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr ""
#: class/dashboard/subpage-main.php:84
msgid "Footnotes styling"
msgstr ""
#: class/dashboard/subpage-main.php:85
msgid "References Container"
msgstr ""
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr ""
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr ""
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr ""
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr ""
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr ""
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr ""
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr ""
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr ""
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr ""
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr ""
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr ""
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr ""
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr ""
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr ""
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr ""
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr ""
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr ""
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr ""
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr ""
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr ""
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr ""
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr ""
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr ""
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr ""
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr ""
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr ""
#: class/dashboard/subpage-main.php:215 class/task.php:159
#, php-format
msgid "I %s %s"
msgstr ""
#: class/dashboard/subpage-main.php:216 class/task.php:162
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr ""
#: class/dashboard/subpage-main.php:217 class/task.php:166
#, php-format
msgid "extra smooth %s"
msgstr ""
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr ""
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr ""
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr ""
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr ""
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr ""
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr ""
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr ""
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr ""
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr ""
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr ""
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr ""
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr ""
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr ""
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr ""
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr ""
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr ""
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr ""
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr ""
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr ""
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr ""
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr ""
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr ""
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr ""
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr ""
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr ""
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color defined by your current theme."
msgstr ""
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr ""
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color defined by your current theme."
msgstr ""
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr ""
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr ""
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr ""
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color defined by your current theme."
msgstr ""
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr ""
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr ""
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr ""
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr ""
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr ""
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow defined by your current theme."
msgstr ""
#: class/dashboard/subpage-main.php:387
msgid "Hyperlink symbol"
msgstr ""
#: class/dashboard/subpage-main.php:390
msgid "or enter a user defined symbol"
msgstr ""
#: class/dashboard/subpage-main.php:392
msgid "if set it overrides the hyperlink symbol above"
msgstr ""
#: class/dashboard/subpage-main.php:411
msgid "Add custom CSS"
msgstr ""
#: class/dashboard/subpage-main.php:414
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr ""
#: class/dashboard/subpage-main.php:417
msgid "superscript, Footnotes index"
msgstr ""
#: class/dashboard/subpage-main.php:420
msgid "mouse-over box, tooltip for each superscript"
msgstr ""
#: class/dashboard/subpage-main.php:423
msgid "1st column of the Reference Container, Footnotes index"
msgstr ""
#: class/dashboard/subpage-main.php:426
msgid "2nd column of the Reference Container, Footnote text"
msgstr ""
#: class/dashboard/subpage-main.php:445
msgid "WordPress hook function name"
msgstr ""
#: class/dashboard/subpage-main.php:446
msgid "Activate"
msgstr ""
#: class/dashboard/subpage-main.php:447
msgid "WordPress documentation"
msgstr ""
#: class/dashboard/subpage-main.php:508
msgid "Start your footnote with the following short code:"
msgstr ""
#: class/dashboard/subpage-main.php:511
msgid "...and end your footnote with this short code:"
msgstr ""
#: class/dashboard/subpage-main.php:515
msgid "will be displayed as:"
msgstr ""
#: class/dashboard/subpage-main.php:518
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr ""
#: class/dashboard/subpage-main.php:539
msgid "Donate now"
msgstr ""
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr ""
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr ""
#: class/hooks.php:80
msgid "Support"
msgstr ""
#: class/hooks.php:84
msgid "Donate"
msgstr ""
#: class/task.php:370
#, php-format
msgid "%scontinue%s"
msgstr ""
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr ""

Binary file not shown.

View file

@ -1,555 +0,0 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
"PO-Revision-Date: 2020-11-01T1642+0100\n"
"Last-Translator: @pewgeuges\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: class/dashboard/init.php:151
msgid "Take a look on other Plugins we have developed."
msgstr "Jetez un œil à dautres plugins que nous avons développés."
#: class/dashboard/init.php:157
msgid "Error loading other WordPress Plugins from Manfisher. Sorry!"
msgstr "Erreur au chargement dautres plugins WordPress de ManFisher. Désolé!"
#: class/dashboard/init.php:173
msgid "Install now"
msgstr "Installer maintenant"
#: class/dashboard/init.php:174
msgid "This Plugin is already installed and up to date."
msgstr "Ce plugin est déjà installé et à jour."
#: class/dashboard/init.php:174
msgid "Installed"
msgstr "Installé"
#: class/dashboard/init.php:193
msgid "More Details"
msgstr "Plus de détails"
#: class/dashboard/init.php:194
msgid "Last Updated"
msgstr "Dernière mise à jour"
#: class/dashboard/init.php:249
msgid "rating based on"
msgstr "note basée sur"
#: class/dashboard/init.php:249
msgid "ratings"
msgstr "notes"
#: class/dashboard/layout.php:241
msgid "Settings saved"
msgstr "Préférences sauvegardées"
#: class/dashboard/subpage-diagnostics.php:48
#: class/dashboard/subpage-diagnostics.php:60
msgid "Diagnostics"
msgstr "Diagnostics"
#: class/dashboard/subpage-diagnostics.php:73
msgid "Displays information about the web server, PHP and WordPress"
msgstr "Affiche des informations sur le serveur web, PHP et WordPress"
#: class/dashboard/subpage-diagnostics.php:110
msgid "Server name"
msgstr "Nom du serveur"
#: class/dashboard/subpage-diagnostics.php:113
msgid "PHP version"
msgstr "Version de PHP"
#: class/dashboard/subpage-diagnostics.php:116
msgid "User agent"
msgstr "Agent utilisateur"
#: class/dashboard/subpage-diagnostics.php:119
msgid "Max execution time"
msgstr "Temps dexécution maximum"
#: class/dashboard/subpage-diagnostics.php:120
msgid "seconds"
msgstr "secondes"
#: class/dashboard/subpage-diagnostics.php:122
msgid "Memory limit"
msgstr "Limite mémoire"
#: class/dashboard/subpage-diagnostics.php:125
msgid "PHP extensions"
msgstr "Extensions PHP"
#: class/dashboard/subpage-diagnostics.php:128
msgid "WordPress version"
msgstr "Version de WordPress"
#: class/dashboard/subpage-diagnostics.php:131
msgid "Active Theme"
msgstr "Thème actif"
#: class/dashboard/subpage-main.php:62 class/hooks.php:82
msgid "Settings"
msgstr "Préférences"
#: class/dashboard/subpage-main.php:63
msgid "Customize"
msgstr "Personnaliser"
#: class/dashboard/subpage-main.php:65
msgid "Expert mode"
msgstr "Mode expert"
#: class/dashboard/subpage-main.php:67
msgid "How to"
msgstr "Emploi"
#: class/dashboard/subpage-main.php:84
msgid "References Container"
msgstr "Liste des notes"
#: class/dashboard/subpage-main.php:85
msgid "Footnotes styling"
msgstr "Paramètres de base"
#: class/dashboard/subpage-main.php:88
msgid "Other"
msgstr "Autres paramètres"
#: class/dashboard/subpage-main.php:91
msgid "Hyperlink symbol in the Reference container"
msgstr "Symbole clarifiant la fonctionnalité de lien retour du numéro dans la liste des notes"
#: class/dashboard/subpage-main.php:92
msgid "Superscript layout"
msgstr "Autour des appels de note"
#: class/dashboard/subpage-main.php:93
msgid "Mouse-over box"
msgstr "Infoboîte au survol du pointeur"
#: class/dashboard/subpage-main.php:94
msgid "Add custom CSS to the public page"
msgstr "Ajouter du CSS personnalisé aux pages publiques"
#: class/dashboard/subpage-main.php:96
msgid "WordPress hooks to look for Footnote short codes"
msgstr "Crochets WordPress de recherche de short-codes de notes"
#: class/dashboard/subpage-main.php:98
msgid "Brief introduction in how to use the plugin"
msgstr "Brève introduction à lutilisation du plugin"
#: class/dashboard/subpage-main.php:99
msgid "Help us to improve our Plugin"
msgstr "Aidez-nous à améliorer notre plugin"
#: class/dashboard/subpage-main.php:112
msgid "in the footer"
msgstr "dans le pied de page"
#: class/dashboard/subpage-main.php:113
msgid "at the end of the post"
msgstr "à la fin de larticle"
#: class/dashboard/subpage-main.php:114
msgid "in the widget area"
msgstr "dans la zone widget"
#: class/dashboard/subpage-main.php:122
msgid "References label"
msgstr "Titre"
#: class/dashboard/subpage-main.php:125
msgid "Collapse references by default"
msgstr "Réduire par défaut"
#: class/dashboard/subpage-main.php:128
msgid "Where shall the reference container appear"
msgstr "Position"
#: class/dashboard/subpage-main.php:147 class/dashboard/subpage-main.php:247
#: class/dashboard/subpage-main.php:298
msgid "Yes"
msgstr "Oui"
#: class/dashboard/subpage-main.php:148 class/dashboard/subpage-main.php:248
#: class/dashboard/subpage-main.php:299
msgid "No"
msgstr "Non"
#: class/dashboard/subpage-main.php:155 class/dashboard/subpage-main.php:162
msgid "user defined"
msgstr "défini par lutilisateur"
#: class/dashboard/subpage-main.php:166
msgid "Arabic Numbers - Plain"
msgstr "Nombres arabes"
#: class/dashboard/subpage-main.php:167
msgid "Arabic Numbers - Leading 0"
msgstr "Nombres arabes à deux chiffres minimum"
#: class/dashboard/subpage-main.php:168
msgid "Latin Character - lower case"
msgstr "Lettres latines minuscules"
#: class/dashboard/subpage-main.php:169
msgid "Latin Character - upper case"
msgstr "Lettres latines majuscules"
#: class/dashboard/subpage-main.php:170
msgid "Roman Numerals"
msgstr "Nombres romains"
#: class/dashboard/subpage-main.php:178
msgid "Combine identical footnotes"
msgstr "Combiner les notes identiques"
#: class/dashboard/subpage-main.php:181
msgid "Footnote tag starts with"
msgstr "Balise de début de note"
#: class/dashboard/subpage-main.php:184
msgid "and ends with"
msgstr "Balise de fin de note"
#: class/dashboard/subpage-main.php:193
msgid "Counter style"
msgstr "Style de numérotation"
#: class/dashboard/subpage-main.php:215 class/task.php:154
#, php-format
msgid "I %s %s"
msgstr "J %s %s"
#: class/dashboard/subpage-main.php:216 class/task.php:157
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "Ce site utilise la super extension %s."
#: class/dashboard/subpage-main.php:217 class/task.php:161
#, php-format
msgid "extra smooth %s"
msgstr "%s"
#: class/dashboard/subpage-main.php:218
msgid "random text"
msgstr "afficher lune des 3 mentions au hasard"
#: class/dashboard/subpage-main.php:219
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "ne pas afficher de mention « %s %s» dans le pied de page"
#: class/dashboard/subpage-main.php:227
#, php-format
msgid "Tell the world you're using %s"
msgstr "Dire au monde que vous utilisez %s"
#: class/dashboard/subpage-main.php:230
#, php-format
msgid "Don't tell the world you're using %s on specific pages by adding the following short code:"
msgstr "Short-code pour inhiber laffichage de la mention %s sur des pages spécifiques:"
#: class/dashboard/subpage-main.php:256
msgid "Allow footnotes on Summarized Posts"
msgstr "Afficher les notes aussi dans les résumés"
#: class/dashboard/subpage-main.php:258
msgid "Enable the Expert mode"
msgstr "Activer le mode expert"
#: class/dashboard/subpage-main.php:278
msgid "Before Footnotes index"
msgstr "Avant lappel de note"
#: class/dashboard/subpage-main.php:281
msgid "After Footnotes index"
msgstr "Après lappel de note"
#: class/dashboard/subpage-main.php:303
msgid "top left"
msgstr "en haut à gauche"
#: class/dashboard/subpage-main.php:304
msgid "top center"
msgstr "en haut au centre"
#: class/dashboard/subpage-main.php:305
msgid "top right"
msgstr "en haut à droite"
#: class/dashboard/subpage-main.php:306
msgid "center right"
msgstr "à droite au centre"
#: class/dashboard/subpage-main.php:307
msgid "bottom right"
msgstr "en bas à droite"
#: class/dashboard/subpage-main.php:308
msgid "bottom center"
msgstr "en bas au centre"
#: class/dashboard/subpage-main.php:309
msgid "bottom left"
msgstr "en bas à gauche"
#: class/dashboard/subpage-main.php:310
msgid "center left"
msgstr "à gauche au centre"
#: class/dashboard/subpage-main.php:317
msgid "Enable the mouse-over box"
msgstr "Activer linfoboîte de survol au pointeur"
#: class/dashboard/subpage-main.php:320
msgid "Display only an excerpt"
msgstr "Y tronquer les notes plus longues"
#: class/dashboard/subpage-main.php:323
msgid "Maximum characters for the excerpt"
msgstr "Nombre de caractères maximum dans linfoboîte"
#: class/dashboard/subpage-main.php:326
msgid "Position"
msgstr "Position"
#: class/dashboard/subpage-main.php:329
msgid "Offset X (px)"
msgstr "Décalage horizontal"
#: class/dashboard/subpage-main.php:331
msgid "Offset (X axis) in px (may be negative)"
msgstr "pixels; valeur négative pour décaler vers la gauche"
#: class/dashboard/subpage-main.php:333
msgid "Offset Y (px)"
msgstr "Décalage vertical vers le bas"
#: class/dashboard/subpage-main.php:335
msgid "Offset (Y axis) in px (may be negative)"
msgstr "pixels; valeur négative pour décaler vers le haut"
#: class/dashboard/subpage-main.php:337
msgid "Color"
msgstr "Couleur du texte"
#: class/dashboard/subpage-main.php:339
msgid "Empty color will use the default color defined by your current theme."
msgstr "Laisser vide pour utiliser la couleur de texte par défaut définie par le thème actif."
#: class/dashboard/subpage-main.php:341
msgid "Background color"
msgstr "Couleur de fond"
#: class/dashboard/subpage-main.php:343
msgid "Empty color will use the default background-color defined by your current theme."
msgstr "Laisser vide pour utiliser la couleur de fond par défaut définie par le thème actif."
#: class/dashboard/subpage-main.php:345
msgid "Border width (px)"
msgstr "Largeur de bordure"
#: class/dashboard/subpage-main.php:347
msgid "Set the width to 0px to hide the border."
msgstr "pixels; 0 pour sans bordure"
#: class/dashboard/subpage-main.php:349
msgid "Border color"
msgstr "Couleur de bordure"
#: class/dashboard/subpage-main.php:351
msgid "Empty color will use the default border-color defined by your current theme."
msgstr "Laisser vide pour utiliser la couleur de bordure par défaut définie par le thème actif."
#: class/dashboard/subpage-main.php:353
msgid "Border radius (px)"
msgstr "Rayon des angles arrondis"
#: class/dashboard/subpage-main.php:355
msgid "Set the radius to 0px to avoid a radius."
msgstr "pixels; 0 pour des angles vifs."
#: class/dashboard/subpage-main.php:357
msgid "Max. width (px)"
msgstr "Largeur maximale"
#: class/dashboard/subpage-main.php:359
msgid "Set the max-width to 0px to disable this setting."
msgstr "pixels; 0 pour une largeur limitée seulement par le bord de la fenêtre"
#: class/dashboard/subpage-main.php:361
msgid "Box shadow color"
msgstr "Couleur dombrage"
#: class/dashboard/subpage-main.php:363
msgid "Empty color will use the default box shadow defined by your current theme."
msgstr "Laisser vide pour utiliser la couleur dombrage par défaut du thème actif."
#: class/dashboard/subpage-main.php:387
msgid "Add custom CSS"
msgstr "Ajouter des règles de style personnalisées"
#: class/dashboard/subpage-main.php:390
msgid "Available CSS classes to customize the footnotes and the reference container"
msgstr "Classes CSS disponibles pour personnaliser les appels de note, les infoboîtes et la liste des notes"
#: class/dashboard/subpage-main.php:392
msgid "superscript, Footnotes index"
msgstr "élément &lt;sup&gt; de lappel de note en exposant"
#: class/dashboard/subpage-main.php:411
msgid "mouse-over box, tooltip for each superscript"
msgstr "élément &lt;span&gt; de linfoboîte"
#: class/dashboard/subpage-main.php:414
msgid "1st column of the Reference Container, Footnotes index"
msgstr "élément &lt;td&gt; de la 1ʳᵉ colonne de la liste des notes: ID avec lien de retour"
#: class/dashboard/subpage-main.php:417
msgid "2nd column of the Reference Container, Footnote text"
msgstr "élément &lt;td&gt; de la 2ᵉ colonne de la liste des notes: texte de note"
#: class/dashboard/subpage-main.php:420
msgid "WordPress hook function name"
msgstr "Nom du crochet (hook) de WordPress"
#: class/dashboard/subpage-main.php:423
msgid "Activate"
msgstr "Activer"
#: class/dashboard/subpage-main.php:426
msgid "WordPress documentation"
msgstr "Documentation WordPress"
#: class/dashboard/subpage-main.php:472
msgid "Start your footnote with the following short code:"
msgstr "Commencez votre note de pied de page après ce short-code:"
#: class/dashboard/subpage-main.php:475
msgid "...and end your footnote with this short code:"
msgstr "…et finissez-la par ce short-code:"
#: class/dashboard/subpage-main.php:479
msgid "will be displayed as:"
msgstr "Cela saffichera ainsi:"
#: class/dashboard/subpage-main.php:482
#, php-format
msgid "For further information please check out our %ssupport forum%s on WordPress.org."
msgstr "For further information please check out our %ssupport forum%s on WordPress.org."
#: class/dashboard/subpage-main.php:503
msgid "Donate now"
msgstr "Donate now"
#: class/hooks.php:59
msgid "You must be logged in to run this script."
msgstr "You must be logged in to run this script."
#: class/hooks.php:63
msgid "You do not have permission to run this script."
msgstr "You do not have permission to run this script."
#: class/hooks.php:80
msgid "Support"
msgstr "Support"
#: class/hooks.php:84
msgid "Donate"
msgstr "Donate"
#: class/task.php:391
#, php-format
msgid "%scontinue%s"
msgstr "%sLire&nbsp;plus%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
msgstr "Le widget definit la position de la liste des notes paramétrée à «zone widget»."
#~ msgid "inline footnotes"
#~ msgstr "inline footnotes"
#~ msgid "inline footnotes, mouse over highlight box"
#~ msgstr "inline footnotes, mouse over highlight box"
#~ msgid "reference container footnotes linked arrow"
#~ msgstr "reference container footnotes linked arrow"
#~ msgid "General"
#~ msgstr "General"
#~ msgid "%s Settings"
#~ msgstr "%s Settings"
#~ msgid "If you have any questions, please don't hesitate to %se-mail%s us."
#~ msgstr "If you have any questions, please dont hesitate to %se-mail%s us."
#~ msgid "HowTo"
#~ msgstr "HowTo"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"
#~ msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
#~ msgstr "Hey there, Im using the awesome %s Plugin"
#~ msgid "(("
#~ msgstr "(("
#~ msgid "<fn>"
#~ msgstr "<fn>"
#~ msgid "[ref]"
#~ msgstr "[ref]"
#~ msgid "))"
#~ msgstr "))"
#~ msgid "</fn>"
#~ msgstr "</fn>"
#~ msgid "[/ref]"
#~ msgstr "[/ref]"
#~ msgid "starts with:"
#~ msgstr "starts with:"
#~ msgid "Save"
#~ msgstr "Save"
#~ msgid "General Information"
#~ msgstr "General Information"
#~ msgid ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgstr ""
#~ "Insert the following shortcode where you want your footnotes to be "
#~ "displayed:"
#~ msgid "The plugin replaces this shortcode automatically with your footnotes"
#~ msgstr ""
#~ "The plugin replaces this shortcode automatically with your footnotes"

View file

@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
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, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View file

@ -1,387 +0,0 @@
=== footnotes ===
Contributors: mark.cheret, lolzim, pewgeuges, dartiss
Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, reference, referencing
Requires at least: 3.9
Tested up to: 5.5
Requires PHP: 5.6
Stable Tag: 2.0.6
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
== Description ==
Featured on wpmudev: http://premium.wpmudev.org/blog/12-surprisingly-useful-wordpress-plugins-you-dont-know-about/
Cheers for the review, folks!
https://www.youtube.com/watch?v=HzHaMAAJwbI
**footnotes** aims to be the all-in-one solution for displaying an automatically generated list of references on your Page or Post. The Plugin ships with a set of sane defaults but also gives the user control over how their footnotes are being displayed.
**footnotes** gives you the ability to display decently-formated footnotes on your WordPress Pages or Posts (those footnotes we know from offline publishing).
= Main Features =
- Fully customizable **footnotes** shortcode
- Decide, where your **footnotes** are displayed (position of the *Reference Container*)
- Add custom CSS to style the appeareance of the **footnotes**
- Responsive *Reference Container*
- Mouse-Over Box with clickable links displays your **footnotes** text
- Automatic numbering of your **footnotes**
- Choose from a list of symbols to represent your **footnotes**
- Display the **footnotes** *Reference Container* inside a Widget
- Button in both the Visual and the Text editor
- Add **footnotes** into your Page / Post with ease of use by selecting your text and clicking the button
= Example Usage =
This is an example. Please note, that you can customize the shortcode you want to use.
1. Your awesome text((with an awesome footnote))
2. Your awesome text[ref]with an awesome footnote[/ref]
3. Your awesome text`<fn>`with an awesome footnote`</fn>`
4. Your awesome text `custom-shortcode` with an awesome footnote `custom-shortcode`
= Where to get footnotes? =
The current version is available on wordpress.org:
http://downloads.wordpress.org/plugin/footnotes.zip
= Support =
Please report feature requests, bugs and other support related questions in the WordPress Forums at https://wordpress.org/support/plugin/footnotes
Speak your mind, unload your burdens. Notice how we screwed up big time? Bring it to our attention in the above mentioned WordPress Forums. Be polite, though :)
= Development =
Development of the plugin is an open process. Latest code is available on wordpress.org
== Frequently Asked Questions ==
= Is your Plugin a copy of footnotes x? =
No, this Plugin has been written from scratch. Of course some inspirations on how to do or how to not do things were taken from other plugins.
= Your Plugin is awesome! How do I convert my footnotes if I used one of the other footnotes plugins out there? =
1. For anyone interested in converting from the FD Footnotes plugin:
Visit this swift write-up from a **footnotes** user by the name of **Southwest**: http://wordpress.org/support/topic/how-to-make-this-footnote-style?replies=6#post-5946306
2. From what we've researched, all other footnotes Plugins use open and close shortcodes, which can be left as is. In the **footnotes** settings menu, you can setup **footnotes** to use the existing (=previously used) shortcodes. Too easy? Yippy Ki-Yey!
== Installation ==
- Visit your WordPress Admin area
- Navigate to `Plugins\Add`
- Search for **footnotes** and find this Plugin among others
- Install the latest version of the **footnotes** Plugin from WordPress.org
- Activate the Plugin
== Screenshots ==
1. Find the footnotes plugin settings in the newly added "ManFisher" Menu
2. Settings for the *References Container*
3. Settings for **footnotes** styling
4. Settings for **footnotes** love
5. Other Settings
6. The HowTo section in the **footnotes** settings
7. Here you can see the **footnotes** Plugin at work. Isn't that plain beautiful?
== Changelog ==
= 2.0.6 =
- Bugfix: Rolled back priority fix at the expense of reference container position
- Bugfix: Support for infinite scroll / autoload
- Bugfix: Public style sheet: Footnote referrers: deleted vertical align tweaks for cross-theme and user agent compatibility
- Bugfix: Public style sheet: Reference container: auto-extending column to fit widest, to fix display with short note texts
- Bugfix: Public style sheet: Reference container: IDs: slightly increased left padding
= 2.0.5 =
- Bugfix: Layout: Fixed reference container position through priority level (10)
- Bugfix: Input boxes on public pages
- Bugfix: Get references container close to content, not below all other features
- Bugfix: Public style sheet: Reference container: unset width of text column to fix site issues
- Update: Enable all hooks by default to prevent footnotes from seeming broken in post titles
- Bugfix: Restore cursor shape pointer over 'Continue reading' button after hyperlink removal
= 2.0.4 =
- Update: Restored arrow settings to customize or disable the now prepended arrow symbol
- Update: GDPR: Added jQuery UI from WordPress instead of third party
- Bugfix: UX: Removed hyperlink addresses from referrers and backlinks wrt browsing history
- Bugfix: Reference container: layout: removed inconvenient left/right cellpadding
- Bugfix: Tooltip infobox: improved layout with inherited font size by lower line height
- Bugfix: Tooltip infobox: 'Continue reading' button: disabled default underline
- Bugfix: Fixed display of 2 dashboard headings
= 2.0.3 =
- Bugfix: Layout: Self-adjusting width of ID column but hidden overflow
- Update: Prepended transitional up arrow to backlinking footnote numbers after a user complaint about missing backlinking semantics of the footnote number
- Bugfix: Fragment IDs: Prepended post ID to footnote number
- Bugfix: Feed plugin version in style sheet query string for cache busting
- Bugfix: Print style: Hide reference collapse button when printing
- Update: Layout: Removed padding before reference container label
= 2.0.2 =
- Bugfix: Restored expand/collapse button of reference container
- Bugfix: Dashboard: Available CSS selectors, last item display
- Bugfix: Footnote anchor and ID color to default on screen, to inherit in print
- Bugfix: Disabled underline in footnote anchors, underline only on hover
= 2.0.1 =
- Bugfix: Fixed public.css
- Update: Language fr_FR along with es_ES, de_AT, de_DE, en_GB, en_US for 2.0
= 2.0.0 =
- Major contributions taken from WordPress user pewgeuges, all details here https://github.com/media-competence-institute/footnotes/blob/master/README.md:
- Update: **symbol for backlinks** removed
- Update: hyperlink moved to the reference number
- Update: Upgrade jQuery library
- Update: Account for disruptive PHP change
- Bugfix: footnote links script independent
- Bugfix: Get the “Continue reading” link to work in the mouse-over box
- Bugfix: Debug printed posts and pages
- Bugfix: Display of combined identical notes
- Update: Adjusted scrolling time and offset
- Bugfix: No borders around footnotes in the container
- Bugfix: Mouse-over box display timing
= 1.6.6 =
- Beginning of translation to French
= 1.6.5 =
- Update: Fix for deprecated PHP function create_function() (man thanks to Felipe Lavín Z.)
- Update: The CSS had been modified in order to show the tooltip numbers a little less higher than text
- Bugfix: Fixed error on demo in backend
= 1.6.4 =
- Bugfix: The deprecated WP_Widget elements have been replaced
- Bugfix: Fixed occasional bug where footnote ordering could be out of sequence
= 1.6.3 =
- Bugfix: We were provided a fix by a user named toma. footnotes now works in sub-folder installations of WordPress
= 1.6.2 =
- Update: Changed the Preview tab
- Bugfix: Html tags has been removed in the Reference container when the excerpt mode is enabled
= 1.6.1 =
- Update: Translations
- Bugfix: Move to anchor
= 1.6.0 =
- **IMPORTANT**: Improved performance. You need to Activate the Plugin again. (Settings won't change!)
- Add: Setting to customize the mouse-over box shadow
- Add: Translation: United States
- Add: Translation: Austria
- Add: Translation: Spanish (many thanks to Pablo L.)
- Update: Translations (de_DE and en_GB)
- Update: Changed Plugins init file name to improve performance (Re-activation of the Plugin is required)
- Update: ManFisher note styling
- Update: Tested with latest nightly build of WordPress 4.1
- Bugfix: Avoid multiple IDs for footnotes when multiple reference containers are displayed
= 1.5.7 =
- Add: Setting to define the positioning of the mouse-over box
- Add: Setting to define an offset for the mouse-over box (precise positioning)
- Bugfix: Target element to move down to the reference container is the footnote index instead of the arrow (possibility to hide the arrow)
- Bugfix: Rating calculation for the 'other plugins' list
= 1.5.6 =
- **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
= 1.5.5 =
- Add: Expert mode setting
- Add: Activation and Deactivation of WordPress hooks to look for Footnotes (expert mode)
- Add: WordPress hooks: 'the_title' and 'widget_title' (default: disabled) to search for Footnote short codes
- Bugfix: Default value for the WordPress hook the_post to be disabled (adds Footnotes twice to the Reference container)
- Bugfix: Activation, Deactivation and Uninstall hook class name
- Bugfix: Add submenu pages only once for each ManFisher WordPress Plugin
- Bugfix: Display the Reference container in the Footer correctly
= 1.5.4 =
- Add: Setting to enable an excerpt of the Footnotes mouse-over box text (default: disabled)
- Add: Setting to define the maximum length of the excerpt displayed in the mouse-over box (default: 150 characters)
- Update: Detail information about other Plugins from ManFisher (rating, downloads, last updated, Author name/url)
- Update: Receiving list of other Plugins from the Developer Team from an external server
- Update: Translations (EN and DE)
- Bugfix: Removed hard coded position of the 'ManFisher' main menu page (avoid errors with other Plugins)
- Bugfix: Changed function name (includes.php) to be unique (avoid errors with other Plugins)
- Bugfix: Try to replace each appearance of Footnotes in the current Post object loaded from the WordPress database
= 1.5.3 =
- Add: Developer's homepage to the 'other Plugins' list
- Update: Smoothy scroll to an anchor using Javascript
- Bugfix: Set the vertical align for each cell in the Reference container to TOP
= 1.5.2 =
- Add: Setting to enable/disable the mouse-over box
- Add: Current WordPress Theme to the Diagnostics sub page
- Add: ManFisher note in the "other Plugins" sub page
- Update: Removed unnecessary hidden inputs from the Settings page
- Update: Merged public CSS files to reduce the output and improve the performance
- Update: Translations (EN and DE)
- Bugfix: Removed the 'trim' function to allow whitespaces at the beginning and end of each setting
- Bugfix: Convert the footnotes short code to HTML special chars when adding them into the page/post editor (visual and text)
- Bugfix: Detailed error messages if other Plugins can't be loaded. Also added empty strings as default values to avoid 'undefined'
= 1.5.1 =
- Bugfix: Broken Settings link in the Plugin listing
- Bugfix: Translation overhaul for German
= 1.5.0 =
- Add: Grouped the Plugin Settings into a new Menu Page called "ManFisher Plugins"
- Add: Sub Page to list all other Plugins of the Contributors
- Add: Hyperlink to manfisher.eu in the "other plugins" page
- Update: Refactored the whole source code
- Update: Moved the Diagnostics Sections to into a new Sub Page called "Diagnostics"
- Bugfix: Line up Footnotes with multiple lines in the Reference container
- Bugfix: Load text domain
- Bugfix: Display the Footnotes button in the plain text editor of posts/pages
= 1.4.0 =
- Feature: WPML Config XML file for easy multi language string translation (WPML String Translation Support File)
- Update: Changed e-Mail support address to the WordPress support forum
- Update: Language EN and DE
- Add: Tab for Plugin Diagnostics
- Add: Donate link to the installed Plugin overview page
- Add: Donate button to the "HowTo" tab
= 1.3.4 =
- Bugfix: Settings access permission vor sub-sites
- Bugfix: Setting 'combine identical footnotes' working as it should
= 1.3.3 =
- Update: Changed the Author name from a fictitious entity towards a real registered company
- Update: Changed the Author URI
= 1.3.2 =
- Bugfix: More security recognizing Footnotes on public pages (e.g. ignoring empty Footnote short codes)
- Bugfix: Clear old Footnotes before lookup new public page (only if no reference container displayed before)
- Update: language EN and DE
- Add: Setting to customize the hyperlink symbol in der reference container for each footnote reference
- Add: Setting to enter a user defined hyperlink symbol
-
= 1.3.1 =
- Bugfix: Allow settings to be empty
- Bugfix: Removed space between the hyperlink and superscript in the footnotes index
- Add: Setting to customize the text before and after the footnotes index in superscript
= 1.3.0 =
- Bugfix: Changed tooltip class to be unique
- Bugfix: Changed superscript styling to not manipulate the line height
- Bugfix: Changed styling of the footnotes text in the reference container to avoid line breaks
- Update: Reformatted code
- Add: new settings tab for custom CSS settings
= 1.2.5 =
- Bugfix: New styling of the mouse-over box to stay in screen (thanks to Jori, France and Manuel345, undisclosed location)
= 1.2.4 =
- Bugfix: CSS stylesheets will only be added in FootNotes settings page, nowhere else (thanks to Piet Bos, China)
- Bugfix: Styling of the reference container when the footnote text was too long (thanks to Willem Braak, undisclosed location)
- Bugfix: Added a Link to the footnote text in the reference container back to the footnote index in the page content (thanks to Willem Braak, undisclosed location)
= 1.2.3 =
- Bugfix: Removed 'Warning output' of Plugins activation and deactivation function (thanks to Piet Bos, China)
- Bugfix: Added missing meta boxes parameter on Settings page (thanks to Piet Bos, China)
- Bugfix: Removed Widget text formatting
- Bugfix: Load default settings value of setting doesn't exist yet (first usage)
- Bugfix: Replacement of footnotes tag on public pages with html special characters in the content
- Feature: Footnotes tag color is set to the default link color depending on the current Theme (thanks to Daniel Formo, Norway)
= 1.2.2 =
- Bugfix: WYSIWYG editor and plain text editor buttons insert footnote short code correctly (also if defined like html tag)
- Update: The admin can decide which "I love footnotes" text (or not text) will be displayed in the footer
- Add: Buttons next to the reference label to expand/collapse the reference container if set to "collapse by default"
- Bugfix: Replace footnote short code
- Update: Combined buttons for the "collapse/expand" reference container
= 1.2.1 =
- Bugfix: HowTo example will be displayed correctly if a user defined short code is set
= 1.2.0 =
- Feature: New button in the WYSIWYG editor and in the plain text editor to easily implement the footnotes tag
- Feature: Icon for the WYSIWYG-editor button
- Feature: Pre defined footnote short codes
- Experimental: User defined short code for defining footnotes
- Experimental: Plugin Widget to define where the reference container should appear when set to "widget area"
- Update: Moved footnotes 'love' settings to a separate container
- Update: Translation for new settings and for the Widget description
- Bugfix: Setting for the position of the "reference container" works for the options "footer", "end of post" and "widget area"
= 1.1.1 =
- Feature: Short code to not display the 'love me' slug on specific pages ( short code = [[no footnotes: love]] )
- Update: Setting where the reference container appears on public pages can also be set to the widget area
- Add: Link to the wordpress.org support page in the plugin main page
- Update: Changed plugin URL from GitHub to WordPress
- Bugfix: Uninstall function to really remove all settings done in the settings page
- Bugfix: Load default settings after plugin is installed
- Update: Translation for support link and new setting option
- Add: Label to display the user the short code to not display the 'love me' slug
= 1.1.0 =
- Update: Global styling for the public plugin name
- Update: Easier usage of the public plugin name in translations
- Update: New Layout for the settings page to group similar settings to get a better overview
- Update: Display settings submit button only if there is at least 1 editable setting in the current tab
- Add: Setting where the reference container appears on public pages (needs some corrections!)
- Bugfix: Displays only one reference container in front of the footer on category pages
= 1.0.6 =
- Bugfix: Uninstall function to delete all plugin settings
- Bugfix: Counter style internal name in the reference container to correctly link to the right footnote on the page above
- Bugfix: Footnote hover box styling to not wrap the footnote text on mouse over
- Update: 'footnotes love' text in the page footer if the admin accepts it and set its default value to 'no'
= 1.0.5 =
- The Plugin has been submitted to wordpress.org for review and (hopefully) publication.
- Update: Plugin description for public directories (WordPress.org and GitHub)
- Feature: the footnotes WordPress Plugin now has its very own CI
- Update: Styling
- Update: Settings to support the styling
- Add: Inspirational Screenshots for further development
- Add: Settings screenshot
- Update: i18n fine-tuning
= 1.0.4 =
- Update: 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
- Add: setting to allow footnotes on Summarized Posts
- Add: setting to tell the world you're using footnotes plugin
- Add: 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, ...)
- Add: a link to the WordPress plugin in the footer if the WP-admin accepts it
- Update: translations for the new settings
- Switch back the version numbering scheme to have 3 digits
= 1.0.3 =
- Add: setting to use personal starting and ending tag for the footnotes
- Update: translations for the new setting
- Update: reading settings and fallback to default values (bugfix)
= 1.0.2 =
- Add: setting to collapse the reference container by default
- Add: link behind the footnotes to automatically jump to the reference container
- Add: function to easy output input fields for the settings page
- Update: translation for the new setting
= 1.0.1 =
- Separated functions in different files for a better overview
- Add: a version control to each file / class / function / variable
- Add: layout for the settings menu, settings split in tabs and not a list-view
- Update: Replacing footnotes in widget texts will show the reference container at the end of the page (bugfix)
- Update: translations for EN and DE
- Changed version number from 3 digits to 2 digits
= 1.0.0 =
- First development Version of the Plugin
== Upgrade Notice ==
to upgrade our plugin is simple. Just update the plugin within your WordPress installation.
To cross-upgrade from other footnotes plugins, there will be a migration assistant in the future

View file

@ -1,27 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-css]]</td>
<td>[[css]]</td>
</tr>
<tr>
<td colspan="2">[[headline]]</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><strong>[[label-class-1]]</strong><br/><em>[[class-1]]</em></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><strong>[[label-class-2]]</strong><br/><em>[[class-2]]</em></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><strong>[[label-class-4]]</strong><br/><em>[[class-4]]</em></td>
</tr>
</tbody>
</table>

View file

@ -1,12 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-symbol]]</td>
<td>[[symbol]]</td>
</tr>
<tr>
<td>[[label-user-defined]]</td>
<td>[[user-defined]]<br/><i>[[comment]]</i></td>
</tr>
</tbody>
</table>

View file

@ -1,56 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-enable]]</td>
<td>[[enable]]</td>
</tr>
<tr>
<td>[[label-activate-excerpt]]</td>
<td>[[activate-excerpt]]</td>
</tr>
<tr>
<td>[[label-excerpt-length]]</td>
<td>[[excerpt-length]]</td>
</tr>
<tr>
<td>[[label-position]]</td>
<td>[[position]]</td>
</tr>
<tr>
<td>[[label-offset-x]]</td>
<td>[[offset-x]] <em>[[notice-offset-x]]</em></td>
</tr>
<tr>
<td>[[label-offset-y]]</td>
<td>[[offset-y]] <em>[[notice-offset-y]]</em></td>
</tr>
<tr>
<td>[[label-color]]</td>
<td>[[color]] <em>[[notice-color]]</em></td>
</tr>
<tr>
<td>[[label-background]]</td>
<td>[[background]] <em>[[notice-background]]</em></td>
</tr>
<tr>
<td>[[label-border-width]]</td>
<td>[[border-width]] <em>[[notice-border-width]]</em></td>
</tr>
<tr>
<td>[[label-border-color]]</td>
<td>[[border-color]] <em>[[notice-border-color]]</em></td>
</tr>
<tr>
<td>[[label-border-radius]]</td>
<td>[[border-radius]] <em>[[notice-border-radius]]</em></td>
</tr>
<tr>
<td>[[label-max-width]]</td>
<td>[[max-width]] <em>[[notice-max-width]]</em></td>
</tr>
<tr>
<td>[[label-box-shadow-color]]</td>
<td>[[box-shadow-color]] <em>[[notice-box-shadow-color]]</em></td>
</tr>
</tbody>
</table>

View file

@ -1,12 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-before]]</td>
<td>[[before]]</td>
</tr>
<tr>
<td>[[label-after]]</td>
<td>[[after]]</td>
</tr>
</tbody>
</table>

View file

@ -1,37 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-server]]</td>
<td>[[server]]</td>
</tr>
<tr>
<td>[[label-php]]</td>
<td>[[php]]</td>
</tr>
<tr>
<td>[[label-user-agent]]</td>
<td>[[user-agent]]</td>
</tr>
<tr>
<td>[[label-max-execution-time]]</td>
<td>[[max-execution-time]]</td>
</tr>
<tr>
<td>[[label-memory-limit]]</td>
<td>[[memory-limit]]</td>
</tr>
<tr>
<td>[[label-php-extensions]]</td>
<td>[[php-extensions]]</td>
</tr>
<tr>
<td>[[label-wordpress]]</td>
<td>[[wordpress]]</td>
</tr>
<tr>
<td>[[label-theme]]</td>
<td>[[theme]]</td>
</tr>
[[plugins]]
</tbody>
</table>

View file

@ -1,41 +0,0 @@
<script type="text/javascript">
/**
* adds a tag in at the beginning and at the end of a selected text in the specific text area
* @param string elementID
* @param string openTag
* @param string closeTag
*/
function MCI_Footnotes_wrapText(elementID, openTag, closeTag) {
var textArea = jQuery('#' + elementID);
var len = textArea.val().length;
var start = textArea[0].selectionStart;
var end = textArea[0].selectionEnd;
var selectedText = textArea.val().substring(start, end);
var replacement = openTag + selectedText + closeTag;
textArea.val(textArea.val().substring(0, start) + replacement + textArea.val().substring(end, len));
}
/**
* adds a new button to the plain text editor
*/
QTags.addButton( 'MCI_Footnotes_QuickTag_button', 'footnotes', MCI_Footnotes_text_editor_callback );
/**
* callback function when the button is clicked
* executes a ajax call to get the start and end tag for the footnotes and
* adds them in before and after the selected text
*/
function MCI_Footnotes_text_editor_callback() {
jQuery.ajax({
type: 'POST',
url: '/wp-admin/admin-ajax.php',
data: {
action: 'footnotes_getTags'
},
success: function(data, textStatus, XMLHttpRequest){
var l_arr_Tags = JSON.parse(data);
MCI_Footnotes_wrapText("content", l_arr_Tags['start'], l_arr_Tags['end']);
},
error: function(MLHttpRequest, textStatus, errorThrown){
}
});
}
</script>

View file

@ -1,63 +0,0 @@
<?php ?>
<script type="text/javascript">
/**
* adds a tag in at the beginning and at the end of a selected text in the specific text area
* @param string elementID
* @param string openTag
* @param string closeTag
*/
function MCI_Footnotes_wrapText(elementID, openTag, closeTag) {
var textArea = jQuery('#' + elementID);
var len = textArea.val().length;
var start = textArea[0].selectionStart;
var end = textArea[0].selectionEnd;
var selectedText = textArea.val().substring(start, end);
var replacement = openTag + selectedText + closeTag;
textArea.val(textArea.val().substring(0, start) + replacement + textArea.val().substring(end, len));
}
<?php
/**
* adds a new button to the plain text editor
*/
function load_footnotes_quicktag_inline() {
/**
* Adds a check to ensure the quicktags script is available
* preventing undefined error if no quicktags script
* @author Erica Franz
*/
if ( wp_script_is( 'quicktags' ) ) { ?>
// And now the footnotes button
QTags.addButton('MCI_Footnotes_QuickTag_button', 'footnotes', MCI_Footnotes_text_editor_callback);
<?php }
}
add_action( 'admin_print_footer_scripts', 'load_footnotes_quicktag_inline' );
?>
/**
* callback function when the button is clicked
* executes a ajax call to get the start and end tag for the footnotes and
* adds them in before and after the selected text
*/
function MCI_Footnotes_text_editor_callback() {
jQuery.ajax({
type: 'POST',
url: '/wp-admin/admin-ajax.php',
data: {
action: 'footnotes_getTags'
},
success: function (data, textStatus, XMLHttpRequest) {
var l_arr_Tags = JSON.parse(data);
MCI_Footnotes_wrapText("content", l_arr_Tags['start'], l_arr_Tags['end']);
},
error: function (MLHttpRequest, textStatus, errorThrown) {}
});
}
</script>
<?php ?>

View file

@ -1,41 +0,0 @@
<table class="widefat fixed">
<thead>
<tr>
<th style="width: 260px !important;">[[head-hook]]</th>
<th style="width: 65px !important;">[[head-checkbox]]</th>
<th style="white-space: nowrap;">[[head-url]]</th>
</tr>
</thead>
<tbody>
<tr>
<td style="width: 260px !important;">[[label-the-title]]</td>
<td style="width: 65px !important;">[[the-title]]</td>
<td style="white-space: nowrap;"><a href="[[url-the-title]]" target="_blank">[[url-the-title]]</a></td>
</tr>
<tr>
<td style="width: 260px !important;">[[label-the-content]]</td>
<td style="width: 65px !important;">[[the-content]]</td>
<td style="white-space: nowrap;"><a href="[[url-the-content]]" target="_blank">[[url-the-content]]</a></td>
</tr>
<tr>
<td style="width: 260px !important;">[[label-the-excerpt]]</td>
<td style="width: 65px !important;">[[the-excerpt]]</td>
<td style="white-space: nowrap;"><a href="[[url-the-excerpt]]" target="_blank">[[url-the-excerpt]]</a></td>
</tr>
<tr>
<td style="width: 260px !important;">[[label-widget-title]]</td>
<td style="width: 65px !important;">[[widget-title]]</td>
<td style="white-space: nowrap;"><a href="[[url-widget-title]]" target="_blank">[[url-widget-title]]</a></td>
</tr>
<tr>
<td style="width: 260px !important;">[[label-widget-text]]</td>
<td style="width: 65px !important;">[[widget-text]]</td>
<td style="white-space: nowrap;"><a href="[[url-widget-text]]" target="_blank">[[url-widget-text]]</a></td>
</tr>
<tr>
<td style="width: 260px !important;">[[label-post-object]]</td>
<td style="width: 65px !important;">[[post-object]]</td>
<td style="white-space: nowrap;"><a href="[[url-post-object]]" target="_blank">[[url-post-object]]</a></td>
</tr>
</tbody>
</table>

View file

@ -1,2 +0,0 @@
<input type="button" class="button button-primary" value="[[caption]]"
onclick="window.open('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6Z6CZDW8PPBBJ');" />

View file

@ -1,17 +0,0 @@
<div class="footnote_placeholder_box_container">
[[label-start]]&nbsp;<b>[[start]]</b>
<br/>
[[label-end]]&nbsp;<b>[[end]]</b>
</div>
<div class="footnote_placeholder_box_example">
<span class="footnote_highlight_placeholder">[[example-code]]</span>
<br/>
[[example-string]]
<br/>
[[example]]
</div>
<div style="text-align:center;">
[[information]]
</div>

View file

@ -1,11 +0,0 @@
<h1 style="margin: 0 0 18px; color: rgb(64, 64, 64); line-height: 36px; font-size: 30px; ">ManFisher</h1>
<div style="-webkit-print-color-adjust: exact; margin-right: 10px; padding:14px; border: 1px solid #444; background-color: #fefefe; color: rgb(115, 115, 115); font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', Arial, sans-serif;">
<p style="margin: 0 0 9px; font-size: 13px; line-height: 18px;">a note from the mastermind behind footnotes</p>
<h2 style="margin: 0; color: rgb(64, 64, 64); line-height: 36px; font-size: 24px; ">Ideology</h2>
<p style="margin: 0 0 9px; font-size: 13px; line-height: 18px;">You know WordPress is a great community effort and boatloads of people are involved and spending their spare time to freely (free as in money) contribute to WordPress as a platform or at the very core. Our aim as developers and those gravitating around developer's halos is to give back to the community with our own ideas which we think are great and well worth our whiles to put our own time into. For some of us, it would be a huge honour to serve the WordPress core developer team.</p>
<h2 style="margin: 0;color: rgb(64, 64, 64); line-height: 36px; font-size: 24px; ">the ManFisher menu</h2>
<p style="margin: 0 0 9px; font-size: 13px; line-height: 18px;">Will soon disappear as the company name changed and I believe it's overbearing to have that menu for such a simple function as footnotes</p>
</div>

View file

@ -1,91 +0,0 @@
<div class="plugin-card">
<div class="plugin-card-top">
<a href="[[server]]/wp-admin/plugin-install.php?tab=plugin-information&plugin=[[plugin-name]]&TB_iframe=true&width=600&height=550" class="thickbox plugin-icon">
<img src="[[plugin-icon]]"/>
</a>
<div class="name column-name">
<h4>
<a href="[[server]]/wp-admin/plugin-install.php?tab=plugin-information&plugin=[[plugin-name]]&TB_iframe=true&width=600&height=550" class="thickbox">[[plugin-title]]</a>
</h4>
</div>
<div class="action-links">
<ul class="plugin-action-buttons">
<li>
[[install-link]]
</li>
<li>
<a href="[[server]]/wp-admin/plugin-install.php?tab=plugin-information&plugin=[[plugin-name]]&TB_iframe=true&width=600&height=550" class="thickbox" aria-label="More information about [[plugin-title]]" data-title="[[plugin-title]]">[[more-details-label]]</a>
</li>
</ul>
</div>
<div class="desc column-description">
<p id="manfisher-[[plugin-name]]-description"></p>
<p class="authors">
<cite id="manfisher-[[plugin-name]]-author"></cite>
</p>
</div>
</div>
<div class="plugin-card-bottom">
<div class="vers column-rating">
<div class="star-rating" title="">
<span class="screen-reader-text" id="manfisher-[[plugin-name]]-rating-text"></span>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
<div class="star"></div>
</div>
<span class="num-ratings" id="manfisher-[[plugin-name]]-rating-num"></span>
</div>
<div class="column-updated">
<strong>[[last-updated-label]]:</strong>
<span id="manfisher-[[plugin-name]]-updated"></span>
</div>
<div class="column-downloaded" id="manfisher-[[plugin-name]]-downloads"></div>
<div class="column-compatibility">
<!--<span class="compatibility-compatible"></span>-->
</div>
</div>
</div>
<script type="text/javascript">
jQuery.ajax({
type: 'POST',
url: '/wp-admin/admin-ajax.php',
data: {
action: 'footnotes_getPluginInfo',
plugin: '[[plugin-name]]'
},
dataType: 'json',
success: function (data, textStatus, XMLHttpRequest) {
var l_obj_Description = jQuery("#manfisher-[[plugin-name]]-description");
var l_obj_Author = jQuery("#manfisher-[[plugin-name]]-author");
var l_obj_RatingText = jQuery("#manfisher-[[plugin-name]]-rating-text");
var l_obj_RatingNum = jQuery("#manfisher-[[plugin-name]]-rating-num");
var l_obj_LastUpdated = jQuery("#manfisher-[[plugin-name]]-updated");
var l_obj_Downloads = jQuery("#manfisher-[[plugin-name]]-downloads");
if (data == null) {
l_obj_Description.text("No response received.");
} else if (data.error) {
l_obj_Description.text(data.error);
} else {
l_obj_Description.text(data.PluginDescription);
l_obj_Author.append("By " + data.PluginAuthor);
l_obj_RatingText.text(data.PluginRatingText);
l_obj_RatingText.next().addClass(data.PluginRating1);
l_obj_RatingText.next().next().addClass(data.PluginRating2);
l_obj_RatingText.next().next().next().addClass(data.PluginRating3);
l_obj_RatingText.next().next().next().next().addClass(data.PluginRating4);
l_obj_RatingText.next().next().next().next().next().addClass(data.PluginRating5);
l_obj_RatingNum.text("(" + data.PluginRating + ")");
l_obj_LastUpdated.text(data.PluginLastUpdated);
l_obj_Downloads.text(data.PluginDownloads + " downloads");
}
},
error: function (MLHttpRequest, textStatus, errorThrown) {
console.log(textStatus);
}
});
</script>

View file

@ -1,12 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-love]]</td>
<td>[[love]]</td>
</tr>
<tr>
<td>[[label-no-love]]</td>
<td>[[no-love]]</td>
</tr>
</tbody>
</table>

View file

@ -1,12 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-excerpt]]</td>
<td>[[excerpt]]</td>
</tr>
<tr>
<td>[[label-expert-mode]]</td>
<td>[[expert-mode]]</td>
</tr>
</tbody>
</table>

View file

@ -1,16 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-name]]</td>
<td>[[name]]</td>
</tr>
<tr>
<td>[[label-collapse]]</td>
<td>[[collapse]]</td>
</tr>
<tr>
<td>[[label-position]]</td>
<td>[[position]]</td>
</tr>
</tbody>
</table>

View file

@ -1,56 +0,0 @@
<table class="widefat fixed">
<tbody>
<tr>
<td>[[label-identical]]</td>
<td>[[identical]]</td>
</tr>
<tr>
<td>[[label-short-code-start]]</td>
<td>[[short-code-start]]</td>
</tr>
<tr>
<td>[[label-short-code-end]]</td>
<td>[[short-code-end]]</td>
</tr>
<tr>
<td>[[label-short-code-start-user]]</td>
<td>[[short-code-start-user]]</td>
</tr>
<tr>
<td>[[label-short-code-end-user]]</td>
<td>[[short-code-end-user]]</td>
</tr>
<tr>
<td>[[label-counter-style]]</td>
<td>[[counter-style]]</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
var l_obj_ShortCodeStart = jQuery("#[[short-code-start-id]]");
var l_obj_ShortCodeEnd = jQuery("#[[short-code-end-id]]");
var l_obj_ShortCodeStartUserDefined = jQuery("#[[short-code-start-user-id]]");
var l_obj_ShortCodeEndUserDefined = jQuery("#[[short-code-end-user-id]]");
function footnotes_Display_UserDefined_Placeholders() {
if (l_obj_ShortCodeStart.val() == "userdefined") {
l_obj_ShortCodeStartUserDefined.parent().parent().show();
l_obj_ShortCodeEndUserDefined.parent().parent().show();
} else {
l_obj_ShortCodeStartUserDefined.parent().parent().hide();
l_obj_ShortCodeEndUserDefined.parent().parent().hide();
}
}
footnotes_Display_UserDefined_Placeholders();
l_obj_ShortCodeStart.on('change', function() {
var l_int_SelectedIndex = jQuery(this).prop("selectedIndex");
jQuery('#[[short-code-end-id]] option:eq(' + l_int_SelectedIndex + ')').prop('selected', true);
footnotes_Display_UserDefined_Placeholders();
});
l_obj_ShortCodeEnd.on('change', function() {
var l_int_SelectedIndex = jQuery(this).prop("selectedIndex");
jQuery('#[[short-code-start-id]] option:eq(' + l_int_SelectedIndex + ')').prop('selected', true);
footnotes_Display_UserDefined_Placeholders();
});
</script>

View file

@ -1,13 +0,0 @@
<a
><sup
id="footnote_plugin_tooltip_[[id]]"
class="footnote_plugin_tooltip_text"
onclick="footnote_moveToAnchor('footnote_plugin_reference_[[id]]');"
>[[before]][[index]][[after]]</sup
></a
>
<span
class="footnote_tooltip"
id="footnote_plugin_tooltip_text_[[id]]"
>[[text]]</span
>

View file

@ -1,15 +0,0 @@
<tr>
<td
class="footnote_plugin_index footnote_plugin_link"
id="footnote_plugin_reference_[[id]]"
onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[id]]');"
><a
><span
class="footnote_plugin_index_arrow"
>[[arrow]]&#x200A;</span
>[[index]].</a
></td>
<td
class="footnote_plugin_text"
>[[text]]</td>
</tr>

View file

@ -1,47 +0,0 @@
<div class="footnote_container_overall_wrapper">
<div class="footnote_container_prepare">
<p><span
onclick="footnote_expand_reference_container();"
>[[label]]</span><span
class="footnote_reference_container_collapse_button_outfit"
style="[[button-style]]"
>&nbsp;&nbsp;&nbsp;[ <a
id="footnote_reference_container_collapse_button"
onclick="footnote_expand_collapse_reference_container();"
>+</a> ]</span></p>
</div>
<div id="[[id]]" style="[[style]]">
<table class="footnote-reference-container">
<tbody>
[[content]]
</tbody>
</table>
</div>
</div>
<script type="text/javascript">
function footnote_expand_reference_container() {
jQuery('#[[id]]').show();
jQuery('#footnote_reference_container_collapse_button').text('-');
}
function footnote_collapse_reference_container() {
jQuery('#[[id]]').hide();
jQuery('#footnote_reference_container_collapse_button').text('+');
}
function footnote_expand_collapse_reference_container() {
if (jQuery('#[[id]]').is(':hidden')) {
footnote_expand_reference_container();
} else {
footnote_collapse_reference_container();
}
}
function footnote_moveToAnchor(p_str_TargetID) {
footnote_expand_reference_container();
var l_obj_Target = jQuery('#' + p_str_TargetID);
if (l_obj_Target.length) {
jQuery('html, body').animate({
scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.12
},
80);
}
}
</script>

View file

@ -1,13 +0,0 @@
<script type="text/javascript">
jQuery('#footnote_plugin_tooltip_[[id]]').tooltip({
tip: '#footnote_plugin_tooltip_text_[[id]]',
tipClass: 'footnote_tooltip',
effect: 'fade',
predelay: 800,
fadeInSpeed: 200,
fadeOutSpeed: 2000,
position: '[[position]]',
relative: true,
offset: [[[offset - y]], [[offset - x]]],
});
</script>

View file

@ -1,7 +0,0 @@
<wpml-config>
<admin-texts>
<key name="footnotes_storage">
<key name="footnote_inputfield_references_label" />
</key>
</admin-texts>
</wpml-config>