overlay_rewrite_nofb.php 1.4 KB

12345678910111213141516171819202122232425
  1. <div class="overlay_simple overlay_rewrite_nofb invisible">
  2. <header class="overlay_simple_header">
  3. <span><?=_('Protect your privacy!')?></span>
  4. </header>
  5. <div class="overlay_simple_body">
  6. <div class="overlay_rewrite_nofb_text" style="margin-bottom:10px">
  7. <?=_("Halcyon has detected that you're trying to post a link to the centralized platform Facebook. Halcyon can automatically rewrite that link to NoFB, a privacy-friendly and faster way to view this content for free and without any ads. Do you want to replace your link with NoFB?")?><br/>
  8. <center><a href="https://nofb.pw" class="halcyon_link" target="_blank"><?=_("Tell me more about NoFB!")?></a></center>
  9. <div style="margin-bottom:20px;width:100%">
  10. <div class="switch" style="margin:0;float:left">
  11. <input type="checkbox" id="rewrite_nofb_permanent">
  12. <div class="switch-btn">
  13. <span></span>
  14. </div>
  15. </div>
  16. <label for="redirect_nofb_permanent" style="margin-left:5px;vertical-align:sub"><?=_('Remember my decision')?></label>
  17. </div>
  18. </div>
  19. <div class="overlay_simple_controls">
  20. <button class="overlay_rewrite_nofb_yes toot_button" style="float:right;width:150px"><div class="toot_button_label"><i class="fa fa-fw fa-check"></i><span><?=_('Rewrite to NoFB')?></span></div></button>
  21. <a href="javascript:void(0)" class="overlay_rewrite_nofb_no halcyon_link" style="float:right;margin-top:5px;margin-right:10px"><i class="fa fa-times"></i> <?=_('No, thanks')?></a>
  22. </div>
  23. </div>
  24. </div>