Changeset 2073 in ExiteCMS for modules/common/wiki/php-files/modules/wiki/module_installer.php
- Timestamp:
- 11/26/08 22:20:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/wiki/php-files/modules/wiki/module_installer.php
r2043 r2073 23 23 +----------------------------------------------------*/ 24 24 $mod_title = "Wikka Wiki"; // title or name of this module 25 $mod_description = "ExiteCMS embedded implementation of Wikka Wakka Wiki v1.1.6. 3"; // short description of it's purpose26 $mod_version = "1.1. 6"; // module version number25 $mod_description = "ExiteCMS embedded implementation of Wikka Wakka Wiki v1.1.6.4"; // short description of it's purpose 26 $mod_version = "1.1.9"; // module version number 27 27 $mod_developer = "WanWizard"; // author's name 28 28 $mod_email = "wanwizard@exitecms.org"; … … 110 110 $localestrings['en']['426'] = "Page owner:"; 111 111 $localestrings['en']['427'] = "You don't have the rights to view this wiki page."; 112 $localestrings['en']['428'] = "Send file upload notifications to:"; 113 $localestrings['en']['429'] = "No one"; 114 $localestrings['en']['430'] = "Wiki Upload notification"; 115 $localestrings['en']['431'] = "Wiki upload by: %s\n\nStatus message is: %s"; 112 116 113 117 $localestrings['nl'] = array(); … … 139 143 $localestrings['nl']['426'] = "Pagina eigenaar:"; 140 144 $localestrings['nl']['427'] = "U hebt geen rechten op deze wiki pagina te bekijken."; 145 $localestrings['nl']['428'] = "Stuur een notificatie van bestandsuploads naar:"; 146 $localestrings['nl']['429'] = "Niemand"; 147 $localestrings['nl']['430'] = "Wiki upload notificatie"; 148 $localestrings['nl']['431'] = "Wiki upload door: %s\n\nStatus bericht is: %s"; 141 149 142 150 /*---------------------------------------------------+ … … 309 317 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'wiki_forum_links'"); 310 318 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'wiki_page_template'"); 319 $mod_uninstall_cmds[] = array('type' => 'db', 'value' => "DELETE FROM ##PREFIX##configuration WHERE cfg_name = 'wiki_report_uploads'"); 311 320 312 321 // delete the user groups … … 339 348 if (!is_dir(PATH_IMAGES."wiki")) { 340 349 @mkdir(PATH_IMAGES."wiki"); 350 } 351 // create the wiki file directory 352 if (!is_dir(PATH_ROOT."files/wiki")) { 353 @mkdir(PATH_ROOT."files/wiki"); 341 354 } 342 355 } … … 357 370 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_external_link_new_window', '1')"); 358 371 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_default_read_acl', 'G0');"); 372 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_report_uploads', '103');"); 359 373 // get the group_id of the Wiki Editors group 360 374 $result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_ident = '".$mod_admin_rights."01'"); … … 379 393 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_forum_links', '0')"); 380 394 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_page_template', '')"); 395 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_report_uploads', '103');"); 381 396 } 382 397 } … … 472 487 $result = dbquery("CREATE TABLE ".$db_prefix."wiki_aliases (from_tag varchar(75) NOT NULL default '', to_tag varchar(75) NOT NULL default '', UNIQUE KEY from_tag (from_tag,to_tag), KEY idx_from (from_tag), KEY idx_to (to_tag)) ENGINE=MyISAM;"); 473 488 474 case "1.1.5": 489 case "1.1.6": 490 // no specific changes between this version and the new one 491 492 case "1.1.7": 493 // new configuration item for the wiki file upload reports 494 $result = dbquery("INSERT INTO ".$db_prefix."configuration( cfg_name, cfg_value ) VALUES ('wiki_report_uploads', '103')"); 495 496 case "1.1.8": 497 // added upload notifications 498 499 case "1.1.9": 475 500 // current version 476 501 477 502 default: 503 // create the wiki image directory 504 if (!is_dir(PATH_IMAGES."wiki")) { 505 @mkdir(PATH_IMAGES."wiki"); 506 } 507 // create the wiki file directory 508 if (!is_dir(PATH_ROOT."files/wiki")) { 509 @mkdir(PATH_ROOT."files/wiki"); 510 } 478 511 // commands to execute for every upgrade 479 512 }
Note: See TracChangeset
for help on using the changeset viewer.
