Commit 7f0b7abf authored by c1ph4's avatar c1ph4

update 10/15/18 for AETHYX MEDIAE opensource repository

parent 0472cd03
......@@ -2,3 +2,15 @@ opensource
==========
Open Source Projects by AETHYX MEDIAE
## Donations
Setting up and creating this repository was a hell of work and consumed a lot of time, so donations are warmly welcome.
Please use the following addresses to send us donations:
BTC: 1Df8eapdFuxPxteZLfXnwvyVuo574psxKM
ETH: 0x0D2Ab63dfe70a7fA12f9d66eCfEA9dDc8F5173A8
XEM: NBZPMU-XES6ST-ITEBR3-IHAPTR-APGI3Y-RAAMHV-VZFJ
# WordPress plugins
![Alt text](https://s.w.org/style/images/about/WordPress-logotype-wmark.png =350x350 "Official WordPress logo")
---
## Motivation
At the end of 2018 all of our WordPress blogs had to be migrated from PHP 5.x to PHP 7.x as PHP is nearing EOL at the end of 2018.
Using PHP 5.x from 2019 on will be a serious security vulnerability.
Thus, we had to make sure our themes and plugins are up to date and working with PHP 7.x.
---
## Introduction
In this directory we want to share all of those plugins we use in our projects which we migrated successfully to PHP 7.1.
We didn't create these plugins on our own.
But we migrated and optimised the code so it would run and throw no errors with the PHP 7.1 version we curently use.
Plus, we are probably the only ones who still update and maintain these plugins. :-/
We can only guarantee these will work with PHP 7.1 but it could be these will also be functional with PHP 7.2, and so on.
Use at your own risk!
Sharing is caring!
---
## Plugin overview
* Filosofo Old-Style Upload - a separate WordPress menu entry to upload your images the "old school WordPress" way when there was no complicated "media gallery feature"
Official description: Filosofo Old-Style Upload restores for WordPress 2.0+ the Upload feature found in earlier versions.
* Link Indication - a plugin which marks your outgoing links and indicates whether it's a hyperlink, PDF, Wikipedia page, etc.
Official description: Adds CSS class attributes to external links and optionally specific attributes to any other link types such as wikipedia.org, flickr, imdb, file extensions like .pdf or .zip, etc. Thereby you can indicate your links, e.g. by images, for characterizing your types of links. Furthermore you can add target="blank" to all external links, rel="nofollow" to specific hyperlinks or display websnapr preview thumbnails. Navigate to Settings → Link Indication.
* Spreadshop - Official description: Insert your personal SpreadShirt's shop (spreadshop) wrapped into Wordpress without any popup or iframe.
---
## Installation
Download the plugins/plugin folders and upload them to your /wp-content/plugins directory.
Activate them from your WordPress menu entry "Plugins".
---
## Contributing
* have a look at the open [issues](https://github.com/aethyx/opensource/issues "issues") and [pull requests](https://github.com/aethyx/opensource/issues "pull requests")
* feel free to report bugs (feedback is much appreciated)
* suggest new features and improvements to both code and [documentation](https://github.com/aethyx/opensource/wiki "documentation")
* propose solutions to existing problems
* submit pull requests :-)
---
## License
Check header of the plugins.
Otherwise licensed under [GPL V2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) and/or [Creative Commons BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
---
## Donations
Setting up and creating this repository was a hell of work and consumed a lot of time, so donations are warmly welcome.
Please use the following addresses to send us donations:
BTC: 1Df8eapdFuxPxteZLfXnwvyVuo574psxKM
ETH: 0x0D2Ab63dfe70a7fA12f9d66eCfEA9dDc8F5173A8
XEM: NBZPMU-XES6ST-ITEBR3-IHAPTR-APGI3Y-RAAMHV-VZFJ
This diff is collapsed.
This diff is collapsed.
/*
WebSnapr - Preview Bubble Javascript
Written by Juan Xavier Larrea
http://www.websnapr.com - [email protected]
---------------------------------------------
Source: http://www.websnapr.com/previewbubble/
*/
// Point this variable to the correct location of the bg.png file
// We don't need for our WP plugin...
//var bubbleImagePath = '/images/bg.png';
// DO NOT EDIT BENEATH THIS
if(typeof Array.prototype.push!="function"){
Array.prototype.push=ArrayPush;
function ArrayPush(_1){
this[this.length]=_1;
}
}
function WSR_getElementsByClassName(_2,_3,_4){
var _5=(_3=="*"&&_2.all)?_2.all:_2.getElementsByTagName(_3);
var _6=new Array();
_4=_4.replace(/\-/g,"\\-");
var _7=new RegExp("(^|\\s)"+_4+"(\\s|$)");
var _8;
for(var i=0;i<_5.length;i++){
_8=_5[i];
if(_7.test(_8.className)){
_6.push(_8);
}
}
return (_6);
}
function bindBubbles(e){
lbActions=WSR_getElementsByClassName(document,"a","previewlink");
for(i=0;i<lbActions.length;i++){
if(window.addEventListener){
lbActions[i].addEventListener("mouseover",attachBubble,false);
lbActions[i].addEventListener("mouseout",detachBubble,false);
}else{
lbActions[i].attachEvent("onmouseover",attachBubble);
lbActions[i].attachEvent("onmouseout",detachBubble);
}
}
}
function attachBubble(_b){
var _c;
if(_b["srcElement"]){
_c=_b["srcElement"];
}else{
_c=_b["target"];
}
var _d=_c.href;
var _e=findPos(_c)[0]+5;
var _f=findPos(_c)[1]+17;
var _10=document.createElement("div");
document.getElementsByTagName("body")[0].appendChild(_10);
_10.className="previewbubble";
if (BrowserDetect.browser == 'Explorer') {
_10.style.width="240px";
_10.style.position="absolute";
_10.style.top=_f;
_10.style.zIndex=99999;
_10.style.left=_e;
_10.style.textAlign="left";
_10.style.height="190px";
_10.style.paddingTop="0";
_10.style.paddingLeft="0";
_10.style.paddingBottom="0";
_10.style.paddingRight="0";
_10.style.marginTop="0";
_10.style.marginLeft="0";
_10.style.marginBottom="0";
_10.style.marginRight="0";
_10.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + bubbleImagePath + "',sizingMethod='image')";
} else {
_10.setAttribute("style","text-align: center; z-index: 99999; position: absolute; top: "+_f+"px ; left: "+_e+"px ; background: url("+ bubbleImagePath +") no-repeat; width: 240px; height: 190px; padding: 0; margin: 0;");
}
if (BrowserDetect.browser == 'Safari' || BrowserDetect.browser == 'Konqueror' ) {
var _height = _f;
_10.setAttribute("style","text-align: center; z-index: 99999; position: absolute; top: "+ _height +"px ; left: "+_e+"px ; background: url("+ bubbleImagePath +") no-repeat; width: 240px; height: 190px; padding: 0; margin: 0;");
}
var img=document.createElement("img");
_10.appendChild(img);
if (BrowserDetect.browser == 'Explorer') {
img.style.paddingTop="0";
img.style.paddingLeft="0";
img.style.paddingBottom="0";
img.style.paddingRight="0";
img.style.margin="auto";
img.style.marginTop="27px";
img.style.marginLeft="25px";
img.style.marginBottom="0";
img.style.marginRight="0";
img.style.borderTop="0";
img.style.borderLeft="0";
img.style.borderBottom="0";
img.style.borderRight="0";
} else {
img.setAttribute("style","padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; margin-top: 27px; margin-left: 12px; margin-bottom: 0; margin-right: 0; border: 0");
}
img.setAttribute("src","http://images.websnapr.com/?url="+_d);
img.setAttribute("width",202);
img.setAttribute("height",152);
img.setAttribute("alt","Snapshot");
}
function detachBubble(_12){
lbActions=WSR_getElementsByClassName(document,"div","previewbubble");
for(i=0;i<lbActions.length;i++){
lbActions[i].parentNode.removeChild(lbActions[i]);
}
}
if(window.addEventListener){
addEventListener("load",bindBubbles,false);
}else{
attachEvent("onload",bindBubbles);
}
function findPos(obj){
var _14=curtop=0;
if(obj.offsetParent){
_14=obj.offsetLeft;
curtop=obj.offsetTop;
while(obj=obj.offsetParent){
_14+=obj.offsetLeft;
curtop+=obj.offsetTop;
}
}
return [_14,curtop];
}
var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent)
|| this.searchVersion(navigator.appVersion)
|| "an unknown version";
this.OS = this.searchString(this.dataOS) || "an unknown OS";
},
searchString: function (data) {
for (var i=0;i<data.length;i++) {
var dataString = data[i].string;
var dataProp = data[i].prop;
this.versionSearchString = data[i].versionSearch || data[i].identity;
if (dataString) {
if (dataString.indexOf(data[i].subString) != -1)
return data[i].identity;
}
else if (dataProp)
return data[i].identity;
}
},
searchVersion: function (dataString) {
var index = dataString.indexOf(this.versionSearchString);
if (index == -1) return;
return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
},
dataBrowser: [
{ string: navigator.userAgent,
subString: "OmniWeb",
versionSearch: "OmniWeb/",
identity: "OmniWeb"
},
{
string: navigator.vendor,
subString: "Apple",
identity: "Safari"
},
{
prop: window.opera,
identity: "Opera"
},
{
string: navigator.vendor,
subString: "iCab",
identity: "iCab"
},
{
string: navigator.vendor,
subString: "KDE",
identity: "Konqueror"
},
{
string: navigator.userAgent,
subString: "Firefox",
identity: "Firefox"
},
{
string: navigator.vendor,
subString: "Camino",
identity: "Camino"
},
{ // for newer Netscapes (6+)
string: navigator.userAgent,
subString: "Netscape",
identity: "Netscape"
},
{
string: navigator.userAgent,
subString: "MSIE",
identity: "Explorer",
versionSearch: "MSIE"
},
{
string: navigator.userAgent,
subString: "Gecko",
identity: "Mozilla",
versionSearch: "rv"
},
{ // for older Netscapes (4-)
string: navigator.userAgent,
subString: "Mozilla",
identity: "Netscape",
versionSearch: "Mozilla"
}
],
dataOS : [
{
string: navigator.platform,
subString: "Win",
identity: "Windows"
},
{
string: navigator.platform,
subString: "Mac",
identity: "Mac"
},
{
string: navigator.platform,
subString: "Linux",
identity: "Linux"
}
]
};
BrowserDetect.init();
\ No newline at end of file
This diff is collapsed.
/* For Link Indication plugin */
a.liexternal { padding-right: 12px; background: url(images/link-icon_external.gif) no-repeat right; }
a.liwikipedia { padding-right: 13px; background: url(images/link-icon_wikipedia.gif) no-repeat right; }
a.liwp { padding-right: 16px; background: url(images/link-icon_wordpress.png) no-repeat right; }
a.liftp { padding-right: 13px; background: url(images/link-icon_ftp.png) no-repeat right; }
a.limailto { padding-right: 18px; background: url(images/link-icon_mail.gif) no-repeat right; }
a.lipdf { padding-right: 12px; background: url(images/link-icon_pdf.png) no-repeat right; }
a.lizip { padding-right: 12px; background: url(images/link-icon_zip.png) no-repeat right; }
\ No newline at end of file
=== Link Indication ===
Contributors: Michael_
Plugin Name: Link Indication
Plugin URI: http://sw-guide.de/wordpress/plugins/link-indication/
Author URI: http://sw-guide.de/
Donate link: http://sw-guide.de/donation/
Tags: link, links, indication, external, anchor, target, blank, file, extension, websnapr, nofollow, dofollow, css
Requires at least: 2.3
Tested up to: 3.0.1
Stable tag: 4.4
Link Indication applies CSS class attributes to the links (anchor tags) in your posts, pages, and optionally in your comments.
== Description ==
Link Indication adds CSS class attributes to external links and optionally specific attributes to any other link types such as wikipedia.org, flickr, imdb, file extensions like .pdf or .zip, etc. Thereby you can indicate your links, e.g. by images, for characterizing your types of links. Furthermore you can add target="blank" to all external links, rel="nofollow" to specific hyperlinks or display websnapr preview thumbnails.
The plugin is applied at display time, not while a post is being saved. This means that this plugin can be integrated at any time, it will modify the rendering of existing posts and comments as soon as the plugin is enabled.
Please visit [the official website](http://sw-guide.de/wordpress/plugins/link-indication/ "Link Indication") for further details and the latest information on this plugin.
== Installation ==
See on [the official website](http://sw-guide.de/wordpress/plugins/link-indication/ "Link Indication").
== Frequently Asked Questions ==
= Where can I get more information? =
Please visit [the official website](http://sw-guide.de/wordpress/plugins/link-indication/ "Link Indication") for the latest information on this plugin.
== Changelog ==
= 4.4 [2010-08-08] =
* Fix: Minor bug fixes
= 4.3 [2010-01-02] =
* Fix: some links have not been output correctly
= 4.2 [2010-01-01] =
* New: Only match a file extension if it is preceded by a dot.
* New: No longer use the domain name only but the entire URL for the search
* New: New option "Image links:" under CSS class attributes
* Fix: Problems with Javascript links fixed.
= 4.1 [2009-01-28] =
* Fix: Minor bug fixes
= 4.0 [2009-01-23] =
* Fix: Several bug fixes and support for WP2.7.
* New: Localization support.
* New: Add rel="nofollow" to specific hyperlinks
* New: Display websnapr.com website preview thumbnails
* New: Enter multiple search strings in one field (separate by |)
* New: Added option to apply sample CSS file from the plugin’s directory
msgid ""
msgstr ""
"Project-Id-Version: Spreadshop for WP\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2006-08-07 10:28+0100\n"
"Last-Translator: Frank Bueltge <[email protected]>\n"
"Language-Team: Frank Bueltge <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: German\n"
"X-Poedit-Country: GERMANY\n"
#: spreadshop.php:41
#: spreadshop.php:227
msgid "Spreadshop plugin"
msgstr "Spreadshop Plugin"
#: spreadshop.php:82
msgid "I can't connect to Spreadshirt website!"
msgstr "Die Spreadshirt-Webiste kann nicht erreicht werden!"
#: spreadshop.php:132
msgid "Default shop name"
msgstr "Standard Shop Name"
#: spreadshop.php:133
msgid "This is the default shop description"
msgstr "Das ist die Standard Shop Beschreibung"
#: spreadshop.php:163
msgid "Your Spreadshop was updated!"
msgstr "Dein Spreadshop wurde aktualisiert!"
#: spreadshop.php:167
msgid "You've entered wrong data. Please repeat."
msgstr "Sie haben falsche Daten eingegeben. Bitte noch einmal."
#: spreadshop.php:176
msgid "Spreadshop plugin for WordPress"
msgstr "Spreadshop Plugin für WordPress"
#: spreadshop.php:177
msgid "This plugin lets you add a Spreadshop registered on Spreadshirt website either accounted"
msgstr "Dieses Plugin importiert deinen Spreadshop, wenn er auf der Spreadshirt-Website einen Account hat,"
#: spreadshop.php:177
#: spreadshop.php:193
msgid "in USA"
msgstr "in USA"
#: spreadshop.php:177
msgid "or"
msgstr "oder"
#: spreadshop.php:177
#: spreadshop.php:192
msgid "in Europe"
msgstr "in Europa"
#: spreadshop.php:178
msgid "Please fill the following form to update your Spreadshop."
msgstr "Fülle bitte alle Felder aus und aktualisiere die Einstellungen."
#: spreadshop.php:179
msgid "For now, the only way to get the entire shop imported into your wordpress blog, is creating a page with"
msgstr "Um deinen Spreadshirt-Shop in eine WordPress-Seite zu integrieren, erstelle eine neue Seite und hinterlege folgenden Code"
#: spreadshop.php:179
msgid "as content of post."
msgstr "als Inhalt."
#: spreadshop.php:180
msgid "If you want to manage CSS style for each article, you must edit this CSS class:"
msgstr "Du kannst den Shop per CSS-Stylesheet gestallten, editiere dazu die CSS-Klasse:"
#: spreadshop.php:181
msgid "To edit the Spreadshop wrapper, use this CSS identificator:"
msgstr "Um den gesamten Container zu formatieren, nutze das CSS-ID:"
#: spreadshop.php:182
msgid "Warning:"
msgstr "Achtung:"
#: spreadshop.php:182
msgid "You must update this options every time you update the shop on Spreadshirt"
msgstr "Sobald es neue Artikel in deinem Shop gibt, muss dieses Formular aktualisiert werden !"
#: spreadshop.php:184
msgid "Spreadshop settings"
msgstr "Spreadshop Optionen"
#: spreadshop.php:189
msgid "Which continent?"
msgstr "Welche Domain?:"
#: spreadshop.php:195
msgid "Shop ID:"
msgstr "Shop ID:"
#: spreadshop.php:196
msgid "Shop Name:"
msgstr "Shop Name:"
#: spreadshop.php:197
msgid "Shop description:"
msgstr "Shop Beschreibung"
#: spreadshop.php:197
msgid "(html is welcome)"
msgstr "(html möglich):"
#: spreadshop.php:198
msgid "Image size:"
msgstr "Bildergröße:"
#: spreadshop.php:201
msgid "small (42x42)"
msgstr "klein (42x42)"
#: spreadshop.php:202
msgid "medium (130x130)"
msgstr "mittel (130x130)"
#: spreadshop.php:203
msgid "big (190x190)"
msgstr "groß (190x190)"
#: spreadshop.php:204
msgid "huge (280x280)"
msgstr "sehr groß (280x280)"
#: spreadshop.php:207
msgid "Order articles by:"
msgstr "Reihenfolge der Artikel:"
#: spreadshop.php:210
msgid "Last item, first object"
msgstr "Letzter Artikel, erstes Objekt"
#: spreadshop.php:211
msgid "First item, first object"
msgstr "Erster Artikel, erstes Objekt"
#: spreadshop.php:213
msgid "CSS editing:"
msgstr "CSS Style:"
#: spreadshop.php:213
msgid "spreadshop"
msgstr "spreadshop"
#: spreadshop.php:216
msgid "Update Spreadshop options"
msgstr "Spreadshop Einstellungen aktualisieren"
#: spreadshop.php:223
msgid "must be upgraded"
msgstr "muss aktualisiert werden."
#: spreadshop.php:223
msgid "is lastest"
msgstr "ist die aktuelleste."
#: spreadshop.php:225
msgid "can't be detected"
msgstr "kann nicht ermittelt werden"
#: spreadshop.php:225
msgid "remember to check for updates often"
msgstr "Erinnerung zum häufigen Prüfen auf Updates"
#: spreadshop.php:227
msgid "Your version of"
msgstr "Deine Version vom"
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2006-08-07 18:44+0100\n"
"Last-Translator: David Allard aka Guerdal <[email protected]>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
#: spreadshop.php:41
#: spreadshop.php:227
msgid "Spreadshop plugin"
msgstr "Plugin Spreadshop"
#: spreadshop.php:82
msgid "I can't connect to Spreadshirt website!"
msgstr "Impossible de se connecter au site Spreadshirt !"
#: spreadshop.php:132
msgid "Default shop name"
msgstr "Nom de la boutique par défaut"
#: spreadshop.php:133
msgid "This is the default shop description"
msgstr "Ceci est la description de la boutique par défaut."
#: spreadshop.php:163
msgid "Your Spreadshop was updated!"
msgstr "Votre Spreadshop a été mis à jour !"
#: spreadshop.php:167
msgid "You've entered wrong data. Please repeat."
msgstr "Vous avez entré des données incorrectes. Veuillez recommencer."
#: spreadshop.php:176
msgid "Spreadshop plugin for WordPress"
msgstr "Plugin Spreadshop pour WordPress"
#: spreadshop.php:177
msgid "This plugin lets you add a Spreadshop registered on Spreadshirt website either accounted"
msgstr "Ce plugin vous permet d'ajouter un Spreadshop enregistré sur le site Spreadshirt"
#: spreadshop.php:177
#: spreadshop.php:193
msgid "in USA"
msgstr "aux Etats-Unis"
#: spreadshop.php:177
msgid "or"
msgstr "ou"
#: spreadshop.php:177
#: spreadshop.php:192
msgid "in Europe"
msgstr "en Europe"
#: spreadshop.php:178
msgid "Please fill the following form to update your Spreadshop."
msgstr "Remplissez le formulaire suivant pour mettre à jour votre Spreadshop."
#: spreadshop.php:179
msgid "For now, the only way to get the entire shop imported into your wordpress blog, is creating a page with"
msgstr "Pour l'instant, le seul moyen d'importer votre boutique dans votre blog WordPress est de créer une page avec"
#: spreadshop.php:179
msgid "as content of post."
msgstr "comme contenu de la page."
#: spreadshop.php:180
msgid "If you want to manage CSS style for each article, you must edit this CSS class:"
msgstr "Si vous voulez gérer le style CSS pour chaque article, vous devez edit la classe CSS :"
#: spreadshop.php:181
msgid "To edit the Spreadshop wrapper, use this CSS identificator:"
msgstr "Pour éditer le wrapper Spreadshop, utilisez l'identificateur CSS suivant : "
#: spreadshop.php:182
msgid "Warning:"
msgstr "Attention :"
#: spreadshop.php:182
msgid "You must update this options every time you update the shop on Spreadshirt"