diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-10-07 07:09:32 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-10-07 07:09:32 +0000 |
| commit | e7a52030513566238e38af8aa0cc157a72ccc96a (patch) | |
| tree | 3368ef692a821e9592636a91baf145e2861d2d59 /templates | |
| parent | b31e3a9b1282a7f8cc1aab6dcb2c2fdea791b736 (diff) | |
| download | calendar-e7a52030513566238e38af8aa0cc157a72ccc96a.tar.gz calendar-e7a52030513566238e38af8aa0cc157a72ccc96a.tar.bz2 calendar-e7a52030513566238e38af8aa0cc157a72ccc96a.zip | |
UI improvements
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/calendar.tpl | 10 | ||||
| -rw-r--r-- | templates/calendar_options_inc.tpl | 17 |
2 files changed, 19 insertions, 8 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl index 397f12f..46dddea 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.34 2005/10/07 06:24:05 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.35 2005/10/07 07:09:32 squareing Exp $ *} {strip} {if !$gBitSystem->isFeatureActive( 'feature_helppopup' )} @@ -32,7 +32,7 @@ {assign var=over value=$item.over} <div class="cal{$item.content_type_guid}"> <a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}"> - <img src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"} + <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"} </a> </div> {/foreach} @@ -57,9 +57,9 @@ {if $day.day|cal_date_format:"%m" eq $navigation.focus_month or $smarty.session.calendar.view_mode eq "week"} {foreach from=$day.items item=item} {assign var=over value=$item.over} - <div class="cal{$item.content_type_guid}"> + <div class="cal{$item.content_type_guid}" style="float:left;width:50%;"> <a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}"> - <img src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"} + <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"} </a> </div> {/foreach} @@ -103,7 +103,7 @@ {assign var=over value=$item.over} <div class="cal{$item.content_type_guid}"> <a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}"> - <img src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|truncate:$trunc:"..."|default:"?"} + <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|truncate:$trunc:"..."|default:"?"} </a> </div> {/foreach} diff --git a/templates/calendar_options_inc.tpl b/templates/calendar_options_inc.tpl index cfb76cb..f8be6e7 100644 --- a/templates/calendar_options_inc.tpl +++ b/templates/calendar_options_inc.tpl @@ -1,9 +1,20 @@ {form legend="Data Options" id="data_options"} - <div class="row"> + <div class="row caloptions"> {forminput} - {html_checkboxes values=$contentTypes options=$contentTypes name=content_type_guid selected=$smarty.session.calendar.content_type_guid separator="<br />"} + {foreach from=$contentTypes key=value item=type} + <label> + <div class="cal{$value}"> + <input type="checkbox" value="{$value}" name="content_type_guid[]" + {foreach from=$smarty.session.calendar.content_type_guid item=selected} + {if $selected eq $value} + checked="checked" + {/if} + {/foreach} + /> {$type}</label><br /> + </div> + {/foreach} <script type="text/javascript">//<![CDATA[ - document.write("<label><input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"switchCheckboxes(this.form.id,'content_type_guid[]','switcher')\" />{tr}Select all{/tr}</label><br />"); + document.write("<label><input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"switchCheckboxes(this.form.id,'content_type_guid[]','switcher')\" /> {tr}Select all{/tr}</label><br />"); //]]></script> {/forminput} </div> |
