diff options
| author | spiderr <spider@viovio.com> | 2013-04-18 11:11:25 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-18 11:11:25 -0400 |
| commit | 430ff8cab6d322964c96ad7c29062feed3dc1b44 (patch) | |
| tree | c7fdc9f519586193f23329c56d191c4011320ac7 /templates | |
| parent | 1ba0284c149c657e80d65b50273aaa9d61672cef (diff) | |
| download | calendar-430ff8cab6d322964c96ad7c29062feed3dc1b44.tar.gz calendar-430ff8cab6d322964c96ad7c29062feed3dc1b44.tar.bz2 calendar-430ff8cab6d322964c96ad7c29062feed3dc1b44.zip | |
tweak menu to display title link only when passed var
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/calendar.tpl | 5 | ||||
| -rw-r--r-- | templates/calendar_options_inc.tpl | 6 | ||||
| -rw-r--r-- | templates/menu_calendar.tpl | 2 | ||||
| -rw-r--r-- | templates/menu_calendar_admin.tpl | 2 |
4 files changed, 5 insertions, 10 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl index feea0ca..e30a99a 100644 --- a/templates/calendar.tpl +++ b/templates/calendar.tpl @@ -1,9 +1,4 @@ -{* $Header$ *} {strip} -{if !$gBitSystem->isFeatureActive( 'site_help_popup' )} - {popup_init src="`$smarty.const.UTIL_PKG_URL`javascript/libs/overlib.js"} -{/if} - <div class="display calendar"> <div class="header"> <h1>{tr}Calendar{/tr}</h1> diff --git a/templates/calendar_options_inc.tpl b/templates/calendar_options_inc.tpl index 07cd510..f3d412b 100644 --- a/templates/calendar_options_inc.tpl +++ b/templates/calendar_options_inc.tpl @@ -1,9 +1,9 @@ {strip} {form legend="Data Options" id="data_options"} - <div class="row caloptions"> + <div class="caloptions"> {forminput} {foreach from=$calContentTypes key=value item=type} - <div class="cal{$value}"> + <div class="control-group cal{$value}"> <label> <input type="checkbox" value="{$value}" name="content_type_guid[]" {foreach from=$smarty.session.calendar.content_type_guid item=selected} @@ -16,7 +16,7 @@ </div> {/foreach} <script type="text/javascript">/* <![CDATA[ */ - document.write("<label><input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"BitBase.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=\"BitBase.switchCheckboxes(this.form.id,'content_type_guid[]','switcher')\" /> {tr}Select all{/tr}</label>"); /* ]]> */</script> {/forminput} </div> diff --git a/templates/menu_calendar.tpl b/templates/menu_calendar.tpl index 61813b6..cedf915 100644 --- a/templates/menu_calendar.tpl +++ b/templates/menu_calendar.tpl @@ -1,3 +1,3 @@ {strip} -<a href="{$smarty.const.CALENDAR_PKG_URL}index.php">{tr}{$packageMenuTitle}{/tr}</a> +{if $packageMenuTitle}<a href="{$smarty.const.CALENDAR_PKG_URL}index.php">{tr}{$packageMenuTitle}{/tr}</a>{/if} {/strip} diff --git a/templates/menu_calendar_admin.tpl b/templates/menu_calendar_admin.tpl index d5efae7..b8e5e9d 100644 --- a/templates/menu_calendar_admin.tpl +++ b/templates/menu_calendar_admin.tpl @@ -1,5 +1,5 @@ {strip} <li> - <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=calendar">{tr}Calendar Settings{/tr}</a> +{if $packageMenuTitle}<a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=calendar">{tr}Calendar Settings{/tr}</a>{/if} </li> {/strip} |
