projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Elements
/
EditSearches
diff --git
a/rt/share/html/Search/Elements/EditSearches
b/rt/share/html/Search/Elements/EditSearches
index
0a55e0d
..
e7de62b
100644
(file)
--- a/
rt/share/html/Search/Elements/EditSearches
+++ b/
rt/share/html/Search/Elements/EditSearches
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-67,9
+67,9
@@
% }
</nobr>
% }
% }
</nobr>
% }
-% if ( $Object && $Object->Id ) {
+% if ( $Object && $Object->Id
&& $Object->CurrentUserHasRight('update')
) {
<input type="submit" class="button" id="SavedSearchSave" name="SavedSearchSave" value="<%loc('Update')%>" />
<input type="submit" class="button" id="SavedSearchSave" name="SavedSearchSave" value="<%loc('Update')%>" />
-% } els
e
{
+% } els
if ( !$Object )
{
<input type="submit" class="button" id="SavedSearchSave" name="SavedSearchSave" value="<%loc('Save')%>" />
%}
% }
<input type="submit" class="button" id="SavedSearchSave" name="SavedSearchSave" value="<%loc('Save')%>" />
%}
% }