Location: PHPKode > projects > Php Site Manager > template/edit_page_body.tpl
{[if $ERROR == TRUE]}
<h1>{[$L__COMMON__NOT_HAVE_ACCESS]}</h1>
{[else]}
<!-- START {[$PAGE]} -->
			<!-- TinyMCE -->
			<script type="text/javascript" src="http://{[$SERVER_URL]}/libs/tiny_mce/tiny_mce.js"></script>
			<!-- /TinyMCE -->
			<!-- Integrazione TinyMCE e phpSM by Namaless -->
{[include file="tinymce_integration.php"]}
			<!-- /Integrazione TinyMCE e phpSM by Namaless -->

			<div>
				<form action="" name="page_form" method="post" onSubmit="submitForm(this);">
					<div class="box">
						<a href="javascript: toggleTinyMCE();" onClick=""><span id="visual_editor_text" onClick="swap_text('visual_editor_text');">{[$L__EDIT_PAGE__TINYMCE_CLOSE]}</span></a> ( <small>{[$L__EDIT_PAGE__TINYMCE_EXTEND]}</small> )</span>
					</div>
					<p>
						<fieldset><legend>{[$L__EDIT_PAGE__PAGE_TITLE]}</legend>
							<input type="text" name="page_title" value="{[$page_title]}" class="input" />
						</fieldset>
					</p>
					<p>
						<fieldset><legend>{[$L__EDIT_PAGE__PAGE_SEO_TITLE]}</legend>
							<input type="text" value="{[$page_seo_title]}" class="input" readonly="" />
						</fieldset>
					</p>
					<p>
						<fieldset><legend>{[$L__EDIT_PAGE__PAGE_TEXTAREA]}</legend>
							<textarea id="page_content" name="page_content" class="input">{[$page_content]}</textarea>
						</fieldset>
					</p>
					<p>
						<fieldset><legend>{[$L__COMMON__PAGE_STATUS]}</legend>
							<select name="page_status">
								<option value="0"{[if $page_status == 0]} selected="selected"{[/if]}>{[$L__COMMON__PAGE_STATUS_0]}</option>
								<option value="1"{[if $page_status == 1]} selected="selected"{[/if]}>{[$L__COMMON__PAGE_STATUS_1]}</option>
							</select>
						</fieldset>
					</p>
					<p class="box">
						<input type="submit" name="submit" value="{[$L__COMMON__SUBMIT]}" class="button" />
					</p>
				</form>
			</div>
<!-- END {[$PAGE]} -->
{[/if]}
Return current item: Php Site Manager