diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2014-04-12 12:29:18 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2014-04-12 12:29:18 -0700 |
| commit | d1bfdbf97b2950f5f6ccb1255db387479d483955 (patch) | |
| tree | 9756f90c12b90c15e47e14866287c5747a33abd3 /rt/share/html/Search | |
| parent | b3cecd1976e92c32740c3e2e1227a7d718e07b57 (diff) | |
installers (calendaring), RT#16584
Diffstat (limited to 'rt/share/html/Search')
| -rw-r--r-- | rt/share/html/Search/Calendar.html | 2 | ||||
| -rw-r--r-- | rt/share/html/Search/Schedule.html | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/rt/share/html/Search/Calendar.html b/rt/share/html/Search/Calendar.html index e6282b58a..c425751ff 100644 --- a/rt/share/html/Search/Calendar.html +++ b/rt/share/html/Search/Calendar.html @@ -82,7 +82,7 @@ $DayDisplay => undef <tr> <td class="labels" colspan=<% $WeekDay ? 2 : 1 %>></td> % for ( @{$week{$weekstart}} ) { -<th width="14%" colspan=<% $WeekDay ? $slots : 1 %>><%$rtdate->GetWeekday($_)%></th> +<th colspan=<% $WeekDay ? $slots : 1 %>><%$rtdate->GetWeekday($_)%></th> % } </tr> </thead> diff --git a/rt/share/html/Search/Schedule.html b/rt/share/html/Search/Schedule.html index 12d268500..bbbfffdc9 100644 --- a/rt/share/html/Search/Schedule.html +++ b/rt/share/html/Search/Schedule.html @@ -1,5 +1,10 @@ <& /Elements/Header, Title => 'Schedule' &> +%#init_overlib.html +%foreach my $file (@files) { +<SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/<%$file%>.js"></SCRIPT> +%} + <& /Search/Calendar.html, @_, Embed => 'Schedule.html', @@ -7,3 +12,10 @@ DayDisplayArgs => [ username => $ARGS{username} ], &> +<%init> +my @files = (); +#if ( ! $initialized ) { + push @files, map "overlibmws$_", ( '', qw( _iframe _draggable _crossframe ) ); + push @files, map { "${_}contentmws" } qw( iframe ajax ); +#%} +</%init> |
