Ignore:
Timestamp:
Sep 12, 2008, 4:17:35 AM (16 years ago)
Author:
rvelices
Message:
  • images.file categories.permalink old_permalinks.permalink - become binary
  • session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
  • metadata sync from the sync button does not overwrite valid data with empty metadata
  • other small fixes/enhancements:
    • added event get_category_image_orders
    • fix display issue with redirect.tpl (h1/h2 within h1)
    • fix known_script smarty function registration
    • query search form not submitted if q is empty
    • better admin css rules
    • some other minor changes (ws_core, rest_handler, functions_search...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r2505 r2521  
    748748  if (empty($msg))
    749749  {
    750     $redirect_msg = l10n('redirect_msg');
    751   }
    752   else
    753   {
    754     $redirect_msg = $msg;
    755   }
    756   $redirect_msg = nl2br($redirect_msg);
     750    $msg = nl2br(l10n('redirect_msg'));
     751  }
    757752
    758753  $refresh = $refresh_time;
     
    765760
    766761  $template->set_filenames( array( 'redirect' => 'redirect.tpl' ) );
     762  $template->assign('REDIRECT_MSG', $msg);
     763
    767764  $template->parse('redirect');
    768765
Note: See TracChangeset for help on using the changeset viewer.