<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>
<div class="poke_action_popup">
  <form method="post">
    <div>
      <?php if($this->isPoke): ?>
      <?php else: ?>
        <div class="poke_action_popup_title">
          <?php echo $this->translate("Send %s?", ucfirst($this->manageaction->name)); ?>
        </div>
      <?php endif; ?>
      <div class="poke_action_popup_content clearfix">
        <div class="poke_action_popup_des">
          <p>
            <?php if($this->isPoke): ?>
              <?php echo $this->translate("You have already sent %s. You can resend once %s responds to your last %s.", $this->manageaction->name, $this->item->getTitle(), $this->manageaction->name); ?>
            <?php else: ?>
              <?php echo $this->translate("Are you sure you want to send %s? %s will be notified about this action.", $this->manageaction->name, $this->item->getTitle()); ?>
            <?php endif; ?>
          </p>
          <?php if($this->isPoke): ?>
            <button onclick='javascript:parent.Smoothbox.close()'><?php echo $this->translate("Okay") ?></button>
          <?php else: ?>
            <input type="hidden" name="confirm"/>
            <button type='submit'><?php echo $this->translate("Send") ?></button>&nbsp;&nbsp;
            <?php echo $this->translate("or") ?>
            <a href='javascript:void(0);' onclick='javascript:parent.Smoothbox.close()'><?php echo $this->translate("Cancel") ?></a>
          <?php endif; ?>
        </div>
      </div>
    </div>
  </form>
</div>
