Commit a9af0e8733af2eb30552b74c734d6b0ea894e895
1 parent
3925dc17
KTS-2413
"links on toolbar became inactive - preferences , about, etc" Fixed. Committed By: Kevin Fourie Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7274 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
23 additions
and
18 deletions
templates/kt3/standard_page.smarty
| ... | ... | @@ -209,6 +209,27 @@ |
| 209 | 209 | {/literal} |
| 210 | 210 | <!-- user menu --> |
| 211 | 211 | <li class="pref"> |
| 212 | + {if ($page->user)} | |
| 213 | + <span class="ktLoggedInUser">{$page->user->getName()}</span> | |
| 214 | + {/if} | |
| 215 | + {if !empty($page->userMenu)} | |
| 216 | + · | |
| 217 | + {/if} | |
| 218 | + {foreach item=aMenuItem from=$page->userMenu name=prefmenu} | |
| 219 | + {if ($aMenuItem.active == 1)} | |
| 220 | + <a style='border: 4px solid red;' href="{$aMenuItem.url}">{$aMenuItem.label}</a> | |
| 221 | + {else} | |
| 222 | + <a href="{$aMenuItem.url}">{$aMenuItem.label}</a> | |
| 223 | + {/if} | |
| 224 | + {if !$smarty.foreach.prefmenu.last} | |
| 225 | + · | |
| 226 | + {/if} | |
| 227 | + {/foreach} | |
| 228 | + {if ($page->getHelpURL() != null)} <span class="fahrner"><a href="{$page->getHelpURL()}"><img src="thirdparty/icon-theme/16x16/apps/help-browser.gif" border="0" align="top" /></a>{/if} | |
| 229 | + </li> | |
| 230 | + | |
| 231 | + | |
| 232 | + <li class="pref"> | |
| 212 | 233 | <div style="position: absolute;"> |
| 213 | 234 | <input id=searchCriteria value="{$search2_quickQuery|sanitize}" style="width:129px; font-size:12px; position:relative; top: -2px; left: -180px; z-index: 11" |
| 214 | 235 | onfocus="searchGotFocus('searchCriteria')" onblur="searchLostFocus('searchCriteria')" onkeypress="return processSearchEnter(event,'searchCriteria')" > |
| ... | ... | @@ -232,24 +253,8 @@ |
| 232 | 253 | <input type=hidden name="cbQuickQuery" id="cbQuickQuery" value="1"> |
| 233 | 254 | <input type=hidden name="cbQuickGeneral" id="cbQuickGeneral" value="1"></form> |
| 234 | 255 | </div> |
| 235 | - {if ($page->user)} | |
| 236 | - <span class="ktLoggedInUser">{$page->user->getName()}</span> | |
| 237 | - {/if} | |
| 238 | - {if !empty($page->userMenu)} | |
| 239 | - · | |
| 240 | - {/if} | |
| 241 | - {foreach item=aMenuItem from=$page->userMenu name=prefmenu} | |
| 242 | - {if ($aMenuItem.active == 1)} | |
| 243 | - <a style='border: 4px solid red;' href="{$aMenuItem.url}">{$aMenuItem.label}</a> | |
| 244 | - {else} | |
| 245 | - <a href="{$aMenuItem.url}">{$aMenuItem.label}</a> | |
| 246 | - {/if} | |
| 247 | - {if !$smarty.foreach.prefmenu.last} | |
| 248 | - · | |
| 249 | - {/if} | |
| 250 | - {/foreach} | |
| 251 | - {if ($page->getHelpURL() != null)} <span class="fahrner"><a href="{$page->getHelpURL()}"><img src="thirdparty/icon-theme/16x16/apps/help-browser.gif" border="0" align="top" /></a>{/if} | |
| 252 | - </li> | |
| 256 | + </li> | |
| 257 | + | |
| 253 | 258 | </ul> |
| 254 | 259 | </div> |
| 255 | 260 | <div id="navbarLeft"></div> | ... | ... |