diff --git a/classes/tab_custom.php b/classes/tab_custom.php index d3d9672..c3f9ebc 100644 --- a/classes/tab_custom.php +++ b/classes/tab_custom.php @@ -36,8 +36,8 @@ class MCI_Footnotes_Tab_Custom extends MCI_Footnotes_Admin { // styling add_meta_box( 'MCI_Footnotes_Tab_Custom_Styling', - __("Layout", FOOTNOTES_PLUGIN_NAME), - array($this, 'Styling'), + __("Superscript layout", FOOTNOTES_PLUGIN_NAME), + array($this, 'Superscript'), FOOTNOTES_SETTINGS_TAB_CUSTOM, 'main' ); @@ -63,13 +63,13 @@ class MCI_Footnotes_Tab_Custom extends MCI_Footnotes_Admin { * footnotes layout before and after the index in text * @since 1.3.1 */ - public function Styling() { + public function Superscript() { // setting for 'before footnotes' - $this->AddLabel(FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE, __("Before Footnotes:", FOOTNOTES_PLUGIN_NAME)); + $this->AddLabel(FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE, __("Before Footnotes index:", FOOTNOTES_PLUGIN_NAME)); $this->AddTextbox(FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE, "footnote_plugin_50"); $this->AddNewline(); // setting for 'after footnotes' - $this->AddLabel(FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER, __("After Footnotes:", FOOTNOTES_PLUGIN_NAME)); + $this->AddLabel(FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER, __("After Footnotes index:", FOOTNOTES_PLUGIN_NAME)); $this->AddTextbox(FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER, "footnote_plugin_50"); $this->AddNewline(); } diff --git a/classes/tab_howto.php b/classes/tab_howto.php index 99e114b..fdc551c 100644 --- a/classes/tab_howto.php +++ b/classes/tab_howto.php @@ -66,7 +66,7 @@ class MCI_Footnotes_Tab_HowTo extends MCI_Footnotes_Admin { $l_arr_Footnote_StartingTag = $this->LoadSetting(FOOTNOTES_INPUT_PLACEHOLDER_START_USERDEFINED); $l_arr_Footnote_EndingTag = $this->LoadSetting(FOOTNOTES_INPUT_PLACEHOLDER_END_USERDEFINED); } - $l_str_Example = $l_arr_Footnote_StartingTag["value"] . __("example string", FOOTNOTES_PLUGIN_NAME) . $l_arr_Footnote_EndingTag["value"]; + $l_str_Example = "Hello" . $l_arr_Footnote_StartingTag["value"] . __("example string", FOOTNOTES_PLUGIN_NAME) . $l_arr_Footnote_EndingTag["value"] . " World!"; ?>