First commit

This commit is contained in:
ebassi -
commit e3597abe8e
35 changed files with 2401 additions and 0 deletions

View file

@ -0,0 +1 @@
{% INCLUDECSS '@pedodev_linkprotection/pedodev_linkprotection_main.css' %}

View file

@ -0,0 +1,27 @@
{% include 'overall_header.html' %}
<center>
{% if loops.errors|length %}
<dl>
{% for ERROR in loops.errors %}
<dd class="error">{{ ERROR.TEXT }}</dd>
{% endfor %}
</dl>
{% endif %}
{% if LINKPROTECTION_PREVIEW %}
{% INCLUDE 'protected_page_preview.html' %}
{% endif %}
{% if LINKPROTECTION_SHOW_LINK %}
{% INCLUDE 'protected_page_link.html' %}
{% endif %}
{% if LINKPROTECTION_SHOW_CAPTCHA %}
{% INCLUDE 'protected_page_captcha.html' %}
{% endif %}
</center>
{% include 'overall_footer.html' %}

View file

@ -0,0 +1,31 @@
<form id="protectedlink" method="post">
<div class="forabg">
<div class="inner">
<ul class="topiclist">
<li class="header">
<dl class="row-item">
<dt>{{ LINKPROTECTION_SOLVE_CAPTCHA_MESSAGE }}</dt>
</dl>
</li>
</ul>
<ul class="forums">
<br>
{% include LINKPROTECTION_CAPTCHA %}
<br>
{% if LINKPROTECTION_SHOWSUBMIT %}
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}" />&nbsp;
</p>
<br>
{% endif %}
</ul>
</div>
</div>
{{ S_FORM_TOKEN }}
</form>

View file

@ -0,0 +1,31 @@
<div class="forabg">
<div class="inner">
<ul class="topiclist">
<li class="header">
<dl class="row-item">
<dt>{{ LINKPROTECTION_SOLVED_MESSAGE ~ lang('COLON') }}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li class="row">
<dl class="row-item">
<dt>
<div>
<br>
<a href="{{ LINKPROTECTION_LINK_SOURCE }}" class="forumtitle">{{ LINKPROTECTION_UNHIDDEN_LINK }}</a>
<br>
{% if LINKPROTECTION_INFO_MESSAGE %}
{{ LINKPROTECTION_INFO_MESSAGE }}
<br>
{% endif %}
<br>
</div>
</dt>
</dl>
</li>
</ul>
</div>
</div>

View file

@ -0,0 +1 @@
<h3>Protected links are unavailable while previewing a post</h3>

View file

@ -0,0 +1,8 @@
.protected_link {
padding: 2px 4px 2px 4px;
background-color: rgba(0, 0, 0, 0.1);
}
.protected_link:hover {
background-color: rgba(0, 0, 0, 0.3);
}