- Add: Plugin Widget to define where the reference container shall appear when set to "widget area"
- Update: Translation for new settings and for the Widget description git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@920341 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
b7af8ff042
commit
e6a31532e0
10 changed files with 216 additions and 95 deletions
|
@ -123,7 +123,14 @@ function footnotes_Replacer_WidgetText($p_str_Content)
|
|||
*/
|
||||
function footnotes_StopReplacing()
|
||||
{
|
||||
echo footnotes_OutputReferenceContainer();
|
||||
/* access to the global settings collection */
|
||||
global $g_arr_FootnotesSettings;
|
||||
/* get setting for 'display reference container position' */
|
||||
$l_str_ReferenceContainerPosition = $g_arr_FootnotesSettings[FOOTNOTE_INPUTFIELD_REFERENCE_CONTAINER_PLACE];
|
||||
|
||||
if ($l_str_ReferenceContainerPosition == "footer") {
|
||||
echo footnotes_OutputReferenceContainer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue