| @@ 467-473 (lines=7) @@ | ||
| 464 | echo ' <span class="modify_event_links">'; |
|
| 465 | ||
| 466 | // If they can edit the event, show a star they can click on.... |
|
| 467 | if (!empty($event['can_edit'])) |
|
| 468 | { |
|
| 469 | echo ' |
|
| 470 | <a class="modify_event" href="', $event['modify_href'], '"> |
|
| 471 | <span class="generic_icons calendar_modify" title="', $txt['calendar_edit'], '"></span> |
|
| 472 | </a>'; |
|
| 473 | } |
|
| 474 | // Can we export? Sweet. |
|
| 475 | if (!empty($event['can_export'])) |
|
| 476 | { |
|
| @@ 173-174 (lines=2) @@ | ||
| 170 | <li> |
|
| 171 | <b class="event_title"><a href="', $scripturl, '?action=calendar;event=', $event['id'], '">', $event['title'], '</a></b>'; |
|
| 172 | ||
| 173 | if ($event['can_edit']) |
|
| 174 | echo ' <a href="' . $event['modify_href'] . '"><span class="generic_icons calendar_modify" title="', $txt['calendar_edit'], '"></span></a>'; |
|
| 175 | ||
| 176 | if ($event['can_export']) |
|
| 177 | echo ' <a href="' . $event['export_href'] . '"><span class="generic_icons calendar_export" title="', $txt['calendar_export'], '"></span></a>'; |
|