source: extensions/rv_db_integrity/main.inc.php @ 7392

Last change on this file since 7392 was 7342, checked in by ddtddt, 14 years ago

[extensions] - rv_db_integrity - add localisation

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 844 bytes
RevLine 
[3417]1<?php /*
2Plugin Name: RV DB Integrity
[7342]3Version: 2.1.a
[7302]4Description: Checks database integrity. After install go to Administration /Tools/Maintenance: "Check database integrity".
5Plugin URI: http://piwigo.org/ext/extension_view.php?eid=179
[3417]6Author: rvelices
7Author URI: http://www.modusoptimus.com
8*/
9
[7342]10define('RVDI_DIR' , basename(dirname(__FILE__)));
11define('RVDI_PATH' , PHPWG_PLUGINS_PATH . RVDI_DIR . '/');
12
13
[3417]14add_event_handler('get_admin_advanced_features_links', 'rvint_get_admin_advanced_features_links');
15
16function rvint_get_admin_advanced_features_links($advanced_features)
17{
[7342]18  load_language('plugin.lang', RVDI_PATH);
[3417]19  array_push($advanced_features,
20    array
21    (
[7342]22      'CAPTION' => l10n('Check database integrity'),
[3417]23      'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/check_db.php')
24    ));
25  return $advanced_features;
26}
27
28?>
Note: See TracBrowser for help on using the repository browser.