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

Revision 7342, 844 bytes checked in by ddtddt, 9 years ago (diff)

[extensions] - rv_db_integrity - add localisation

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php /*
2Plugin Name: RV DB Integrity
3Version: 2.1.a
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
6Author: rvelices
7Author URI: http://www.modusoptimus.com
8*/
9
10define('RVDI_DIR' , basename(dirname(__FILE__)));
11define('RVDI_PATH' , PHPWG_PLUGINS_PATH . RVDI_DIR . '/');
12
13
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{
18  load_language('plugin.lang', RVDI_PATH);
19  array_push($advanced_features,
20    array
21    (
22      'CAPTION' => l10n('Check database integrity'),
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.