By: Julian Brown, julian@jlbprof.com
Updated by: Tom O'Neill (AKA zip1)

What is this?

This script allows you to quickly edit almost all displayed text on your Cre Loaded language files. It is intended to replace define_languages.php, as the current define_languages.php has several problem.

Text is store in two places, the database and language defines files. Language Define Editor is entended to edit the language define file within the /languages directory or a sub directory. All language defines files should reside in the /languages directory. If they do not then the contributon does not meet OSC or Cre Loaded standerds


Specific Task Help


   1. Identifying the text to edit.
     a. Note the file name in the browser url box.
     b. Next note the text you want to change.

   2. Finding the correct file:
     a. Go to tools > Define Languages.
     b. Select the directory the define file resides in.
     c. Click on the file name of the file.

   3. Searching for files:
     a. Go to tools > Define Languages.
     b. Select the directory the define file resides in.
     c. In the search box type in all or part of the file name without the .php
     d. This will bring up a list of files that contain all or part of the text you type in the search box. click on the file name you wish to edit.

You can also go directly to a particular file and modify the text in that file.

What to do if you have a problem


Language define files have variables in them. If for some reason one of these get changed you can always revert back to the file before editng by clicking on restore. A restore button will apear after you save your edits. click on the "Restore File" button at the top of the page. The file will then take on the contents it had prior to the last change. You should always check your changes between each save.

This works both in MS1 and MS2.

Added and changed features


1. Reorganized file internals,
     a. moved functions to function file
     b. converted some function calls to actions
     c. added tep form funtions instead of html forms
2. Added images buttons instead of HTML submits
3. Removed lines around each text define to contribution looks like it fits Cre Loaded Better
4. Add ability to edit defines on other sub directories beside /languges, /language/(langauge) 
5. Reorganized help screen, and place the help screen with in th context of the admin inerface.
6. Rewrote language select drop down.
7. Rewrote the search function so it searches filename or defines depending on which screen you are on.
8. Added insert define so you could add defines to a file. (still in progress)