first commit
This commit is contained in:
35
modules/ph_simpleblog/views/css/index.php
Normal file
35
modules/ph_simpleblog/views/css/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
409
modules/ph_simpleblog/views/css/ph_simpleblog-17.css
Normal file
409
modules/ph_simpleblog/views/css/ph_simpleblog-17.css
Normal file
@@ -0,0 +1,409 @@
|
||||
#module-ph_simpleblog-single #content-wrapper .page-header h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
#module-ph_simpleblog-single #content-wrapper .simpleblog__post p {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#module-ph_simpleblog-single #content.card,
|
||||
#module-ph_simpleblog-list #content.card {
|
||||
padding: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.simpleblog__mostViewed__menu {
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.simpleblog__mostViewed__menu li:last-child a {
|
||||
border-bottom: none;
|
||||
}
|
||||
.simpleblog__mostViewed__menu li a {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin: 0.3125rem 0 0;
|
||||
padding-bottom: 0.1875rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
.simpleblog__mostViewed__footer {
|
||||
text-align: center;
|
||||
}
|
||||
.simpleblog__mostViewed__footer .btn-primary {
|
||||
color: white;
|
||||
}
|
||||
.simpleblog__listing {
|
||||
margin-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.simpleblog__listing__post.first-in-line {
|
||||
clear: left;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper {
|
||||
box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
background: #fff;
|
||||
margin-bottom: 1.563rem;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content {
|
||||
padding: 1.563rem 1.25rem;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content h3 a {
|
||||
color: #232323;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content__footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content__footer__category {
|
||||
margin-left: 15px;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content__footer__category i {
|
||||
color: #727272;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__content__footer__category a,
|
||||
.simpleblog__listing__post__wrapper__content__footer__category span,
|
||||
.simpleblog__listing__post__wrapper__content__footer__category time {
|
||||
position: relative;
|
||||
top: 2px;
|
||||
margin-left: 2px;
|
||||
color: #727272;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__footer {
|
||||
background: #efefef;
|
||||
padding: 0 1.25rem;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__footer__block {
|
||||
padding-top: 0.763rem;
|
||||
padding-bottom: 0.763rem;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__footer__block i {
|
||||
color: #727272;
|
||||
font-size: 20px;
|
||||
}
|
||||
.simpleblog__listing__post__wrapper__footer__block span,
|
||||
.simpleblog__listing__post__wrapper__footer__block time {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-left: 2px;
|
||||
color: #727272;
|
||||
font-size: 14px;
|
||||
}
|
||||
.simpleblog__listing__pagination {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
.simpleblog__listing__pagination > div {
|
||||
color: #7a7a7a;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.simpleblog__listing__pagination__list {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.simpleblog__listing__pagination__list li {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.simpleblog__listing__pagination__list li:first-child, .simpleblog__listing__pagination__list li:last-child {
|
||||
display: block;
|
||||
overflow: auto;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.simpleblog__listing__pagination__list li:first-child a, .simpleblog__listing__pagination__list li:last-child a {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
.simpleblog__postInfo ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 20px 0;
|
||||
display: flex;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__postInfo ul {
|
||||
display: block;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
.simpleblog__postInfo ul li {
|
||||
color: #727272;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__postInfo ul li {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
.simpleblog__postInfo ul li a {
|
||||
color: inherit;
|
||||
}
|
||||
.simpleblog__postInfo ul li a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.simpleblog__postInfo ul li:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
.simpleblog__postInfo ul li:after {
|
||||
content: "";
|
||||
height: 10px;
|
||||
background: #cecece;
|
||||
width: 2px;
|
||||
margin: 0 13px;
|
||||
display: inline-block;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__postInfo ul li:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.simpleblog__postInfo ul li i {
|
||||
color: #727272;
|
||||
font-size: 20px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.simpleblog__postInfo ul li span {
|
||||
color: #727272;
|
||||
font-size: 13px;
|
||||
}
|
||||
.simpleblog__post {
|
||||
background: #ffffff;
|
||||
box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.simpleblog__post-featured img {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
.simpleblog__post__content {
|
||||
padding: 1.563rem 1.25rem;
|
||||
}
|
||||
.simpleblog__share {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.simpleblog__share ul {
|
||||
list-style-type: none;
|
||||
margin: 25px 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__share ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.simpleblog__share ul li {
|
||||
margin-right: 16px;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__share ul li {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__share ul li .btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.simpleblog__featuredProducts {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.simpleblog__featuredProducts > h2 {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.simpleblog__comments {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.simpleblog__comments > h2 {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.simpleblog__comments-empty {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.simpleblog__comments .alert a {
|
||||
color: inherit;
|
||||
}
|
||||
.simpleblog__comments > ul {
|
||||
box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.simpleblog__comments > ul > li {
|
||||
padding: 1.563rem 1.25rem;
|
||||
}
|
||||
.simpleblog__comments > ul > li:nth-child(odd) {
|
||||
background: white;
|
||||
}
|
||||
.simpleblog__comments > ul > li:nth-child(even) {
|
||||
background: #f6f6f6;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo {
|
||||
list-style-type: none;
|
||||
margin: 0 0 12px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li {
|
||||
font-size: 14px;
|
||||
color: #727272;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:after {
|
||||
content: "";
|
||||
height: 10px;
|
||||
background: #cecece;
|
||||
width: 2px;
|
||||
margin: 0 18px;
|
||||
display: inline-block;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo__author {
|
||||
color: #38b5d0 !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__text {
|
||||
color: #414141;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__text p {
|
||||
color: #414141;
|
||||
}
|
||||
.simpleblog__comments > ul > li .simpleblog__comments__text p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.simpleblog__addComment {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.simpleblog__addComment .alert a {
|
||||
color: inherit;
|
||||
}
|
||||
.simpleblog__addComment > h2 {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.simpleblog__addComment__form {
|
||||
box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
background: #ffffff;
|
||||
padding: 1.563rem 1.25rem;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.simpleblog__addComment__form .form-footer .btn-primary {
|
||||
width: 100%;
|
||||
float: none !important;
|
||||
}
|
||||
}
|
||||
.simpleblog__seo {
|
||||
display: none;
|
||||
}
|
||||
.simpleblog__categoryInfo {
|
||||
border-bottom: 2px solid #d6d6d6;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.simpleblog__categoryInfo img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.simpleblog__categoryInfo p {
|
||||
font-size: 14px;
|
||||
color: #727272;
|
||||
margin: 30px 0;
|
||||
}
|
||||
|
||||
.btn-facebook {
|
||||
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: #415994;
|
||||
color: white;
|
||||
}
|
||||
.btn-facebook:hover {
|
||||
color: white;
|
||||
background: #203363;
|
||||
}
|
||||
.btn-facebook i {
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
.btn-twitter {
|
||||
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: #4ba0ec;
|
||||
color: white;
|
||||
}
|
||||
.btn-twitter:hover {
|
||||
color: white;
|
||||
background: #2f7bbf;
|
||||
}
|
||||
.btn-twitter i {
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.btn-google {
|
||||
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: #bd403b;
|
||||
color: white;
|
||||
}
|
||||
.btn-google:hover {
|
||||
color: white;
|
||||
background: #a12520;
|
||||
}
|
||||
.btn-google i {
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
}
|
||||
.btn-pinterest {
|
||||
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background: #ae2626;
|
||||
color: white;
|
||||
}
|
||||
.btn-pinterest:hover {
|
||||
color: white;
|
||||
background: #8e1010;
|
||||
}
|
||||
.btn-pinterest i {
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
#phblogrecentposts .h1 {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
#phblogrecentposts .h1 a {
|
||||
float: right;
|
||||
text-transform: none;
|
||||
font-size: 80%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}/*# sourceMappingURL=ph_simpleblog-17.css.map */
|
||||
1
modules/ph_simpleblog/views/css/ph_simpleblog-17.css.map
Normal file
1
modules/ph_simpleblog/views/css/ph_simpleblog-17.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["ph_simpleblog-17.scss","ph_simpleblog-17.css"],"names":[],"mappings":"AAEI;EACE,eAAA;ACDN;ADKM;EACE,eAAA;EACA,iBAAA;ACHR;;ADWE;;EACE,UAAA;EAAY,gBAAA;EACZ,gBAAA;EAAkB,SAAA;ACLtB;;ADYI;EACE,oBAAA;ACTN;ADaU;EACE,mBAAA;ACXZ;ADeQ;EACE,4CAAA;EACA,WAAA;EACA,qBAAA;EACA,qBAAA;EACA,yBAAA;EACA,eAAA;ACbV;ADkBI;EACE,kBAAA;AChBN;ADkBM;EACE,YAAA;AChBR;ADqBE;EACE,gBAAA;EACA,oBAAA;ACnBJ;ADsBM;EACE,WAAA;ACpBR;ADuBM;EACE,4CAAA;EACA,gBAAA;EACA,uBAAA;ACrBR;ADuBQ;EACE,yBAAA;ACrBV;ADwBY;EACE,cAAA;ACtBd;AD0BU;EACE,aAAA;EACA,mBAAA;ACxBZ;AD0BY;EACE,iBAAA;ACxBd;AD0Bc;EACE,cAAA;ACxBhB;AD2Bc;;;EAGE,kBAAA;EACA,QAAA;EACA,gBAAA;EACA,cAAA;ACzBhB;AD+BQ;EACE,mBAAA;EACA,kBAAA;AC7BV;AD+BU;EACE,qBAAA;EACA,wBAAA;AC7BZ;AD+BY;EACE,cAAA;EACA,eAAA;AC7Bd;ADgCY;;EAEE,kBAAA;EACA,QAAA;EACA,gBAAA;EACA,cAAA;EACA,eAAA;AC9Bd;ADqCI;EACE,kBAAA;ACnCN;ADqCM;EACE,cAAA;ACnCR;ADuCQ;EADF;IAEI,kBAAA;ECpCR;AACF;ADuCU;EADF;IAEI,kBAAA;ECpCV;AACF;ADwCY;EAFF;IAGI,cAAA;IACA,cAAA;IACA,cAAA;ECrCZ;AACF;ADwCc;EADF;IAEI,WAAA;ECrCd;AACF;AD+CI;EACE,qBAAA;EACA,UAAA;EACA,cAAA;EACA,aAAA;AC7CN;AD+CM;EANF;IAOI,cAAA;IACA,cAAA;EC5CN;AACF;AD8CM;EACE,cAAA;AC5CR;AD8CQ;EAHF;IAII,WAAA;IACA,UAAA;EC3CR;AACF;AD6CQ;EACE,cAAA;AC3CV;AD4CU;EACE,0BAAA;AC1CZ;AD+CU;EACE,aAAA;AC7CZ;ADiDQ;EACE,WAAA;EACA,YAAA;EACA,mBAAA;EACA,UAAA;EACA,cAAA;EACA,qBAAA;AC/CV;ADiDU;EARF;IASI,aAAA;EC9CV;AACF;ADiDQ;EACE,cAAA;EACA,eAAA;EACA,iBAAA;AC/CV;ADkDQ;EACE,cAAA;EACA,eAAA;AChDV;ADsDE;EACE,mBAAA;EACA,4CAAA;EACA,mBAAA;ACpDJ;ADuDM;EACE,eAAA;EACA,cAAA;EACA,cAAA;ACrDR;ADyDI;EACE,yBAAA;ACvDN;AD2DE;EACE,mBAAA;ACzDJ;AD2DI;EACE,qBAAA;EACA,cAAA;EACA,UAAA;EACA,aAAA;ACzDN;AD2DM;EANF;IAOI,cAAA;ECxDN;AACF;AD0DM;EACE,kBAAA;ACxDR;AD0DQ;EAHF;IAII,gBAAA;ECvDR;AACF;AD0DU;EADF;IAEI,WAAA;ECvDV;AACF;AD6DE;EACE,mBAAA;AC3DJ;AD6DI;EACE,mBAAA;AC3DN;AD+DE;EACE,mBAAA;AC7DJ;AD+DI;EACE,mBAAA;AC7DN;ADgEI;EACE,gBAAA;AC9DN;ADiEI;EACE,cAAA;AC/DN;ADkEI;EACE,4CAAA;EACA,qBAAA;EACA,SAAA;EACA,UAAA;AChEN;ADkEM;EACE,yBAAA;AChER;ADkEQ;EACE,iBAAA;AChEV;ADmEQ;EACE,mBAAA;ACjEV;ADoEQ;EACE,qBAAA;EACA,gBAAA;EACA,UAAA;EACA,aAAA;AClEV;ADoEU;EANF;IAOI,cAAA;ECjEV;AACF;ADmEU;EACE,eAAA;EACA,cAAA;ACjEZ;ADoEc;EACE,aAAA;AClEhB;ADsEY;EACE,WAAA;EACA,YAAA;EACA,mBAAA;EACA,UAAA;EACA,cAAA;EACA,qBAAA;ACpEd;ADsEc;EARF;IASI,aAAA;ECnEd;AACF;ADuEU;EACE,yBAAA;EACA,gBAAA;ACrEZ;ADyEQ;EACE,cAAA;ACvEV;ADyEU;EACE,cAAA;ACvEZ;AD4EU;EACE,SAAA;EACA,UAAA;AC1EZ;ADkFE;EACE,mBAAA;AChFJ;ADkFI;EACE,cAAA;AChFN;ADmFI;EACE,mBAAA;ACjFN;ADoFI;EACE,4CAAA;EACA,mBAAA;EACA,yBAAA;AClFN;ADsFU;EADF;IAEI,WAAA;IACA,sBAAA;ECnFV;AACF;ADyFE;EACE,aAAA;ACvFJ;AD0FE;EACE,gCAAA;EACA,cAAA;ACxFJ;AD0FI;EACE,WAAA;EACA,YAAA;ACxFN;AD2FI;EACE,eAAA;EACA,cAAA;EACA,cAAA;ACzFN;;ADgGE;EACE,4CAAA;EACA,yBAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;AC7FJ;AD+FI;EACE,YAAA;EACA,mBAAA;AC7FN;ADgGI;EACE,iBAAA;EACA,eAAA;EACA,kBAAA;EACA,QAAA;AC9FN;ADkGE;EACE,4CAAA;EACA,yBAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;AChGJ;ADkGI;EACE,YAAA;EACA,mBAAA;AChGN;ADmGI;EACE,iBAAA;EACA,eAAA;EACA,kBAAA;EACA,QAAA;ACjGN;ADqGE;EACE,4CAAA;EACA,yBAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;ACnGJ;ADqGI;EACE,YAAA;EACA,mBAAA;ACnGN;ADsGI;EACE,iBAAA;EACA,eAAA;ACpGN;ADwGE;EACE,4CAAA;EACA,yBAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;ACtGJ;ADwGI;EACE,YAAA;EACA,mBAAA;ACtGN;ADyGI;EACE,iBAAA;EACA,eAAA;ACvGN;;AD6GE;EACE,kBAAA;EACA,kBAAA;EACA,qBAAA;AC1GJ;AD4GI;EACE,YAAA;EACA,oBAAA;EACA,cAAA;EACA,kBAAA;EACA,QAAA;EACA,SAAA;AC1GN","file":"ph_simpleblog-17.css"}
|
||||
518
modules/ph_simpleblog/views/css/ph_simpleblog-17.scss
Normal file
518
modules/ph_simpleblog/views/css/ph_simpleblog-17.scss
Normal file
@@ -0,0 +1,518 @@
|
||||
#module-ph_simpleblog-single {
|
||||
#content-wrapper {
|
||||
.page-header h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.simpleblog__post{
|
||||
p{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#module-ph_simpleblog-single,
|
||||
#module-ph_simpleblog-list {
|
||||
#content.card {
|
||||
padding: 0; background: none;
|
||||
box-shadow: none; border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.simpleblog {
|
||||
//Most Viewed Block
|
||||
&__mostViewed {
|
||||
&__menu {
|
||||
margin-top: 0.625rem;
|
||||
|
||||
li {
|
||||
&:last-child {
|
||||
a {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid rgba(0,0,0,.25);
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin: 0.3125rem 0 0;
|
||||
padding-bottom: 0.1875rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__footer {
|
||||
text-align: center;
|
||||
|
||||
.btn-primary {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
//Posts Listing
|
||||
&__listing {
|
||||
margin-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
|
||||
&__post {
|
||||
&.first-in-line {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
|
||||
background: #fff;
|
||||
margin-bottom: 1.563rem;
|
||||
|
||||
&__content {
|
||||
padding: 1.563rem 1.25rem;
|
||||
|
||||
h3 {
|
||||
a {
|
||||
color: #232323;
|
||||
}
|
||||
}
|
||||
|
||||
&__footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&__category {
|
||||
margin-left: 15px;
|
||||
|
||||
i {
|
||||
color: #727272;
|
||||
}
|
||||
|
||||
a,
|
||||
span,
|
||||
time {
|
||||
position: relative;
|
||||
top: 2px;
|
||||
margin-left: 2px;
|
||||
color: #727272;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__footer {
|
||||
background: #efefef;
|
||||
padding: 0 1.25rem;
|
||||
|
||||
&__block {
|
||||
padding-top: 0.763rem;
|
||||
padding-bottom: 0.763rem;
|
||||
|
||||
i {
|
||||
color: #727272;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
span,
|
||||
time {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-left: 2px;
|
||||
color: #727272;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__pagination {
|
||||
margin-top: 1.5rem;
|
||||
|
||||
> div {
|
||||
color: #7a7a7a;
|
||||
}
|
||||
|
||||
&__list {
|
||||
@media (max-width: 767px) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
li {
|
||||
@media (max-width: 767px) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&:first-child,
|
||||
&:last-child {
|
||||
@media (max-width: 767px) {
|
||||
display: block;
|
||||
overflow: auto;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
@media (max-width: 767px) {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Post
|
||||
&__postInfo{
|
||||
ul{
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 20px 0;
|
||||
display: flex;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
display: block;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
li{
|
||||
color: #727272;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child{
|
||||
&:after{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:after{
|
||||
content: '';
|
||||
height: 10px;
|
||||
background: #cecece;
|
||||
width: 2px;
|
||||
margin: 0 13px;
|
||||
display: inline-block;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
i{
|
||||
color: #727272;
|
||||
font-size: 20px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
span{
|
||||
color: #727272;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__post{
|
||||
background: #ffffff;
|
||||
box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
|
||||
margin-bottom: 60px;
|
||||
|
||||
&-featured {
|
||||
img {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&__content{
|
||||
padding: 1.563rem 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&__share{
|
||||
margin-bottom: 60px;
|
||||
|
||||
ul{
|
||||
list-style-type: none;
|
||||
margin: 25px 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
li{
|
||||
margin-right: 16px;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.btn{
|
||||
@media (max-width: 991px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__featuredProducts{
|
||||
margin-bottom: 60px;
|
||||
|
||||
> h2{
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
&__comments{
|
||||
margin-bottom: 60px;
|
||||
|
||||
> h2{
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
&-empty {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.alert a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
> ul{
|
||||
box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> li{
|
||||
padding: 1.563rem 1.25rem;
|
||||
|
||||
&:nth-child(odd){
|
||||
background: white;
|
||||
}
|
||||
|
||||
&:nth-child(even){
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.simpleblog__comments__authorInfo{
|
||||
list-style-type: none;
|
||||
margin: 0 0 12px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
li{
|
||||
font-size: 14px;
|
||||
color: #727272;
|
||||
|
||||
&:last-child{
|
||||
&:after{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:after{
|
||||
content: '';
|
||||
height: 10px;
|
||||
background: #cecece;
|
||||
width: 2px;
|
||||
margin: 0 18px;
|
||||
display: inline-block;
|
||||
|
||||
@media (max-width: 991px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__author{
|
||||
color: #38b5d0 !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.simpleblog__comments__text{
|
||||
color: #414141;
|
||||
|
||||
p{
|
||||
color: #414141;
|
||||
}
|
||||
}
|
||||
|
||||
.simpleblog__comments__text{
|
||||
p{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__addComment{
|
||||
margin-bottom: 60px;
|
||||
|
||||
.alert a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
> h2{
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
&__form{
|
||||
box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
|
||||
background: #ffffff;
|
||||
padding: 1.563rem 1.25rem;
|
||||
|
||||
.form-footer{
|
||||
.btn-primary{
|
||||
@media (max-width: 991px) {
|
||||
width: 100%;
|
||||
float: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__seo{
|
||||
display: none;
|
||||
}
|
||||
|
||||
&__categoryInfo{
|
||||
border-bottom: 2px solid #d6d6d6;
|
||||
margin: 30px 0;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
p{
|
||||
font-size: 14px;
|
||||
color: #727272;
|
||||
margin: 30px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Globally add social buttons
|
||||
.btn{
|
||||
&-facebook{
|
||||
box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: .5rem 1.25rem;
|
||||
background: #415994;
|
||||
color: white;
|
||||
|
||||
&:hover{
|
||||
color: white;
|
||||
background: #203363;
|
||||
}
|
||||
|
||||
i{
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
&-twitter{
|
||||
box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: .5rem 1.25rem;
|
||||
background: #4ba0ec;
|
||||
color: white;
|
||||
|
||||
&:hover{
|
||||
color: white;
|
||||
background: #2f7bbf;
|
||||
}
|
||||
|
||||
i{
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
&-google{
|
||||
box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: .5rem 1.25rem;
|
||||
background: #bd403b;
|
||||
color: white;
|
||||
|
||||
&:hover{
|
||||
color: white;
|
||||
background: #a12520;
|
||||
}
|
||||
|
||||
i{
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
&-pinterest{
|
||||
box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
padding: .5rem 1.25rem;
|
||||
background: #ae2626;
|
||||
color: white;
|
||||
|
||||
&:hover{
|
||||
color: white;
|
||||
background: #8e1010;
|
||||
}
|
||||
|
||||
i{
|
||||
margin-right: 8px;
|
||||
font-size: 19px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#phblogrecentposts {
|
||||
.h1 {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-bottom: 1.5rem;
|
||||
|
||||
a {
|
||||
float: right;
|
||||
text-transform: none;
|
||||
font-size: 80%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;;
|
||||
}
|
||||
}
|
||||
}
|
||||
35
modules/ph_simpleblog/views/css/select2/index.php
Normal file
35
modules/ph_simpleblog/views/css/select2/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
2
modules/ph_simpleblog/views/css/select2/select2.min.css
vendored
Normal file
2
modules/ph_simpleblog/views/css/select2/select2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
35
modules/ph_simpleblog/views/index.php
Normal file
35
modules/ph_simpleblog/views/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
35
modules/ph_simpleblog/views/js/index.php
Normal file
35
modules/ph_simpleblog/views/js/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
129
modules/ph_simpleblog/views/js/ph_simpleblog-17.js
Normal file
129
modules/ph_simpleblog/views/js/ph_simpleblog-17.js
Normal file
@@ -0,0 +1,129 @@
|
||||
function markAlreadyLikedPost(guest, id_simpleblog_post)
|
||||
{
|
||||
if ($.cookie('guest_' + guest + '_' + id_simpleblog_post) == "voted")
|
||||
{
|
||||
$('.simpleblog-like-button').addClass('voted');
|
||||
}
|
||||
};
|
||||
|
||||
$(function() {
|
||||
|
||||
if($('#module-ph_simpleblog-single').length > 0)
|
||||
{
|
||||
$('.simpleblog__post a.fancybox').fancybox();
|
||||
$(".simpleblog__post").fitVids();
|
||||
|
||||
markAlreadyLikedPost($('#module-ph_simpleblog-single .simpleblog-like-button').data('guest'), $('.simpleblog-single .simpleblog-like-button').data('post'));
|
||||
|
||||
$(document).on('click', '.simpleblog__share .btn', function(){
|
||||
type = $(this).attr('data-type');
|
||||
if (type.length)
|
||||
{
|
||||
switch(type)
|
||||
{
|
||||
case 'twitter':
|
||||
window.open('https://twitter.com/intent/tweet?text=' + ph_sharing_name + ' ' + encodeURIComponent(ph_sharing_url), 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
|
||||
break;
|
||||
case 'facebook':
|
||||
window.open('http://www.facebook.com/sharer.php?u=' + ph_sharing_url, 'sharer', 'toolbar=0,status=0,width=660,height=445');
|
||||
break;
|
||||
case 'google-plus':
|
||||
window.open('https://plus.google.com/share?url=' + ph_sharing_url, 'sharer', 'toolbar=0,status=0,width=660,height=445');
|
||||
break;
|
||||
case 'pinterest':
|
||||
window.open('http://www.pinterest.com/pin/create/button/?media=' + ph_sharing_img + '&url=' + ph_sharing_url, 'sharerpinterest', 'toolbar=0,status=0,width=660,height=445');
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '.simpleblog-like-button', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var id_simpleblog_post = $(this).data('post');
|
||||
var id_guest = $(this).data('guest');
|
||||
var element = $(this);
|
||||
|
||||
if ($.cookie('guest_' + id_guest + '_' + id_simpleblog_post) == "voted")
|
||||
{
|
||||
$.cookie('guest_' + id_guest + '_' + id_simpleblog_post, '');
|
||||
var request = $.ajax({
|
||||
type: "POST",
|
||||
url: ph_simpleblog_ajax,
|
||||
data: {
|
||||
action: 'removeRating',
|
||||
id_simpleblog_post : id_simpleblog_post,
|
||||
secure_key: ph_simpleblog_token,
|
||||
ajax: true
|
||||
},
|
||||
success: function(result)
|
||||
{
|
||||
var data = $.parseJSON(result);
|
||||
if (data.status == 'success')
|
||||
{
|
||||
element.removeClass('voted').find('span.likes-count').text(data.message);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
$.cookie('guest_' + id_guest + '_' + id_simpleblog_post, 'voted');
|
||||
var request = $.ajax({
|
||||
type: "POST",
|
||||
url: ph_simpleblog_ajax,
|
||||
data: {
|
||||
action: 'addRating',
|
||||
id_simpleblog_post : id_simpleblog_post,
|
||||
secure_key: ph_simpleblog_token,
|
||||
ajax: true
|
||||
},
|
||||
success: function(result)
|
||||
{
|
||||
var data = $.parseJSON(result);
|
||||
if (data.status == 'success')
|
||||
{
|
||||
element.addClass('voted').find('span.likes-count').text(data.message);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(".simpleblog__listing__post__wrapper").fitVids();
|
||||
|
||||
if (typeof fancybox !== 'undefined') {
|
||||
$('.simpleblog-post-item a.post-gallery-link').fancybox();
|
||||
|
||||
$("a.simpleblog__post-featured").fancybox({
|
||||
maxWidth : 1440,
|
||||
fitToView : false,
|
||||
autoSize : false,
|
||||
closeClick : false,
|
||||
width : 640,
|
||||
height : 385,
|
||||
openEffect : 'none',
|
||||
closeEffect : 'none',
|
||||
iframe: {
|
||||
preload: false
|
||||
},
|
||||
helpers : {
|
||||
overlay : {
|
||||
css : {
|
||||
'background' : 'rgba(0, 0, 0, 0.90)'
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/az.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/az.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/bg.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/bg.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/ca.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/ca.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Si us plau, elimina "+t+" car";return t==1?n+="àcter":n+="àcters",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Si us plau, introdueix "+t+" car";return t==1?n+="àcter":n+="àcters",n},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var t="Només es pot seleccionar "+e.maximum+" element";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/cs.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/cs.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/cs",[],function(){function e(e,t){switch(e){case 2:return t?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím zadejte o jeden znak méně":n<=4?"Prosím zadejte o "+e(n,!0)+" znaky méně":"Prosím zadejte o "+n+" znaků méně"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím zadejte ještě jeden znak":n<=4?"Prosím zadejte ještě další "+e(n,!0)+" znaky":"Prosím zadejte ještě dalších "+n+" znaků"},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(t){var n=t.maximum;return n==1?"Můžete zvolit jen jednu položku":n<=4?"Můžete zvolit maximálně "+e(n,!1)+" položky":"Můžete zvolit maximálně "+n+" položek"},noResults:function(){return"Nenalezeny žádné položky"},searching:function(){return"Vyhledávání…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/da.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/da.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Angiv venligst "+t+" tegn mindre";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Angiv venligst "+t+" tegn mere";return n},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/de.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/de.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/de",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeichen weniger eingeben"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Bitte "+t+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return e.maximum===1?t+="ag":t+="äge",t+=" auswählen",t},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/en.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/en.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/es.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/es.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+t+" car";return t==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/et.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/et.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/eu.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/eu.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gutxiago",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gehiago",n},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return e.maximum===1?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/fa.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/fa.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="لطفاً "+t+" کاراکتر را حذف نمایید";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لطفاً تعداد "+t+" کاراکتر یا بیشتر وارد نمایید";return n},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(e){var t="شما تنها میتوانید "+e.maximum+" آیتم را انتخاب نمایید";return t},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/fi.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/fi.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna "+t+" merkkiä vähemmän"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ole hyvä ja anna "+t+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(e){return"Voit valita ainoastaan "+e.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/fr.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/fr.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Supprimez "+t+" caractère";return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Saisissez "+t+" caractère";return t!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/gl.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/gl.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/gl",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Engada ";return t===1?n+="un carácter":n+=t+" caracteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Elimine ";return t===1?n+="un carácter":n+=t+" caracteres",n},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){var t="Só pode ";return e.maximum===1?t+="un elemento":t+=e.maximum+" elementos",t},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/he.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/he.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"התוצאות לא נטענו בהלכה"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="נא למחוק "+t+" תווים";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="נא להכניס "+t+" תווים או יותר";return n},loadingMore:function(){return"טען תוצאות נוספות…"},maximumSelected:function(e){var t="באפשרותך לבחור רק "+e.maximum+" פריטים";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/hi.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/hi.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/hr.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/hr.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t+="a"):t+="ova",t}return{inputTooLong:function(t){var n=t.input.length-t.maximum;return"Unesite "+e(n)},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Unesite još "+e(n)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(e){return"Maksimalan broj odabranih stavki je "+e.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/hu.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/hu.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+" karakterrel több, mint kellene."},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Túl rövid. Még "+t+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/id.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/id.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Hapuskan "+t+" huruf"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Masukkan "+t+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(e){return"Anda hanya dapat memilih "+e.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/is.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/is.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið texta um "+t+" staf";return t<=1?n:n+"i"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vinsamlegast skrifið "+t+" staf";return t>1&&(n+="i"),n+=" í viðbót",n},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(e){return"Þú getur aðeins valið "+e.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/it.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/it.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Per favore cancella "+t+" caratter";return t!==1?n+="i":n+="e",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Per favore inserisci "+t+" o più caratteri";return n},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var t="Puoi selezionare solo "+e.maximum+" element";return e.maximum!==1?t+="i":t+="o",t},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/ko.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/ko.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="너무 깁니다. "+t+" 글자 지워주세요.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="너무 짧습니다. "+t+" 글자 더 입력해주세요.";return n},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(e){var t="최대 "+e.maximum+"개까지만 선택 가능합니다.";return t},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/lt.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/lt.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lt",[],function(){function e(e,t,n,r){return e%100>9&&e%100<21||e%10===0?e%10>1?n:r:t}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Pašalinkite "+n+" simbol";return r+=e(n,"ių","ius","į"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Įrašykite dar "+n+" simbol";return r+=e(n,"ių","ius","į"),r},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(t){var n="Jūs galite pasirinkti tik "+t.maximum+" element";return n+=e(t.maximum,"ų","us","ą"),n},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/lv.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/lv.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Lūdzu ievadiet par "+n;return r+=" simbol"+e(n,"iem","u","iem"),r+" mazāk"},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Lūdzu ievadiet vēl "+n;return r+=" simbol"+e(n,"us","u","us"),r},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(t){var n="Jūs varat izvēlēties ne vairāk kā "+t.maximum;return n+=" element"+e(t.maximum,"us","u","us"),n},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/mk.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/mk.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/mk",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Ве молиме внесете "+e.maximum+" помалку карактер";return e.maximum!==1&&(n+="и"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ве молиме внесете уште "+e.maximum+" карактер";return e.maximum!==1&&(n+="и"),n},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(e){var t="Можете да изберете само "+e.maximum+" ставк";return e.maximum===1?t+="а":t+="и",t},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/nb.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/nb.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nb",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Vennligst fjern "+t+" tegn"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vennligst skriv inn ";return t>1?n+=" flere tegn":n+=" tegn til",n},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/nl.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/nl.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t="Er kunnen maar "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t+=" worden geselecteerd",t},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/pl.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/pl.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maxiumum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/pt-BR.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/pt-BR.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/pt.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/pt.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor apague "+t+" ";return n+=t!=1?"caracteres":"carácter",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Introduza "+t+" ou mais caracteres";return n},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var t="Apenas pode seleccionar "+e.maximum+" ";return t+=e.maximum!=1?"itens":"item",t},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/ro.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/ro.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ro",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să introduceți mai puțin de "+t;return n+=" caracter",n!==1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vă rugăm să introduceți incă "+t;return n+=" caracter",n!==1&&(n+="e"),n},loadingMore:function(){return"Se încarcă…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",t!==1&&(t+="e"),t},noResults:function(){return"Nu a fost găsit nimic"},searching:function(){return"Căutare…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/ru.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/ru.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ru",[],function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Пожалуйста, введите на "+n+" символ";return r+=e(n,"","a","ов"),r+=" меньше",r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Пожалуйста, введите еще хотя бы "+n+" символ";return r+=e(n,"","a","ов"),r},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(t){var n="Вы можете выбрать не более "+t.maximum+" элемент";return n+=e(t.maximum,"","a","ов"),n},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/sk.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/sk.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+e[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+e[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){return t.maximum==1?"Môžete zvoliť len jednu položku":t.maximum>=2&&t.maximum<=4?"Môžete zvoliť najviac "+e[t.maximum](!1)+" položky":"Môžete zvoliť najviac "+t.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/sr.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/sr.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/sv.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/sv.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vänligen sudda ut "+t+" tecken";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vänligen skriv in "+t+" eller fler tecken";return n},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(e){var t="Du kan max välja "+e.maximum+" element";return t},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/th.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/th.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/th",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/tr.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/tr.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/uk.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/uk.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/vi.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/vi.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn "+t+" ký tự";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập nhiều hơn "+t+' ký tự"';return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/zh-CN.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/zh-CN.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})();
|
||||
3
modules/ph_simpleblog/views/js/select2/i18n/zh-TW.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/i18n/zh-TW.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"}}}),{define:e.define,require:e.require}})();
|
||||
35
modules/ph_simpleblog/views/js/select2/index.php
Normal file
35
modules/ph_simpleblog/views/js/select2/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
3
modules/ph_simpleblog/views/js/select2/select2.full.min.js
vendored
Normal file
3
modules/ph_simpleblog/views/js/select2/select2.full.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="panel">
|
||||
{if isset($header)}{$header}{/if}
|
||||
{if isset($nodes)}
|
||||
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
|
||||
{$nodes}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,101 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="panel">
|
||||
{if isset($header)}{$header}{/if}
|
||||
{if isset($nodes)}
|
||||
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
|
||||
{$nodes}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
{if isset($use_checkbox) && $use_checkbox == true}
|
||||
function checkAllAssociatedCategories($tree)
|
||||
{
|
||||
$tree.find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function uncheckAllAssociatedCategories($tree)
|
||||
{
|
||||
$tree.find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", false);
|
||||
$(this).parent().removeClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
{/if}
|
||||
{if isset($use_search) && $use_search == true}
|
||||
$("#{$id|escape:'html':'UTF-8'}-categories-search").bind("typeahead:selected", function(obj, datum) {
|
||||
$("#{$id|escape:'html':'UTF-8'}").find(":input").each(
|
||||
function()
|
||||
{
|
||||
if ($(this).val() == datum.id_category)
|
||||
{
|
||||
{if (!(isset($use_checkbox) && $use_checkbox == true))}
|
||||
$("#{$id|escape:'html':'UTF-8'} label").removeClass("tree-selected");
|
||||
{/if}
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
$(this).parents('ul.tree').each(function(){
|
||||
$(this).show();
|
||||
$(this).prev().find('.icon-folder-close').removeClass('icon-folder-close').addClass('icon-folder-open');
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
{/if}
|
||||
$(document).ready(function () {
|
||||
$("#{$id|escape:'html':'UTF-8'}").tree("collapseAll");
|
||||
|
||||
{if isset($selected_categories)}
|
||||
{assign var=imploded_selected_categories value='","'|implode:$selected_categories}
|
||||
var selected_categories = new Array("{$imploded_selected_categories}");
|
||||
|
||||
$("#{$id|escape:'html':'UTF-8'}").find(":input").each(
|
||||
function()
|
||||
{
|
||||
if ($.inArray($(this).val(), selected_categories) != -1)
|
||||
{
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
$(this).parents('ul.tree').each(function(){
|
||||
$(this).show();
|
||||
$(this).prev().find('.icon-folder-close').removeClass('icon-folder-close').addClass('icon-folder-open');
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
{/if}
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,28 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="tree-panel-heading-controls clearfix">
|
||||
{if isset($title)}<i class="icon-tag"></i> {l s=$title}{/if}
|
||||
{if isset($toolbar)}{$toolbar}{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,33 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-folder">
|
||||
<span class="tree-folder-name">
|
||||
<i class="icon-folder-close"></i>
|
||||
<label class="tree-toggler">{$node['name']}</label>
|
||||
</span>
|
||||
<ul class="tree">
|
||||
{$children}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -0,0 +1,36 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-folder">
|
||||
<span class="tree-folder-name{if isset($node['disabled']) && $node['disabled'] == true} tree-folder-name-disable{/if}">
|
||||
{if $node['id_category'] != $root_category}
|
||||
<input type="checkbox" name="{$input_name}[]" value="{$node['id_category']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
{/if}
|
||||
<i class="icon-folder-close"></i>
|
||||
<label class="tree-toggler">{$node['name']}{if isset($node['selected_childs']) && (int)$node['selected_childs'] > 0} {l s='(%s selected)' sprintf=$node['selected_childs']}{/if}</label>
|
||||
</span>
|
||||
<ul class="tree">
|
||||
{$children}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -0,0 +1,34 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-folder">
|
||||
<span class="tree-folder-name{if isset($node['disabled']) && $node['disabled'] == true} tree-folder-name-disable{/if}">
|
||||
<input type="checkbox" name="checkBoxShopGroupAsso_{$table}[{$node['id']}]" value="{$node['id']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
<i class="icon-folder-close"></i>
|
||||
<label class="tree-toggler">{l s='Group: %s' sprintf=$node['name']}</label>
|
||||
</span>
|
||||
<ul class="tree">
|
||||
{$children}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -0,0 +1,36 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-folder">
|
||||
<span class="tree-folder-name{if isset($node['disabled']) && $node['disabled'] == true} tree-folder-name-disable{/if}">
|
||||
{if $node['id_category'] != $root_category}
|
||||
<input type="radio" name="{$input_name}" value="{$node['id_category']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
{/if}
|
||||
<i class="icon-folder-close"></i>
|
||||
<label class="tree-toggler">{$node['name']}</label>
|
||||
</span>
|
||||
<ul class="tree">
|
||||
{$children}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<li class="tree-item">
|
||||
<label class="tree-item-name">
|
||||
<i class="tree-dot"></i>
|
||||
{$node['name']}
|
||||
</label>
|
||||
</li>
|
||||
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-item{if isset($node['disabled']) && $node['disabled'] == true} tree-item-disable{/if}">
|
||||
<span class="tree-item-name{if isset($node['disabled']) && $node['disabled'] == true} tree-item-name-disable{/if}">
|
||||
<input type="checkbox" name="{$input_name}[]" value="{$node['id_category']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
<i class="tree-dot"></i>
|
||||
<label class="tree-toggler">{$node['name']}</label>
|
||||
</span>
|
||||
</li>
|
||||
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-item{if isset($node['disabled']) && $node['disabled'] == true} tree-item-disable{/if}">
|
||||
<label class="tree-item-name">
|
||||
<input type="checkbox" name="checkBoxShopAsso_{$table}[{$node['id_shop']}]" value="{$node['id_shop']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
<i class="tree-dot"></i>
|
||||
{$node['name']}
|
||||
</label>
|
||||
</li>
|
||||
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="tree-item{if isset($node['disabled']) && $node['disabled'] == true} tree-item-disable{/if}">
|
||||
<label class="tree-item-name">
|
||||
<input type="radio" name="{$input_name}" value="{$node['id_category']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
|
||||
<i class="tree-dot"></i>
|
||||
{$node['name']}
|
||||
</label>
|
||||
</li>
|
||||
@@ -0,0 +1,111 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="panel">
|
||||
{if isset($header)}{$header}{/if}
|
||||
{if isset($nodes)}
|
||||
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
|
||||
{$nodes}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function checkAllAssociatedShops($tree)
|
||||
{
|
||||
$tree.find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function uncheckAllAssociatedShops($tree)
|
||||
{
|
||||
$tree.find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", false);
|
||||
$(this).parent().removeClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#{$id|escape:'html':'UTF-8'}").tree("expandAll");
|
||||
$("#{$id|escape:'html':'UTF-8'}").find(":input[type=checkbox]").click(
|
||||
function()
|
||||
{
|
||||
if($(this).is(':checked'))
|
||||
{
|
||||
$(this).parent().addClass("tree-selected");
|
||||
$(this).parent().parent().find("ul").find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).parent().removeClass("tree-selected");
|
||||
$(this).parent().parent().find("ul").find(":input[type=checkbox]").each(
|
||||
function()
|
||||
{
|
||||
$(this).prop("checked", false);
|
||||
$(this).parent().removeClass("tree-selected");
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
{if isset($selected_shops)}
|
||||
{assign var=imploded_selected_shops value='","'|implode:$selected_shops}
|
||||
var selected_shops = new Array("{$imploded_selected_shops}");
|
||||
|
||||
$("#{$id|escape:'html':'UTF-8'}").find(".tree-item :input").each(
|
||||
function()
|
||||
{
|
||||
if ($.inArray($(this).val(), selected_shops) != -1)
|
||||
{
|
||||
$(this).prop("checked", true);
|
||||
$(this).parent().addClass("tree-selected");
|
||||
$(this).parents("ul.tree").each(
|
||||
function()
|
||||
{
|
||||
$(this).children().children().children(".icon-folder-close")
|
||||
.removeClass("icon-folder-close")
|
||||
.addClass("icon-folder-open");
|
||||
$(this).show();
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
{/if}
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,31 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="tree-actions pull-right">
|
||||
{if isset($actions)}
|
||||
{foreach from=$actions item=action}
|
||||
{$action->render()}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,28 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<a href="{$link}"{if isset($action)} onclick="{$action}"{/if}{if isset($id)} id="{$id|escape:'html':'UTF-8'}"{/if} class="btn btn-default">
|
||||
{if isset($icon_class)}<i class="{$icon_class}"></i>{/if}
|
||||
{l s=$label}
|
||||
</a>
|
||||
@@ -0,0 +1,56 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<!-- <label for="node-search">{l s=$label}</label> -->
|
||||
<div class="pull-right">
|
||||
<input type="text"
|
||||
{if isset($id)}id="{$id|escape:'html':'UTF-8'}"{/if}
|
||||
{if isset($name)}name="{$name|escape:'html':'UTF-8'}"{/if}
|
||||
class="search-field{if isset($class)} {$class|escape:'html':'UTF-8'}{/if}"
|
||||
placeholder="{l s='search...'}" />
|
||||
</div>
|
||||
|
||||
{if isset($typeahead_source) && isset($id)}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(
|
||||
function()
|
||||
{
|
||||
$("#{$id|escape:'html':'UTF-8'}").typeahead(
|
||||
{
|
||||
name: "{$name|escape:'html':'UTF-8'}",
|
||||
valueKey: 'name',
|
||||
local: [{$typeahead_source}]
|
||||
});
|
||||
|
||||
$("#{$id|escape:'html':'UTF-8'}").keypress(function( event ) {
|
||||
if ( event.which == 13 ) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
{/if}
|
||||
@@ -0,0 +1,210 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div class="form-group" style="display: none;">
|
||||
<div class="col-lg-12" id="{$id|escape:'html':'UTF-8'}-images-thumbnails">
|
||||
{if isset($files) && $files|count > 0}
|
||||
{foreach $files as $file}
|
||||
{if isset($file.image) && $file.type == 'image'}
|
||||
<div>
|
||||
{$file.image}
|
||||
{if isset($file.size)}<p>{l s='File size'} {$file.size}kb</p>{/if}
|
||||
{if isset($file.delete_url)}
|
||||
<p>
|
||||
<a class="btn btn-default" href="{$file.delete_url}">
|
||||
<i class="icon-trash"></i> {l s='Delete'}
|
||||
</a>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{if isset($max_files) && $files|count >= $max_files}
|
||||
<div class="row">
|
||||
<div class="alert alert-warning">{l s='You have reached the limit (%s) of files to upload, please remove files to continue uploading' sprintf=$max_files}</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
{if isset($files) && $files}
|
||||
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').parent().show();
|
||||
{/if}
|
||||
});
|
||||
</script>
|
||||
{else}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-12">
|
||||
<input id="{$id|escape:'html':'UTF-8'}" type="file" name="{$name|escape:'html':'UTF-8'}[]"{if isset($url)} data-url="{$url|escape:'html':'UTF-8'}"{/if}{if isset($multiple) && $multiple} multiple="multiple"{/if} style="width:0px;height:0px;" />
|
||||
<button class="btn btn-default" data-style="expand-right" data-size="s" type="button" id="{$id|escape:'html':'UTF-8'}-add-button">
|
||||
<i class="icon-folder-open"></i> {if isset($multiple) && $multiple}{l s='Add files...'}{else}{l s='Add file...'}{/if}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="well" style="display:none">
|
||||
<div id="{$id|escape:'html':'UTF-8'}-files-list"></div>
|
||||
<button class="ladda-button btn btn-primary" data-style="expand-right" type="button" id="{$id|escape:'html':'UTF-8'}-upload-button" style="display:none;">
|
||||
<span class="ladda-label"><i class="icon-check"></i> {if isset($multiple) && $multiple}{l s='Upload files'}{else}{l s='Upload file'}{/if}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="row" style="display:none">
|
||||
<div class="alert alert-success" id="{$id|escape:'html':'UTF-8'}-success"></div>
|
||||
</div>
|
||||
<div class="row" style="display:none">
|
||||
<div class="alert alert-danger" id="{$id|escape:'html':'UTF-8'}-errors"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function humanizeSize(bytes)
|
||||
{
|
||||
if (typeof bytes !== 'number') {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (bytes >= 1000000000) {
|
||||
return (bytes / 1000000000).toFixed(2) + ' GB';
|
||||
}
|
||||
|
||||
if (bytes >= 1000000) {
|
||||
return (bytes / 1000000).toFixed(2) + ' MB';
|
||||
}
|
||||
|
||||
return (bytes / 1000).toFixed(2) + ' KB';
|
||||
}
|
||||
|
||||
$( document ).ready(function() {
|
||||
{if isset($multiple) && isset($max_files)}
|
||||
var {$id|escape:'html':'UTF-8'}_max_files = {$max_files - $files|count};
|
||||
{/if}
|
||||
|
||||
{if isset($files) && $files}
|
||||
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').parent().show();
|
||||
{/if}
|
||||
|
||||
var {$id|escape:'html':'UTF-8'}_upload_button = Ladda.create( document.querySelector('#{$id|escape:'html':'UTF-8'}-upload-button' ));
|
||||
var {$id|escape:'html':'UTF-8'}_total_files = 0;
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}').fileupload({
|
||||
dataType: 'json',
|
||||
async: false,
|
||||
autoUpload: false,
|
||||
singleFileUploads: true,
|
||||
{if isset($post_max_size)}maxFileSize: {$post_max_size},{/if}
|
||||
{if isset($drop_zone)}dropZone: {$drop_zone},{/if}
|
||||
start: function (e) {
|
||||
{$id|escape:'html':'UTF-8'}_upload_button.start();
|
||||
$('#{$id|escape:'html':'UTF-8'}-upload-button').unbind('click'); //Important as we bind it for every elements in add function
|
||||
},
|
||||
fail: function (e, data) {
|
||||
$('#{$id|escape:'html':'UTF-8'}-errors').html(data.errorThrown.message).parent().show();
|
||||
},
|
||||
done: function (e, data) {
|
||||
if (data.result) {
|
||||
if (typeof data.result.{$name|escape:'html':'UTF-8'} !== 'undefined') {
|
||||
for (var i=0; i<data.result.{$name|escape:'html':'UTF-8'}.length; i++) {
|
||||
if (data.result.{$name|escape:'html':'UTF-8'}[i] !== null) {
|
||||
if (typeof data.result.{$name|escape:'html':'UTF-8'}[i].error !== 'undefined' && data.result.{$name|escape:'html':'UTF-8'}[i].error != '') {
|
||||
$('#{$id|escape:'html':'UTF-8'}-errors').html('<strong>'+data.result.{$name|escape:'html':'UTF-8'}[i].name+'</strong> : '+data.result.{$name|escape:'html':'UTF-8'}[i].error).parent().show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$(data.context).appendTo($('#{$id|escape:'html':'UTF-8'}-success'));
|
||||
$('#{$id|escape:'html':'UTF-8'}-success').parent().show();
|
||||
|
||||
if (data.result.{$name}[i] !== null && data.result.{$name}[i].status == 'ok')
|
||||
{
|
||||
var response = data.result.{$name}[i];
|
||||
|
||||
imageLine(response.id, response.name, response.position);
|
||||
$("#img" + response.id).remove();
|
||||
$("#imageTable").tableDnDUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$(data.context).find('button').remove();
|
||||
}
|
||||
},
|
||||
}).on('fileuploadalways', function (e, data) {
|
||||
{$id|escape:'html':'UTF-8'}_total_files--;
|
||||
|
||||
if ({$id|escape:'html':'UTF-8'}_total_files == 0)
|
||||
{
|
||||
{$id|escape:'html':'UTF-8'}_upload_button.stop();
|
||||
$('#{$id|escape:'html':'UTF-8'}-upload-button').unbind('click');
|
||||
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().hide();
|
||||
}
|
||||
}).on('fileuploadadd', function(e, data) {
|
||||
if (typeof {$id|escape:'html':'UTF-8'}_max_files !== 'undefined') {
|
||||
if ({$id|escape:'html':'UTF-8'}_total_files >= {$id|escape:'html':'UTF-8'}_max_files) {
|
||||
e.preventDefault();
|
||||
alert('{l s='You can upload a maximum of %s files'|sprintf:$max_files}');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
data.context = $('<div/>').addClass('form-group').appendTo($('#{$id|escape:'html':'UTF-8'}-files-list'));
|
||||
var file_name = $('<span/>').append('<strong>'+data.files[0].name+'</strong> ('+humanizeSize(data.files[0].size)+')').appendTo(data.context);
|
||||
|
||||
var button = $('<button/>').addClass('btn btn-default pull-right').prop('type', 'button').html('<i class="icon-trash"></i> {l s='Remove file'}').appendTo(data.context).on('click', function() {
|
||||
{$id|escape:'html':'UTF-8'}_total_files--;
|
||||
data.files = null;
|
||||
|
||||
var total_elements = $(this).parent().siblings('div.row').length;
|
||||
$(this).parent().remove();
|
||||
|
||||
if (total_elements == 0) {
|
||||
$('#{$id|escape:'html':'UTF-8'}-files-list').html('').parent().hide();
|
||||
}
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().show();
|
||||
$('#{$id|escape:'html':'UTF-8'}-upload-button').show().bind('click', function () {
|
||||
if (data.files != null)
|
||||
data.submit();
|
||||
});
|
||||
|
||||
{$id|escape:'html':'UTF-8'}_total_files++;
|
||||
}).on('fileuploadprocessalways', function (e, data) {
|
||||
var index = data.index, file = data.files[index];
|
||||
|
||||
if (file.error) {
|
||||
$('#{$id|escape:'html':'UTF-8'}-errors').append('<div class="form-group"><strong>'+file.name+'</strong> ('+humanizeSize(file.size)+') : '+file.error+'</div>').parent().show();
|
||||
$(data.context).find('button').trigger('click');
|
||||
}
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-add-button').on('click', function() {
|
||||
$('#{$id|escape:'html':'UTF-8'}-success').html('').parent().hide();
|
||||
$('#{$id|escape:'html':'UTF-8'}-errors').html('').parent().hide();
|
||||
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().hide();
|
||||
{$id|escape:'html':'UTF-8'}_total_files = 0;
|
||||
$('#{$id|escape:'html':'UTF-8'}').trigger('click');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,140 @@
|
||||
{*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if isset($files) && $files|count > 0}
|
||||
{assign var='show_thumbnail' value=false}
|
||||
{foreach $files as $file}
|
||||
{if isset($file.image) && $file.type == 'image'}
|
||||
{assign var='show_thumbnail' value=true}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $show_thumbnail}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-12" id="{$id|escape:'html':'UTF-8'}-images-thumbnails">
|
||||
{foreach $files as $file}
|
||||
{if isset($file.image) && $file.type == 'image'}
|
||||
<div>
|
||||
{$file.image}
|
||||
{if isset($file.size)}<p>{l s='File size'} {$file.size}kb</p>{/if}
|
||||
{if isset($file.delete_url)}
|
||||
<p>
|
||||
<a class="btn btn-default" href="{$file.delete_url}">
|
||||
<i class="icon-trash"></i> {l s='Delete'}
|
||||
</a>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{if isset($max_files) && $files|count >= $max_files}
|
||||
<div class="row">
|
||||
<div class="alert alert-warning">{l s='You have reached the limit (%s) of files to upload, please remove files to continue uploading' sprintf=$max_files}</div>
|
||||
</div>
|
||||
{else}
|
||||
<div class="form-group">
|
||||
<div class="col-sm-6">
|
||||
<input id="{$id|escape:'html':'UTF-8'}" type="file" name="{$name|escape:'html':'UTF-8'}"{if isset($multiple) && $multiple} multiple="multiple"{/if} class="hide" />
|
||||
<div class="dummyfile input-group">
|
||||
<span class="input-group-addon"><i class="icon-file"></i></span>
|
||||
<input id="{$id|escape:'html':'UTF-8'}-name" type="text" name="filename" readonly />
|
||||
<span class="input-group-btn">
|
||||
<button id="{$id|escape:'html':'UTF-8'}-selectbutton" type="button" name="submitAddAttachments" class="btn btn-default">
|
||||
<i class="icon-folder-open"></i> {if isset($multiple) && $multiple}{l s='Add files'}{else}{l s='Add file'}{/if}
|
||||
</button>
|
||||
{if (!isset($multiple) || !$multiple) && isset($files) && $files|count == 1 && isset($files[0].download_url)}
|
||||
<a href="{$files[0].download_url|escape:'html':'UTF-8'}" class="btn btn-default">
|
||||
<i class="icon-cloud-download"></i>
|
||||
{if isset($size)}{l s='Download current file (%skb)' sprintf=$size}{else}{l s='Download current file'}{/if}
|
||||
</a>
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
{if isset($multiple) && isset($max_files)}
|
||||
var {$id|escape:'html':'UTF-8'}_max_files = {$max_files - $files|count};
|
||||
{/if}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#{$id|escape:'html':'UTF-8'}-selectbutton').click(function(e) {
|
||||
$('#{$id|escape:'html':'UTF-8'}').trigger('click');
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').click(function(e) {
|
||||
$('#{$id|escape:'html':'UTF-8'}').trigger('click');
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').on('dragenter', function(e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').on('dragover', function(e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').on('drop', function(e) {
|
||||
e.preventDefault();
|
||||
var files = e.originalEvent.dataTransfer.files;
|
||||
$('#{$id|escape:'html':'UTF-8'}')[0].files = files;
|
||||
$(this).val(files[0].name);
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}').change(function(e) {
|
||||
if ($(this)[0].files !== undefined)
|
||||
{
|
||||
var files = $(this)[0].files;
|
||||
var name = '';
|
||||
|
||||
$.each(files, function(index, value) {
|
||||
name += value.name+', ';
|
||||
});
|
||||
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').val(name.slice(0, -2));
|
||||
}
|
||||
else // Internet Explorer 9 Compatibility
|
||||
{
|
||||
var name = $(this).val().split(/[\\/]/);
|
||||
$('#{$id|escape:'html':'UTF-8'}-name').val(name[name.length-1]);
|
||||
}
|
||||
});
|
||||
|
||||
if (typeof {$id|escape:'html':'UTF-8'}_max_files !== 'undefined')
|
||||
{
|
||||
$('#{$id|escape:'html':'UTF-8'}').closest('form').on('submit', function(e) {
|
||||
if ($('#{$id|escape:'html':'UTF-8'}')[0].files.length > {$id|escape:'html':'UTF-8'}_max_files) {
|
||||
e.preventDefault();
|
||||
alert('{l s='You can upload a maximum of %s files'|sprintf:$max_files}');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
35
modules/ph_simpleblog/views/templates/admin/index.php
Normal file
35
modules/ph_simpleblog/views/templates/admin/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -0,0 +1,33 @@
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
{block name="script"}
|
||||
$(document).ready(function() {
|
||||
$('.iframe-upload').fancybox({
|
||||
'width' : 900,
|
||||
'height' : 600,
|
||||
'type' : 'iframe',
|
||||
'autoScale' : false,
|
||||
'autoDimensions': false,
|
||||
'fitToView' : false,
|
||||
'autoSize' : false,
|
||||
onUpdate : function() {
|
||||
$('.fancybox-iframe').contents().find('a.link').data('field_id', $(this.element).data("input-name"));
|
||||
$('.fancybox-iframe').contents().find('a.link').attr('data-field_id', $(this.element).data("input-name"));
|
||||
},
|
||||
afterShow: function() {
|
||||
$('.fancybox-iframe').contents().find('a.link').data('field_id', $(this.element).data("input-name"));
|
||||
$('.fancybox-iframe').contents().find('a.link').attr('data-field_id', $(this.element).data("input-name"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
{/block}
|
||||
{block name="input"}
|
||||
{if $input.type == 'select_image'}
|
||||
<input name="{$input.name|escape:'html':'UTF-8'}" id="{$input.name|escape:'html':'UTF-8'}" value="{$fields_value[$input.name]|escape:'html':'UTF-8'}" type="text" />
|
||||
<p>
|
||||
<a href="filemanager/dialog.php?type=1&field_id={$input.name|escape:'html':'UTF-8'}" class="btn btn-default iframe-upload" data-input-name="{$input.name|escape:'html':'UTF-8'}" type="button">{l s='Image selector' mod='ph_simpleblog'} <i class="icon-angle-right"></i></a>
|
||||
</p>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,74 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
{block name="input"}
|
||||
{if $input.name == "link_rewrite"}
|
||||
<script type="text/javascript">
|
||||
{if isset($PS_ALLOW_ACCENTED_CHARS_URL) && $PS_ALLOW_ACCENTED_CHARS_URL}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 1;
|
||||
{else}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 0;
|
||||
{/if}
|
||||
|
||||
{if isset($PS_FORCE_FRIENDLY_PRODUCT) && $PS_FORCE_FRIENDLY_PRODUCT}
|
||||
var ps_force_friendly_product = 1;
|
||||
{else}
|
||||
var ps_force_friendly_product = 0;
|
||||
{/if}
|
||||
</script>
|
||||
{$smarty.block.parent}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="input"}
|
||||
{if $input.type == 'select_category'}
|
||||
<select name="id_parent">
|
||||
{$input.options.html}
|
||||
</select>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="input"}
|
||||
{if $input.type == 'file' && $input.name == 'cover'}
|
||||
{if isset($input.display_image) && $input.display_image}
|
||||
{if isset($fields_value.cover) && $fields_value.cover}
|
||||
<div id="image">
|
||||
{$fields_value.cover}
|
||||
<p align="center">{l s='File size'} {$fields_value.cover_size}kb</p>
|
||||
<a class="btn btn-default" href="{$current}&{$identifier}={$form_id}&token={$token}&deleteCover=1">
|
||||
<i class="icon-trash"></i> {l s='Delete'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="file" name="{$input.name}" {if isset($input.id)}id="{$input.id}"{/if} />
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helpers/list/list_footer.tpl"}
|
||||
{block name="after"}
|
||||
{if Configuration::get('PH_BLOG_ADVERTISING')}
|
||||
<iframe style="overflow:hidden;border:1px solid #f0f0f0;border-radius:10px;width:100%;height:175px;" src="https://api.prestahome.com/check_offer.php?from=ph_simpleblog" border="0"></iframe>
|
||||
<small>{l s='You can disable this panel in the Settings' mod='ph_simpleblog'}</small>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,50 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
{block name="input"}
|
||||
{if $input.name == "link_rewrite"}
|
||||
<script type="text/javascript">
|
||||
{if isset($PS_ALLOW_ACCENTED_CHARS_URL) && $PS_ALLOW_ACCENTED_CHARS_URL}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 1;
|
||||
{else}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 0;
|
||||
{/if}
|
||||
</script>
|
||||
{$smarty.block.parent}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="input"}
|
||||
{if $input.type == 'select_category'}
|
||||
<select name="id_simpleblog_category">
|
||||
{$input.options.html}
|
||||
</select>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,132 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
{block name="input"}
|
||||
{if $input.name == "tags"}
|
||||
{if $languages|count > 1}
|
||||
<div class="row">
|
||||
{/if}
|
||||
{foreach from=$languages item=language}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$().ready(function () {
|
||||
var input_id = '{/literal}tags_{$language.id_lang}{literal}';
|
||||
$('#'+input_id).tagify({delimiters: [13,44], addTagPrompt: '{/literal}{l s='Add tag' js=1}{literal}'});
|
||||
$({/literal}'#{$table}{literal}_form').submit( function() {
|
||||
$(this).find('#'+input_id).val($('#'+input_id).tagify('serialize'));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{if $languages|count > 1}
|
||||
<div class="translatable-field lang-{$language.id_lang}">
|
||||
<div class="col-lg-9">
|
||||
{/if}
|
||||
<input type="text" id="tags_{$language.id_lang}" class="tagify updateCurrentText" name="tags_{$language.id_lang}"
|
||||
value="{$simpleblogpost->getTags($language.id_lang)}" />
|
||||
{if $languages|count > 1}
|
||||
</div>
|
||||
<div class="col-lg-2">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
{$language.iso_code}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
{foreach from=$languages item=language}
|
||||
<li>
|
||||
<a href="javascript:hideOtherLanguage({$language.id_lang|intval});">{$language.name}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $languages|count > 1}
|
||||
</div>
|
||||
{/if}
|
||||
{elseif $input.name == "post_images"}
|
||||
{include file="./post_images.tpl"}
|
||||
{elseif $input.type == 'file' && $input.name == 'featured'}
|
||||
{if isset($input.display_image) && $input.display_image}
|
||||
{if isset($fields_value.featured) && $fields_value.featured}
|
||||
<div id="image">
|
||||
{$fields_value.featured}
|
||||
<p align="center">{l s='File size'} {$fields_value.featured_size}kb</p>
|
||||
<a class="btn btn-default" href="{$current}&{$identifier}={$form_id}&token={$token}&deleteFeatured=1">
|
||||
<i class="icon-trash"></i> {l s='Delete' mod='ph_simpleblog'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="file" name="{$input.name}" {if isset($input.id)}id="{$input.id}"{/if} />
|
||||
{elseif $input.type == 'file' && $input.name == 'cover'}
|
||||
{if isset($input.display_image) && $input.display_image}
|
||||
{if isset($fields_value.cover) && $fields_value.cover}
|
||||
<div id="image">
|
||||
{$fields_value.cover}
|
||||
<p align="center">{l s='File size'} {$fields_value.cover_size}kb</p>
|
||||
<a class="btn btn-default" href="{$current}&{$identifier}={$form_id}&token={$token}&deleteCover=1">
|
||||
<i class="icon-trash"></i> {l s='Delete' mod='ph_simpleblog'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<input type="file" name="{$input.name}" {if isset($input.id)}id="{$input.id}"{/if} />
|
||||
{elseif $input.type == 'select_category'}
|
||||
<select name="id_parent">
|
||||
{$input.options.html}
|
||||
</select>
|
||||
{elseif $input.name == "link_rewrite"}
|
||||
<script type="text/javascript">
|
||||
{if isset($PS_ALLOW_ACCENTED_CHARS_URL) && $PS_ALLOW_ACCENTED_CHARS_URL}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 1;
|
||||
{else}
|
||||
var PS_ALLOW_ACCENTED_CHARS_URL = 0;
|
||||
{/if}
|
||||
</script>
|
||||
{$smarty.block.parent}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name="script"}
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
hideOtherLanguage({$defaultFormLanguage});
|
||||
$(".copyNiceUrl").live('keyup change',function(e){
|
||||
if(!isArrowKey(e))
|
||||
return copyNiceUrl();
|
||||
});
|
||||
});
|
||||
function copyNiceUrl()
|
||||
{
|
||||
$('#link_rewrite_' + id_language).val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,153 @@
|
||||
{$image_uploader}
|
||||
|
||||
<table class="table tableDnD" id="imageTable">
|
||||
<thead>
|
||||
<tr class="nodrag nodrop">
|
||||
<th class="fixed-width-lg"><span class="title_box">{l s='Image' mod='ph_simpleblog'}</span></th>
|
||||
<th class="fixed-width-xs"><span class="title_box">{l s='Position' mod='ph_simpleblog'}</span></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="imageList"></tbody>
|
||||
</table>
|
||||
|
||||
<table id="lineType" style="display:none;">
|
||||
<tr id="image_id">
|
||||
<td>
|
||||
<a href="{$module_dir}ph_simpleblog/galleries/image_filename.jpg" class="fancybox">
|
||||
<img src="{$module_dir}ph_simpleblog/galleries/image_filename-thumb.jpg" alt="" title="" class="img-thumbnail" />
|
||||
</a>
|
||||
</td>
|
||||
<td id="td_image_id" class="pointer dragHandle center positionImage">
|
||||
image_position
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="delete_post_image pull-right btn btn-default">
|
||||
<i class="icon-trash"></i> {l s='Delete this image' mod='ph_simpleblog'}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
var upbutton = '{l s='Upload an image' mod='ph_simpleblog' js=1}';
|
||||
var come_from = '{$table}';
|
||||
var success_add = '{l s='The image has been successfully added.' mod='ph_simpleblog' js=1}';
|
||||
var id_tmp = 0;
|
||||
|
||||
var ThickboxI18nImage = "{l s='Image' mod='ph_simpleblog' js=1}";
|
||||
var ThickboxI18nOf = "{l s='of' mod='ph_simpleblog' js=1}";
|
||||
var ThickboxI18nClose = "{l s='Close' mod='ph_simpleblog' js=1}";
|
||||
var ThickboxI18nOrEscKey = "{l s='(or "Esc")' mod='ph_simpleblog' js=1}";
|
||||
var ThickboxI18nNext = "{l s='Next >' mod='ph_simpleblog' js=1}";
|
||||
var ThickboxI18nPrev = "{l s='< Previous' mod='ph_simpleblog' js=1}";
|
||||
var tb_pathToImage = "../img/loadingAnimation.gif";
|
||||
|
||||
{literal}
|
||||
|
||||
function imageLine(id, filename, position)
|
||||
{
|
||||
line = $("#lineType").html();
|
||||
line = line.replace(/image_id/g, id);
|
||||
line = line.replace(/image_filename/g, filename);
|
||||
line = line.replace(/image_position/g, position);
|
||||
line = line.replace(/<tbody>/gi, "");
|
||||
line = line.replace(/<\/tbody>/gi, "");
|
||||
|
||||
$("#imageList").append(line);
|
||||
}
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
{/literal}
|
||||
{foreach from=$images item=image}
|
||||
imageLine({$image->id}, '{$image->image}', {$image->position});
|
||||
{/foreach}
|
||||
{literal}
|
||||
|
||||
var originalOrder = false;
|
||||
|
||||
$("#imageTable").tableDnD(
|
||||
{ onDragStart: function(table, row) {
|
||||
originalOrder = $.tableDnD.serialize();
|
||||
},
|
||||
onDrop: function(table, row) {
|
||||
if (originalOrder != $.tableDnD.serialize()) {
|
||||
current = $(row).attr("id");
|
||||
stop = false;
|
||||
image_up = "{";
|
||||
$("#imageList").find("tr").each(function(i) {
|
||||
$("#td_" + $(this).attr("id")).html(i + 1);
|
||||
if (!stop || (i + 1) == 2)
|
||||
image_up += '"' + $(this).attr("id") + '" : ' + (i + 1) + ',';
|
||||
});
|
||||
image_up = image_up.slice(0, -1);
|
||||
image_up += "}";
|
||||
updateImagePosition(image_up);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function afterDeletePostImage(data)
|
||||
{
|
||||
data = $.parseJSON(data);
|
||||
if (data)
|
||||
{
|
||||
id = data.id;
|
||||
if (data.status == 'ok'){
|
||||
$("#" + id).remove();
|
||||
}
|
||||
refreshImagePositions($("#imageTable"));
|
||||
showSuccessMessage(data.confirmations);
|
||||
}
|
||||
}
|
||||
|
||||
function refreshImagePositions(imageTable)
|
||||
{
|
||||
var reg = /_[0-9]$/g;
|
||||
var up_reg = new RegExp("imgPosition=[0-9]+&");
|
||||
|
||||
imageTable.find("tbody tr").each(function(i,el) {
|
||||
$(el).find("td.positionImage").html(i + 1);
|
||||
});
|
||||
imageTable.find("tr td.dragHandle a:hidden").show();
|
||||
imageTable.find("tr td.dragHandle:first a:first").hide();
|
||||
imageTable.find("tr td.dragHandle:last a:last").hide();
|
||||
}
|
||||
|
||||
|
||||
$('.delete_post_image').die().live('click', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
id = $(this).parent().parent().attr('id');
|
||||
if (confirm("{/literal}{l s='Are you sure?' mod='ph_simpleblog' js=1}{literal}"))
|
||||
doAdminAjax({
|
||||
"action":"deletePostImage",
|
||||
"id_simpleblog_post_image" : id,
|
||||
"token" : "{/literal}{$token}{literal}",
|
||||
"tab" : "AdminSimpleBlogPosts",
|
||||
"ajax" : 1 }, afterDeletePostImage
|
||||
);
|
||||
});
|
||||
|
||||
function updateImagePosition(json)
|
||||
{
|
||||
doAdminAjax({
|
||||
"action":"updateImagePosition",
|
||||
"json":json,
|
||||
"token" : "{/literal}{$token}{literal}",
|
||||
"tab" : "AdminSimpleBlogPosts",
|
||||
"ajax" : 1
|
||||
});
|
||||
}
|
||||
|
||||
function delQueue(id)
|
||||
{
|
||||
$("#img" + id).fadeOut("slow");
|
||||
$("#img" + id).remove();
|
||||
}
|
||||
|
||||
$('.fancybox').fancybox();
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helpers/list/list_footer.tpl"}
|
||||
{block name="after"}
|
||||
{if Configuration::get('PH_BLOG_ADVERTISING')}
|
||||
<iframe style="overflow:hidden;border:1px solid #f0f0f0;border-radius:10px;width:100%;height:175px;" src="https://api.prestahome.com/check_offer.php?from=ph_simpleblog" border="0"></iframe>
|
||||
<small>{l s='You can disable this panel in the Settings' mod='ph_simpleblog'}</small>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,86 @@
|
||||
{*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
|
||||
{block name="other_input"}
|
||||
{if $key eq 'selects'}
|
||||
<div class="margin-form">
|
||||
<h3>{l s='Posts:' mod='ph_simpleblog'}</h3>
|
||||
<table class="double_select">
|
||||
<tr>
|
||||
<td style="padding-left:20px;">
|
||||
<select multiple id="select_left">
|
||||
{foreach from=$field.posts_unselected item='post'}
|
||||
<option value="{$post.id_simpleblog_post|intval}">{$post.title|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<span class="hint" name="help_box">{l s='Double click to move the item to another column'}<span class="hint-pointer"> </span></span>
|
||||
<br /><br />
|
||||
<a href="#" id="move_to_right" class="multiple_select_add">
|
||||
{l s='Add'} >>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<select multiple id="select_right" name="posts[]">
|
||||
{foreach from=$field.posts item='post'}
|
||||
<option selected="selected" value="{$post.id_simpleblog_post|intval}">{$post.title|escape:'html':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<span class="hint" name="help_box">{l s='Double click to move the item to another column'}<span class="hint-pointer"> </span></span>
|
||||
<br /><br />
|
||||
<a href="#" id="move_to_left" class="multiple_select_remove">
|
||||
<< {l s='Remove'}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('#move_to_right').click(function(){
|
||||
return !$('#select_left option:selected').remove().appendTo('#select_right');
|
||||
})
|
||||
$('#move_to_left').click(function(){
|
||||
return !$('#select_right option:selected').remove().appendTo('#select_left');
|
||||
});
|
||||
$('#select_left option').live('dblclick', function(){
|
||||
$(this).remove().appendTo('#select_right');
|
||||
});
|
||||
$('#select_right option').live('dblclick', function(){
|
||||
$(this).remove().appendTo('#select_left');
|
||||
});
|
||||
});
|
||||
$('#tag_form').submit(function()
|
||||
{
|
||||
$('#select_right option').each(function(i){
|
||||
$(this).attr("selected", "selected");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../../../../../../../../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
103
modules/ph_simpleblog/views/templates/admin/welcome.tpl
Normal file
103
modules/ph_simpleblog/views/templates/admin/welcome.tpl
Normal file
@@ -0,0 +1,103 @@
|
||||
{if $phpWarning eq true}
|
||||
<div class="alert alert-warning">
|
||||
{l s='Important! Starting April 2017, Blog for PrestaShop will support only PHP in version 5.6 or higher, ask your hosting provider to update PHP version on your server.' mod='ph_simpleblog'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
{l s='Blog for PrestaShop' mod='ph_simpleblog'}
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{l s='THANK YOU for choosing my module.' mod='ph_simpleblog'}
|
||||
<br>
|
||||
{l s='You can start fun with Blog for PrestaShop by going to Blog for PrestaShop -> Posts' mod='ph_simpleblog'}
|
||||
</p>
|
||||
<p>
|
||||
<b>{l s='What is next?' mod='ph_simpleblog'}</b>
|
||||
<ol>
|
||||
<li>{l s='First of all make sure to subscribe to our newsletter :-) We promise to keep everything PrestaShop related and provide you with a lot of quality content.' mod='ph_simpleblog'}</li>
|
||||
<li>{l s='Secondly, after installing main module - ph_simpleblog - make sure to install Recent Posts widget, it is a module to display Posts on your store homepage.' mod='ph_simpleblog'}</li>
|
||||
<li>{l s='And, finally, make sure to read Articles available on http://prestahome.ticksy.com, there\'s a lot of tutorials and tips of how to use Blog for PrestaShop.' mod='ph_simpleblog'}</li>
|
||||
</ol>
|
||||
</p>
|
||||
<p>
|
||||
{l s='Remember that if you have any issues or questions related to my module you can contact me on support system at http://prestahome.ticksy.com' mod='ph_simpleblog'}
|
||||
<br>
|
||||
{l s='Best regards, Krystian from PrestaHome' mod='ph_simpleblog'}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
{l s='PrestaHome Newsletter - Stay updated!' mod='ph_simpleblog'}
|
||||
</div>
|
||||
<form action="//prestahome.us9.list-manage.com/subscribe/post?u=141a9ffd729586fe723fb1eaf&id=711790c865" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate defaultForm form-horizontal" target="_blank" novalidate>
|
||||
<div class="form-wrapper">
|
||||
<p class="text-center">
|
||||
<img src="{$module_path}logo-big.png" alt="{l s='PrestaHome Newsletter' mod='ph_simpleblog'}" style="max-width: 150px;" />
|
||||
</p>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-lg-push-4 alert alert-info">
|
||||
{l s='If you\'re interested in our work, and you want to receive information about PrestaHome new products, updates or new articles on our blog, you can add your e-mail to PrestaHome Newsletter list!' mod='ph_simpleblog'}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-5">
|
||||
{l s='Your e-mail address:' mod='ph_simpleblog'}
|
||||
</label>
|
||||
<div class="col-lg-6 ">
|
||||
<div class="input-group" style="width: 40%;">
|
||||
<input type="text" name="EMAIL">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-5">
|
||||
{l s='Your First Name:' mod='ph_simpleblog'}
|
||||
</label>
|
||||
<div class="col-lg-6 ">
|
||||
<div class="input-group" style="width: 40%;">
|
||||
<input type="text" name="FNAME" placeholder="{l s='optional' mod='ph_simpleblog'}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-5">
|
||||
{l s='Your Last Name:' mod='ph_simpleblog'}
|
||||
</label>
|
||||
<div class="col-lg-6">
|
||||
<div class="input-group" style="width: 40%;">
|
||||
<input type="text" name="LNAME" placeholder="{l s='optional' mod='ph_simpleblog'}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-5">
|
||||
{l s='Your website URL:' mod='ph_simpleblog'}
|
||||
</label>
|
||||
<div class="col-lg-6 ">
|
||||
<div class="input-group" style="width: 40%;">
|
||||
<input type="text" name="MMERGE3" placeholder="{l s='optional' mod='ph_simpleblog'}" value="{$shopUrl}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="position: absolute; left: -5000px;"><input type="text" name="b_141a9ffd729586fe723fb1eaf_711790c865" tabindex="-1" value=""></div>
|
||||
<div class="panel-footer">
|
||||
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default pull-right">
|
||||
<i class="process-icon-save"></i>
|
||||
{l s='Subscribe' mod='ph_simpleblog'}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{if Configuration::get('PH_BLOG_ADVERTISING')}
|
||||
<iframe style="overflow:hidden;border:1px solid #f0f0f0;border-radius:10px;width:100%;height:175px;" src="https://api.prestahome.com/check_offer.php?from=ph_simpleblog" border="0"></iframe>
|
||||
<small>{l s='You can disable this panel in the Settings' mod='ph_simpleblog'}</small>
|
||||
{/if}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user