Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
itxchandan committed Jul 29, 2020
0 parents commit 6676c3e
Show file tree
Hide file tree
Showing 12 changed files with 967 additions and 0 deletions.
173 changes: 173 additions & 0 deletions css/agecheck.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);
.ac-overlay{
box-sizing: border-box;
height:100%;
width:100%;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #000;
z-index: 99998;
opacity:0;
cursor: wait;
}
.ac-container {
box-sizing: border-box;
font-family: 'Bree Serif', serif;
width: 360px;
position: fixed;
padding: 20px 20px 30px 20px;
background: #fff;
z-index: 99999;
opacity:0;
text-align:center;
border-radius: 4px;
box-shadow:0px 0px 5px #000;
font-weight:normal;
}
.ac-container h2 {
box-sizing: border-box;
margin:0 0 14px 0;
font-size:26px;
border-bottom:1px dashed #ccc;
padding-bottom:11px;
}
.ac-container h3 {
box-sizing: border-box;
color:#649D09;
margin-bottom:5px;
margin-top:15px;
font-size:26px;
line-height: 30px;
}
.ac-container p {
box-sizing: border-box;
margin:0 0 20px 0;
font-size: 14px;
color:#959595;
line-height: 20px;
}
.ac-container p strong {
color:#FF1F1F;
}
.ac-container select,
.ac-container input {
box-sizing: border-box;
color:#555;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
margin-right:5px;
border:1px solid #ccc;
}
.ac-container input.day{
box-sizing: border-box;
width:45px;
height:28px;
}
.ac-container input.year{
box-sizing: border-box;
width:70px;
height: 28px;
}
.ac-container select {
box-sizing: border-box;
height:28px;
padding-left:4px;
width: 50%;
margin-top: 10px;
}
.ac-container button {
box-sizing: border-box;
display: inline-block;
margin-bottom: 0;
font-weight: bold;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
padding: 4px 10px 4px 10px;
font-size: 12px;
line-height: 1.5;
width: 84px;
background:#8EB908;
color:#fff;
text-shadow:1px 1px 0 #84A51D;

}
.ac-container button:hover{
box-sizing: border-box;
background:#82A711;
}
.ac-container .errors {
box-sizing: border-box;
margin:0 0 20px 0;
font-size: 12px;
line-height: 18px;
color:#FF1F1F;
}
.ac-container .errors ul,
.ac-container .errors li{
box-sizing: border-box;
padding:0 0 3px 0;
margin:0 0 0 0;
list-style:none;
}
.ac-container .errors li span {
box-sizing: border-box;
font-size:9px;
background:#ebebeb;
border:1px solid #ccc;
width: 14px;
height:14px;
border-radius:7px;
display:inline-block;
color:#FF1F1F;
font-weight: bold;
text-align: center;
margin-right:5px;
line-height: 13px;
position:relative;
top:-2px;
text-shadow: 1px 1px 0 #fff;
font-family:arial;
}
.ac-container .fields {
box-sizing: border-box;
clear:both;
margin:10px 0 10px 0;
}
@media (max-width: 500px) {
.ac-container {
box-sizing: border-box;
width:auto;
margin-right:20px;
margin-left:1px;
}
.ac-container select,
.ac-container input.day,
.ac-container input.year{
box-sizing: border-box;
display:block;
margin-bottom:10px;
margin-right:0;
width:100%;
}
.ac-container button {
box-sizing: border-box;
display: block;
width: 100%;
}
}
1 change: 1 addition & 0 deletions css/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>
89 changes: 89 additions & 0 deletions en-GB.mod_agechecker.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
; JD Age Checker
; Copyright (C) 2020 Joomdev, Inc. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8

MOD_AGECHECKERPRO_MINAGE="Min. age requirement"
MOD_AGECHECKERPRO_MINAGE_DESC="Min. age requirement."
MOD_AGECHECKERPRO_URLREDIRECT="URL redirect path"
MOD_AGECHECKERPRO_URLREDIRECT_DESC="URL redirect after successful age verification. Include 'http://' or 'https://' within path!"
MOD_AGECHECKERPRO_WINDOWREDIRECT="Window redirect"
MOD_AGECHECKERPRO_WINDOWREDIRECT_DESC="Select whether to redirect to a new or same window."
MOD_AGECHECKERPRO_NEWWINDOW="New Window"
MOD_AGECHECKERPRO_SAMEWINDOW="Same Window"
MOD_AGECHECKERPRO_CUSTOMTITLE="Custom title"
MOD_AGECHECKERPRO_CUSTOMTITLE_DESC="Type in your custom title here. Supports basic HTML tags."
MOD_AGECHECKERPRO_CUSTOMBODY="Custom body copy"
MOD_AGECHECKERPRO_CUSTOMBODY_DESC="Type in your custom body copy here. Supports basic HTML tags."
MOD_AGECHECKERPRO_CUSTOMSUCCESS="Custom success copy"
MOD_AGECHECKERPRO_CUSTOMSUCCESS_DESC="Type in your success copy here. Supports basic HTML tags."
MOD_AGECHECKERPRO_CUSTOMBACKGROUND="Background container color"
MOD_AGECHECKERPRO_CUSTOMBACKGROUND_DESC="Background container color"
MOD_AGECHECKERPRO_OPACITYBACKGROUND="Opacity background"
MOD_AGECHECKERPRO_OPACITYBACKGROUND_DESC="Select how dark you want the overlay to be"
MOD_AGECHECKERPRO_TOTALDARKNESS="Total darkness"
MOD_AGECHECKERPRO_TOTALDAYLIGHT="Total daylight"
MOD_AGECHECKERPRO_SUCCESSDELAY="Success/Fail screen delay"
MOD_AGECHECKERPRO_SUCCESSDELAY_DESC="Set delay of Success window. Higher value keeps Success window on screen."
MOD_AGECHECKERPRO_SELECTMONTH="Select Month text"
MOD_AGECHECKERPRO_SELECTMONTH_DESC="Translate Select Month text to your needs"
MOD_AGECHECKERPRO_JANUARY="January"
MOD_AGECHECKERPRO_JANUARY_DESC="Translate the month of January to your needs."
MOD_AGECHECKERPRO_FEBRUARY="February"
MOD_AGECHECKERPRO_FEBRUARY_DESC="Translate the month of February to your needs."
MOD_AGECHECKERPRO_MARCH="March"
MOD_AGECHECKERPRO_MARCH_DESC="Translate the month of March to your needs."
MOD_AGECHECKERPRO_APRIL="April"
MOD_AGECHECKERPRO_APRIL_DESC="Translate the month of April to your needs."
MOD_AGECHECKERPRO_MAY="May"
MOD_AGECHECKERPRO_MAY_DESC="Translate the month of May to your needs."
MOD_AGECHECKERPRO_JUNE="June"
MOD_AGECHECKERPRO_JUNE_DESC="Translate the month of June to your needs."
MOD_AGECHECKERPRO_JULY="July"
MOD_AGECHECKERPRO_JULY_DESC="Translate the month of July to your needs."
MOD_AGECHECKERPRO_AUGUST="August"
MOD_AGECHECKERPRO_AUGUST_DESC="Translate the month of August to your needs."
MOD_AGECHECKERPRO_SEPTEMBER="September"
MOD_AGECHECKERPRO_SEPTEMBER_DESC="Translate the month of September to your needs."
MOD_AGECHECKERPRO_OCTOBER="October"
MOD_AGECHECKERPRO_OCTOBER_DESC="Translate the month of October to your needs."
MOD_AGECHECKERPRO_NOVEMBER="November"
MOD_AGECHECKERPRO_NOVEMBER_DESC="Translate the month of November to your needs."
MOD_AGECHECKERPRO_DECEMBER="December"
MOD_AGECHECKERPRO_DECEMBER_DESC="Translate the month of December to your needs."
MOD_AGECHECKERPRO_DAYTEXT="Day"
MOD_AGECHECKERPRO_DAYTEXT_DESC="Translate the Day placeholder text to your needs"
MOD_AGECHECKERPRO_YEARTEXT="Year"
MOD_AGECHECKERPRO_YEARTEXT_DESC="Translate the Year placeholder text to your needs"
MOD_AGECHECKERPRO_SUBMITTEXT="Submit"
MOD_AGECHECKERPRO_SUBMITTEXT_DESC="Translate the Submit button text to your needs"
MOD_AGECHECKERPRO_DAYERROR="Day error text"
MOD_AGECHECKERPRO_DAYERROR_DESC="Translate the Day Error text to your needs"
MOD_AGECHECKERPRO_YEARERROR="Year error text"
MOD_AGECHECKERPRO_YEARERROR_DESC="Translate the Year Error text to your needs"
MOD_AGECHECKERPRO_BUTTONCOLOR="Button background color"
MOD_AGECHECKERPRO_BUTTONCOLOR_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_BUTTONCOLORHOVER="Button background hover color"
MOD_AGECHECKERPRO_BUTTONCOLORHOVER_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_BUTTONTEXTCOLOR="Button text color"
MOD_AGECHECKERPRO_BUTTONTEXTCOLOR_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_BUTTONTEXTSHADOW="Button text shadow color"
MOD_AGECHECKERPRO_BUTTONTEXTSHADOW_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_REDIRECTURL="Redirect to new URL?"
MOD_AGECHECKERPRO_REDIRECTURL_DESC="Select No for no page redirect. Select Yes to enter page redirect URL and window action."
MOD_AGECHECKERPRO_URLFAILEDREDIRECT="Failed redirect URL"
MOD_AGECHECKERPRO_URLFAILEDREDIRECT_DESC="Failed redirect URL. Leave blank to lock current screen with failed text. Use an absolute path, including http:// or https:// to redirect failed response to another URL."
MOD_AGECHECKERPRO_UNDERAGEMESSAGE="Under age message"
MOD_AGECHECKERPRO_UNDERAGEMESSAGE_DESC="Enter your custom under age message"
MOD_AGECHECKERPRO_CUSTOMHEADERTEXT="Custom header text color"
MOD_AGECHECKERPRO_CUSTOMHEADERTEXT_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_CUSTOMTEXTCOLOR="Custom text color"
MOD_AGECHECKERPRO_CUSTOMTEXTCOLOR_DESC="Adjust to your specific needs"
MOD_AGECHECKERPRO_USEBAILOUT="Include Bailout button"
MOD_AGECHECKERPRO_USEBAILOUT_DESC="Select Yes to include the Bailout button."
MOD_AGECHECKERPRO_BAILOUTTEXT="Bailout button text"
MOD_AGECHECKERPRO_BAILOUTTEXT_DESC="Enter your custom text for Bailout button."
MOD_AGECHECKERPRO_BAILOUTURL="Bailout URL"
MOD_AGECHECKERPRO_BAILOUTURL_DESC="Enter absolute path including 'http://' or 'https://'"
MOD_AGECHECKERPRO_DATEFORMAT="Date format"
MOD_AGECHECKERPRO_DATEFORMAT_DESC="Select to your specific needs."
7 changes: 7 additions & 0 deletions en-GB.mod_agechecker.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; JD Age Checker
; Copyright (C) 2020 Joomdev, Inc. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8

MOD_AGECHECKERPRO="JD Age Checker"
MOD_AGECHECKERPRO_XML_DESCRIPTION="JD Age Checker is a simple and stylish way to verify your visitors age before allowing them to see or view your site's content. It's primary function is to verify the visitors age input and if it meets the standard you established in the module settings, they'll gain access. If their input does not meet these standards, they will receive an error message. YES... visitors can lie about their age to gain access however, if they do so, you or your site's content can't be held liable. PLEASE NOTE: Neither I or this extension are lawyers. Before using JD Age Checker as a content deterrent, please check your local laws. JD Age Checker is offered FREE of charge and without warranty. The use of this extension is solely the choice of the end installable user and this extension's author, developer, distributor and/or it's distribution channels can not be held liable or legally responsibile for any use or misuse of this extension. Version: 1.0.3-PRO"
1 change: 1 addition & 0 deletions images/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>
Binary file added images/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>
1 change: 1 addition & 0 deletions js/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>
Loading

0 comments on commit 6676c3e

Please sign in to comment.