- Timestamp:
- Sep 12, 2007, 6:01:54 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/notification_by_mail.php
r2059 r2089 85 85 $must_repost = true; 86 86 array_push($page['errors'], 87 l10n_dec('nbm_background_treatment_redirect_second', 87 l10n_dec('nbm_background_treatment_redirect_second', 88 88 'nbm_background_treatment_redirect_seconds', 89 89 $time_refresh)); … … 165 165 array_push 166 166 ( 167 $inserts, 167 $inserts, 168 168 array 169 169 ( … … 176 176 array_push 177 177 ( 178 $page['infos'], 178 $page['infos'], 179 179 sprintf( 180 l10n('nbm_user_x_added'), 181 $nbm_user['username'], 180 l10n('nbm_user_x_added'), 181 $nbm_user['username'], 182 182 get_email_address_as_display_text($nbm_user['mail_address']) 183 183 ) … … 204 204 $result = pwg_query($query); 205 205 206 redirect($base_url.get_query_string_diff(array() ), l10n('nbm_redirect_msg'));206 redirect($base_url.get_query_string_diff(array(), false), l10n('nbm_redirect_msg')); 207 207 } 208 208 } … … 219 219 global $conf, $page, $user, $lang_info, $lang, $env_nbm; 220 220 $return_list = array(); 221 221 222 222 if (in_array($action, array('list_to_send', 'send'))) 223 223 { … … 314 314 array 315 315 ( 316 'DATE_BETWEEN_1' => $nbm_user['last_send'], 316 'DATE_BETWEEN_1' => $nbm_user['last_send'], 317 317 'DATE_BETWEEN_2' => $dbnow, 318 318 'END_PUNCT' => $end_punct … … 422 422 } 423 423 } 424 424 425 425 // unset env nbm user 426 426 unset_user_on_env_nbm(); … … 520 520 } 521 521 } 522 522 523 523 array_push($page['infos'], 524 524 l10n_dec('nbm_updated_param_count', 'nbm_updated_params_count', … … 587 587 ( 588 588 'caption' => l10n('nbm_param_mode'), 589 'url' => add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 589 'url' => add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 590 590 array('mode' => 'param')) 591 591 ), … … 627 627 $template->assign_block_vars 628 628 ( 629 'repost', 629 'repost', 630 630 array 631 631 ( -
trunk/admin/user_list.php
r2084 r2089 441 441 PHPWG_ROOT_PATH. 442 442 'admin.php'. 443 get_query_string_diff( 444 array( 445 'start' 446 ) 447 ) 443 get_query_string_diff(array(), false) 448 444 ); 449 445 } … … 835 831 836 832 $properties = array(); 833 $properties[] = l10n( sprintf('Level %d', $local_user['level']) ); 837 834 $properties[] = 838 835 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 839 836 ? $lang['is_high_enabled'] : $lang['is_high_disabled']; 840 841 $properties[] = l10n( sprintf('Level %d', $local_user['level']) );842 837 843 838 $template->assign_block_vars( … … 860 855 'GROUPS' => $groups_string, 861 856 'PROPERTIES' => implode( ',', $properties), 862 863 857 ) 864 858 ); -
trunk/include/functions.inc.php
r2086 r2089 430 430 431 431 $do_log = trigger_event('pwg_log_allowed', $do_log, $image_id, $image_type); 432 432 433 433 if (!$do_log) 434 434 { … … 460 460 list($curyear, $curmonth, $curday) = explode('-', $curdate); 461 461 list($curhour) = explode(':', $curtime); 462 462 463 463 $query = ' 464 464 INSERT INTO '.HISTORY_TABLE.' … … 713 713 * 714 714 * @param array $rejects 715 * @param boolean $escape - if true escape & to & (for html) 715 716 * @returns string 716 717 */ 717 function get_query_string_diff($rejects = array())718 function get_query_string_diff($rejects=array(), $escape=true) 718 719 { 719 720 $query_string = ''; … … 727 728 if (!in_array($key, $rejects)) 728 729 { 729 $query_string.= $is_first ? '?' : '&';730 $query_string.= $is_first ? '?' : ($escape ? '&' : '&' ); 730 731 $is_first = false; 731 732 $query_string.= $key.'='.$value; … … 840 841 $thumbnail_title = ''; 841 842 } 842 843 843 844 if (!empty($element_info['filesize'])) 844 845 { … … 1076 1077 * 1077 1078 * @param element/array $key_args: element or array of l10n_args elements 1078 * @param $sep: if $key_args is array, 1079 * @param $sep: if $key_args is array, 1079 1080 * separator is used when translated l10n_args elements are concated 1080 1081 * @return string -
trunk/template/yoga/admin/user_list.tpl
r2084 r2089 59 59 </label> 60 60 61 <input class="submit" type="submit" name="submit_filter"value="{lang:submit}" />61 <input class="submit" type="submit" value="{lang:submit}" /> 62 62 63 63 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.