diff --git a/class/dashboard/init.php b/class/dashboard/init.php index 7b6016a..19dacd6 100644 --- a/class/dashboard/init.php +++ b/class/dashboard/init.php @@ -146,59 +146,9 @@ 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('visit ManFisher Medien ManuFaktur or herndler.org'); + printf('visit Mark Cheret'); printf("

"); - printf("

%s

", __('Take a look on other Plugins we have developed.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME)); - - // collect plugin list as JSON - $l_arr_Response = wp_remote_get("http://herndler.org/project/other-wordpress-plugins.php"); - // check if response is valid - if (is_wp_error($l_arr_Response)) { - printf(__("Error loading other WordPress Plugins from Manfisher. Sorry!", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)); - return; - } - // get the body of the response - $l_str_Response = $l_arr_Response["body"]; - // convert the body to a json string - $l_arr_Plugins = json_decode($l_str_Response, true); - - $l_str_Server = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://" . $_SERVER["SERVER_NAME"]; - - // load template file - $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "other-plugins"); - - printf('
'); - // iterate through each Plugin - foreach($l_arr_Plugins as $l_arr_PluginInfo) { - $l_str_InstallButton = ''.__("Install now", MCI_Footnotes_Config::C_STR_PLUGIN_NAME).''; - $l_str_AlreadyInstalled = ''.__("Installed", MCI_Footnotes_Config::C_STR_PLUGIN_NAME).''; - $l_bool_isPluginInstalled = false; - // iterate through each installed WordPress Plugin - foreach (get_plugins() as $l_arr_Plugin) { - if (strtolower($l_arr_PluginInfo["title"]) == strtolower($l_arr_Plugin["Name"])) { - $l_bool_isPluginInstalled = true; - break; - } - } - - // replace Plugin information - $l_obj_Template->replace( - array( - "server" => $l_str_Server, - "plugin-name" => $l_arr_PluginInfo["name"], - "plugin-title" => $l_arr_PluginInfo["title"], - "plugin-icon" => strlen($l_arr_PluginInfo["img"]) > 0 ? "http://plugins.svn.wordpress.org/" . $l_arr_PluginInfo["name"] ."/assets/" . $l_arr_PluginInfo["img"] : "", - - "install-link" => !$l_bool_isPluginInstalled ? $l_str_InstallButton : $l_str_AlreadyInstalled, - "more-details-label" => __("More Details", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), - "last-updated-label" => __("Last Updated", MCI_Footnotes_Config::C_STR_PLUGIN_NAME) - ) - ); - // display Plugin - echo $l_obj_Template->getContent(); - // reload template - $l_obj_Template->reload(); - } + printf('
'); } diff --git a/footnotes.php b/footnotes.php index b5e2f1e..996f6ad 100755 --- a/footnotes.php +++ b/footnotes.php @@ -4,7 +4,7 @@ Plugin URI: http://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.0 + Version: 2.0.1 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages diff --git a/js/wysiwyg-editor.js b/js/wysiwyg-editor.js index ebd0c6f..38322a9 100644 --- a/js/wysiwyg-editor.js +++ b/js/wysiwyg-editor.js @@ -61,10 +61,10 @@ getInfo : function() { return { longname : 'Inserts the Footnotes short code.', - author : 'ManFisher Medien ManuFaktur', - authorurl : 'http://http://manfisher.net/', + author : 'Mark Cheret', + authorurl : 'https://cheret.de', infourl : 'http://wordpress.org/plugins/footnotes/', - version : "1.5.0" + version : "2.0.0" }; } }); diff --git a/readme.txt b/readme.txt index ab6fefa..769e5d0 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen Requires at least: 3.9 Tested up to: 5.5 Requires PHP: 5.6 -Stable Tag: 2.0.1 +Stable Tag: 2.0.0 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html diff --git a/templates/dashboard/manfisher.html b/templates/dashboard/manfisher.html index 3a98f2c..c1f88d0 100644 --- a/templates/dashboard/manfisher.html +++ b/templates/dashboard/manfisher.html @@ -6,11 +6,6 @@

Ideology

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.

-

the footnotes mastermind

-

... only recently took it on himself to start up a company to fuel the (financial and fatherly) needs of his family. So far it's been running dang fine, as you might have guessed. Only God knows what the future will hold. And while definitely trusting God it would be unwise to be foolish, right?

the ManFisher menu

-

Word about my company "ManFisher Media ManuFactory" needs to be spread. And this new "ManFisher" menu is a small yet bearable way of telling the world that there's a WordPress dedicated company on the market that's one of the few who understand WordPress as an approach and as a style of development. And to be honest: I didn't even come up with this idea in the first place! Some of you may be confused, as to why this step was taken and why stuff is now in this menu.

-

Let me explain:

-

We have already developed 5 Plugins and my head is still spinning with ideas with not necessarily new Plugin ideas but definitely unique ideas worth of their own Plugin. Such as footnotes is appreciated by many users for its well researched underlying paradigms, a host of new Plugins are in the process of being planned and developed which will all boast the same kind of dedication and craftsmenship. To give all those ideas a future and common home, we've put it into this one comprehensive menu. So hopefully users will appreciate this and take the logo of "ManFisher" as a quality assurance label and put forth trust into the company and its likable guys.

-

You are now officially allowed to be excited about all that is to come.

+

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

\ No newline at end of file