TNG Files - Administrative PHP

From TNG_Wiki
Jump to navigation Jump to search

Files released with TNGv10.1.1, or, where noted, that are new with TNGv11.

These filenames all begin with "admin", and are all in the main TNG folder.

File categories:

  • A - Action scripts; programs that are invoked from a form, do some database or file manipulation, do not display a web page, and redirect to a menu or form. Files whose names begin with
    • "admin_add" add a new record to a database table and are are invoked by data entry programs whose filenames begin with "admin_new", and
    • "admin_update" save a record edited by data entry programs whose filenames begin with "admin_edit".
    • "admin_delete" delete a record of a given type.
Note there tends to be an "add" program and an "update" program for each record type in TNG. But many types of record are deleted by a common deletion action script, so there are few "delete" programs than "add" or "update" programs.
  • E - Programs that displays a from for entering or editing a database record. Files whose names begin with
    • "admin_new" create records that are saved by programs whose filenames begin with "admin_add", and
    • "admin_edit" edit existing records that are saved by programs whose filenames begin with "admin_update".
The "admin_new*" and "admin_edit*" forms for the same record type are almost identical.
There tends to be an "new" program and an "edit" program for every record type that also has an "add" and an "update" program.
  • F - Function libraries. Files that are Included by programs, and that consist of function definitions.
  • H - Pieces of the Admin frameset. These files have very little PHP logic, though a couple use PHP code to select menu options based on user rights.
  • K - Kickoff Forms; that is, forms that let the user select some options and then kick off a process such as a Gedcom Import, File Upload, Table maintenance, etc.
  • M - Menu pages. Contain only HTML hyperlinks. The menu may or may not be affected by user rights.
  • P - Programs that display data in the user's browser, and that aren't in category 'S'.
  • S - Search/List program, generally invoked directly from Admin menus. These programs contain a search form that lets the user find specific records (of a given type). They also displays the result of the search, and let the user edit or delete records (or select an option to add a new record). These programs all display a search result with no search criteria the first time they are launched in a given session.
  • X - Ajax program invoked from JavaScript in Admin programs. Note that most Ajax programs start with "ajx_", and are not in this list. See TNG Files - Ajax
  • No - Files that are no longer used.
Filename Description
addnewacct.php A Puts information from potential user in users table, notifies administrator.
admin.php H The administration frameset page.
admin/index.php H Note the subfolder name. This is a redirects to admin.php in the main TNG folder, for compatibility reasons to previous TNG versions when the admin scripts were in the admin folder.
admin_add2albumxml.php A Fetches media asynchonously for possible inclusion in an album.
admin_addalbum.php A Adds new album record to the database.
admin_addassoc.php A Adds new association record to the database.
admin_addbranch.php A Adds new branch record to the database.
admin_addcemetery.php A Adds new cemetery record to the database.
admin_addcitation.php A Adds new citation record to the database.
admin_addcollection.php A Adds new media collection record to the database.
admin_addentity.php A Adds new state or country (for cemetery locations) to the database.
admin_addevent.php A Adds new event record to the database.
admin_addeventtype.php A Adds new event type record to the database.
admin_addfamily.php A Adds new family record to the database.
admin_addlanguage.php A Adds new language record to the database.
admin_addmedia.php A Adds new media record to the database.
admin_addnote.php A Adds new note record to the database.
admin_addperson.php A Adds new individual record to the database.
admin_addperson2.php A Adds new individual record to the database (short form).
admin_addplace.php A Adds new place record to the database.
admin_addrepo.php A Adds new repository record to the database.
admin_addreport.php A Adds new report record to the database.
admin_addsource.php A Adds new source record to the database.
admin_addtlevent.php A Adds new timeline event record to the database.
admin_addtree.php A Adds new tree record to the database.
admin_adduser.php A Adds new user record to the database.
admin_albums.php S Albums administration page.
admin_associations.php S Displays associations for an individual.
admin_backup.php A Creates a backup file of a database table. Invoked by a drop-down menu at Admin>>Utilities
admin_branches.php S Branch administration page.
admin_branchlabels.php No Action script used by an older version Branch label management
admin_branchmenu.php No Kickoff form used by an older version of Branch label management
admin_branchoptions.php No Part of an older version of Branch label management
admin_cemeteries.php P Cemetery administration page.
admin_changetree.php A Moves a person, source or repository to a new tree.
admin_changetreeform.php K Input form for selecting a new tree for a person, source or repository.
admin_checkfile.php F Checks the existence of a file.
admin_checkID.php F Utility that checks to see if an ID is unique.
admin_citations.php SX Displays citations for a selected event. Invoked from the Person and Family editors.
admin_cleartree.php A Removes all data from the selected tree.
admin_corner.php H Upper left frame in the Admin frameset. Displays a TNG logo, and links to the TNG marketing web site.
admin_dataimport.php K Begins a GEDCOM import.
admin_data_validation.php M A menu invoked from the "Data Validation" tab at Admin>>Miscellanious. It lists the names of several hard-coded SQL queries, and runs the one that the user requests. (TNGv11)
admin_defphotos.php A Sets default photo for each person with photos. Invoked from the Thumbnails kickoff form, which is invoked by the Thumbnails tab at Admin>>Media
admin_deletealbum.php A Deletes an album record.
admin_deleteassoc.php A Deletes an association record.
admin_deletecitation.php A Deletes a citation record.
admin_deleteentity.php A Deletes a state or country (cemetery locations).
admin_deleteevent.php A Deletes an event record.
admin_deletefile.php X Deletes a file. Called from the filepicker.
admin_deletenote.php A Deletes a note record.
admin_deletereview.php A Deletes a tentative edit record - one submitted by a visitor.
admin_deleteselected.php A This is the "generic" delete action script that deletes records of several types.
admin_diagnostics.php P Displays TNG and php settings
admin_editalbum.php E Displays an album record for editing.
admin_editassoc.php E Displays an association record for editing.
admin_editbranch.php E Displays a branch record for editing.
admin_editcemetery.php E Displays a cemetery record for editing.
admin_editcitation.php EX Data entry form for citations. Invoked as a popup in the Person and Family editors.
admin_editcollection.php EX Data entry form for Collections (e.g MediaTypes). Invoked as a popup in the Media Search page.
admin_editevent.php EX Data entry form for events. Invoked as a popup in the Person and Family editors.
admin_editeventtype.php E Data entry form for events. Invoked from the Admin>>Event Types search page.
admin_editfamily.php E Displays a family record for editing. Invoked from the Admin>>Families search page, from the Person Editor, and from the Edit tab in the (non-Admin) Family Profile.
admin_editlanguage.php E Data entry form for languages. Invoked from the Admin>>Languages search page.
admin_editmedia.php E Data entry form for Media records. Invoked from the Admin>>Media search page.
admin_editmedialink.php EX Data entry form for Media Links. Invoked from the Media data entry form.
admin_editmore.php EX Data entry form for extra event information (facility, age, etc.). Invoked as a popup within the Person and Family data entry forms.
admin_editmostwanted.php EX Data entry form for Most Wanted records. Invoked from the Admin>>Miscellaneous>>Most wanted search page.
admin_editnote.php EX Data entry form for Notes, invoked as a popup within the People and Family data entry forms.
admin_editnote2.php E Data entry form for Notes. Invoked as a program from the Admin>>Notes search page.
admin_editperson.php E Data entry form for People. Invoked from the Admin>>People search page, or invoked in a new window from the the People and Family data entry forms, or invoked as a new window from the Edit tab in the (non-admin) Person Profile.
admin_editplace.php E Data entry form for Places. Invoked from the Admin>>Places search page,
admin_editrepo.php E Data entry form for Repository records. Invoked from the Admin>>Repositories search page.
admin_editreport.php E Data entry form for Reports. Invoked from the Admin>>Reports search page.
admin_editsource.php E Data entry form for Sources. Invoked from the Admin>>Sources search page.
admin_edittlevent.php E Data entry form for Timeline events. Invoked from the Admin>>Timeline Events search page.
admin_edittree.php E Data entry form for Trees. Invoked from the Admin>>Trees search page.
admin_edituser.php E Data entry form for Users. Invoked from the Admin>>Users search page.
admin_eventtypes.php S Event types administration page.
admin_export.php K Takes your export preferences prior to exporting a GEDCOM.
admin_families.php S Family administration page.
admin_filepicker.php X Displays contents of a TNG folder to allow easy picking of photos and other items.
admin_findmwmedia.php X Displays summary of media records that match search criteria entered from the Most Wanted page.
admin_findreview.php P Displays a summary of tentative Person edits submitted by visitors, and ready for review by a site administrator. Invoked from the "Review" tab at Admin>>People.
admin_gedcom2.php P Exports a Gedcom file. Invoked from the Kickoff form in admin_export.php.
admin_gedimport.php P Imports new genealogical data from a Gedcom file. Invoked from the Kickoff form in admin_dataimport.php.
admin_gedimport_eventtypes.php F Functions to handle custom events, used by admin_gedimport.php.
admin_genconfig.php E Data entry form for the system variables in config.php
admin_generatethumbs.php P Generate thumbnail images for existing photos. Invoked from the kickoff form in admin_thumbnails.php.
admin_geocode.php P Obtain geocode information for place records, and display results. Invoked by the kickoff form in admin_geocodeform.php.
admin_geocodeform.php K Form to launch the geocoding process. Invoked by the "Geocode" tab at Admin>>Places.
admin_getphotodetails.php X Retrieves information about a photo, from the Most Wanted data entry form.
admin_importconfig.php E Data entry form for the TNG system settings in importconfig.php
admin_languages.php S Languages administration page.
admin_leftbanner.php H Left navigational frame of the Administratio frameset. Displays a vertical menu of hyperlinks, some of which may be excluded because of user rights. Displays the same options that are displayed in the main content area when the frameset is first loaded, but this frame is never overwritten.
admin_logconfig.php E Data entry form for the TNG system settings in logconfig.php
admin_login.php P Login form displayed in a popup window whenever a program discovered that the user does not have the privileges that are required.
admin_mailusers.php K Form to initiate e-mail to users. Invoked from the E-mail tab at Admin>>Users
admin_main.php H Main admin menu; displays in main frame of the Admin frameset. Contains two columns of tiles that link to the various Admin Search/List programs and menus. Is replaced in the frameset by every page it links to.
admin_makefolder.php X Attempts to create TNG folders (used during installation). Success depends on server setup.
admin_mapconfig.php E Data entry form for the TNG system settings in admin_mapconfig.php
admin_media.php S Media administration page.
admin_mediaeventxml.php X Fetches event data asynchronously for use with media linking.
admin_medialinksxml.php X Fetches entity data asynchronously for use with media linking.
admin_mediaupload.php K Kicks off the process of uploading media files from the user's computer.
admin_mediauploader.php X Process mass upload. Invoked from the kickoff form in admin_mediaupload.php.
admin_merge.php A Merges place records, as directed by the kickoff form in admin_mergeplaces.php.
admin_mergeplaces.php K Kicks off the place merge process. Contains a search form, which calls itself, and displays a list of merge candidates. Invoked from from "Merge" tab at Admin>>Places.
admin_mergeplacesajax.php X Performs place merge in background. (not sure how or when this is invoked)
admin_mergerepos.php KA Kicks off the process for merging repositories, and does the merging, displaying the results. Invoked from from "Merge" tab at Admin>>Repositories.
admin_mergesources.php KA Kicks off the process for merging sources, and does the merging, displaying the results. Invoked from from "Merge" tab at Admin>>Sources.
admin_misc.php M Menu page at Admin>>Miscellaneous. Contains links to What's New, Most Wanted, and Data Validation.
admin_modmanager.php No An old version of Mod Manager.
admin_mostwantedlist.php S Administrative Search/List page for Most Wanted Records. Invoked from Admin>>Miscellaneous>>Most Wanted
admin_newalbum.php E Data entry form for a new photo album. Invoked from the "Add New" tab at Admin>Albums.
admin_newbranch.php E Data entry form for a new branch record. Invoked from the "Add New" tab at Admin>Branches.
admin_newcemetery.php E Data entry form for a new Cemetery record. Invoked from the "Add New" tab at Admin>Cemeteries.
admin_newcollection.php EX Data entry form for a new Media Collection record. Invoked as a popup from within the Media Search/List form at Admin>>Media.
admin_newentity.php EX Data entry form for a new state or country record. Invoked as a popup within the Cemetery data entry forms.
admin_newevent.php EX Data entry form for a new Event record. Invoked as a popup within the Person or Family edit program.
admin_neweventtype.php E Data entry form for a new Event Type record. Invoked from the "Add New" tab at Admin>Event Types.
admin_newfamily.php E Data entry form for a new family record. Invoked by the "Add New" button at Admin>>Families, or in a new window (not a popup) from links or buttons with the Person and Family data entry forms.
admin_newlanguage.php E Data entry form for a new Language record. Invoked from the "Add New" tab at Admin>Languages.
admin_newmedia.php E Data entry form for a new Media record. Invoked from the "Add New" tab at Admin>Media.
admin_newperson.php E Data entry form for a new Person record. Invoked by the "Add New" button at Admin>>People, or in a new window (not a popup) from links or buttons with the Person and Family data entry forms.
admin_newperson2.php EX Short form for data entry of a new spouse. Invoked from the Family data entry program.
admin_newplace.php E Data entry form for a new Place record. Invoked from the "Add New" tab at Admin>>Places. (Other TNG forms where a place can be entered use a lookup mechanism, and provide only for entry of a new Placename, not for the rest of the Placerecord.)
admin_newrepo.php E Data entry form for a new Repository record. Invoked from the "Add New" tab at Admin>Respositories.
admin_newreport.php E Data entry form for a new Report record. Invoked from the "Add New" tab at Admin>Reports.
admin_newsource.php E Accepts information for new source record. Invoked from the "Add New" tab at Admin>Sources. (When new Sources are entered as part of the Citation data entry or editing process within Person or Family data entry form, the Add/Edit Source form is part of admin_citations.php or admin_editcitation.php.
admin_newtlevent.php E Data entry form for a new Timeline Event record. Invoked from the "Add New" tab at Admin>Timeline Events.
admin_newtree.php E Data entry form for a new Tree record. Invoked from the "Add New" tab at Admin>Trees.
admin_newuser.php E Data entry form for a new User. Invoked from the "Add New" tab at Admin>Users.
admin_notes.php E Displays notes for a selected event.
admin_notelist.php S The Notes administration page, at Admin>>Notes.
admin_optimize.php A Optimizes a database table, invoked from the Optimize choice in a dropdown list at Admin>>Utilities
admin_orderalbumform.php K Kicks off the Sort Albums process for a Person, Family, Source, Repository, or Place. Invoked by the "Sort" tab at Admin>>Albums. Note that this sorts the Album links within a record. It does not sort the photos in an album.
admin_orderalbums.php P Sort the album links for a record that can be linked to an album. Invoked by the form at admin_orderalbumform.php
admin_ordermedia.php P Sort the media links for a record that can be linked to media items. Invoked by the form at admin_ordermediaform.php
admin_ordermediaform.php K Kicks off the Sort Media process for a Person, Family, Source, Repository, or Place. Invoked by the "Sort" tab at Admin>>Media.
admin_pedconfig.php E Data entry form for the TNG system variables for Chart settings in pedconfig.php. ("ped" refers to "Pedigree" charts, but there are setting for Peditree, Descendancy, Relations, and Timeline Charts, but some common settings.)
admin_people.php S Person administration/Search/List page at Admin>>People.
admin_photoimport.php K To kickoff the process of "importing" media files that are already in media folders. Invoked from the "Import" tab at Admin>>Media
admin_photoimporter.php A Program to import photos, kicked off by admin_photoimport.php.
admin_phpinfo.php P Displays high-level status of PHP, MySQL, Apache, and Folder Permission for the php installation. Invoked by the "Diagnostics" tab in Admin>>Setup
admin_pickcemetery.php X Small popup to facilitate cemetery selection.
admin_places.php S Places administration/Search/List page at Admin>>Places.
admin_renumber.php A Resequences IDs. Initiated from the admin_renumbermenu.php kickoff form.
admin_renumbermenu.php K Option menu for resequencing ID's. Runs from the "Resequence IDs" tab in the Admin>>Utilites menu.
admin_reports.php S Reports administration/Search/List page at Admin>>Reports.
admin_repositories.php S Repositories administration/Search/List page at Admin>>Repositories.
admin_restore.php A Restores backed-up table. Invoked from a dropdown list in the Admin>>Utilities Search/List page.
admin_review.php S Displays the People record data updates submitted by site visitors, so that a site administrator can modify it and save it. Invoked from the the "Review" tab at Admin/People.
admin_reviewusers.php S Displays new user requests waiting for administrative review. Invoked from the "Review" tab at Admin>>Users
admin_rightbanner.php H Top right frame of the Administration frameset. Displays the TNG version, language switcher widget, and a horizontal menu containing external links (e.g. Wiki, Forum), link to show the Admin log, lo
admin_savelanguage.php A Saves the language selected in the Language Selection widget in top frame of the Admin Setup. The selection language is written to config.php, and recorded as a session variable.
admin_savereview.php A Save changes made during a review of tentative edit submissions.
admin_savewhatsnewmsg.php A Saves the text to display on "What's New" page.
admin_secondary.php A Executes secondary process selected on admin_second_menu.php
admin_second_menu.php K Form used to invoke the secondary processes that follow a Gedcom Import (GENDEX creation, tracking lines of descent, sort children & spouses, etc). Invoked from a the Secondary Processes tab at Admin>>Import/Export.
admin_sendmailusers.php A Sends e-mail to users based on the kickoff form at admin_mailusers.php
admin_setup.php M Menu of Setup options, at Admin>>Setup. Each entry in this menu invokes the program that edits a particular config file.
admin_showbranch.php No Ajax program used by an older version of branch management.
admin_sources.php S Sources administration/Search/List page at Admin>>Sources.
admin_tablecreate.php A Create all tables needed for application (WARNING: ALL PRE-EXISTING DATA WILL BE LOST!!) Invoked from the "Table Creation" tab at Admin>>Setup
admin_templateconfig.php E Data entry form for the TNG system variables for Templates in templateconfig.php
admin_thumbnails.php K Form to initiate thumbnail generation. Invoked from the "Thumbnails" tab at Admin>>Media
admin_timelineevents.php S Timeline Events administration/Search/List page at Admin>>Timeline Events.
admin_trees.php S Trees administration/Search/List page at Admin>>Trees.
admin_updatealbum.php A Saves changes to an album record.
admin_updateassoc.php A Saves changes to an association record.
admin_updatebranch.php A Saves changes to a branch record.
admin_updatecemetery.php A Saves changes to a cemetery record.
admin_updatecitation.php A Saves changes to a citation record.
admin_updatecollection.php A Saves changes to a media collection record.
admin_updateconfig.php A Saves changes to system variables.
admin_updateevent.php A Saves changes to an event record.
admin_updateeventtype.php A Saves changes to an event type record.
admin_updatefamily.php A Saves changes to a family record.
admin_updateimportconfig.php A Saves changes to import variables.
admin_updatelanguage.php A Saves changes to a language record.
admin_updatelogconfig.php A Saves changes to log variables.
admin_updatemapconfig.php A Saves changes to map-related variables.
admin_updatetemplateconfig.php A Saves changes to template-related variables.
admin_updatemedia.php A Saves changes to a media record.
admin_updatemore.php A Saves changes to an extended event record.
admin_updatemostwanted.php A Saves changes to Most Wanted records.
admin_updatenote.php A Saves changes to a note record.
admin_updatenote2.php A Saves changes to a note record from the Admin/Miscellaneous section.
admin_updatepedconfig.php A Saves changes to pedigree variables.
admin_updateperson.php A Saves changes to a person record.
admin_updateplace.php A Saves changes to a place record.
admin_updaterepo.php A Saves changes to a repository record.
admin_updatereport.php A Saves changes to a report record.
admin_updateselectedeventtypes.php A Saves mass changes to event type records.
admin_updateselectedmedia.php A Saves mass changes to media records.
admin_updatesource.php A Saves changes to a source record.
admin_updatetlevent.php A Saves changes to a timeline event record.
admin_updatetree.php A Saves changes to a tree record.
admin_updateuser.php A Saves changes to a user record.
admin_users.php S Users administration/Search/List page at Admin>>Users.
admin_utilities.php S The search/list page at Admin>>Utilities, which displays all TNG database table (which no provision for a search). The user can Backup, Restore or Optimize selected tables.
admin_whatsnewmsg.php E Edits the text on the "What's New" page. Invoked from the "What's New" link on the menu page at Admin>>Miscellaneous.
admin_valreport.php P Runs a query from the Data Validation menu (admin_data_validation.php), and displays its results.
adminlib.php F Contains database and header functions.
adminlog.php F Contains functions that perform logging in in admin programs.
adminmaint.php P Stub to be displayed in the Admin frameset during maintenance mode (i.e. while Gedcom imports are being conducted).
adminshowlog.php P Shows the administrative log. Invoked from the horizontal menu in the top frame of the Admin frameset.

Lists of TNG Files

Configuration | Admin PHP | Non-Admin PHP | Ajax | TNG Files - Language-Specific | Images | JavaScript | CSS | Fonts | Miscellaneous | TNGv14

To search, see All TNG files