# --
# AgentLinkObject.dtl - provides HTML for AgentLinkObject mask
# Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
# --
# $Id: AgentLinkObject.dtl,v 1.27 2008/07/02 08:29:28 mh Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
# --

<!-- dtl:block:Link -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainhead">
      $Env{"Box0"}$Text{"Link Object: %s", "$Data{"SourceObjectNormal"}"}$Env{"Box1"}
    </td>
  </tr>
</table>
<!-- dtl:block:LinkMenu -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="menu">
<!-- dtl:block:LinkMenuBack -->
      <a href="$Env{"Baselink"}$Env{"LastScreenView"}" onmouseover="window.status='$JSText{"Back"}'; return true;" onmouseout="window.status='';" class="menuitem">$Text{"Back"}</a>
<!-- dtl:block:LinkMenuBack -->
<!-- dtl:block:LinkMenuSeperator -->
      -
<!-- dtl:block:LinkMenuSeperator -->
<!-- dtl:block:LinkMenuDelete -->
      <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=LinkDelete&Mode=$LQData{"Mode"}&SourceObject=$LQData{"SourceObject"}&SourceKey=$LQData{"SourceKey"}&TargetIdentifier=$LQData{"TargetIdentifier"}" class="menuitem">$Text{"Delete"}</a>
<!-- dtl:block:LinkMenuDelete -->
    </td>
  </tr>
</table>
<!-- dtl:block:LinkMenu -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainbody" align="center">
      <br>
      <form action="$Env{"CGIHandle"}" method="get" name="compose">
        <input type="hidden" name="Action" value="$Env{"Action"}">
        <input type="hidden" name="Mode" value="$QData{"Mode"}">
        <input type="hidden" name="SourceObject" value="$QData{"SourceObject"}">
        <input type="hidden" name="SourceKey" value="$QData{"SourceKey"}">
        <table width="800" border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td class="contenthead">
              $Text{"Object"}
            </td>
          </tr>
          <tr>
            <td class="contentbody">
              $Text{"Link Object"}
              <span title="$QData{"SourceObjectLong"}">
              $QData{"SourceObjectNormal"}
              </span>
              $Text{"with"} $Data{"TargetObjectStrg"}
            </td>
          </tr>
          <tr>
            <td class="contentfooter">
              <input class="button" type="submit" value="$Text{"Select"}"/>
            </td>
          </tr>
        </table>
        <br>
        <table width="800" border="0" cellspacing="0" cellpadding="3">
          <tr>
            <td colspan="2" class="contenthead">
              $Text{"Search"} $QData{"TargetRealname"}
            </td>
          </tr>
<!-- dtl:block:LinkSearchRow -->
          <tr class="contentbody">
            <td width="20%" class="contentkey">$Text{"$Data{"Name"}"}: </td>
            <td class="contentvalue">
              $Data{"InputStrg"}
            </td>
          </tr>
<!-- dtl:block:LinkSearchRow -->
          <tr>
            <td colspan="2" class="contentfooter">
              <input class="button" type="submit" name="SubmitSearch" value="$Text{"Search"}"/>
            </td>
          </tr>
        </table>
<!-- dtl:block:LinkTableComplex -->
        <br>
        <table width="806" align="center" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              $Data{"LinkTableStrg"}
            </td>
          </tr>
        </table>
<!-- dtl:block:LinkTableComplex -->
      </form>
    </td>
  </tr>
</table>
<!-- dtl:block:Link -->

<!-- dtl:block:Delete -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainhead">
      $Env{"Box0"}$Text{"Unlink Object: %s", "$QData{"SourceObjectNormal"}"}$Env{"Box1"}
    </td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td width="75%" class="menu">
      <a href="$Env{"Baselink"}Action=$Env{"Action"}&Mode=$LQData{"Mode"}&SourceObject=$LQData{"SourceObject"}&SourceKey=$LQData{"SourceKey"}&TargetIdentifier=$LQData{"TargetIdentifier"}" class="menuitem">$Text{"Back"}</a>
    </td>
    <td align="right" width="25%" class="menu"></td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainbody" align="center">
      <form action="$Env{"CGIHandle"}" method="get">
        <input type="hidden" name="Action" value="$Env{"Action"}">
        <input type="hidden" name="Subaction" value="LinkDelete">
        <input type="hidden" name="Mode" value="$QData{"Mode"}">
        <input type="hidden" name="SourceObject" value="$QData{"SourceObject"}">
        <input type="hidden" name="SourceKey" value="$QData{"SourceKey"}">
        <input type="hidden" name="TargetIdentifier" value="$QData{"TargetIdentifier"}">
<!-- dtl:block:DeleteTableComplex -->
        <br>
        <table width="806" align="center" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              $Data{"LinkTableStrg"}
            </td>
          </tr>
        </table>
<!-- dtl:block:DeleteTableComplex -->
      </form>
    </td>
  </tr>
</table>
<!-- dtl:block:Delete -->
