<{include file="db:`$mydirname`_header.html"}>

<form action="<{my_make_uri option=$uri_options mydirname=$mydirname controller=request method=post}>" method="post" style="margin-top:20px;" name="modreqform">

<h4><{$smarty.const._MD_REQUESTMOD}></h4>
<table class="outer">
  <tr>
    <td class="head">Link ID</td>
    <td class="odd"><{$link.lid}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._MD_SITETITLE}></td>
    <td class="even"><{$link.title}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._MD_SITEURL}></td>
    <td class="odd"><{$link.url}></td>
  </tr>
  <tr>
    <td class="head" nowrap><{$smarty.const._MD_MOBILE_SITEURL}></td>
    <td class="even"><{$link.murl}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._MD_CATEGORY}></td>
    <td class="odd">
      <ul>
      <{foreach item=cat from=$link.category name=i}>
        <li><{$cat}></li>
      <{/foreach}>
      </ul>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._MD_DESCRIPTIONC}></td>
    <td class="even"><{$link.description}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._MD_REQUESTMOD}></td>
    <td class="odd">
      <textarea name="description" cols="60" rows="5"></textarea><br />
    </td>
  </tr>
  <tr>
    <td class="foot">&nbsp;</td>
    <td class="foot">
      <{if $xoops_isuser}>
        <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" />
      <{else}>
        <input type="hidden" name="CP" value="YES" />
        <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" onclick="modreqform.CP.value='';" />
      <{/if}>
      &nbsp;<input type=button value="<{$smarty.const._CANCEL}>" onclick="javascript:history.go(-1)" />
      <input type="hidden" name="lid" value="<{$link.lid}>">
      <{$gticket}>
    </td>
  </tr>
</table>

</form>

<{include file="db:`$mydirname`_footer.html"}>
