Commit 310f38cce75eb8629697678b4d75a37074a84f12
1 parent
6f7e8dbe
KTS-3034
"Breadcrumb trail goes behind the search bar." Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8106 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
16 additions
and
6 deletions
resources/js/search2widget.js
| @@ -190,9 +190,7 @@ function createSearchBar(div, suffix) | @@ -190,9 +190,7 @@ function createSearchBar(div, suffix) | ||
| 190 | var el = Ext.get(div); | 190 | var el = Ext.get(div); |
| 191 | if (suffix == 1) | 191 | if (suffix == 1) |
| 192 | { | 192 | { |
| 193 | - el.applyStyles('position:relative; top: -15px; margin-right: 15px'); | ||
| 194 | - if (Ext.isSafari) | ||
| 195 | - el.applyStyles('top: 0px'); | 193 | + el.applyStyles('position:relative; margin-right: 15px'); |
| 196 | } | 194 | } |
| 197 | else | 195 | else |
| 198 | { | 196 | { |
templates/kt3/standard_page.smarty
| @@ -172,7 +172,13 @@ | @@ -172,7 +172,13 @@ | ||
| 172 | {/if} | 172 | {/if} |
| 173 | {if (!$page->hide_section)} | 173 | {if (!$page->hide_section)} |
| 174 | <div id="breadcrumbs"> | 174 | <div id="breadcrumbs"> |
| 175 | - <span class="additional">{i18n}You are here{/i18n}: </span> | 175 | + <table width="100%"> |
| 176 | + <tr> | ||
| 177 | + <td valign=top align=left width="100"> | ||
| 178 | + <span class="additional"><nobr>{i18n}You are here{/i18n}: </span> | ||
| 179 | + </td> | ||
| 180 | + <td valign=top align=left width="100%"> | ||
| 181 | + | ||
| 176 | {if ($page->breadcrumbSection !== false)} | 182 | {if ($page->breadcrumbSection !== false)} |
| 177 | {if ($page->breadcrumbSection.url) } | 183 | {if ($page->breadcrumbSection.url) } |
| 178 | <a href="{$page->breadcrumbSection.url}" class="primary">{$page->breadcrumbSection.label|sanitize}</a> | 184 | <a href="{$page->breadcrumbSection.url}" class="primary">{$page->breadcrumbSection.label|sanitize}</a> |
| @@ -183,10 +189,11 @@ | @@ -183,10 +189,11 @@ | ||
| 183 | {if (($page->breadcrumbSection !== false) && ($page->breadcrumbs !== false))} | 189 | {if (($page->breadcrumbSection !== false) && ($page->breadcrumbs !== false))} |
| 184 | » | 190 | » |
| 185 | {/if} | 191 | {/if} |
| 192 | + | ||
| 186 | {if ($page->breadcrumbs !== false)} | 193 | {if ($page->breadcrumbs !== false)} |
| 187 | {foreach item=aCrumb from=$page->breadcrumbs name=bc} | 194 | {foreach item=aCrumb from=$page->breadcrumbs name=bc} |
| 188 | {if ($aCrumb.url) } | 195 | {if ($aCrumb.url) } |
| 189 | - <a href="{$aCrumb.url}">{$aCrumb.label|sanitize}</a> | 196 | + <a href="{$aCrumb.url}">{$aCrumb.label|mb_truncate:40:"...":true|sanitize}</a> |
| 190 | {else} | 197 | {else} |
| 191 | <span>{$aCrumb.label|mb_truncate:40:"...":true|sanitize}</span> | 198 | <span>{$aCrumb.label|mb_truncate:40:"...":true|sanitize}</span> |
| 192 | {/if} | 199 | {/if} |
| @@ -198,7 +205,12 @@ | @@ -198,7 +205,12 @@ | ||
| 198 | {if ($page->breadcrumbDetails !== false)} | 205 | {if ($page->breadcrumbDetails !== false)} |
| 199 | <span class="additional">({$page->breadcrumbDetails|sanitize})</span> | 206 | <span class="additional">({$page->breadcrumbDetails|sanitize})</span> |
| 200 | {/if} | 207 | {/if} |
| 201 | - <div id="newSearchQuery" style="float: right; "/> | 208 | + </td> |
| 209 | + <td width="5px"> </td> | ||
| 210 | + <td valign=top align=right width="100"> | ||
| 211 | + <div id="newSearchQuery" /></td> | ||
| 212 | + </tr> | ||
| 213 | + </table> | ||
| 202 | </div> | 214 | </div> |
| 203 | {/if} | 215 | {/if} |
| 204 | </div> | 216 | </div> |