Added canEdit template variable for events.

This commit is contained in:
James Tolley 2007-05-25 20:10:47 +00:00
parent c4384bd8f8
commit 2b84211088
3 changed files with 9 additions and 0 deletions

View file

@ -1160,6 +1160,7 @@ sub getTemplateVars {
my %var;
# Some miscellaneous stuff
$var{'canEdit'} = $self->canEdit;
$var{"isPublic"} = 1
if $self->get("groupIdView") eq "7";
$var{"groupToView"} = $self->get("groupIdView"); # Todo: Remove this?