<commit_before><div class='opaque'>
<div class='box-title'>{$cellhead}
{if $infocals.$cellcalendarId.custompriorities eq 'y' and $cellprio}<span class='calprio{$cellprio}' id='calprio'>{$cellprio}</span>{/if}
{if $calendar_sticky_popup eq "y" and $cellid}&nbsp;<a onmouseover="javascript:cClick()" title="{tr}close{/tr}">{html_image file='img/icons/close.gif' alt="{tr}close{/tr}"}</a>{/if}
</div>

{if $show_calname eq 'y' and $cellcalname}<div class='box-title' style="background-color:#{$infocals.$cellcalendarId.custombgcolor};color:#{$infocals.$cellcalendarId.customfgcolor};"><b>{$cellcalname}</b></div>{/if}

{if $cellid}
<div style="text-align:right" class='box-title'>
{if $calendar_sticky_popup eq "y"}
<a href="tiki-calendar_edit_item.php?viewcalitemId={$cellid}" title="{tr}details{/tr}"><img src="pics/icons/magnifier.png" border="0" width="16" height="16"
alt="{tr}zoom{/tr}" /></a>&nbsp;{if $cellmodif eq "y"}<a href="tiki-calendar_edit_item.php?calitemId={$cellid}" title="{tr}edit{/tr}"><img src="pics/icons/page_edit.png" border="0" width="16" height="16" alt="{tr}edit{/tr}"
/></a><a href="tiki-calendar_edit_item.php?calitemId={$cellid}&amp;delete=1" title="{tr}remove{/tr}"><img src="pics/icons/cross.png" border="0" width="16" height="16" alt="{tr}remove{/tr}" /></a>{/if}
{elseif $cellmodif eq "y"}
... {tr}click to edit{/tr}
{elseif $calendar_view_tab eq "y"}
... {tr}click to view{/tr}
{/if}
</div>
{/if}
<commit_msg>[FIX] calendar: if the user doesn't have the right 'tiki_p_view_events', do not show the magnifier icon (that is used to show the event details) in the box that appears when the mouse is over an event.<commit_after><div class='opaque'>
<div class='box-title'>{$cellhead}
{if $infocals.$cellcalendarId.custompriorities eq 'y' and $cellprio}<span class='calprio{$cellprio}' id='calprio'>{$cellprio}</span>{/if}
{if $calendar_sticky_popup eq "y" and $cellid}&nbsp;<a onmouseover="javascript:cClick()" title="{tr}close{/tr}">{html_image file='img/icons/close.gif' alt="{tr}close{/tr}"}</a>{/if}
</div>

{if $show_calname eq 'y' and $cellcalname}<div class='box-title' style="background-color:#{$infocals.$cellcalendarId.custombgcolor};color:#{$infocals.$cellcalendarId.customfgcolor};"><b>{$cellcalname}</b></div>{/if}

{if $cellid and ($tiki_p_view_events eq 'y' or $tiki_p_admin eq 'y')}
<div style="text-align:right" class='box-title'>
{if $calendar_sticky_popup eq "y"}
<a href="tiki-calendar_edit_item.php?viewcalitemId={$cellid}" title="{tr}details{/tr}"><img src="pics/icons/magnifier.png" border="0" width="16" height="16"
alt="{tr}zoom{/tr}" /></a>&nbsp;{if $cellmodif eq "y"}<a href="tiki-calendar_edit_item.php?calitemId={$cellid}" title="{tr}edit{/tr}"><img src="pics/icons/page_edit.png" border="0" width="16" height="16" alt="{tr}edit{/tr}"
/></a><a href="tiki-calendar_edit_item.php?calitemId={$cellid}&amp;delete=1" title="{tr}remove{/tr}"><img src="pics/icons/cross.png" border="0" width="16" height="16" alt="{tr}remove{/tr}" /></a>{/if}
{elseif $cellmodif eq "y"}
... {tr}click to edit{/tr}
{elseif $calendar_view_tab eq "y"}
... {tr}click to view{/tr}
{/if}
</div>
{/if}

{'fraction_non_alphanumeric': 0.2339405560882071, 'fraction_numerical': 0.010226909555768616, 'mean_word_length': 7.9684813753581665, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4722807', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1212, 'n_words': 213}