Solution Technologies
Управление сайтом без ограничений
{**
 * XS2:
 *
 * This file is developed by Solutecs, LLC for the purpose of the company
 * and is provided together with XS2 Framework as and inherent part of the
 * system. This file can be used on the terms of License Agreement.
 *
 * +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
 *
 * @link http://www.solutecs.com
 * @copyright ©1998-2007 Solutecs, LLC
 * @version 1.XX
 *}



{xs2Fetch mod="users" obj="user" met="login"} {* Форма авторизации пользователя *}
{xs2Fetch mod="blog" met="blogmenu"}          {* Меню авторизованного пользователя *}


{* Редактирование сообщения *}

<p>
  <a href="{xs2Href mod="blog" obj="message" met="comments" atr=$message.NodId}"><b>
  {if $message.NName}
    {$message.NName}</b></a>, {$message.CDate}
  {else}
    {$message.CDate}</b></a>
  {/if}
</p>

{if $myBlog.NodId>0}
  <form name="messageForm" method="POST" action="{$_THE.REQUEST_URI}">
    <input type="hidden" name="action" value="editMessage"/>
    Заголовок<br/><input type="text" value="{$message.NName}" name="NName"/><br/>
    Сообщение<br/><textarea name="Text">{$message.Text}</textarea><br/>
    <input type="submit" value="Сохранить"/>
  </form>
  <p><a href="{xs2Href mod="blog" obj="message" met="delete" atr=$message.NodId}">Удалить</a></p>
{/if}

{* /Редактирование сообщения *}
Copyright ©1998-2008 Солютекс. Все права защищены.
Этот сайт сделан в designLab | Работает на технологии XS2
Условия использования | О защите конфиденциальности