From 5c7d65500573ed52ea2fb1aff8a3218b524ea982 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 23 Mar 2006 01:49:04 +0000 Subject: URL rewrite: 3 options in the config file define behaviour (question mark removal, file name for picture and .php extension removal) fix: added unsigned for column in install sql - for the sake of uniformization change: add_url_param is now add_url_params and takes an array as parameter instead of a string git-svn-id: http://piwigo.org/svn/trunk@1094 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/notification_by_mail.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'admin') diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index ee31ef077..db92b8e72 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -7,9 +7,9 @@ // +-----------------------------------------------------------------------+ // | branch : BSF (Best So Far) // | file : $RCSfile$ -// | last update : $Date: 2005-09-21 00:04:57 +0200 (mer, 21 sep 2005) $ -// | last modifier : $Author: plg $ -// | revision : $Revision: 870 $ +// | last update : $Date$ +// | last modifier : $Author$ +// | revision : $Revision$ // +-----------------------------------------------------------------------+ // | This program is free software; you can redistribute it and/or modify | // | it under the terms of the GNU General Public License as published by | @@ -86,7 +86,7 @@ function update_data_user_mail_notification() // Set null mail_address empty $query = ' -update +update '.USERS_TABLE.' set mail_address = null @@ -281,10 +281,10 @@ $base_url = get_root_url().'admin.php'; $template->assign_vars( array( 'U_TABSHEET_TITLE' => l10n('nbm_'.$page['mode'].'_mode'), - 'U_HELP' => add_url_param(get_root_url().'/popuphelp.php', 'page=notification_by_mail'), - 'U_PARAM_MODE' => add_url_param($base_url.get_query_string_diff(array('mode')), 'mode=param'), - 'U_SUBSCRIBE_MODE' => add_url_param($base_url.get_query_string_diff(array('mode')), 'mode=subscribe'), - 'U_SEND_MODE' => add_url_param($base_url.get_query_string_diff(array('mode')), 'mode=send'), + 'U_HELP' => add_url_params(get_root_url().'/popuphelp.php', array('page'=>'notification_by_mail') ), + 'U_PARAM_MODE' => add_url_params($base_url.get_query_string_diff(array('mode')), array('mode'=>'param') ), + 'U_SUBSCRIBE_MODE' => add_url_params($base_url.get_query_string_diff(array('mode')), array('mode'=>'subscribe') ), + 'U_SEND_MODE' => add_url_params($base_url.get_query_string_diff(array('mode')), array('mode'=>'send') ), 'F_ACTION'=> $base_url.get_query_string_diff(array()) )); -- cgit v1.2.3