forked from wallabag/wallabag
implement bookmarklet
This commit is contained in:
@ -0,0 +1 @@
|
||||
<a id="bookmarklet" ondragend="this.click();" href="javascript:var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURI(url),'_blank');wllbg.close();void(0);">{% trans %}bag it!{% endtrans %}</a>
|
||||
@ -22,7 +22,7 @@
|
||||
</ul>
|
||||
<h3>{% trans %}Bookmarklet{% endtrans %}</h3>
|
||||
<p>
|
||||
{% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% trans %}bag it!{% endtrans %}
|
||||
</p>
|
||||
{% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %}
|
||||
{% include 'WallabagCoreBundle::_bookmarklet.html.twig' %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -51,6 +51,7 @@
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="{{ path('config') }}">{% trans %}config{% endtrans %}</a></li>
|
||||
<li><a href="{{ path('howto') }}">{% trans %}howto{% endtrans %}</a></li>
|
||||
<li><a href="{{ path('about') }}">{% trans %}about{% endtrans %}</a></li>
|
||||
<li><a class="icon icon-power" href="{{ path('fos_user_security_logout') }}" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li>
|
||||
</ul>
|
||||
|
||||
@ -42,7 +42,8 @@
|
||||
|
||||
|
||||
<div id="set4" class="col s12">
|
||||
{% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% trans %}bag it!{% endtrans %}
|
||||
{% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %}
|
||||
{% include 'WallabagCoreBundle::_bookmarklet.html.twig' %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user