Commit 48a51e69d4b80e0a7a38df4d962349aa93e835b0
1 parent
3830f2aa
Add kt-core-baseurl input to the standard page so that Javascript can
know what the base url for the KT instance is. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4256 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
templates/kt3/standard_page.smarty
| @@ -30,6 +30,8 @@ | @@ -30,6 +30,8 @@ | ||
| 30 | </head> | 30 | </head> |
| 31 | <body {if (!$page->show_portlets)}class="noportlets"{/if}> | 31 | <body {if (!$page->show_portlets)}class="noportlets"{/if}> |
| 32 | 32 | ||
| 33 | +<input type="hidden" name="kt-core-baseurl" id="kt-core-baseurl" value="{$rootUrl}" /> | ||
| 34 | + | ||
| 33 | <div id="logobar"> | 35 | <div id="logobar"> |
| 34 | <a href="{$rootUrl}/"><img src="{$config->get("ui/companyLogo")}" height="50px" width="{$config->get("ui/companyLogoWidth")}" alt="{$config->get("ui/companyLogoTitle")}" title="{$config->get("companyLogoTitle")}" class="primary" /></a> | 36 | <a href="{$rootUrl}/"><img src="{$config->get("ui/companyLogo")}" height="50px" width="{$config->get("ui/companyLogoWidth")}" alt="{$config->get("ui/companyLogoTitle")}" title="{$config->get("companyLogoTitle")}" class="primary" /></a> |
| 35 | <a href="{$page->systemURL}"><img src="{$rootUrl}/resources/graphics/ktlogo-topbar-right.png" class="secondary" title="{$page->systemName}"/></a> | 37 | <a href="{$page->systemURL}"><img src="{$rootUrl}/resources/graphics/ktlogo-topbar-right.png" class="secondary" title="{$page->systemName}"/></a> |