<!--##
<NAME>Edit Phrases</NAME>
<DESC></DESC>
<SECTION>Platform</SECTION>
##-->

<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
	<inp2:m_phrase name="lu_title_MissingPhraseAdding"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->

<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
		</div>
	</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->

<inp2:m_DefineElement name="content">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MissingPhraseAdding" templates="phrases_edit"/>
		</div>
		<div class="movable-element">
			<!-- ADD/EDIT PHRASE -->
			<inp2:m_RenderElement design="content_box">
				<inp2:m_Capture to_var="header">
					<inp2:m_phrase name="lu_title_MissingPhraseAdding"/>
				</inp2:m_Capture>

				<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />

				<inp2:m_if check="phrases_HasError" field="any">
					<inp2:m_RenderElement name="error_message" />
				</inp2:m_if>

				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />

				<form method="post" action="<inp2:m_FormAction/>">
					<table class="form-data fullwidth">
						<inp2:m_RenderElement name="inp_label" prefix="phrases" field="PrimaryTranslation" title="lu_fld_primary_translation"/>
						<inp2:m_RenderElement name="inp_edit_box" prefix="phrases" field="Phrase" title="lu_fld_phrase" style="width: 300px;"/>
						<inp2:m_RenderElement name="inp_edit_box" prefix="phrases" field="Translation" title="lu_fld_translation" style="width: 300px;"/>
						<inp2:m_RenderElement name="inp_edit_options" prefix="phrases" field="Module" title="lu_fld_module" is_last="1"/>

						<inp2:m_RenderElement design="inp_edit_buttons" width="150">
							<input type="hidden" id="phrases_label" name="phrases_label" value="<inp2:m_get var="phrases_label"/>" />
							<input type="hidden" name="<inp2:phrases_InputName field="LanguageId"/>" value="<inp2:phrases_Field name="LanguageId"/>" />
							<input type="hidden" name="<inp2:phrases_InputName field="PhraseType"/>" value="0" />
							<input class="button" type="submit" name="events[phrases][<inp2:phrases_SaveEvent/>]" value="<inp2:m_Phrase label="lu_btn_Create"/>"/>
						</inp2:m_RenderElement>
					</table>
				</form>
			</inp2:m_RenderElement>
			<!-- //ADD/EDIT PHRASE -->
		</div>
	</div>
</inp2:m_DefineElement>

<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>