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/password.php

    r19 r20  
    11<?php
    22/**
    3  * passwd.php
     3 * password.php
    44 * Code by Strangecode :: www.strangecode.com :: This document contains copyrighted information
    55 */
     
    2525 *****************************************************************************/
    2626
    27 if (getFormData('boomerang', false)) {
     27if (getFormData('boomerang', false) && isset($_SERVER['HTTP_REFERER'])) {
    2828    // We remember which page we came from so we can go back there.
    29     App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'admin_passwd');
     29    App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'admin_password');
    3030}
    3131App::sslOn();
     
    5757        App::logMsg(sprintf(_("Password change successful for %s"), $auth->getVal('username')), LOG_INFO, __FILE__, __LINE__);
    5858        App::raiseMsg(sprintf(_("Password change successful for %s"), $auth->getVal('username')), MSG_SUCCESS, __FILE__, __LINE__);
    59         App::dieBoomerangURL('admin_passwd');
     59        App::dieBoomerangURL('admin_password');
    6060    }
    6161    break;
     
    6464// Templates.
    6565include 'header.ihtml';
    66 include 'codebase/services/templates/passwd.ihtml';
     66include 'codebase/services/templates/password.ihtml';
    6767include 'footer.ihtml';
    6868
Note: See TracChangeset for help on using the changeset viewer.