Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F785608
advanced
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 12, 4:22 PM
Size
3 KB
Mime Type
text/x-diff
Expires
Fri, Feb 14, 4:22 PM (1 d, 6 h)
Engine
blob
Format
Raw Data
Handle
564573
Attached To
rTADV Themes.Advanced
advanced
View Options
Index: branches/1.2.x/platform/elements/header.elm.tpl
===================================================================
--- branches/1.2.x/platform/elements/header.elm.tpl (revision 15258)
+++ branches/1.2.x/platform/elements/header.elm.tpl (revision 15259)
@@ -1,60 +1,62 @@
<table class="top-background fullwidth">
<tr>
<td width="240" nowrap>
<a href="<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/globe.gif" alt="<inp2:m_GetConfig name="Site_Name"/>" /><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/logo.gif" alt="<inp2:m_GetConfig name="Site_Name"/>" /></a><br />
</td>
<!-- TOP-BANNER -->
<td class="top-baner-cell">
<inp2:m_include template="platform/elements/banners/banner_top.elm"/>
</td>
<!-- /TOP-BANNER -->
<td width="400" align="right">
<table style="width:auto">
<tr>
<td class="top-select-padding">
<form method="post" name="lang_form" id="lang_form" action="<inp2:m_FormAction />">
<input type="hidden" name="events[lang][OnChangeLanguage]" value="" />
<inp2:m_Phrase label="lu_YourLanguage"/>:
<select name="language" class="input-select" onchange="document.getElementById('lang_form').submit()">
<inp2:m_Cache key="prefix:lang;skip_var:t,page,per_page,sort_by">
<inp2:m_DefineElement name="lang_elem" no_editing="1">
<option value="<inp2:Field name="LanguageId"/>" <inp2:m_if check="SelectedLanguage">selected="selected"</inp2:m_if> ><inp2:Field name="PackName"/></option>
</inp2:m_DefineElement>
<inp2:lang_ListLanguages render_as="lang_elem" no_table="1"/>
</inp2:m_Cache>
</select>
</form>
</td>
- <!--## THEME DROP-DOWN ##-->
- <td class="top-select-padding">
- <form method="post" name="theme_form" id="theme_form" action="<inp2:m_FormAction />">
- <input type="hidden" name="events[theme][OnChangeTheme]" value="" />
- <inp2:m_Phrase label="lu_CurrentTheme"/>:
- <select name="theme" class="input-select" onchange="document.getElementById('theme_form').submit()">
-
- <inp2:m_Cache key="prefix:theme;skip_var:t,page,per_page,sort_by">
- <inp2:m_DefineElement name="theme_elem">
- <option value="<inp2:Field name="ThemeId"/>" <inp2:m_if check="SelectedTheme">selected="selected"</inp2:m_if> ><inp2:Field name="Name"/></option>
- </inp2:m_DefineElement>
-
- <inp2:theme_PrintList render_as="theme_elem"/>
- </inp2:m_Cache>
- </select>
- </form>
- </td>
- <!--## /THEME DROP-DOWN ##-->
+ <inp2:m_ifnot check="m_Get" name="editing_mode">
+ <!--## THEME DROP-DOWN ##-->
+ <td class="top-select-padding">
+ <form method="post" name="theme_form" id="theme_form" action="<inp2:m_FormAction />">
+ <input type="hidden" name="events[theme][OnChangeTheme]" value="" />
+ <inp2:m_Phrase label="lu_CurrentTheme"/>:
+ <select name="theme" class="input-select" onchange="document.getElementById('theme_form').submit()">
+
+ <inp2:m_Cache key="prefix:theme;skip_var:t,page,per_page,sort_by">
+ <inp2:m_DefineElement name="theme_elem">
+ <option value="<inp2:Field name="ThemeId"/>" <inp2:m_if check="SelectedTheme">selected="selected"</inp2:m_if> ><inp2:Field name="Name"/></option>
+ </inp2:m_DefineElement>
+
+ <inp2:theme_PrintList render_as="theme_elem"/>
+ </inp2:m_Cache>
+ </select>
+ </form>
+ </td>
+ <!--## /THEME DROP-DOWN ##-->
+ </inp2:m_ifnot>
<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
<inp2:m_Include t="in-commerce/elements/currency_picker.elm"/>
</inp2:m_if>
</tr>
</table>
</td>
</tr>
</table>
\ No newline at end of file
Event Timeline
Log In to Comment