Файл: content/themes/facebook/templates/editdiscussion.tpl
Строк: 64
{include file='headinclude.tpl'}
{include file='header.tpl'}
<!--
Text Editor Plugin -->
<script type="text/javascript"
src="{$SITE_URL}/js/plugin.texteditor.js"></script>
<!--
Text Editor Plugin -->
<!-- Content -->
<div
class="contentWrapper">
<div
class="content">
<table
class="mainContent">
<tr>
<!-- Left Panel -->
<td
class="leftPanel">
{include
file='appsmenu.tpl'}
</td>
<!--
Left Panel -->
<!-- Center Panel
-->
<td class="centerPanel">
<div
class="centerPanelHeader">
<!--
App Header -->
<div
class="appHeaderWrapper">
<strong>{$pageTitle}</strong>
</div>
<!-- App Header -->
</div>
<div
class="centerPanelContent">
{if $error != ""}
<div class="errorContianer">{$error}</div>
{/if}
<form class="postDiscussion"
method="post" action="{$SITE_URL}/editdiscussion/{$do}{if
$do == 'edit'}/{$id}/{/if}">
<table
cellpadding="0" cellspacing="0"
class="editDiscussion">
<tr>
<td class="pt5
pb5">
<label>Title:</label>
<input class="uiInput active mt5" type="text"
name="title" {if $title ==
""}value="{$post.Title}"{else}value="{$title}"{/if}
/></span>
</td>
</tr>
<tr>
<td class="pt5
pb5">
<label>Body:</label>
<textarea class="uiInput mt5 texteditor" name="body"
>{if $body ==
""}{$post.Text}{else}{$body}{/if}</textarea>
</td>
</tr>
<tr>
<td class="pt10 pb5">
<input type="submit" class="uiButton
light-blue" value="Publish" name="submit" />
</td>
</tr>
</table>
</form>
</div>
</td>
<!-- Center
Panel -->
<!-- Right Panel
-->
<td class="rightPanel">
<!-- Sponsored Ads -->
{include file='rp.sponsored.tpl' margin='10'}
<!-- Sponsored Ads -->
</td>
<!-- Right Panel -->
</tr>
</table>
</div>
</div>
<!-- Content -->
{include
file='footer.tpl' footerType = 'narrow'}