| 1791 | | <!-- download --> |
|---|
| 1792 | | <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> |
|---|
| 1793 | | <xsl:choose> |
|---|
| 1794 | | <xsl:when test="recurring='true' or recurrenceId != ''"> |
|---|
| 1795 | | <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> |
|---|
| 1796 | | Copy: |
|---|
| 1797 | | <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy master (recurring event)">master</a>,<a href="{$editEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&copy=true" title="copy instance (recurring event)">instance</a> |
|---|
| 1798 | | </xsl:when> |
|---|
| 1799 | | <xsl:otherwise> |
|---|
| 1800 | | <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy event"> |
|---|
| 1801 | | <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> |
|---|
| 1802 | | Copy |
|---|
| 1803 | | </a> |
|---|
| 1804 | | </xsl:otherwise> |
|---|
| 1805 | | </xsl:choose> |
|---|
| | 1791 | |
|---|
| | 1792 | <xsl:if test="currentAccess/current-user-privilege-set/privilege/unbind"> |
|---|
| | 1793 | <xsl:choose> |
|---|
| | 1794 | <xsl:when test="recurring='true' or recurrenceId != ''"> |
|---|
| | 1795 | <div id="bwDeleteRecurButton" class="bwMenuButton"> |
|---|
| | 1796 | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| | 1797 | Delete |
|---|
| | 1798 | <div id="bwDeleteRecurWidget" class="bwMenuWidget"> |
|---|
| | 1799 | <ul> |
|---|
| | 1800 | <li> |
|---|
| | 1801 | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)" onclick="return confirm('Delete all recurrences of this event?');"> |
|---|
| | 1802 | all |
|---|
| | 1803 | </a> |
|---|
| | 1804 | </li> |
|---|
| | 1805 | <li> |
|---|
| | 1806 | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete this instance (recurring event)" onclick="return confirm('Delete this event?');"> |
|---|
| | 1807 | instance |
|---|
| | 1808 | </a> |
|---|
| | 1809 | </li> |
|---|
| | 1810 | </ul> |
|---|
| | 1811 | </div> |
|---|
| | 1812 | </div> |
|---|
| | 1813 | </xsl:when> |
|---|
| | 1814 | <xsl:otherwise> |
|---|
| | 1815 | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event" class="bwMenuButton" onclick="return confirm('Delete this event?');"> |
|---|
| | 1816 | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| | 1817 | Delete |
|---|
| | 1818 | </a> |
|---|
| | 1819 | </xsl:otherwise> |
|---|
| | 1820 | </xsl:choose> |
|---|
| | 1821 | </xsl:if> |
|---|
| | 1822 | |
|---|
| 1810 | | <img src="{$resourcesRoot}/resources/std-ical_iconLinkDkGray.gif" width="12" height="16" border="0" alt="add event reference"/> |
|---|
| 1811 | | Link: |
|---|
| 1812 | | <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar">master</a>,<a href="{$addEventRef}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add event reference to a calendar">instance</a> |
|---|
| | 1827 | <div id="bwLinkRecurButton" class="bwMenuButton"> |
|---|
| | 1828 | <img src="{$resourcesRoot}/resources/std-ical_iconLinkDkGray.gif" width="12" height="16" border="0" alt="add event reference"/> |
|---|
| | 1829 | Link |
|---|
| | 1830 | <div id="bwLinkRecurWidget" class="bwMenuWidget"> |
|---|
| | 1831 | <ul> |
|---|
| | 1832 | <li> |
|---|
| | 1833 | <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar"> |
|---|
| | 1834 | all |
|---|
| | 1835 | </a> |
|---|
| | 1836 | </li> |
|---|
| | 1837 | <li> |
|---|
| | 1838 | <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add this event reference to a calendar"> |
|---|
| | 1839 | instance |
|---|
| | 1840 | </a> |
|---|
| | 1841 | </li> |
|---|
| | 1842 | </ul> |
|---|
| | 1843 | </div> |
|---|
| | 1844 | </div> |
|---|
| 1822 | | <xsl:if test="owner != /bedework/userid and public='true'"> |
|---|
| 1823 | | <!-- provide this link for public subscriptions; subscriptions to user calendars are |
|---|
| 1824 | | currently too confusing since the current user may be able to add events to the |
|---|
| 1825 | | other calendar, making the ownership test a bad test --> |
|---|
| 1826 | | <xsl:variable name="subname" select="subscription/encodedName"/> |
|---|
| 1827 | | <a href="{$subscriptions-fetchForUpdate}&subname={$subname}" title="manage/view subscription"> |
|---|
| 1828 | | <img src="{$resourcesRoot}/resources/std-ical_iconSubsDkGray.gif" width="12" height="16" border="0" alt="manage/view subscription"/> |
|---|
| 1829 | | Subscription |
|---|
| 1830 | | </a> |
|---|
| 1831 | | </xsl:if> |
|---|
| 1832 | | <xsl:if test="subscription/removeable != 'true'"> |
|---|
| 1833 | | <xsl:choose> |
|---|
| 1834 | | <xsl:when test="recurring='true' or recurrenceId != ''"> |
|---|
| 1835 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| 1836 | | Delete: |
|---|
| 1837 | | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>,<a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a> |
|---|
| 1838 | | </xsl:when> |
|---|
| 1839 | | <xsl:otherwise> |
|---|
| 1840 | | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event"> |
|---|
| 1841 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| 1842 | | Delete |
|---|
| 1843 | | </a> |
|---|
| 1844 | | </xsl:otherwise> |
|---|
| 1845 | | </xsl:choose> |
|---|
| 1846 | | </xsl:if> |
|---|
| | 1854 | |
|---|
| | 1855 | <xsl:choose> |
|---|
| | 1856 | <xsl:when test="recurring='true' or recurrenceId != ''"> |
|---|
| | 1857 | <div id="bwCopyRecurButton" class="bwMenuButton"> |
|---|
| | 1858 | <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> |
|---|
| | 1859 | Copy |
|---|
| | 1860 | <div id="bwCopyRecurWidget" class="bwMenuWidget"> |
|---|
| | 1861 | <ul> |
|---|
| | 1862 | <li> |
|---|
| | 1863 | <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy master (recurring event)"> |
|---|
| | 1864 | all |
|---|
| | 1865 | </a> |
|---|
| | 1866 | </li> |
|---|
| | 1867 | <li> |
|---|
| | 1868 | <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&copy=true" title="copy this instance (recurring event)"> |
|---|
| | 1869 | instance |
|---|
| | 1870 | </a> |
|---|
| | 1871 | </li> |
|---|
| | 1872 | </ul> |
|---|
| | 1873 | </div> |
|---|
| | 1874 | </div> |
|---|
| | 1875 | </xsl:when> |
|---|
| | 1876 | <xsl:otherwise> |
|---|
| | 1877 | <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy event" class="bwMenuButton"> |
|---|
| | 1878 | <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> |
|---|
| | 1879 | Copy |
|---|
| | 1880 | </a> |
|---|
| | 1881 | </xsl:otherwise> |
|---|
| | 1882 | </xsl:choose> |
|---|
| 2408 | | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| 2409 | | Delete: |
|---|
| 2410 | | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>, |
|---|
| 2411 | | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a> |
|---|
| | 2439 | <div id="bwDeleteRecurButton" class="bwMenuButton"> |
|---|
| | 2440 | <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> |
|---|
| | 2441 | Delete |
|---|
| | 2442 | <div id="bwDeleteRecurWidget" class="bwMenuWidget"> |
|---|
| | 2443 | <ul> |
|---|
| | 2444 | <li> |
|---|
| | 2445 | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)" onclick="return confirm('Delete all recurrences of this event?');"> |
|---|
| | 2446 | all |
|---|
| | 2447 | </a> |
|---|
| | 2448 | </li> |
|---|
| | 2449 | <li> |
|---|
| | 2450 | <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete this instance (recurring event)" onclick="return confirm('Delete this event?');"> |
|---|
| | 2451 | instance |
|---|
| | 2452 | </a> |
|---|
| | 2453 | </li> |
|---|
| | 2454 | </ul> |
|---|
| | 2455 | </div> |
|---|
| | 2456 | </div> |
|---|