Commit 310f38cce75eb8629697678b4d75a37074a84f12

Authored by Conrad Vermeulen
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
resources/js/search2widget.js
... ... @@ -190,9 +190,7 @@ function createSearchBar(div, suffix)
190 190 var el = Ext.get(div);
191 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 195 else
198 196 {
... ...
templates/kt3/standard_page.smarty
... ... @@ -172,7 +172,13 @@
172 172 {/if}
173 173 {if (!$page->hide_section)}
174 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 182 {if ($page->breadcrumbSection !== false)}
177 183 {if ($page->breadcrumbSection.url) }
178 184 <a href="{$page->breadcrumbSection.url}" class="primary">{$page->breadcrumbSection.label|sanitize}</a>
... ... @@ -183,10 +189,11 @@
183 189 {if (($page->breadcrumbSection !== false) && ($page->breadcrumbs !== false))}
184 190 &raquo;
185 191 {/if}
  192 +
186 193 {if ($page->breadcrumbs !== false)}
187 194 {foreach item=aCrumb from=$page->breadcrumbs name=bc}
188 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 197 {else}
191 198 <span>{$aCrumb.label|mb_truncate:40:"...":true|sanitize}</span>
192 199 {/if}
... ... @@ -198,7 +205,12 @@
198 205 {if ($page->breadcrumbDetails !== false)}
199 206 <span class="additional">({$page->breadcrumbDetails|sanitize})</span>
200 207 {/if}
201   - <div id="newSearchQuery" style="float: right; "/>
  208 + </td>
  209 + <td width="5px">&nbsp;</td>
  210 + <td valign=top align=right width="100">
  211 + <div id="newSearchQuery" /></td>
  212 + </tr>
  213 + </table>
202 214 </div>
203 215 {/if}
204 216 </div>
... ...