Calendar without i8n
This commit is contained in:
parent
456d5a794f
commit
c7c7c4e605
3 changed files with 117 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
- fix: Inbox shows Next page link when is empty
|
||||
- fix: Change Owner in Security Tab in Assets is not always Working
|
||||
- fix: API error - definition
|
||||
- fix: Calendar without i8n
|
||||
- All toolbar icons now have a class called "toolbarIcon" so they can be
|
||||
styled by external CSS.
|
||||
- Profile fields and categories and have confirmation boxes when deleting using the side menu
|
||||
|
|
|
|||
101
docs/upgrades/templates-7.4.6/calendarmonth.tmpl
Normal file
101
docs/upgrades/templates-7.4.6/calendarmonth.tmpl
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
<tmpl_if admin>
|
||||
<p><tmpl_var adminControls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<table cellspacing="0" cellpadding="0" width="630" id="mCAL">
|
||||
<tr>
|
||||
<td style="text-align:right">
|
||||
<a class="tab" href="<tmpl_var urlDay>">^International(defaultView value day,Asset_Calendar);</a>
|
||||
<a class="tab" href="<tmpl_var urlWeek>">^International(defaultView value wiki,Asset_Calendar);</a>
|
||||
<a class="tab" href="<tmpl_var urlMonth>">^International(defaultView value month,Asset_Calendar);</a>
|
||||
<a class="tab" href="<tmpl_var urlSearch>">^International(searchButtonLabel,Asset_Calendar);</a>
|
||||
|
||||
|
||||
<div class="controls"><tmpl_if editor><a href="<tmpl_var urlAdd>">^International(add event,Asset_Calendar);</a></tmpl_if> • <a
|
||||
href="<tmpl_var urlPrint>">^International(print,Asset_Calendar);</a> • <a href="<tmpl_var
|
||||
urlIcal>">^International(iCal,Asset_Calendar); </a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="months">
|
||||
<div style="padding:3px 0px;">
|
||||
<a href="<tmpl_var pagePrevUrl>" style="font-weight:bold;margin-right:8px;">« <tmpl_var
|
||||
pagePrevYear></a>•
|
||||
<tmpl_loop months>
|
||||
<a style="margin-right:4px;" href="<tmpl_var monthUrl>" class="monthLink<tmpl_if monthCurrent>
|
||||
current</tmpl_if>"><tmpl_var monthAbbr></a>
|
||||
</tmpl_loop>
|
||||
•
|
||||
<a href="<tmpl_var pageNextUrl>" style="font-weight:bold;padding-left:8px"><tmpl_var pageNextYear>
|
||||
»</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="curMonth">
|
||||
<tmpl_var monthName> <tmpl_var year>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:100%">
|
||||
|
||||
<!-- the calendar table -->
|
||||
<table id="month" width="100%" cellspacing="2" cellpadding="0">
|
||||
<!-- day names -->
|
||||
<tr><tmpl_loop dayNames>
|
||||
<th><tmpl_var dayName></th>
|
||||
</tmpl_loop></tr>
|
||||
|
||||
<!-- the grid -->
|
||||
<tmpl_loop weeks><tr>
|
||||
<tmpl_loop days><td><div class="<tmpl_if dayMonth>active</tmpl_if><tmpl_if dayCurrent> current</tmpl_if>">
|
||||
<tmpl_if dayMonth>
|
||||
<a class="number" href="<tmpl_var dayUrl>"><tmpl_var dayMonth></a>
|
||||
<tmpl_if events>
|
||||
<ul class="events">
|
||||
<tmpl_loop events>
|
||||
<li><a href="<tmpl_var eventUrl>">
|
||||
<tmpl_var eventMenuTitle>
|
||||
</a>
|
||||
</li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
|
||||
<a href="#" id="event_<tmpl_var dayMonth>" class="moreButton" onmouseover="return
|
||||
showEvents('overlay<tmpl_var dayMonth>');">
|
||||
<img src="<tmpl_var extrasUrl>/wobject/Calendar/images/more.gif" />
|
||||
</a>
|
||||
|
||||
</tmpl_if> <!--/events-->
|
||||
</tmpl_if> <!--/day-->
|
||||
</div></td></tmpl_loop> <!--/days-->
|
||||
</tr></tmpl_loop>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
<tmpl_loop weeks><tmpl_loop days><tmpl_if events>
|
||||
<div id="overlay<tmpl_var dayMonth>" class="moreDisplay">
|
||||
<div>
|
||||
<ul>
|
||||
<tmpl_loop events>
|
||||
<li><a href="<tmpl_var eventUrl>"><tmpl_var eventTitle></a><br/></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</tmpl_if></tmpl_loop></tmpl_loop>
|
||||
|
||||
|
||||
|
||||
|
|
@ -297,6 +297,21 @@ our $I18N = {
|
|||
|
||||
#################### HELP PAGES View Calendar ####################
|
||||
|
||||
'add event' => {
|
||||
message => q|Add Event|,
|
||||
lastUpdated => 1171043337,
|
||||
},
|
||||
|
||||
'print' => {
|
||||
message => q|Print|,
|
||||
lastUpdated => 1171043337,
|
||||
},
|
||||
|
||||
'iCal' => {
|
||||
message => q|iCal|,
|
||||
lastUpdated => 1171043337,
|
||||
},
|
||||
|
||||
'view calendar title' => {
|
||||
message => q|View Calendar Template Variables|,
|
||||
lastUpdated => 1171043337,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue