First commit
This commit is contained in:
commit
e3597abe8e
35 changed files with 2401 additions and 0 deletions
1
styles/all/template/event/overall_header_head_append.html
Executable file
1
styles/all/template/event/overall_header_head_append.html
Executable file
|
|
@ -0,0 +1 @@
|
|||
{% INCLUDECSS '@pedodev_linkprotection/pedodev_linkprotection_main.css' %}
|
||||
27
styles/all/template/protected_page.html
Executable file
27
styles/all/template/protected_page.html
Executable 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' %}
|
||||
31
styles/all/template/protected_page_captcha.html
Executable file
31
styles/all/template/protected_page_captcha.html
Executable 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') }}" />
|
||||
</p>
|
||||
<br>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ S_FORM_TOKEN }}
|
||||
</form>
|
||||
31
styles/all/template/protected_page_link.html
Executable file
31
styles/all/template/protected_page_link.html
Executable 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>
|
||||
1
styles/all/template/protected_page_preview.html
Executable file
1
styles/all/template/protected_page_preview.html
Executable file
|
|
@ -0,0 +1 @@
|
|||
<h3>Protected links are unavailable while previewing a post</h3>
|
||||
8
styles/all/theme/pedodev_linkprotection_main.css
Executable file
8
styles/all/theme/pedodev_linkprotection_main.css
Executable 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue