bookmarklet.phtml 1.1 KB

1234567891011121314151617181920
  1. <?php $this->partial('aside_subscription'); ?>
  2. <div class="post">
  3. <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
  4. <legend><?= _t('sub.bookmarklet.title') ?></legend>
  5. <p><a class="btn btn-important" href="javascript:(function(){var%20url%20=%20location.href;var%20otherWindow=window.open('about:blank','_blank');otherWindow.opener=null;otherWindow.location='<?= Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&amp;url_rss='+encodeURIComponent(url);})();"><?= _t('sub.bookmarklet.label') ?></a></p>
  6. <?= _t('sub.bookmarklet.documentation') ?>
  7. <legend><?= _t('sub.firefox.title') ?></legend>
  8. <p class="alert alert-warn">
  9. <?= _t('sub.firefox.obsolete_63', $this->default_category->name()) ?>
  10. </p>
  11. <p><?= _t('sub.firefox.documentation') ?></p>
  12. <pre>browser.contentHandlers.types.number.uri → <?= Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&amp;url_rss=%s</pre>
  13. <legend><?= _t('sub.api.title') ?></legend>
  14. <p><?= _t('sub.api.documentation') ?></p>
  15. <pre><?= Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true) ?>&amp;url_rss=%s</pre>
  16. </div>