Changeset 2365 in ExiteCMS for modules/ExiteCMS/tracsvn/php-files/modules/tracsvn/module_installer.php
- Timestamp:
- 07/29/10 17:48:33 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/ExiteCMS/tracsvn/php-files/modules/tracsvn/module_installer.php
r2323 r2365 24 24 $mod_title = "Trac-SVN reports"; 25 25 $mod_description = "This ExiteCMS module provides a reporting of Trac Project management, and connects to SVN to retrieve details status information"; 26 $mod_version = "0.1. 6";26 $mod_version = "0.1.7"; 27 27 $mod_developer = "WanWizard"; 28 28 $mod_email = "wanwizard@exitecms.org"; … … 129 129 $localestrings['en']['456'] = "Non-public repository paths:"; 130 130 $localestrings['en']['457'] = "Trac base URL:"; 131 $localestrings['en']['458'] = "Trac SVN repository name:"; 132 $localestrings['en']['459'] = "A repository name is given, but your Trac installation has no support for multirepos"; 133 $localestrings['en']['460'] = "The repository name entered can not be located in the Trac database"; 131 134 132 135 $localestrings['en']['500'] = "Changeset"; … … 211 214 $localestrings['nl']['456'] = "Niet publieke repository paden:"; 212 215 $localestrings['nl']['457'] = "Trac basis URL:"; 216 $localestrings['nl']['458'] = "Trac SVN repository naam:"; 217 $localestrings['nl']['459'] = "Een repository naam is ingevoerd, maar de Trac installatie heeft geen multirepos ondersteuning"; 218 $localestrings['nl']['460'] = "De repository naam die is ingevoerd kan niet gevonden worden in de Trac database"; 213 219 214 220 $localestrings['nl']['500'] = "Changeset"; … … 243 249 $mod_install_cmds[] = array('type' => 'db', 'value' => "INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_database', '')"); 244 250 $mod_install_cmds[] = array('type' => 'db', 'value' => "INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_url', '')"); 251 $mod_install_cmds[] = array('type' => 'db', 'value' => "INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_repo', '')"); 245 252 $mod_install_cmds[] = array('type' => 'db', 'value' => "INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_trac_url', '')"); 246 253 $mod_install_cmds[] = array('type' => 'db', 'value' => "INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_svncmd', '/usr/bin/svn')"); … … 270 277 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'tracsvn_database'"); 271 278 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'tracsvn_url'"); 279 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'tracsvn_repo'"); 272 280 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'tracsvn_trac_url'"); 273 281 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'tracsvn_svncmd'"); … … 322 330 case "0.1.5": 323 331 // no upgrades this version 332 case "0.1.6": 333 // add the new trac repo name (support for v0.12 multirepos) 334 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('tracsvn_repo', '')"); 324 335 default: 325 336 // do this with every upgrade
Note: See TracChangeset
for help on using the changeset viewer.
