# Function to create date strings
'time2str' => \&Date::Format::time2str,
- # Function for processing global parameters that contain references
- # to other global parameters.
- 'PerformSubsts' => \&::PerformSubsts ,
-
# Generic linear search function
'lsearch' => \&Bugzilla::Util::lsearch,
require Bugzilla::BugMail;
Bugzilla::BugMail::Send($id, $mailrecipients);
},
-
- # SyncAnyPendingShadowChanges
- # - called in the footer to sync the shadowdb
- 'SyncAnyPendingShadowChanges' => \&::SyncAnyPendingShadowChanges,
# Bugzilla version
# This could be made a ref, or even a CONSTANT with TT2.08
[%# *** Preset Queries *** %]
[% IF user.showmybugslink %]
[% user_login = user.login FILTER url_quote %]
- [% substs = { userid => user_login } %]
<link rel="Preset Queries" title="My Bugs"
- href="[% PerformSubsts(Param('mybugstemplate'), substs) %]">
+ href="[% Param('mybugstemplate').replace('%userid%', user_login) %]">
[% END %]
[% FOREACH q = user.queries %]