Changeset 2704 for trunk/template/yoga
- Timestamp:
- Oct 10, 2008, 11:41:07 PM (16 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/default-layout.css
r2677 r2704 277 277 #theNotificationPage dl, 278 278 #thePopuphelpPage dl { margin: 0 25px 25px; } 279 280 /* jQuery datepicker */ 281 img.ui-datepicker-trigger { 282 cursor : pointer; 283 } -
trunk/template/yoga/search.tpl
r2690 r2704 1 1 {* $Id$ *} 2 3 {* Example of datepicker 4 {include file='include/datepicker.inc.tpl'} 5 6 {literal} 7 <script type="text/javascript"> 8 pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date"); 9 pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null); 10 jQuery().ready(function(){ $(".date_today").hide(); }); 11 </script> 12 {/literal} 13 *} 14 2 15 <div id="content" class="content"> 3 16 … … 75 88 </li> 76 89 <li> 77 <a href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>90 <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> 78 91 </li> 79 92 </ul> … … 94 107 </li> 95 108 <li> 96 <a href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>109 <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a> 97 110 </li> 98 111 </ul>
Note: See TracChangeset
for help on using the changeset viewer.