Ignore:
Timestamp:
Nov 17, 2005 3:00:00 AM (19 years ago)
Author:
scdev
Message:

Tons of little updates and bugfixes. CSS updates to templates and core css files. File upload ability to module_maker. Remade Upload interface to use setParam/getParam.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/versions.php

    r19 r20  
    1717 *****************************************************************************/
    1818
    19 $version = new RecordVersion($GLOBALS['auth']);
     19$version = RecordVersion::getInstance($GLOBALS['auth']);
    2020
    21 // These values must be kept across requests.
    22 $carry_queries = array('record_table', 'record_key', 'record_val', 'version_title');
     21// Query arguments to retain their values between page requests.
     22App::carryQuery('record_table');
     23App::carryQuery('record_key');
     24App::carryQuery('record_val');
     25App::carryQuery('version_title');
    2326
    2427// Titles and navigation header.
     
    4144}
    4245
    43 if (getFormData('boomerang', false)) {
     46if (getFormData('boomerang', false) && isset($_SERVER['HTTP_REFERER'])) {
    4447    // We remember which page we came from so we can go back there.
    4548    App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'versions');
Note: See TracChangeset for help on using the changeset viewer.