| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,202 @@ |
| 1 |
+<?php |
|
| 2 |
+include(_BASEDIR."version.php"); |
|
| 3 |
+ |
|
| 4 |
+$defaulttitles = array("welcome" => "Welcome", "copyright" => "Copyright Footer", "printercopyright" => "Printer Friendly Copyright",
|
|
| 5 |
+"help" => "Help", "rules" => "{sitename} Submission Rules", "thankyou" => "{sitename} Acceptance Letter", "nothankyou" => "Rejection Letter",
|
|
| 6 |
+"tos" => "Terms of Service"); |
|
| 7 |
+ |
|
| 8 |
+define("_ALTER11CHARACTERS", "Altering fanfiction_characters table");
|
|
| 9 |
+define("_ALTER11CATEGORIES", "Altering fanfiction_categories table");
|
|
| 10 |
+define("_ALTER11RATINGS", "Altering ratings table.");
|
|
| 11 |
+define("_DONE", "Done!");
|
|
| 12 |
+define("_ERROR_CONFIGWRITE", "ERROR! Could not open config.php for writing.");
|
|
| 13 |
+define("_CONFIG_WRITTEN", "Configuration file written.");
|
|
| 14 |
+define("_MANUAL2", "manual");
|
|
| 15 |
+define("_ADMINACCT", "Set-up Admin Account");
|
|
| 16 |
+define("_AUTO", "automatic");
|
|
| 17 |
+define("_PAGE", "Page");
|
|
| 18 |
+define("_BLOCK", "Block");
|
|
| 19 |
+define("_MESSAGE", "Message");
|
|
| 20 |
+define("_RESULT", "Result");
|
|
| 21 |
+define("_FIELD", "Field");
|
|
| 22 |
+define("_AUTHORFIELDS", "Install Author Profile Fields");
|
|
| 23 |
+define("_FIELDDATAINFO", "This step installs the default field options for the profile pages. You can add, edit, or delete fields from the admin panel.");
|
|
| 24 |
+define("_FIELDUPDATE", "If you have already added additional fields other than the ones listed above to your site, you may wish to manually add those fields to the database in the fanfiction_authorfields table before continuing. The next step will move the data from the authors table to the new format. Also make sure your name for the field and the name given by the update script match.");
|
|
| 25 |
+define("_FIELDMANUAL", "Manually install the default field data provided in authorfields.sql in the docs/ folder.");
|
|
| 26 |
+define("_FIELDAUTOFAIL", "If a field failed to install, please manually install it using the information in authorfields.sql in the docs/ folder now.");
|
|
| 27 |
+define("_AUTHORUPDATE", "Populate Author Preferences Table");
|
|
| 28 |
+define("_AUTHORUPDATEINFO", "This step populates the fanfiction_authorprefs and fanfiction_authorinfo tables with information from the authors table.");
|
|
| 29 |
+define("_AUTHORRESULT", "Author preferences moved.");
|
|
| 30 |
+define("_AUTHORDROPRESULT", "Columns dropped from authors table.");
|
|
| 31 |
+define("_BLOCKDATA", "Install Block Data");
|
|
| 32 |
+define("_BLOCKDATAUPGRADE", "This step will move your block data from 2.0 into the database. You may change these settings at any time
|
|
| 33 |
+ using the Block admin interface in your admin area."); |
|
| 34 |
+define("_BLOCKDATANEW", "This step will install the default block data. You may change these settings at any time using the Block admin interface in your admin area.");
|
|
| 35 |
+define("_BLOCKDATAFAILUPGRADE", "If a block failed to install, please use the default data for blocks provided in the information in blocks.sql file in the docs/ folder to install it manually now.");
|
|
| 36 |
+define("_BLOCKDATAMANUAL", "Manually install the default data for the blocks provided in the information in tables.sql found in the docs/ folder now.");
|
|
| 37 |
+define("_CHALLENGESALTER", "Added column 'responses' to stories table.");
|
|
| 38 |
+define("_CHALLENGESETTING", "Added column 'anonchallenges' to settings table.");
|
|
| 39 |
+define("_CHALLENGEUPDATE", "Update Challenge Data");
|
|
| 40 |
+define("_CHALLENGEUPDATEINFO", "This step updates the challenges table to add a new column for responses, and updates the data to include a count of responses and switches the character info to the charid values.");
|
|
| 41 |
+define("_CHALLENGESEMPTY", "No challenges found. The new challenges module will not be installed. If you wish to use challenges in the future, install the module using the install.php file in the modules/challenges/ folder.");
|
|
| 42 |
+define("_CONFIG1DETECTED", "eFiction 1.1 config file detected.<br /><a href='upgrade11.php'>Continue with upgrade.</a>");
|
|
| 43 |
+define("_CONFIG2DETECTED", "eFiction 2.0 config file detected.<br /><a href='upgrade20.php'>Continue with upgrade.</a>");
|
|
| 44 |
+define("_CONFIGFAILED", "Cannot connect to the database. The information you supplied appears to be incorrect. Please try again.");
|
|
| 45 |
+define("_CONFIGDATA", "Configuration File Setup");
|
|
| 46 |
+define("_CONFIGSUCCESS", "Configuration file written.");
|
|
| 47 |
+define("_DBHOST", "Database Host:");
|
|
| 48 |
+define("_DBNAME", "Database Name:");
|
|
| 49 |
+define("_DBUSER", "Database User:");
|
|
| 50 |
+define("_DBPASS", "Database Password:");
|
|
| 51 |
+define("_DROPGENRES", "Drop genres table");
|
|
| 52 |
+define("_DROPWARNINGS", "Drop warnings table");
|
|
| 53 |
+define("_DROPGWSTORIES", "Dropped 'wid' and 'gid' from stories table.");
|
|
| 54 |
+define("_DROPGWSERIES", "Dropped 'wid' and 'gid' from series table.");
|
|
| 55 |
+define("_FAVUPDATE", "Update Favorites Table");
|
|
| 56 |
+define("_FAVUPDATEINFO", "This step moves the favorites information into the new favorites table and removes the old favstor, favseries, and favauth tables.");
|
|
| 57 |
+define("_FAVUPDATEINFO11", "This step moves the favorites information into the new favorites table and removes the old favstor and favauth tables.");
|
|
| 58 |
+define("_FAV1", "Favorite stories information moved.");
|
|
| 59 |
+define("_FAV2", "Favorite series information moved.");
|
|
| 60 |
+define("_FAV3", "Favorite authors information moved.");
|
|
| 61 |
+define("_FAV4", "Table favstor dropped.");
|
|
| 62 |
+define("_FAV5", "Table favseries dropped.");
|
|
| 63 |
+define("_FAV6", "Table favauth dropped.");
|
|
| 64 |
+define("_INSTALLTABLES", "Install Tables");
|
|
| 65 |
+define("_LINKDATA", "Install Navigation Link Data");
|
|
| 66 |
+define("_LINKDATAINFO", "This step will install the default navigation link data. You may change these settings at any time
|
|
| 67 |
+ using the Page Links admin interface in your admin area."); |
|
| 68 |
+define("_LINKMANUAL", "Manually install the default data for the navigation links provided in the information in pagelinks.sql found in the docs/ folder now.");
|
|
| 69 |
+define("_LINKSETUP", "How do you want to install the page links data?");
|
|
| 70 |
+define("_LINKAUTOFAIL", "If a link failed to install, please use the default data for pagelinks provided in the information in pagelinks.sql file in the docs/ folder to install it manually now.");
|
|
| 71 |
+define("_MESSAGEDATA", "Message Data");
|
|
| 72 |
+define("_MESSAGEMANUAL", "Manually install the messages from the messages.sql file found in the docs/ folder now.");
|
|
| 73 |
+define("_MESSAGEDATAUPGRADE", "This step will move the default messages for your site into the database. You may change these texts at any time using the Settings admin interface in your admin area.");
|
|
| 74 |
+define("_MESSAGEDATANEW", "This step will install the default messages for your site. You may change these texts at any time using the Settings admin interface in your admin area.");
|
|
| 75 |
+define("_MESSAGEAUTOFAILUPGRADE", "If one of the default messages failed to install, you may use the default data for messages provided in the information in messages.sql file in the docs/ folder to install it manually now or add it through the admin panel later.");
|
|
| 76 |
+define("_MISCDBUPDATE", "Misc. Database Updates");
|
|
| 77 |
+define("_MISCDBUPDATEINFO", "This step will alter fields in several tables to keep the database smaller. How do you wish to proceed?");
|
|
| 78 |
+define("_MISCDBUPDATEMANUAL", "You may manually alter your database now using the information in docs/upgrade11_step18.sql.");
|
|
| 79 |
+define("_MOVECLASSES", "Move Genres and Warnings");
|
|
| 80 |
+define("_MOVECLASSESINFO", "This step moves your genres and warnings information into the the new classes tables.");
|
|
| 81 |
+define("_MOVECLASSFAIL", "If any of the genres or warnings failed to be moved, manually insert them now.");
|
|
| 82 |
+define("_NEWSUPDATE", "Update News Comments");
|
|
| 83 |
+define("_NEWSUPDATEINFO", "This step change the uname field in the comments table to be uid and populates it with the uid of the person rather than penname.");
|
|
| 84 |
+define("_NEWSUPDATERESULT", "News comments updated.");
|
|
| 85 |
+define("_NEWTABLESSETUP", "How do you want to install the new tables?");
|
|
| 86 |
+define("_NEWTABLESMANUAL", "Manually install the tables from the upgrade20_step4.sql file found in the docs/ folder now.");
|
|
| 87 |
+define("_NEWTABLEAUTOFAIL", "If a table failed to install, please use the upgrade20_step4.sql file in the docs/ folder to install it manually now.");
|
|
| 88 |
+define("_NEWTABLEAUTOFAIL11", "If a table failed to install, please use the upgrade11_step4.sql file in the docs/ folder to install it manually now.");
|
|
| 89 |
+define("_OPTIMIZEDB", "Optimize Database");
|
|
| 90 |
+define("_OPTIMIZEINFO", "This step will optimize the database through the removal of some indexes on the tables and the addition of a number of new ones. How do you want to optimize the database?");
|
|
| 91 |
+define("_OPTIMIZEMANUAL", "Manually optimize the database now using the optimize.sql found in the docs/ folder now.");
|
|
| 92 |
+ |
|
| 93 |
+define("_PANELDATA", "Install Panel Data");
|
|
| 94 |
+define("_PANELDATAINFO", "This step will install the default configuration of panels for the admin area, user account area, top 10 lists
|
|
| 95 |
+ and user profile page. You may change these settings at any time using the panels admin interface in your admin area."); |
|
| 96 |
+define("_PANELSETUP", "How do you want to install the panel data?");
|
|
| 97 |
+define("_PANELMANUAL", "Manually install the default data for panels provided in the information in panels.sql found in the docs/ folder now.");
|
|
| 98 |
+define("_PANELAUTOFAIL", "If a panel failed to install, please use the default data for panels provided in the information in panels.sql file in the docs/ folder to install it manually now.");
|
|
| 99 |
+define("_REVIEWUPDATE", "Update Reviews Table and Data");
|
|
| 100 |
+define("_REVIEWALTER1", "Column 'sid' changed to 'item'");
|
|
| 101 |
+define("_REVIEWALTER2", "Added column 'type'");
|
|
| 102 |
+define("_REVIEWALTER3", "Column 'member' changed to 'uid'");
|
|
| 103 |
+define("_REVIEWALTER4", "Drop column 'seriesid'");
|
|
| 104 |
+define("_REVIEWALTER5", "Add column 'respond'");
|
|
| 105 |
+define("_REVIEWALTER6", "Column 'sid' changed to 'chapid'");
|
|
| 106 |
+define("_REVIEWALTER7", "Column 'psid' changed to 'item'");
|
|
| 107 |
+define("_REVIEWUPDATE1", "Set type to 'ST' for all story reviews.");
|
|
| 108 |
+define("_REVIEWUPDATE2", "Set item to seriesid and type to 'SE' for all series reviews.");
|
|
| 109 |
+define("_REVIEWUPDATE3", "Mark all reviews with author's responses as responded to.");
|
|
| 110 |
+define("_REVIEWUPDATEINFO", "This step will alter the reviews table then convert all reviews in the table to the new format.");
|
|
| 111 |
+define("_SERIESREVIEWS", "Update Series Review");
|
|
| 112 |
+define("_SERIESREVIEWSINFO", "This step updates the series reviews and ratings to include the reviews and ratings of included stories and series.");
|
|
| 113 |
+define("_SETTINGSPREFIX", "Settings Table Prefix:");
|
|
| 114 |
+define("_SETTINGSTABLE", "Create Settings Table"); // Added 01/15/07
|
|
| 115 |
+define("_SETTINGSTABLEMANUAL", "Manually install the settings table from the tables.sql file found in the docs/ folder now.");
|
|
| 116 |
+define("_SETTINGSTABLEMANUALUP", "Manually install the settings table from the settingstable.sql file found in the docs/ folder now.");
|
|
| 117 |
+define("_SETTINGSTABLENOTE", "You may set a prefix for your settings table different from the other tables in your eFiction install. This will allow you to share the settings table between multiple installs of eFiction in the same database.");
|
|
| 118 |
+define("_SETTINGSTABLESETUP", "How do you want to install the settings table?");
|
|
| 119 |
+define("_SETTINGSTABLESUCCESS", "Settings table created successfully!");
|
|
| 120 |
+define("_SETTINGSTABLEAUTOFAIL", "Automatic creation of settings table failed! Please create this table manually.");
|
|
| 121 |
+define("_SITESETTINGSMOVED", "Site settings have been moved to settings table.");
|
|
| 122 |
+define("_SITEKEYNOTE", "You may use the randomly generated key or choose one of your own.");
|
|
| 123 |
+define("_SKINWARNING", "<strong>Note:</strong> eFiction ".$version." will require you to make some updates to your skins. You are <strong>highly</strong> encouraged to choose one of the skins included in the download as default until you can upgrade your skins.");
|
|
| 124 |
+define("_STORIESPATHNOTWRITABLE", "The folder in which you wish to store your stories may not be writable! You must CHMOD this folder to 777 (on some systems 755) to be able to write stories to the folder!");
|
|
| 125 |
+define("_STORIESUPDATED", "The stories have been updated.");
|
|
| 126 |
+define("_TABLESMANUAL", "Manually install the tables found in the docs/ folder now.");
|
|
| 127 |
+define("_TABLESINSTALL", "Install the database tables.");
|
|
| 128 |
+define("_TABLEFAILED", "If a table failed to install, please use the tables.sql file in the docs/ folder to install it manually now.");
|
|
| 129 |
+define("_UPDATECATORDER", "Update Categories Order");
|
|
| 130 |
+define("_UPDATECATORDERINFO", "<strong>Note:</strong> This will <u>NOT</u> affect how your categories are displayed on screen, merely how that information is stored in the database.");
|
|
| 131 |
+define("_UPDATESTORIES", "Update Story and Series Information");
|
|
| 132 |
+define("_UPDATESTORIES11", "Update Stories");
|
|
| 133 |
+define("_UPDATESTORIES11INFO", "This step will update the data for your stories and alter some of the fields in the table. This will be done in batches of 200 with the database alterations done at the end.");
|
|
| 134 |
+define("_UPDATESTORIESINFO", "This step will update the data for your stories converting the names of genres, warnings, characters, and ratings to id numbers. This will be done in batches of 200 stories.");
|
|
| 135 |
+define("_UPDATESTORIESTABLE", "Update Stories and Series Tables");
|
|
| 136 |
+define("_UPDATESTORIESTABLEINFO", "This step will create the classes column in your stories and series tables. How do you want to proceed?");
|
|
| 137 |
+define("_UPDATESTORIESTABLEMANUAL", "Manually update your stories table from the upgrade20_step10.sql file in the docs/ folder now.");
|
|
| 138 |
+define("_UPDATESTORIESTABLE11", "Update Stories Table");
|
|
| 139 |
+define("_UPDATESTORIESTABLEINFO11", "This step will modify the stories table to conform to eFiction ".$version.". How do you want to proceed?");
|
|
| 140 |
+define("UPDATESTORIESTABLEMANUAL11", "Manually update your stories table from the upgrade11_step12.sql file in the docs/ folder now.");
|
|
| 141 |
+define("_UPGRADEEND","You may now delete the following files and directories:<br />
|
|
| 142 |
+<ul style='text-align: left !important; width: 60%; margin: 1em auto;'> |
|
| 143 |
+<li>messages/ folder</li> |
|
| 144 |
+<li>your databasepath folder and dbconfig.php file</li> |
|
| 145 |
+<li>blocks_config.php</li> |
|
| 146 |
+<li>categories.php (handled through browse.php)</li> |
|
| 147 |
+<li>formselect.js</li> |
|
| 148 |
+<li>func.naughty.php</li> |
|
| 149 |
+<li>func.pagemenu.php</li> |
|
| 150 |
+<li>func.ratingpics.php</li> |
|
| 151 |
+<li>functions.php</li> |
|
| 152 |
+<li>func.reviewform.php</li> |
|
| 153 |
+<li>help.php (saved in the database now)</li> |
|
| 154 |
+<li>javascript.js (A new version has been placed in the includes/ folder)</li> |
|
| 155 |
+<li>lib/ folder</li> |
|
| 156 |
+<li>members_list.php (A new version has been placed in the includes/ folder)</li> |
|
| 157 |
+<li>naughtywords.php</li> |
|
| 158 |
+<li>seriesblock.php (A new version has been placed in the includes/ folder)</li> |
|
| 159 |
+<li>storyblock.php (A new version has been placed in the includes/ folder)</li> |
|
| 160 |
+<li>submission.php (saved in the database now)</li> |
|
| 161 |
+<li>timefunctions.php</li> |
|
| 162 |
+<li>titles.php (handled through browse.php)</li> |
|
| 163 |
+<li>tos.php (saved in the database now)</li> |
|
| 164 |
+<li><strong>install/ folder</strong></li> |
|
| 165 |
+</ul> |
|
| 166 |
+<p>You are also encouraged to CHMOD config.php to 644 as a security measure.</p> |
|
| 167 |
+<p><a href='../index.php'>Return to your Site.</a></p"); |
|
| 168 |
+ |
|
| 169 |
+define("_UPGRADE11END", "You may now delete the following files and directories:<br />
|
|
| 170 |
+<ul style='text-align: left !important; width: 60%; margin: 1em auto;'> |
|
| 171 |
+<li>adminfunctions.php</li> |
|
| 172 |
+<li>adminheader.php</li> |
|
| 173 |
+<li>adminnews.php</li> |
|
| 174 |
+<li>adminstories.php</li> |
|
| 175 |
+<li>adminusers.php</li> |
|
| 176 |
+<li>blocks.php</li> |
|
| 177 |
+<li>categories.php (handled through browse.php)</li> |
|
| 178 |
+<li>functions.php</li> |
|
| 179 |
+<li>help.php (saved in the database now)</li> |
|
| 180 |
+<li>javascript.js (A new version has been placed in the includes/ folder)</li> |
|
| 181 |
+<li>langadmin.php</li> |
|
| 182 |
+<li>languser.php</li> |
|
| 183 |
+<li>lib/ folder</li> |
|
| 184 |
+<li>phpinfo.php <strong>(Poses a security risk!)</strong></li> |
|
| 185 |
+<li>storyblock.php (A new version has been placed in the includes/ folder)</li> |
|
| 186 |
+<li>timefunctions.php</li> |
|
| 187 |
+<li>titles.php (handled through browse.php)</li> |
|
| 188 |
+<li>install/ folder<strong>(Poses a security risk!)</strong></li> |
|
| 189 |
+<li>your databasepath folder and dbconfig.php file</li> |
|
| 190 |
+</ul><p><a href='../index.php'>Return to your Site.</a></p> |
|
| 191 |
+<p>You are also encouraged to CHMOD config.php to 644 as a security measure.</p> |
|
| 192 |
+<p><a href='../index.php'>Return to your Site.</a></p>"); |
|
| 193 |
+define("_HELP_DBHOST", "The host server for your mySQL database. Generally 'localhost' is the most likely setting unless your web host has informed you differently.");
|
|
| 194 |
+define("_HELP_DBNAME", "This should be the name of your database. You should have already created the database before starting this install. You will most likely create your database through your web host's control panel.");
|
|
| 195 |
+define("_HELP_DBUSER", "This is the user you (or your webhost) assigned to the database when it was created.");
|
|
| 196 |
+define("_HELP_DBPASS", "This is the password for the database user.");
|
|
| 197 |
+define("_HELP_INSTALL_SITEKEY", "The sitekey will be used to access the settings for your site. It is also used to prevent crossed member logins when two or more sites are installed on the same domain. You <strong>must</strong> have a <strong>unique</strong> sitekey for each eFiction site! If you leave this blank, the script will randomly generate another one for you.");
|
|
| 198 |
+define("_HELP_SETTINGSPREFIX", "This allows you to define a separate prefix for the settings table. This allows you to share the settings table among more than one eFiction site in the same database.");
|
|
| 199 |
+ |
|
| 200 |
+// Missing LANs - fatal error |
|
| 201 |
+define("_EMAILREQUIRED", "Email is required");
|
|
| 202 |
+define("_BADSITEKEY", "Wrong Sitekey");
|