You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

  1. <div class="narrow">
  2. <? if($this->subscription->active): ?>
  3. <div class="bs bs-callout bs-callout-success">This subscription is active!</div>
  4. <? else: ?>
  5. <div class="bs bs-callout bs-callout-danger">This subscription is not active</div>
  6. <? endif; ?>
  7. <table class="table">
  8. <?php $tz = -7 * 3600; ?>
  9. <tr>
  10. <td>Feed URL (Topic)</td>
  11. <td><?= $this->feed->feed_url ?></td>
  12. </tr>
  13. <tr>
  14. <td>Callback URL</td>
  15. <td><?= $this->subscription->callback_url ?></td>
  16. </tr>
  17. <tr>
  18. <td>Date Subscription was Requested</td>
  19. <td><?= $this->subscription->date_requested ? friendly_date($this->subscription->date_requested, $tz) : '' ?></td>
  20. </tr>
  21. <tr>
  22. <td>Subscription Verification Response (from your server)</td>
  23. <td><pre><?= htmlspecialchars($this->subscription->challenge_response) ?></pre></td>
  24. </tr>
  25. <tr>
  26. <td>Date Subscription was Confirmed</td>
  27. <td><?= $this->subscription->date_confirmed ? friendly_date($this->subscription->date_confirmed, $tz) : '' ?></td>
  28. </tr>
  29. <tr>
  30. <td>Subscription Expiration</td>
  31. <td><?= $this->subscription->date_expires ? friendly_date($this->subscription->date_expires, $tz) : '' ?></td>
  32. </tr>
  33. </table>
  34. </div>