Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: leonardosapiras/phppgadmin
base: 610c747
Choose a base ref
...
head repository: leonardosapiras/phppgadmin
compare: 725a760
Choose a head ref
  • 6 commits
  • 20 files changed
  • 1 contributor

Commits on May 19, 2011

  1. Refactored PluginManager and PluginExample

    -Moved PluginManager.php from classes/plugins/ to classes/
    -Removed classes/plugins
    -Updated plugin comment in the conf/config.inc.php
    -Removed prefix plugin_ from PluginExample attributes and inside PluginManager
    -Renamed plugin_index to name
    -Renamed plugin_name to description
    -Renamed get_plugin_index to get_name
    -Changed attributes from public to private
    -Moved plugin's instanciation from lib.inc.php to PluginManager contructor
    -Validation if the plugins in the $conf['plugins'] exist
    -Created $lang['strpluginnotfound'] and $lang['strpluginnotfoundcomplem'] in English and Portuguese-BR translation, to show an error when a plugin doesn't exist.
    -Created get_functions method to get the plugins' functions
    -Removed add_plugin_functions method
    -Replaced $when to $hook in the execute_plugin_funtions code and comments
    -Changes in the execute_plugin_funtions method
    leonardosapiras committed May 19, 2011
    Copy the full SHA
    fb4c200 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2011

  1. Create a simple page

    -Created do_action in the plugin_manager, to deal with plugins actions.
    -Put some TODOs in the comments.
    -Created a method show_page, that will show a simple PluginExamples page.
    -Created plugin.php file to deal with plugins requests.
    -Made some English corrections.
    leonardosapiras committed May 20, 2011
    Copy the full SHA
    ca62603 View commit details
    Browse the repository at this point in the history
  2. Plugin refactor

    -Changed plugin_name in the lang files to strdescription
    -Removed $description
    -Remored $plugin_lang['plugin_toplink'] from translation files
    leonardosapiras committed May 20, 2011
    Copy the full SHA
    9b9b561 View commit details
    Browse the repository at this point in the history
  3. Moved PluginExample to Example

    -Changed config.inc.php
    -Moved plugins/PluginExample to Example
    -Refatored Example
    -Fixed a bug in the Example plugin
    leonardosapiras committed May 20, 2011
    Copy the full SHA
    22824fa View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8bc2b70 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    725a760 View commit details
    Browse the repository at this point in the history