restore file
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2328080 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
1cb34d3856
commit
a8cfa83ca3
8 changed files with 72 additions and 30 deletions
|
@ -146,7 +146,7 @@ class MCI_Footnotes_Layout_Init {
|
|||
$l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "manfisher");
|
||||
echo $l_obj_Template->getContent();
|
||||
|
||||
printf('<em>visit <a href="http://cheret.de" target="_blank">Mark Cheret</a> or <a href="http://herndler.org" target="_blank">herndler.org</a></em>');
|
||||
printf('<em>visit <a href="http://manfisher.net/" target="_blank">ManFisher Medien ManuFaktur</a> or <a href="http://herndler.org" target="_blank">herndler.org</a></em>');
|
||||
printf("<br/><br/>");
|
||||
printf("<h3>%s</h3>", __('Take a look on other Plugins we have developed.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME));
|
||||
|
||||
|
|
|
@ -32,23 +32,24 @@ class MCI_Footnotes {
|
|||
* @since 1.5.0
|
||||
*/
|
||||
public function run() {
|
||||
// register language
|
||||
// register language
|
||||
MCI_Footnotes_Language::registerHooks();
|
||||
// register Button hooks
|
||||
MCI_Footnotes_WYSIWYG::registerHooks();
|
||||
// register general hooks
|
||||
MCI_Footnotes_Hooks::registerHooks();
|
||||
// register all Widgets of the Plugin.
|
||||
$this->initializeWidgets();
|
||||
|
||||
// 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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -57,8 +58,8 @@ class MCI_Footnotes {
|
|||
* @author Stefan Herndler
|
||||
* @since 1.5.0
|
||||
*/
|
||||
private function initializeWidgets() {
|
||||
add_action('widgets_init', create_function('', 'return register_widget("MCI_Footnotes_Widget_ReferenceContainer");'));
|
||||
public function initializeWidgets() {
|
||||
register_widget("MCI_Footnotes_Widget_ReferenceContainer");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -94,4 +95,4 @@ class MCI_Footnotes {
|
|||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue