Volltext: "New Medication Appears Effective in Helping Smokers Kick the Habit"
/* 0.1 - initial release 0.2 - new option: rewrite mail addresses with [at] and [dot] 0.3 - userdefined placeholders for [at] and [dot] 0.4 - new option: links can be open in new window (default: off) 0.5 - support for SqlTablePrefix */ class NP_AutoLink extends NucleusPlugin { function getName() { return 'AutoLink'; } function getAuthor() { return 'Kai Greve'; } function getURL() { return 'http://kgblog.de/'; } function getVersion() { return '0.5'; } function getDescription() { return 'Automatically creates links for internet and mail addresses'; } function install() { $this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes'); $this->createOption('NewWindow','Open links in a new window?','yesno','no'); $this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes'); $this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes'); $this->createOption('at','Placeholder for @','text','[at]'); $this->createOption('dot','Placeholder for .','text','[dot]'); } function getEventList() { return array('PreItem', 'PreComment'); } function Treatment($_text) { global $CONF, $blog; if ($this->getOption('NewWindow') == 'yes') { $nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\""; } if ($this->getOption('InternetAddress') == 'yes') { $_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); $_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); } $at = $this->getOption('at'); $dot = $this->getOption('dot'); if ($this->getOption('MailAddress') == 'yes') { if ($this->getOption('RewriteMailAddress') == 'no') { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text); } else { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } } if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){ $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } return $_text; } function event_PreItem($_data) { $_data[item]->body = $this->Treatment($_data[item]->body); $_data[item]->more = $this->Treatment($_data[item]->more); } function event_PreComment($_data) { $_data['comment']['body'] = $this->Treatment($_data['comment']['body']); } function supportsFeature ($what) { switch ($what) { case 'SqlTablePrefix': return 1; default: return 0; } } } ?>15 September
New Medication Appears Effective in Helping Smokers Kick the Habit
Falls mal einer aufhφren mφchte mit dem Rauchen und grad keine Ibogaintherapie bezahlen mφchte:"Cytisine is an alkaloid found in a plant known as the golden rain tree, or Cytisus laburnum. It has been used for decades as a smoking cessation drug in Eastern European countries, according to background information in the article.
Jean-Francois Etter, Ph.D., M.P.H., of the University of Geneva, Switzerland, reviewed the literature on the effect of cytisine on smoking cessation. Ten studies were found, and all were conducted in Bulgaria, Germany, Poland and Russia between 1967 and 2005."
Medem: Medical Library: News From the AMA: New Medication Appears Effective in Helping Smokers Kick the Habit
Es gibt da auch eine Firma, die in Bulgarien beheimatet ist und "Tabax" verkauft. Ein Prδparat aus eben dieser Pflanze (Goldregen), welches sich wohl eignen soll um das Rauchen sinnvoll aufzugeben.
Es scheint nach Aussage von Pixel auch so zu sein, dass ein Samenkorn der Pflanze die selbe Menge Cytisin enthδlt wie eine Pille von denen. Sehr praktisch, wenn man bedenkt, dass diese Pflanze in jeder durchschnittlichen Reihenhaussiedlung mehrfach zu finden ist.
[Druckversion direkt zum Drucker senden]
Geschrieben von harko um 00:08:52 Uhr - Kategorie: Entheogene
Karma: 29 [+/-]
Trackback
Derzeit keine Trackbacks vorhanden.
Mit dieser TrackBack url kann der Beitrag verlinkt werden (right-click, copy link target).
Wenn Ihr Blog keine Trackbacks anbietet, kann Ihr Trackback manuell durch dieses Formular eingebaut werden .
Comments
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
this web hosting schrieb:
Good way of describing, and fastidious piece of writing to obtain data about my presentation subject matter,
which i am going to convey in school.
which i am going to convey in school.
Erstellt am 08/28/21 um 18:48:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://t.co/RcVeItAANQ schrieb:
First off I want to say superb blog! I had a quick question which I'd like to ask if you don't
mind. I was interested to find out how you center yourself
and clear your mind prior to writing. I have had a
tough time clearing my mind in getting my ideas out there.
I do take pleasure in writing but it just seems like the first 10 to 15 minutes tend
to be lost simply just trying to figure out how to
begin. Any ideas or hints? Many thanks!
mind. I was interested to find out how you center yourself
and clear your mind prior to writing. I have had a
tough time clearing my mind in getting my ideas out there.
I do take pleasure in writing but it just seems like the first 10 to 15 minutes tend
to be lost simply just trying to figure out how to
begin. Any ideas or hints? Many thanks!
Erstellt am 08/30/21 um 10:17:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
t.co schrieb:
My spouse and I absolutely love your blog and find
a lot of your post's to be exactly what I'm looking for.
Do you offer guest writers to write content for you personally?
I wouldn't mind writing a post or elaborating on some of the subjects you write concerning here.
Again, awesome website!
a lot of your post's to be exactly what I'm looking for.
Do you offer guest writers to write content for you personally?
I wouldn't mind writing a post or elaborating on some of the subjects you write concerning here.
Again, awesome website!
Erstellt am 09/01/21 um 02:38:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://j.mp schrieb:
With havin so much content and articles do you
ever run into any problems of plagorism or copyright
violation? My site has a lot of completely unique content I've
either authored myself or outsourced but it looks like a lot of it is popping it up all over
the web without my authorization. Do you know any solutions to help stop content from being stolen? I'd really appreciate it.
ever run into any problems of plagorism or copyright
violation? My site has a lot of completely unique content I've
either authored myself or outsourced but it looks like a lot of it is popping it up all over
the web without my authorization. Do you know any solutions to help stop content from being stolen? I'd really appreciate it.
Erstellt am 09/01/21 um 22:44:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
scoliosis surgery is schrieb:
If you desire to increase your know-how simply keep visiting this website and be updated with the latest gossip posted here.
Erstellt am 09/02/21 um 10:30:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
asmr for schrieb:
Very nice article, exactly what I needed.
Erstellt am 09/03/21 um 12:23:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bitly.com schrieb:
Do you mind if I quote a couple of your articles as long as I provide credit
and sources back to your site? My blog is in the exact same
niche as yours and my users would really benefit from a lot of
the information you provide here. Please let me know
if this alright with you. Thanks!
and sources back to your site? My blog is in the exact same
niche as yours and my users would really benefit from a lot of
the information you provide here. Please let me know
if this alright with you. Thanks!
Erstellt am 09/04/21 um 11:01:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
asmr in schrieb:
Greetings! Very helpful advice in this particular article!
It is the little changes that produce the most significant changes.
Thanks a lot for sharing!
It is the little changes that produce the most significant changes.
Thanks a lot for sharing!
Erstellt am 09/05/21 um 09:47:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
scoliosis surgery that schrieb:
bookmarked!!, I love your web site!
Erstellt am 09/05/21 um 13:26:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
quest bars but schrieb:
Hi, I do think this is a great web site. I stumbledupon it
;) I'm going to revisit yet again since i have book-marked it.
Money and freedom is the best way to change,
may you be rich and continue to help other people.
quest bars http://bit.ly/3C2tkMR quest bars
;) I'm going to revisit yet again since i have book-marked it.
Money and freedom is the best way to change,
may you be rich and continue to help other people.
quest bars http://bit.ly/3C2tkMR quest bars
Erstellt am 09/10/21 um 05:11:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://tinyurl.com/brah7cp3 schrieb:
Hey just wanted to give you a quick heads up. The text in your article seem to be
running off the screen in Firefox. I'm not sure if this is a formatting issue or something to do with web browser compatibility but I thought I'd post to let
you know. The design and style look great though!
Hope you get the issue resolved soon. Cheers cheap flights
http://1704milesapart.tumbl... cheap flights
running off the screen in Firefox. I'm not sure if this is a formatting issue or something to do with web browser compatibility but I thought I'd post to let
you know. The design and style look great though!
Hope you get the issue resolved soon. Cheers cheap flights
http://1704milesapart.tumbl... cheap flights
Erstellt am 09/11/21 um 02:34:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://bitly.com/3k0xFd5 schrieb:
It's genuinely very complex in this full of activity life to listen news on Television, so I
only use web for that reason, and take the most recent news.
scoliosis surgery https://0401mm.tumblr.com/ scoliosis surgery
only use web for that reason, and take the most recent news.
scoliosis surgery https://0401mm.tumblr.com/ scoliosis surgery
Erstellt am 09/11/21 um 07:36:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
coub.com schrieb:
Does your blog have a contact page? I'm having problems locating it but, I'd like to shoot you an e-mail.
I've got some suggestions for your blog you might be interested in hearing.
Either way, great blog and I look forward to seeing it grow over time.
scoliosis surgery https://coub.com/stories/96... scoliosis surgery
I've got some suggestions for your blog you might be interested in hearing.
Either way, great blog and I look forward to seeing it grow over time.
scoliosis surgery https://coub.com/stories/96... scoliosis surgery
Erstellt am 09/12/21 um 06:12:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
iherb.com schrieb:
Hi, this weekend is fastidious for me, since this moment i am reading this enormous informative
post here at my house. quest bars https://www.iherb.com/searc... quest bars
post here at my house. quest bars https://www.iherb.com/searc... quest bars
Erstellt am 09/12/21 um 07:53:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ps4 games are schrieb:
Excellent post! We will be linking to this particularly
great content on our site. Keep up the great writing.
great content on our site. Keep up the great writing.
Erstellt am 10/25/21 um 10:32:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
with ps4 games schrieb:
Wow, that's what I was exploring for, what
a information! present here at this blog, thanks admin of this site.
a information! present here at this blog, thanks admin of this site.
Erstellt am 10/26/21 um 22:29:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ps4 games that schrieb:
Outstanding post but I was wanting to know if you could write
a litte more on this topic? I'd be very grateful if you could elaborate a little bit further.
Thanks!
a litte more on this topic? I'd be very grateful if you could elaborate a little bit further.
Thanks!
Erstellt am 10/26/21 um 22:39:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
for ps4 games schrieb:
Hi there, this weekend is pleasant in favor of me, for the reason that this point in time i am reading this great educational post here at my residence.
Erstellt am 10/26/21 um 22:47:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bit.ly schrieb:
Howdy just wanted to give you a brief heads up and let
you know a few of the pictures aren't loading properly. I'm not sure
why but I think its a linking issue. I've tried it in two different web browsers and both show the
same results.
you know a few of the pictures aren't loading properly. I'm not sure
why but I think its a linking issue. I've tried it in two different web browsers and both show the
same results.
Erstellt am 12/30/21 um 20:17:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnnaKag schrieb:
<a href="http://accutane.digital/">generic accutane prices</a>
Erstellt am 05/28/22 um 01:58:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://ivistroy.ru/ schrieb:
I'm extremely inspired together with your writing abilities and also with
the layout on your weblog. Is this a paid subject matter or
did you customize it yourself? Anyway stay up the excellent high quality
writing, it's rare to see a nice weblog like this one today..
the layout on your weblog. Is this a paid subject matter or
did you customize it yourself? Anyway stay up the excellent high quality
writing, it's rare to see a nice weblog like this one today..
Erstellt am 02/23/23 um 21:10:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://masterok-tut.ru/ schrieb:
Interesting blog! Is your theme custom made or did you download it
from somewhere? A design like yours with a few simple tweeks would really make my blog
jump out. Please let me know where you got your theme.
Bless you
from somewhere? A design like yours with a few simple tweeks would really make my blog
jump out. Please let me know where you got your theme.
Bless you
Erstellt am 02/24/23 um 12:21:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sadovnikinfo.ru schrieb:
I seriously love your website.. Excellent colors & theme.
Did you make this web site yourself? Please reply back
as I'm looking to create my own blog and want to find out where you got this from or exactly
what the theme is named. Kudos!
Did you make this web site yourself? Please reply back
as I'm looking to create my own blog and want to find out where you got this from or exactly
what the theme is named. Kudos!
Erstellt am 02/25/23 um 17:00:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΡΠ²Π΅ΡΡΠΈ ΡΠ°ΡΡ ΠΌΠΈΠ½ΡΠΊ schrieb:
Hey there just wanted to give you a quick heads up.
The words in your article seem to be running
off the screen in Chrome. I'm not sure if this is a formatting issue or something to do with internet browser
compatibility but I figured I'd post to let you know.
The layout look great though! Hope you get the issue solved soon. Cheers
The words in your article seem to be running
off the screen in Chrome. I'm not sure if this is a formatting issue or something to do with internet browser
compatibility but I figured I'd post to let you know.
The layout look great though! Hope you get the issue solved soon. Cheers
Erstellt am 03/29/23 um 17:55:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://avto-zhelezo.ru/ schrieb:
An intriguing discussion is worth comment.
I do think that you ought to publish more on this topic, it may not be a
taboo subject but generally people don't speak about such issues.
To the next! Many thanks!!
I do think that you ought to publish more on this topic, it may not be a
taboo subject but generally people don't speak about such issues.
To the next! Many thanks!!
Erstellt am 04/03/23 um 13:52:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://specstroyka-info.ru/ schrieb:
Thanks for sharing your thoughts on . Regards
Erstellt am 04/07/23 um 10:51:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Π₯ΡΠ°Π½Π΅Π½ΠΈΠ΅ Π²Π΅ΡΠ΅ΠΉ ΠΠΈΠ½ΡΠΊ schrieb:
Hey There. I found your blog using msn. That is an extremely well written article.
I will make sure to bookmark it and return to read extra of your useful info.
Thanks for the post. I will certainly return.
I will make sure to bookmark it and return to read extra of your useful info.
Thanks for the post. I will certainly return.
Erstellt am 04/09/23 um 21:25:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://tut-proremont.ru/ schrieb:
Valuable info. Fortunate me I discovered your website accidentally,
and I'm stunned why this twist of fate did not came about earlier!
I bookmarked it.
and I'm stunned why this twist of fate did not came about earlier!
I bookmarked it.
Erstellt am 04/19/23 um 09:22:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
https://vyvod-iz-zapoya-minsk.ru/ schrieb:
Hey! I could have sworn I've been to this blog before but after browsing through some of the post I
realized it's new to me. Anyways, I'm definitely happy I found
it and I'll be book-marking and checking back often!
realized it's new to me. Anyways, I'm definitely happy I found
it and I'll be book-marking and checking back often!
Erstellt am 04/24/23 um 19:35:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
http://pro-sadovnik.ru/ schrieb:
Ahaa, its fastidious discussion concerning this piece of writing here at
this website, I have read all that, so now me
also commenting here.
this website, I have read all that, so now me
also commenting here.
Erstellt am 04/26/23 um 17:55:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JoyFix schrieb:
https://lilac-dolphin-dqqbd...
<a href=https://dd.2hub.ru>https://dd.2hub.ru</a>
http://longeron46.ru/bitrix...https://d.2hub.ru
http://longlifelight.ru/bit...https://d.2hub.ru
http://longtruong-quan9.hoc...https://d.2hub.ru
<a href=https://dd.2hub.ru>https://dd.2hub.ru</a>
http://longeron46.ru/bitrix...https://d.2hub.ru
http://longlifelight.ru/bit...https://d.2hub.ru
http://longtruong-quan9.hoc...https://d.2hub.ru
Erstellt am 05/01/23 um 04:01:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jon1Fix schrieb:
https://tehnorepair.ru/
http://love.izgr.ru/ru/tips...https://tehnorepair.ru
http://love.izgr.ru/ru/tips...https://tehnorepair.ru
http://love.kazakh.ru/bitri...https://tehnorepair.ru
http://love.izgr.ru/ru/tips...https://tehnorepair.ru
http://love.izgr.ru/ru/tips...https://tehnorepair.ru
http://love.kazakh.ru/bitri...https://tehnorepair.ru
Erstellt am 05/05/23 um 19:26:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jon1Fix schrieb:
https://tehnorepair.ru/
http://m.truthforkids.com/s...https://tehnorepair.ru
http://m.tubegold.xxx/cgi-b...https://tehnorepair.ru
http://m.tvpodolsk.ru/bitri...
http://m.truthforkids.com/s...https://tehnorepair.ru
http://m.tubegold.xxx/cgi-b...https://tehnorepair.ru
http://m.tvpodolsk.ru/bitri...
Erstellt am 05/05/23 um 19:26:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jonnew schrieb:
<a href=> ΅ ± ΅ °»΅ °.</a>
:
http://maps.google.bf/url?q=https://stir-service.ru
http://maps.google.bg/url?q=https://stir-service.ru
http://maps.google.bi/url?q=https://stir-service.ru/
http://maps.google.bj/url?q...
http://maps.google.bj/url?q=https://stir-service.ru
http://maps.google.bt/url?q=https://stir-service.ru
http://maps.google.cat/url?...
:
http://maps.google.bf/url?q=https://stir-service.ru
http://maps.google.bg/url?q=https://stir-service.ru
http://maps.google.bi/url?q=https://stir-service.ru/
http://maps.google.bj/url?q...
http://maps.google.bj/url?q=https://stir-service.ru
http://maps.google.bt/url?q=https://stir-service.ru
http://maps.google.cat/url?...
Erstellt am 05/07/23 um 02:01:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JonFix schrieb:
<a href=> ΅° »° °» °.</a>
:
http://www.midcalminis.org/...
http://www.midcalminis.org/...https://stir-service.ru
http://www.midofuzn.com/?re...
http://www.mi-emailer.co.uk...
http://www.mi-emailer.co.uk...https://stir-service.ru
:
http://www.midcalminis.org/...
http://www.midcalminis.org/...https://stir-service.ru
http://www.midofuzn.com/?re...
http://www.mi-emailer.co.uk...
http://www.mi-emailer.co.uk...https://stir-service.ru
Erstellt am 05/07/23 um 02:05:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JonSog schrieb:
https://stir-service.ru
http://stir-service.ru" rel="nofollow">https://maps.google.vu/url?...
http://stir-service.ru/" rel="nofollow">https://maps.google.vu/url?...
https://maps.google.vu/url?...
http://stir-service.ru" rel="nofollow">https://maps.google.ws/url?...
http://stir-service.ru/" rel="nofollow">https://maps.google.ws/url?...
http://stir-service.ru" rel="nofollow">https://maps.google.vu/url?...
http://stir-service.ru/" rel="nofollow">https://maps.google.vu/url?...
https://maps.google.vu/url?...
http://stir-service.ru" rel="nofollow">https://maps.google.ws/url?...
http://stir-service.ru/" rel="nofollow">https://maps.google.ws/url?...
Erstellt am 05/10/23 um 12:32:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_tets schrieb:
<a href=https://servise-spb.ru>ΠΠ°ΡΡΠ΅Ρ ΠΏΠΎ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΠΌ ΠΌΠ°ΡΠΈΠ½Π°ΠΌ Π½Π° Π΄ΠΎΠΌΡ.</a>
Erstellt am 05/17/23 um 15:42:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_tets schrieb:
<a href=https://servise-spb.ru>ΠΠΎΡΠΈΠ½ΠΈΡΡ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ ΠΌΠ°ΡΠΈΠ½Ρ Π½Π° Π΄ΠΎΠΌΡ.</a>
Erstellt am 05/17/23 um 15:42:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_Ves schrieb:
<a href=https://servise-spb.ru>ΠΠΎΡΠΈΠ½ΠΊΠ° ΡΡΠΈΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΌΠ°ΡΠΈΠ½Ρ ΡΠΏΠ±.</a>
Erstellt am 05/17/23 um 15:45:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_Ves schrieb:
<a href=https://servise-spb.ru>Π‘ΡΠΈΡΠ°Π»ΡΠ½Π°Ρ ΠΌΠ°ΡΠΈΠ½Π° ΠΌΠ°ΡΡΠ΅Ρ.</a>
Erstellt am 05/17/23 um 15:46:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_tets schrieb:
<a href=https://ctiralnie.ru>Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π²ΡΠ·Π²Π°ΡΡ ΠΌΠ°ΡΡΠ΅ΡΠ° Π½Π° Π΄ΠΎΠΌ.</a>
Erstellt am 05/19/23 um 06:08:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_tets schrieb:
<a href=https://ctiralnie.ru>ΠΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ° ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ ΡΠ΅Π½Ρ.</a>
Erstellt am 05/19/23 um 06:08:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_Ves schrieb:
<a href=https://ctiralnie.ru>Π₯ΠΎΡΠΎΡΠΈΠΉ ΠΌΠ°ΡΡΠ΅Ρ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½.</a>
Erstellt am 05/19/23 um 06:16:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Servis_Ves schrieb:
<a href=https://ctiralnie.ru>Π‘ΡΠΎΡΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½.</a>
Erstellt am 05/19/23 um 06:16:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Remont_sone schrieb:
Erstellt am 05/21/23 um 08:34:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Remont_sone schrieb:
Erstellt am 05/21/23 um 08:35:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Remont_Pa schrieb:
Erstellt am 05/21/23 um 08:43:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Remont_Pa schrieb:
Erstellt am 05/21/23 um 08:44:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Remont_Pa schrieb:
<a href=https://remont-holoda.ru>ΠΠΎΡΠΈΠ½ΠΈΡΡ Ρ
ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊ.</a>
Erstellt am 05/22/23 um 14:57:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Teplica_Pa schrieb:
<a href=https://teplica-nn.ru>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΡΡΠΈΠ»Π΅Π½Π½ΡΡ.</a>
Erstellt am 05/23/23 um 14:39:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Teplica_Pa schrieb:
<a href=http://teplitsatomsk.ru>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΡΠ΅Π½Ρ.</a>
Erstellt am 05/25/23 um 00:19:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Tepi_Pa schrieb:
https://vc.ru/u/1928652-zak...
https://connect.garmin.com/...
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ "Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄" ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ ΠΏΡΠΎΡΠ½ΡΠΌ ΠΊΠ°ΡΠΊΠ°ΡΠΎΠΌ ΠΈ Π΄ΡΠ³Π°ΠΌΠΈ ΠΈΠ· Π²ΡΡΠΎΠΊΠΎΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°. ΠΠ°Π±Π°ΡΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΎΡ 2 Π΄ΠΎ 5 ΠΌΠ΅ΡΡΠΎΠ². ΠΠ°ΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΎΡ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ Π΄ΡΠ³Π° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΠΏΡΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ. Π¦Π΅Π½Ρ Π½Π° ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΈΠ΅ΠΌΠ»Π΅ΠΌΡ ΠΈ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΡΠΏΠΎΡΠΎΠ±Π½Ρ. Π£ Π½Π°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΠΎΠΏΡΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΡΠΎΠ±ΡΠ°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΠΎ ΠΠΈΠΆΠ½Π΅ΠΌΡ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΠΌ ΡΠ°ΠΉΠΎΠ½Π°ΠΌ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ Π΄Π»Ρ Π½Π°ΡΠΈΡ Π»ΠΎΡΠ»ΡΠ½ΡΡ Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠΎΠ². ΠΡΠ»ΠΈ ΠΡ Ρ ΠΎΡΠΈΡΠ΅ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ, ΠΏΡΠΎΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ Π½Π°ΠΌ ΠΏΠΎ ΡΠΊΠ°Π·Π°Π½Π½ΡΠΌ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ°ΠΌ. Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄ - ΡΡΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ!
https://solo.to/zakazteplic52
https://leetcode.com/teplic...
https://www.walkscore.com/p...
https://profile.ameba.jp/am...
https://cs.astronomy.com/me...
https://www.quia.com/profil...
https://connect.garmin.com/...
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ "Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄" ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ ΠΏΡΠΎΡΠ½ΡΠΌ ΠΊΠ°ΡΠΊΠ°ΡΠΎΠΌ ΠΈ Π΄ΡΠ³Π°ΠΌΠΈ ΠΈΠ· Π²ΡΡΠΎΠΊΠΎΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°. ΠΠ°Π±Π°ΡΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΎΡ 2 Π΄ΠΎ 5 ΠΌΠ΅ΡΡΠΎΠ². ΠΠ°ΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΎΡ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ Π΄ΡΠ³Π° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΠΏΡΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ. Π¦Π΅Π½Ρ Π½Π° ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΈΠ΅ΠΌΠ»Π΅ΠΌΡ ΠΈ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΡΠΏΠΎΡΠΎΠ±Π½Ρ. Π£ Π½Π°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΠΎΠΏΡΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΡΠΎΠ±ΡΠ°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΠΎ ΠΠΈΠΆΠ½Π΅ΠΌΡ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΠΌ ΡΠ°ΠΉΠΎΠ½Π°ΠΌ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ Π΄Π»Ρ Π½Π°ΡΠΈΡ Π»ΠΎΡΠ»ΡΠ½ΡΡ Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠΎΠ². ΠΡΠ»ΠΈ ΠΡ Ρ ΠΎΡΠΈΡΠ΅ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ, ΠΏΡΠΎΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ Π½Π°ΠΌ ΠΏΠΎ ΡΠΊΠ°Π·Π°Π½Π½ΡΠΌ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ°ΠΌ. Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄ - ΡΡΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ!
https://solo.to/zakazteplic52
https://leetcode.com/teplic...
https://www.walkscore.com/p...
https://profile.ameba.jp/am...
https://cs.astronomy.com/me...
https://www.quia.com/profil...
Erstellt am 06/02/23 um 19:14:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gary_mi schrieb:
ΠΠ°ΡΠ° ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠ΅ΠΌΠΎΠ½Ρ Π΄ΠΎΠΌΠ°ΡΠ½Π΅ΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Ρ ΠΠΈΡΠ΅ΡΠ΅ ΠΏΠΎ ΠΏΡΠΈΠ΅ΠΌΠ»Π΅ΠΌΠΎΠΉ ΡΠ°ΡΡΠ΅Π½ΠΊΠ΅. ΠΠΎΠΌΠ°Π½Π΄Π° Π±ΡΠΈΠ³Π°Π΄Π° ΠΎΠΏΡΡΠ½ΡΡ
ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΡΠΎΠ΄Π΅ΠΉΡΡΠ²ΡΠ΅Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ Π±ΡΡΡΡΠΎ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ ΠΈΡΠΏΡΠ°Π²ΠΈΡΡ Π»ΡΠ±ΡΡ Π½Π΅ΠΈΡΠΏΡΠ°Π²Π½ΠΎΡΡΡ Ρ ΡΠ²ΠΎΠ΅ΠΉ Π΄ΠΎΠΌΠ°ΡΠ½Π΅ΠΉ Π°ΠΏΠΏΠ°ΡΠ°ΡΡΡΠΎΠΉ. ΠΡ Ρ ΡΠ°Π΄ΠΎΡΡΡΡ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°ΡΡΠΈΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΠ°Π±ΠΎΡ, Ρ Π½Π΅ΡΠ»ΠΎΠΆΠ½ΠΎΠ³ΠΎ ΡΠΈΠ½ΠΊΠΈ Π²ΠΏΠ»ΠΎΡΡ Π΄ΠΎ ΡΠ»ΠΎΠΆΠ½ΠΎΠΉ Π·Π°ΠΌΠ΅Π½Ρ Π΄Π΅ΡΠ°Π»Π΅ΠΉ.
ΠΠ°ΡΠ° ΠΊΠΎΠΌΠ°Π½Π΄Π° ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ ΡΠΎΠ»ΡΠΊΠΎ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΡ ΠΈ ΡΠΎΡΡΠ°Π²Π»ΡΡΡΠΈΠ΅, ΡΠ»Π΅Π΄ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π±ΡΡΡ ΡΠ²Π΅ΡΠ΅Π½Ρ , ΡΡΠΎ Π²Π°ΡΠΈ ΡΠ΅Ρ Π½ΠΈΠΊΠ° ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°Π½Π° ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ ΠΈ Π±ΡΠ΄Π΅Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π΄ΠΎΠ»Π³ΠΈΠ΅.
ΠΠΎΠΌΠ°Π½Π΄Π° ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΎΡΠΏΡΠ°Π²Π»ΡΡΡΡΡ Π² ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ°ΠΉΠΎΠ½ Π‘ΠΠ± ΠΈ Π±Π»ΠΈΠΆΠ°ΠΉΡΠ΅Π³ΠΎ ΠΏΡΠΈΠ³ΠΎΡΠΎΠ΄Π°.
ΠΠ°ΡΠ° ΠΊΠΎΠΌΠ°Π½Π΄Π° ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠ΅ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΡΡΠ°ΡΡΡΠ΅ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ², ΡΠ»Π΅Π΄ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎ Π½Π΅ ΠΊΠΎΠ»Π΅Π±Π»ΠΈΡΠ΅ΡΡ ΡΠ²ΡΠ·ΡΠ²Π°ΡΡΡΡ ΠΊ Π½Π°ΠΌ Π±Π΅Π· ΠΏΡΠΎΠΌΠ΅Π΄Π»Π΅Π½ΠΈΡ, Π΅ΡΠ»ΠΈ Π²Ρ ΠΈΠΌΠ΅Π΅ΡΠ΅ ΠΏΠΎΡΠ²ΠΈΠ»ΠΈΡΡ Π²ΠΎΠΏΡΠΎΡΡΡ ΠΈΠ»ΠΈ Π½Π΅ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΠΈ ΠΎΡΠ½ΠΎΡΠΈΡΠ΅Π»ΡΠ½ΠΎ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π²Π°ΡΠ΅ΠΉ Π΄ΠΎΠΌΠ°ΡΠ½Π΅ΠΉ Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ².
https://remont-spb.hatenabl...
https://all4webs.com/dzenre...
https://dailygram.com/blog/...
https://www.bloglovin.com/@...
https://dzenremont.blogrip....
https://zenwriting.net/dzen...
ΠΠ°ΡΠ° ΠΊΠΎΠΌΠ°Π½Π΄Π° ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ ΡΠΎΠ»ΡΠΊΠΎ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΡ ΠΈ ΡΠΎΡΡΠ°Π²Π»ΡΡΡΠΈΠ΅, ΡΠ»Π΅Π΄ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π±ΡΡΡ ΡΠ²Π΅ΡΠ΅Π½Ρ , ΡΡΠΎ Π²Π°ΡΠΈ ΡΠ΅Ρ Π½ΠΈΠΊΠ° ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°Π½Π° ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ ΠΈ Π±ΡΠ΄Π΅Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π΄ΠΎΠ»Π³ΠΈΠ΅.
ΠΠΎΠΌΠ°Π½Π΄Π° ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΎΡΠΏΡΠ°Π²Π»ΡΡΡΡΡ Π² ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ°ΠΉΠΎΠ½ Π‘ΠΠ± ΠΈ Π±Π»ΠΈΠΆΠ°ΠΉΡΠ΅Π³ΠΎ ΠΏΡΠΈΠ³ΠΎΡΠΎΠ΄Π°.
ΠΠ°ΡΠ° ΠΊΠΎΠΌΠ°Π½Π΄Π° ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠ΅ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΡΡΠ°ΡΡΡΠ΅ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ², ΡΠ»Π΅Π΄ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎ Π½Π΅ ΠΊΠΎΠ»Π΅Π±Π»ΠΈΡΠ΅ΡΡ ΡΠ²ΡΠ·ΡΠ²Π°ΡΡΡΡ ΠΊ Π½Π°ΠΌ Π±Π΅Π· ΠΏΡΠΎΠΌΠ΅Π΄Π»Π΅Π½ΠΈΡ, Π΅ΡΠ»ΠΈ Π²Ρ ΠΈΠΌΠ΅Π΅ΡΠ΅ ΠΏΠΎΡΠ²ΠΈΠ»ΠΈΡΡ Π²ΠΎΠΏΡΠΎΡΡΡ ΠΈΠ»ΠΈ Π½Π΅ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΠΈ ΠΎΡΠ½ΠΎΡΠΈΡΠ΅Π»ΡΠ½ΠΎ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π²Π°ΡΠ΅ΠΉ Π΄ΠΎΠΌΠ°ΡΠ½Π΅ΠΉ Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ².
https://remont-spb.hatenabl...
https://all4webs.com/dzenre...
https://dailygram.com/blog/...
https://www.bloglovin.com/@...
https://dzenremont.blogrip....
https://zenwriting.net/dzen...
Erstellt am 06/05/23 um 11:17:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gary_mi schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ "Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄" ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ ΡΡΠΈΠ»Π΅Π½Π½ΡΠΌ ΠΊΠ°ΡΠΊΠ°ΡΠΎΠΌ ΠΈ Π΄ΡΠ³Π°ΠΌΠΈ ΠΈΠ· ΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°. Π¨ΠΈΡΠΈΠ½Π° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π° Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π²Π°ΡΡΠΈΡΡΡΡΡΡ ΠΎΡ 2 Π΄ΠΎ 5 ΠΌΠ΅ΡΡΠΎΠ². ΠΠ°ΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΎΡ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ Π΄ΡΠ³Π° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΠΏΡΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ. Π¦Π΅Π½Ρ Π½Π° ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΈΠ΅ΠΌΠ»Π΅ΠΌΡ ΠΈ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΡΠΏΠΎΡΠΎΠ±Π½Ρ. Π£ Π½Π°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΡΠΎΠ±ΡΠ°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠ΅ΡΠ²ΠΈΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΠΏΠΎ ΠΠΈΠΆΠ½Π΅ΠΌΡ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΠΌ ΡΠ΅Π³ΠΈΠΎΠ½Π°ΠΌ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎ Π΄Π΅ΠΉΡΡΠ²ΡΡΡ Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ Π΄Π»Ρ Π½Π°ΡΠΈΡ
ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². ΠΡΠ»ΠΈ ΠΡ Ρ
ΠΎΡΠΈΡΠ΅ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ, ΠΏΡΠΎΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ Π½Π°ΠΌ ΠΏΠΎ ΡΠΊΠ°Π·Π°Π½Π½ΡΠΌ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ°ΠΌ. Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄ - ΡΡΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ!
https://www.credly.com/user...
https://files.fm/tepliczakaz
https://disqus.com/by/zakaz...
https://loop.frontiersin.or...
https://teletype.in/@zakazt...
https://pantip.com/profile/...
https://www.credly.com/user...
https://files.fm/tepliczakaz
https://disqus.com/by/zakaz...
https://loop.frontiersin.or...
https://teletype.in/@zakazt...
https://pantip.com/profile/...
Erstellt am 06/06/23 um 12:07:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Tepli_mi schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ "Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄" ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ ΠΏΡΠΎΡΠ½ΡΠΌ ΠΊΠ°ΡΠΊΠ°ΡΠΎΠΌ ΠΈ Π΄ΡΠ³Π°ΠΌΠΈ ΠΈΠ· ΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°. Π Π°Π·ΠΌΠ΅ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π²Π°ΡΡΠΈΡΡΡΡΡΡ ΠΎΡ 2 Π΄ΠΎ 5 ΠΌΠ΅ΡΡΠΎΠ². ΠΠ°ΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΎΡ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ Π΄ΡΠ³Π° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΠΏΡΠΈ ΡΠ±ΠΎΡΠΊΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ. Π¦Π΅Π½Ρ Π½Π° Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½Ρ. Π£ Π½Π°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΡΠΎΠ±ΡΠ°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠ΅ΡΠ²ΠΈΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΠΏΠΎ ΠΠΈΠΆΠ½Π΅ΠΌΡ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΠΌ ΡΠ΅Π³ΠΈΠΎΠ½Π°ΠΌ ΠΏΠΎ ΠΏΡΠΈΠ΅ΠΌΠ»Π΅ΠΌΠΎΠΉ ΡΠ΅Π½Π΅. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎ Π΄Π΅ΠΉΡΡΠ²ΡΡΡ Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ Π΄Π»Ρ Π½Π°ΡΠΈΡ
ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². ΠΡΠ»ΠΈ ΠΡ ΠΆΠ΅Π»Π°Π΅ΡΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ, ΠΏΡΠΎΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ Π½Π°ΠΌ ΠΏΠΎ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ. Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΠ²Π³ΠΎΡΠΎΠ΄ - ΡΡΠΎ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ!
http://praca.poland.us/auth...
http://programujte.com/prof...
https://www.bigbasstabs.com...
https://www.openhumans.org/...
https://www.drupalgovcon.or...
https://www.manga-news.com/...
https://my.archdaily.com/us...
https://www.aacc21stcentury...
https://www.diggerslist.com...
https://www.facer.io/u/zaka...
https://makeprojects.com/pr...
https://myapple.pl/users/41...
https://www.pedalroom.com/m...
http://riosabeloco.com/User...
https://twitback.com/zakazt...
https://careercup.com/user?...
https://dubo.tribe.so/user/...
https://velog.io/@zakaztepl...
https://www.avianwaves.com/...
https://bitcoinblack.net/co...
https://fliphtml5.com/homep...
https://www.gametabs.net/us...
https://beermapping.com/acc...
https://www.deviantart.com/...
https://www.troublefreepool...
https://www.40billion.com/p...
https://www.flyingsolo.com....
https://talktoislam.com/use...
https://www.babelcube.com/u...
https://recordsetter.com//u...
http://praca.poland.us/auth...
http://programujte.com/prof...
https://www.bigbasstabs.com...
https://www.openhumans.org/...
https://www.drupalgovcon.or...
https://www.manga-news.com/...
https://my.archdaily.com/us...
https://www.aacc21stcentury...
https://www.diggerslist.com...
https://www.facer.io/u/zaka...
https://makeprojects.com/pr...
https://myapple.pl/users/41...
https://www.pedalroom.com/m...
http://riosabeloco.com/User...
https://twitback.com/zakazt...
https://careercup.com/user?...
https://dubo.tribe.so/user/...
https://velog.io/@zakaztepl...
https://www.avianwaves.com/...
https://bitcoinblack.net/co...
https://fliphtml5.com/homep...
https://www.gametabs.net/us...
https://beermapping.com/acc...
https://www.deviantart.com/...
https://www.troublefreepool...
https://www.40billion.com/p...
https://www.flyingsolo.com....
https://talktoislam.com/use...
https://www.babelcube.com/u...
https://recordsetter.com//u...
Erstellt am 06/08/23 um 05:30:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Maxi_pymn schrieb:
https://racechrono.ru/novos...
http://gearmix.ru/archives/...
https://www.stroi-baza.ru/n...
http://newsliga.ru/index.ph...
http://akbarsaero.ru/samye-...
http://www.elw.ru/vyzov-san...
http://bookshunt.ru/stati/o...
https://furnipro.info/publ/...
http://openfile.ru/sovetyi/...
https://interra-forum.ru/di...
https://criminalnaya.ru/kak...
https://jdis.co/remont-vann...
https://sjthemes.com/evolyu...
https://kayrosblog.ru/remon...
https://sovetnika.net/sovet...
https://metrpro.ru/article/...
https://ssa.ru/articles/pro...
http://stroy-mart.ru/zametk...
https://stroi-archive.ru/no...
https://okvsk.ru/novosti/23...
https://architecturalidea.c...
https://thewalls.ru/dizayn/...
https://bcoreanda.com/ShowA...
https://vyborremont.ru/stor...
https://ermuo.ru/informacio...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://mixinform.com/news/...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
http://gearmix.ru/archives/...
https://www.stroi-baza.ru/n...
http://newsliga.ru/index.ph...
http://akbarsaero.ru/samye-...
http://www.elw.ru/vyzov-san...
http://bookshunt.ru/stati/o...
https://furnipro.info/publ/...
http://openfile.ru/sovetyi/...
https://interra-forum.ru/di...
https://criminalnaya.ru/kak...
https://jdis.co/remont-vann...
https://sjthemes.com/evolyu...
https://kayrosblog.ru/remon...
https://sovetnika.net/sovet...
https://metrpro.ru/article/...
https://ssa.ru/articles/pro...
http://stroy-mart.ru/zametk...
https://stroi-archive.ru/no...
https://okvsk.ru/novosti/23...
https://architecturalidea.c...
https://thewalls.ru/dizayn/...
https://bcoreanda.com/ShowA...
https://vyborremont.ru/stor...
https://ermuo.ru/informacio...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://mixinform.com/news/...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
Erstellt am 06/10/23 um 01:40:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ericksow schrieb:
https://whyride.info/ - whyride
Erstellt am 06/11/23 um 20:50:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ericksow schrieb:
https://whyride.info/ - whyride
Erstellt am 06/11/23 um 20:50:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Maxi_pymn schrieb:
https://mixinform.com/news/...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
https://spb.locatus.ru/ubor...
https://sovetok.com/news/gd...
https://spb.locatus.ru/ubor...
https://www.likado.ru/journ...Π ΡΠ‘ΠΠ Π Π ΡΠ ΠΠ Π Π‘βΉΠ Β΅-Π ΡΠ ΡΠ Β»Π ΡΠ ΡΠ ΡΠ Ρ-Π ΒΆΠ Ρ-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π/
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/comp...
https://www.norstar.ru/stro...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://www.stroysmi.ru/ele...
https://sv-barrisol.ru/novo...
https://www.ural.org/stroit...
https://www.campingmanitoul...
https://youtube03.com/news/...
https://dtk-m.ru/remont/str...
https://extranews.org/prich...
http://antanta-energo.ru/ka...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
https://spb.locatus.ru/ubor...
https://sovetok.com/news/gd...
https://spb.locatus.ru/ubor...
https://www.likado.ru/journ...Π ΡΠ‘ΠΠ Π Π ΡΠ ΠΠ Π Π‘βΉΠ Β΅-Π ΡΠ ΡΠ Β»Π ΡΠ ΡΠ ΡΠ Ρ-Π ΒΆΠ Ρ-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π/
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/comp...
https://www.norstar.ru/stro...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://www.stroysmi.ru/ele...
https://sv-barrisol.ru/novo...
https://www.ural.org/stroit...
https://www.campingmanitoul...
https://youtube03.com/news/...
https://dtk-m.ru/remont/str...
https://extranews.org/prich...
http://antanta-energo.ru/ka...
Erstellt am 06/22/23 um 14:49:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ericksow schrieb:
whyride
Erstellt am 06/28/23 um 12:11:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RNS-MO-mom schrieb:
, , .
<a href=https://rns-50.ru/> </a> , , , . .
<a href=https://rns-50.ru/> </a> , , , . .
Erstellt am 08/30/23 um 22:51:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RNS-MO-bib schrieb:
, , .
<a href=https://rns-50.ru/> </a> , , , . .
<a href=https://rns-50.ru/> </a> , , , . .
Erstellt am 08/30/23 um 22:54:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Maxi_pymn schrieb:
https://architecturalidea.c...
https://thewalls.ru/dizayn/...
https://bcoreanda.com/ShowA...
https://vyborremont.ru/stor...
https://ermuo.ru/informacio...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://mixinform.com/news/...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
https://spb.locatus.ru/ubor...
https://sovetok.com/news/gd...
https://spb.locatus.ru/ubor...
https://www.likado.ru/journ...Π ΡΠ‘ΠΠ Π Π ΡΠ ΠΠ Π Π‘βΉΠ Β΅-Π ΡΠ ΡΠ Β»Π ΡΠ ΡΠ ΡΠ Ρ-Π ΒΆΠ Ρ-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π/
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/comp...
https://www.norstar.ru/stro...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://www.stroysmi.ru/ele...
https://thewalls.ru/dizayn/...
https://bcoreanda.com/ShowA...
https://vyborremont.ru/stor...
https://ermuo.ru/informacio...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://mixinform.com/news/...
https://spb.locatus.ru/ubor...
https://o-cemente.info/stat...
https://spb.locatus.ru/ubor...
https://sovetok.com/news/gd...
https://spb.locatus.ru/ubor...
https://www.likado.ru/journ...Π ΡΠ‘ΠΠ Π Π ΡΠ ΠΠ Π Π‘βΉΠ Β΅-Π ΡΠ ΡΠ Β»Π ΡΠ ΡΠ ΡΠ Ρ-Π ΒΆΠ Ρ-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π/
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/comp...
https://www.norstar.ru/stro...
https://spb.locatus.ru/ubor...
https://spb.locatus.ru/ubor...
https://www.stroysmi.ru/ele...
Erstellt am 09/07/23 um 01:28:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Maxi_pymn schrieb:
Erstellt am 09/08/23 um 01:28:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
scholding schrieb:
- , . , , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
Erstellt am 09/11/23 um 21:49:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
scholding schrieb:
- , . , , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
Erstellt am 09/11/23 um 21:52:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
meclizine 25 mg oral schrieb:
order generic meclizine online meclizine 25 mg oral antivert 25 mg pill
Erstellt am 09/12/23 um 12:36:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RNS_llErommaf schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 04:23:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RNS_llharrifs schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 04:24:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rns_Jem schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 08:22:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rns_har schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>http://rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 08:25:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, , , . , , -.
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru/</a>
, - . , , , . , !
, , , . , , -.
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru/</a>
, - . , , , . , !
Erstellt am 10/05/23 um 06:45:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_S schrieb:
: !
, - , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru</a>
, - . , , , . , - !
, - , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru</a>
, - . , , , . , - !
Erstellt am 10/05/23 um 06:46:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, - , - . , , - .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , - . , .
2. : , - , . .
<a href=https://xn--73-6kchjy.xn--p...>scholding.ru</a>
, - . , , , . , !
, - , - . , , - .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , - . , .
2. : , - , . .
<a href=https://xn--73-6kchjy.xn--p...>scholding.ru</a>
, - . , , , . , !
Erstellt am 10/05/23 um 06:55:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, - , - . , , -.
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.scholding.ru</a>
, - . , , , - . , !
, - , - . , , -.
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.scholding.ru</a>
, - . , , , - . , !
Erstellt am 10/05/23 um 06:56:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, , , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://scholding.ru</a>
, - -. , , , - . , !
, , , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://scholding.ru</a>
, - -. , , , - . , !
Erstellt am 10/09/23 um 01:04:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.scholding.ru</a>
, - . , , , - . , !
, , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>http://www.scholding.ru</a>
, - . , , , - . , !
Erstellt am 10/09/23 um 01:08:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_m schrieb:
: !
, , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , - . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://scholding.ru</a>
, - -. , , , . , !
, , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , - . , .
2. : , , . .
<a href=https://xn--73-6kchjy.xn--p...>https://scholding.ru</a>
, - -. , , , . , !
Erstellt am 10/10/23 um 08:15:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fast_Build_S schrieb:
- : !
, - , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , - , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru/</a>
, - . , , , . , !
, - , . , , .
<a href=https://bystrovozvodimye-zd...> </a>
1. : - , . , .
2. : , - , . .
<a href=https://xn--73-6kchjy.xn--p...>https://www.scholding.ru/</a>
, - . , , , . , !
Erstellt am 10/10/23 um 08:19:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shtory_lat schrieb:
ΠΠ°ΡΠΈ ΡΠ΅Ρ
ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΡΠ΅ ΡΠΌΠ΅Π»ΡΠ΅ ΠΈ ΠΊΡΠ΅Π°ΡΠΈΠ²Π½ΡΠ΅ ΠΈΠ΄Π΅ΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π΄ΠΎΠΌΠ°ΡΠ½Π΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°. ΠΡ Π·Π°Π½ΠΈΠΌΠ°Π΅ΠΌΡΡ Π½Π° ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ Π³Π°ΡΠ΄ΠΈΠ½Ρ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠΈΠ²Π°ΡΡ Π²Π°ΡΠ΅ΠΌΡ ΠΎΠ±ΠΈΡΠ΅Π»ΠΈ ΠΎΡΠΎΠ±Π΅Π½Π½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, Π½ΠΎ ΠΈ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠΈΠ²Π°ΡΡ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΡΡΠΎΡΡ ΠΏΠ»ΠΈΡΡΠ΅</a> β ΡΡΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ ΡΠΎΡΠΌΠΈΡΡΡΡ ΡΡΡ, ΠΎΡΠΈΡΠ°ΡΡ ΡΠ²Π΅Ρ ΠΈ ΡΠΎΡ ΡΠ°Π½ΡΡΡ Π²Π°ΡΡ Π»ΠΈΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠΊΠ°Π½Ρ, ΠΎΡΡΠ΅Π½ΠΎΠΊ ΠΈ ΡΠΊΡΠ°ΡΠ΅Π½ΠΈΠ΅, ΠΈ ΠΌΡ Ρ Ρ ΡΠ°Π΄ΠΎΡΡΡΡ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅ΠΌ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ Π·Π°Π½Π°Π²Π΅ΡΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΡΠΌΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄Π΅ΠΊΠΎΡΠ°.
ΠΠ΅ Π·Π°Π΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΡΠΎΡΠΌΠΈΡΠΎΠ²Π°ΡΡ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠΌ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠ΅ΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΠΌ, ΠΈ Π²Π°Ρ Π΄Π²ΠΎΡΠ΅Ρ ΡΡΠ°Π½Π΅Ρ ΠΌΠ΅ΡΡΠΎΠΌ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅ΡΠ°Π»Ρ Π²ΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>ΡΠ°Π½ ΠΈΠ½ΡΠ΅ΡΠΈΠΎ</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΡΠΎΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ Π΄ΠΎΠΌ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡΡ Π² ΠΎΠ°Π·ΠΈΡ ΡΡΠΈΠ»Ρ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π΅, ΠΈ ΠΌΡ ΡΠΎΠ΄Π΅ΠΉΡΡΠ²ΡΠ΅ΠΌ Π²Π°ΠΌ ΠΎΡΡΡΠ΅ΡΡΠ²ΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΡΡ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΡ Π»ΠΈΡΠ½ΡΡ ΠΏΠΎΠ²Π΅ΡΡΠ²ΠΎΠ²Π°Π½ΠΈΠ΅ Π΄ΠΈΠ·Π°ΠΉΠ½Π° Ρ Π½Π°ΠΌΠΈ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ² Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΠΏΠ°Π½Π½ΠΎ ΠΏΠ»ΠΈΡΡΠ΅ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΡΡΠΎΡΡ ΠΏΠ»ΠΈΡΡΠ΅</a> β ΡΡΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ ΡΠΎΡΠΌΠΈΡΡΡΡ ΡΡΡ, ΠΎΡΠΈΡΠ°ΡΡ ΡΠ²Π΅Ρ ΠΈ ΡΠΎΡ ΡΠ°Π½ΡΡΡ Π²Π°ΡΡ Π»ΠΈΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠΊΠ°Π½Ρ, ΠΎΡΡΠ΅Π½ΠΎΠΊ ΠΈ ΡΠΊΡΠ°ΡΠ΅Π½ΠΈΠ΅, ΠΈ ΠΌΡ Ρ Ρ ΡΠ°Π΄ΠΎΡΡΡΡ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅ΠΌ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ Π·Π°Π½Π°Π²Π΅ΡΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΡΠΌΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄Π΅ΠΊΠΎΡΠ°.
ΠΠ΅ Π·Π°Π΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΡΠΎΡΠΌΠΈΡΠΎΠ²Π°ΡΡ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠΌ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠ΅ΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΠΌ, ΠΈ Π²Π°Ρ Π΄Π²ΠΎΡΠ΅Ρ ΡΡΠ°Π½Π΅Ρ ΠΌΠ΅ΡΡΠΎΠΌ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅ΡΠ°Π»Ρ Π²ΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>ΡΠ°Π½ ΠΈΠ½ΡΠ΅ΡΠΈΠΎ</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΡΠΎΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ Π΄ΠΎΠΌ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡΡ Π² ΠΎΠ°Π·ΠΈΡ ΡΡΠΈΠ»Ρ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π΅, ΠΈ ΠΌΡ ΡΠΎΠ΄Π΅ΠΉΡΡΠ²ΡΠ΅ΠΌ Π²Π°ΠΌ ΠΎΡΡΡΠ΅ΡΡΠ²ΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΡΡ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΡ Π»ΠΈΡΠ½ΡΡ ΠΏΠΎΠ²Π΅ΡΡΠ²ΠΎΠ²Π°Π½ΠΈΠ΅ Π΄ΠΈΠ·Π°ΠΉΠ½Π° Ρ Π½Π°ΠΌΠΈ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ² Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΠΏΠ°Π½Π½ΠΎ ΠΏΠ»ΠΈΡΡΠ΅ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
Erstellt am 10/25/23 um 22:11:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
generic plaquenil 400mg schrieb:
purchase plaquenil generic plaquenil 400mg generic plaquenil
Erstellt am 10/29/23 um 19:40:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
https://Acutanisotretinoin.one/ schrieb:
order accutane online - https://Acutanisotretinoin....,
Erstellt am 11/11/23 um 08:19:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Uteplenie_sr schrieb:
!
, ! , .
?
: . , .
: . <a href=https://stroystandart-kirov...> </a> 1350 ./.. !
: ! , .
!
<a href=https://stroystandart-kirov...>http://www.n-dom.ru
</a>
. -!
, ! , .
?
: . , .
: . <a href=https://stroystandart-kirov...> </a> 1350 ./.. !
: ! , .
!
<a href=https://stroystandart-kirov...>http://www.n-dom.ru
</a>
. -!
Erstellt am 12/09/23 um 08:53:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Uteplenie_En schrieb:
!
, ! , .
?
: . , .
: . <a href=https://stroystandart-kirov...> </a> 1350 ./.. !
: ! , .
!
<a href=https://stroystandart-kirov...>http://n-dom.ru
</a>
. -!
, ! , .
?
: . , .
: . <a href=https://stroystandart-kirov...> </a> 1350 ./.. !
: ! , .
!
<a href=https://stroystandart-kirov...>http://n-dom.ru
</a>
. -!
Erstellt am 12/09/23 um 08:54:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kupit-diplom1.com schrieb:
<a href=https://kupit-diplom1.com/>ΓΕ‘ΓΖΓΒΏΓΒΈΓβΓΕ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΒ‘ΓΒ‘ΓΒ‘ΓΒ </a> Γ’β¬β ΓΒΓβΓΒΎ ΓΒ²ΓΒ°Γβ¬ΓΒΈΓΒ°ΓΒ½Γβ ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒΈΓβΓΕ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΒ±ΓΒ΅ΓΒ· ΓβΓβ¬ΓΖΓΒ΄ΓΒ° ΓΒΈ ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎ. ΓΒ‘ΓΒΎΓβΓβ¬ΓΖΓΒ΄ΓΒ½ΓΒΈΓβ‘ΓΒ°ΓΒ ΓΒ ΓΒ½ΓΒ°ΓΒΌΓΒΈ, ΓΒ²ΓβΉ ΓΒ·ΓΒ°ΓΒΊΓΒ°ΓΒ·ΓβΉΓΒ²ΓΒ°ΓΒ΅ΓβΓΒ΅ ΓΒΏΓβ¬ΓΒΎΓβΓΒ΅ΓΒΓΒΓΒΈΓΒΎΓΒ½ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½Γβ, ΓΒΊΓΒΎΓβΓΒΎΓβ¬ΓβΉΓΒΉ ΓΒΏΓΒΎΓΒ»ΓΒ½ΓΒΎΓΒΓβΓΕΓΕ½ ΓΒΏΓΒΎΓΒ΄Γβ¦ΓΒΎΓΒ΄ΓΒΈΓβ ΓΒ΄ΓΒ»ΓΒ ΓΒ²ΓΒ°ΓΒ.
Erstellt am 02/07/24 um 13:48:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kupit-diplom1.com schrieb:
<a href=https://kupit-diplom1.com/>ΓΕ‘ΓΖΓΒΏΓΒΈΓβΓΕ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓβΓΖΓΒ·ΓΒ°</a> Γ’β¬β ΓΒΓβΓΒΎ ΓΒ²ΓΒ°Γβ¬ΓΒΈΓΒ°ΓΒ½Γβ ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒΈΓβΓΕ ΓΖΓΒ΄ΓΒΎΓΒΓβΓΒΎΓΒ²ΓΒ΅Γβ¬ΓΒ΅ΓΒ½ΓΒΈΓΒ΅ ΓΒΌΓΒΎΓΒΌΓΒ΅ΓΒ½ΓβΓΒ°ΓΒ»ΓΕΓΒ½ΓΒΎ ΓΒΈ ΓΒΏΓβ¬ΓΒΎΓΒΓβΓΒΎ. ΓΒ‘ΓΒΎΓβΓβ¬ΓΖΓΒ΄ΓΒ½ΓΒΈΓβ‘ΓΒ°ΓΒ ΓΒ ΓΒ½ΓΒ°ΓΒΌΓΒΈ, ΓΒ²ΓβΉ ΓΒΏΓβ¬ΓΒΈΓΒΎΓΒ±Γβ¬ΓΒ΅ΓβΓΒ°ΓΒ΅ΓβΓΒ΅ ΓΒΊΓΒ°Γβ‘ΓΒ΅ΓΒΓβΓΒ²ΓΒ΅ΓΒ½ΓΒ½ΓβΉΓΒΉ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½Γβ, ΓΒΊΓΒΎΓβΓΒΎΓβ¬ΓβΉΓΒΉ ΓΒΏΓΒΎΓΒ»ΓΒ½ΓΒΎΓΒΓβΓΕΓΕ½ ΓΒΏΓΒΎΓΒ΄Γβ¦ΓΒΎΓΒ΄ΓΒΈΓβ ΓΒ΄ΓΒ»ΓΒ ΓΒ²ΓΒ°ΓΒ.
Erstellt am 02/07/24 um 13:48:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kupit-diplom1.com schrieb:
<a href=https://kupit-diplom1.com/>ΓΕ‘ΓΖΓΒΏΓΒΈΓβΓΕ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΒΎ ΓΒΓβ¬ΓΒ΅ΓΒ΄ΓΒ½ΓΒ΅ΓΒΌ ΓΒΎΓΒ±Γβ¬ΓΒ°ΓΒ·ΓΒΎΓΒ²ΓΒ°ΓΒ½ΓΒΈΓΒΈ</a> Γ’β¬β ΓΒΓβΓΒΎ ΓΒ²ΓΒΎΓΒ·ΓΒΌΓΒΎΓΒΆΓΒ½ΓΒΎΓΒΓβΓΕ ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒΈΓβΓΕ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΒ±ΓΒ΅ΓΒ· ΓβΓβ¬ΓΖΓΒ΄ΓΒ° ΓΒΈ ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎ. ΓΒ‘ΓΒΎΓβΓβ¬ΓΖΓΒ΄ΓΒ½ΓΒΈΓβ‘ΓΒ°ΓΒ ΓΒ ΓΒ½ΓΒ°ΓΒΌΓΒΈ, ΓΒ²ΓβΉ ΓΒΎΓΒ±ΓΒ΅ΓΒΓΒΏΓΒ΅Γβ‘ΓΒΈΓΒ²ΓΒ°ΓΒ΅ΓβΓΒ΅ ΓΒΓΒ΅ΓΒ±ΓΒ΅ ΓΒ½ΓΒ°ΓΒ΄ΓΒ΅ΓΒΆΓΒ½ΓβΉΓΒΉ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½Γβ, ΓΒΊΓΒΎΓβΓΒΎΓβ¬ΓβΉΓΒΉ ΓΒΓΒΎΓΒΎΓβΓΒ²ΓΒ΅ΓβΓΒΓβΓΒ²ΓΖΓΒ΅Γβ ΓΒ²ΓΒΓΒ΅ΓΒΌ ΓβΓβ¬ΓΒ΅ΓΒ±ΓΒΎΓΒ²ΓΒ°ΓΒ½ΓΒΈΓΒΓΒΌ.
Erstellt am 02/07/24 um 14:11:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kupit-diplom1.com schrieb:
ΓΕΈΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ° ΓΒ½ΓΒ΅ΓΒΎΓΒ±Γβ¦ΓΒΎΓΒ΄ΓΒΈΓΒΌΓΒΎ ΓΒ΄ΓΒ»ΓΒ ΓΒ·ΓΒ°ΓΒ½ΓΒΓβΓΒΎΓΒΓβΓΒΈ ΓΒ½ΓΒ° ΓΒΏΓΒΎΓΒΓβ. ΓΛΓΒ½ΓΒΎΓΒ³ΓΒ΄ΓΒ° ΓΒΏΓΒΎΓΒΓΒ²ΓΒ»ΓΒΓΕ½ΓβΓΒΓΒ ΓΒΓβ ΓΒ΅ΓΒ½ΓΒ°Γβ¬ΓΒΈΓΒΈ, ΓΒΊΓΒΎΓΒ³ΓΒ΄ΓΒ° ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ, ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒ½ΓβΉΓΒΉ Γβ¬ΓΒ°ΓΒ½ΓΒ΅ΓΒ΅ ΓΒ½ΓΒ΅ ΓΒΏΓΒΎΓΒ΄Γβ¦ΓΒΎΓΒ΄ΓΒΈΓβ ΓΒ΄ΓΒ»ΓΒ ΓΒ²ΓβΉΓΒ±Γβ¬ΓΒ°ΓΒ½ΓΒ½ΓΒΎΓΒΉ ΓβΓβ¬ΓΖΓΒ΄ΓΒΎΓΒ²ΓΒΎΓΒΉ ΓΒΓβΓΒ΅Γβ¬ΓβΉ. ΓΕΈΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒ° ΓΒΎΓΒ±Γβ¬ΓΒ°ΓΒ·ΓΒΎΓΒ²ΓΒ°ΓβΓΒ΅ΓΒ»ΓΕΓΒ½ΓΒΎΓΒ³ΓΒΎ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½ΓβΓΒ° ΓΒ² ΓΕΓΒΎΓΒΓΒΊΓΒ²ΓΒ΅ ΓΖΓΒΓβΓβ¬ΓΒ°ΓΒ½ΓΒΈΓβ ΓΒΓβΓΖ ΓΒ½ΓΒ΅ΓΒΎΓΒ±Γβ¦ΓΒΎΓΒ΄ΓΒΈΓΒΌΓΒΎΓΒΓβΓΕ ΓΒΈ ΓΒΏΓβ¬ΓΒ΅ΓΒ΄ΓΒΎΓΒΓβΓΒ°ΓΒ²ΓΒΈΓβ ΓΒ±ΓΒ»ΓΒ΅ΓΒΓβΓΒΓβ°ΓΖΓΕ½ ΓΒΏΓΒ΅Γβ¬ΓΒΓΒΏΓΒ΅ΓΒΊΓβΓΒΈΓΒ²ΓΖ - <a href=https://kupit-diplom1.com/>https://kupit-diplom1.com/</a>. ΓΒ‘ΓΖΓβ°ΓΒ΅ΓΒΓβΓΒ²ΓΖΓΒ΅Γβ ΓΒΌΓΒ½ΓΒΎΓΒΆΓΒ΅ΓΒΓβΓΒ²ΓΒΎ ΓβΓΒ°ΓΒΊΓβΓΒΎΓβ¬ΓΒΎΓΒ², ΓΒΏΓΒΎΓΒ±ΓΖΓΒΆΓΒ΄ΓΒ°ΓΕ½Γβ°ΓΒΈΓβ¦ ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΖ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½ΓβΓΒ° ΓΒΎΓΒ± ΓΒΎΓΒ±Γβ¬ΓΒ°ΓΒ·ΓΒΎΓΒ²ΓΒ°ΓΒ½ΓΒΈΓΒΈ ΓΒ² ΓΕΓΒΎΓΒΓΒΊΓΒ²ΓΒ΅. ΓΕΈΓΒΎΓΒΓΒ»ΓΒ΅ ΓΒΏΓβ¬ΓΒΎΓΒ΄ΓΒΎΓΒ»ΓΒΆΓΒΈΓβΓΒ΅ΓΒ»ΓΕΓΒ½ΓΒΎΓΒ³ΓΒΎ ΓβΓβ¬ΓΖΓΒ΄ΓΒΎΓΒ²ΓΒΎΓΒ³ΓΒΎ ΓΒΓβΓΒ°ΓΒΆΓΒ° ΓΒΏΓΒΎΓΒ²ΓΒ΄Γβ¬ΓΖΓΒ³ ΓΒΌΓΒΎΓΒΆΓΒ΅Γβ ΓΒΏΓΒΎΓΒ½ΓΒ°ΓΒ΄ΓΒΎΓΒ±ΓΒΈΓβΓΕΓΒΓΒ ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΖΓΒ½ΓΒΈΓΒ²ΓΒ΅Γβ¬ΓΒΓΒΈΓβΓΒ΅ΓβΓΒ°. ΓΒ ΓΒ°ΓΒ±ΓΒΎΓβΓΒΎΓΒ΄ΓΒ°ΓβΓΒ΅ΓΒ»ΓΕ ΓΒ²ΓΒΏΓβ¬ΓΒ°ΓΒ²ΓΒ΅ ΓΒΌΓΒ΅ΓΒ½ΓΒΓβΓΕ ΓβΓβ¬ΓΒ΅ΓΒ±ΓΒΎΓΒ²ΓΒ°ΓΒ½ΓΒΈΓΒ ΓΒΊ ΓΒΏΓΒ΅Γβ¬ΓΒΓΒΎΓΒ½ΓΒ°ΓΒ»ΓΖ ΓΒΈ ΓΒΏΓΒΎΓΒΓβΓΒ°ΓΒ²ΓΒΈΓβΓΕ ΓΒ²ΓΒ°ΓΒ ΓΒΏΓΒ΅Γβ¬ΓΒ΅ΓΒ΄ ΓΒ²ΓβΉΓΒ±ΓΒΎΓβ¬ΓΒΎΓΒΌ Γ’β¬β ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ ΓΒΈΓΒ»ΓΒΈ ΓΖΓΒ²ΓΒΎΓΒ»ΓΕΓΒ½ΓΒ΅ΓΒ½ΓΒΈΓΒ΅. ΓΒ£Γβ‘ΓΒ΅ΓΒ±ΓΒ° ΓΒ½ΓΒ° ΓΒ΄ΓΒ½ΓΒ΅ΓΒ²ΓΒ½ΓΒΎΓΒΌ ΓΒΎΓβΓΒ΄ΓΒ΅ΓΒ»ΓΒ΅ΓΒ½ΓΒΈΓΒΈ ΓΒ·ΓΒ°ΓΒ½ΓΒΈΓΒΌΓΒ°ΓΒ΅Γβ ΓΒΌΓΒ½ΓΒΎΓΒ³ΓΒΎ ΓΒ²Γβ¬ΓΒ΅ΓΒΌΓΒ΅ΓΒ½ΓΒΈ ΓΒΈ ΓΒΓΒ½ΓΒ΅Γβ¬ΓΒ³ΓΒΈΓΒΈ, ΓΒ° ΓΒ·ΓΒ°ΓΒΎΓβ‘ΓΒ½ΓΒΎΓΒ΅ ΓΒΎΓΒ±ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅ Γ’β¬β ΓβΓβ¬ΓΒ΅ΓΒ±ΓΖΓΒ΅Γβ ΓΒ΄ΓΒ΅ΓΒ½ΓΒ΅ΓΒ³ ΓΒ½ΓΒ° ΓΒΓΒΊΓΒ·ΓΒ°ΓΒΌΓΒ΅ΓΒ½ΓβΉ. Γβ ΓΒΏΓΒΎΓΒ΄ΓΒΎΓΒ±ΓΒ½ΓβΉΓβ¦ ΓΒΎΓΒ±ΓΒΓβΓΒΎΓΒΓβΓΒ΅ΓΒ»ΓΕΓΒΓβΓΒ²ΓΒ°Γβ¦ ΓΒ»ΓΖΓβ‘ΓΛΓΒ΅ ΓΒ·ΓΒ°ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ ΓΒ³ΓΒΎΓβΓΒΎΓΒ²ΓβΉΓΒΉ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½Γβ. Γβ’ΓΒΓΒ»ΓΒΈ ΓΒ²ΓβΉ ΓΖΓΒΆΓΒ΅ ΓΒ·ΓΒ½ΓΒ°ΓΒΊΓΒΎΓΒΌΓβΉ ΓΒ ΓΒΎΓΒΓΒΎΓΒ±ΓΒ΅ΓΒ½ΓΒ½ΓΒΎΓΒΓβΓΒΓΒΌΓΒΈ ΓΒ±ΓΖΓΒ΄ΓΖΓβ°ΓΒ΅ΓΒΉ ΓΒΏΓβ¬ΓΒΎΓβΓΒ΅ΓΒΓΒΓΒΈΓΒΈ ΓΒΈ ΓΒΎΓΒ²ΓΒ»ΓΒ°ΓΒ΄ΓΒ΅ΓΒ»ΓΒΈ ΓΒ½ΓΒ΅ΓΒΎΓΒ±Γβ¦ΓΒΎΓΒ΄ΓΒΈΓΒΌΓβΉΓΒΌΓΒΈ ΓΒΊΓΒΎΓΒΌΓΒΏΓΒ΅ΓβΓΒ΅ΓΒ½Γβ ΓΒΈΓΒΓΒΌΓΒΈ, ΓΒ½ΓΒ΅Γβ ΓΒΓΒΌΓβΉΓΒΓΒ»ΓΒ° ΓΒ·ΓΒ°ΓβΓβ¬ΓΒ°Γβ‘ΓΒΈΓΒ²ΓΒ°ΓβΓΕ ΓΒ²Γβ¬ΓΒ΅ΓΒΌΓΒ ΓΒ½ΓΒ° ΓΒΎΓΒ±ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅ ΓΒ² ΓΖΓΒ½ΓΒΈΓΒ²ΓΒ΅Γβ¬ΓΒΓΒΈΓβΓΒ΅ΓβΓΒ΅. ΓΕΈΓΒ»ΓΕ½ΓΒΓβΉ ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒΈ ΓΒ΄ΓΒΎΓΒΊΓΖΓΒΌΓΒ΅ΓΒ½ΓβΓΒ° ΓΒΎΓΒ± ΓΒΎΓΒ±Γβ¬ΓΒ°ΓΒ·ΓΒΎΓΒ²ΓΒ°ΓΒ½ΓΒΈΓΒΈ ΓΒ²ΓΒΊΓΒ»ΓΕ½Γβ‘ΓΒ°ΓΕ½Γβ ΓΒΌΓΒ³ΓΒ½ΓΒΎΓΒ²ΓΒ΅ΓΒ½ΓΒ½ΓΒΎΓΒ΅ ΓΒΈΓΒ·ΓΒ³ΓΒΎΓβΓΒΎΓΒ²ΓΒ»ΓΒ΅ΓΒ½ΓΒΈΓΒ΅, ΓΒΈΓΒ΄ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓΒΎΓΒ΅ ΓΒΓβ¦ΓΒΎΓΒ΄ΓΒΓβΓΒ²ΓΒΎ ΓΒ ΓΒΎΓβ¬ΓΒΈΓΒ³ΓΒΈΓΒ½ΓΒ°ΓΒ»ΓΒΎΓΒΌ, ΓΒΏΓβ¬ΓΒΈΓΒ΅ΓΒΌΓΒ»ΓΒ΅ΓΒΌΓΖΓΕ½ ΓΒΓβΓΒΎΓΒΈΓΒΌΓΒΎΓΒΓβΓΕ, ΓΒ³ΓΒ°Γβ¬ΓΒ°ΓΒ½ΓβΓΒΈΓΕ½ ΓβΓβ¬ΓΖΓΒ΄ΓΒΎΓΖΓΒΓβΓβ¬ΓΒΎΓΒΉΓΒΓβΓΒ²ΓΒ°, ΓΒ²ΓΒΎΓΒ·ΓΒΌΓΒΎΓΒΆΓΒ½ΓΒΎΓΒΓβΓΕ ΓΒ²ΓβΉΓΒ±ΓΒΎΓβ¬ΓΒ° ΓΒΎΓβ ΓΒ΅ΓΒ½ΓΒΎΓΒΊ ΓΒΈ ΓΖΓΒ΄ΓΒΎΓΒ±ΓΒ½ΓΖΓΕ½ ΓΒ΄ΓΒΎΓΒΓβΓΒ°ΓΒ²ΓΒΊΓΖ. ΓΒΓΒ°ΓΛΓΒ° ΓβΓΒΈΓβ¬ΓΒΌΓΒ° ΓΒΏΓβ¬ΓΒ΅ΓΒ΄ΓΒΎΓΒΓβΓΒ°ΓΒ²ΓΒ»ΓΒΓΒ΅Γβ ΓΒ²ΓΒΎΓΒ·ΓΒΌΓΒΎΓΒΆΓΒ½ΓΒΎΓΒΓβΓΕ ΓΒ²ΓΒΓΒ΅ΓΒΌ ΓΒΆΓΒ΅ΓΒ»ΓΒ°ΓΕ½Γβ°ΓΒΈΓΒΌ ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒΈΓβΓΕ ΓΒΆΓΒ΅ΓΒ»ΓΒ°ΓΒ΅ΓΒΌΓΖΓΕ½ ΓΒΏΓβ¬ΓΒΎΓβΓΒ΅ΓΒΓΒΓΒΈΓΕ½. ΓΒ¦ΓΒ΅ΓΒ½ΓΒ° ΓΒΈΓΒ·ΓΒ³ΓΒΎΓβΓΒΎΓΒ²ΓΒ»ΓΒ΅ΓΒ½ΓΒΈΓΒ ΓΒΓΒ²ΓΒΈΓΒ΄ΓΒ΅ΓβΓΒ΅ΓΒ»ΓΕΓΒΓβΓΒ² ΓΒ΄ΓΒΎΓΒΓβΓΒΎΓΒΉΓΒ½ΓΒ°, Γβ‘ΓβΓΒΎ ΓΒ΄ΓΒ΅ΓΒ»ΓΒ°ΓΒ΅Γβ ΓΒ΄ΓΒ°ΓΒ½ΓΒ½ΓΒΎΓΒ΅ ΓΒΏΓβ¬ΓΒ΅ΓΒ΄ΓΒ»ΓΒΎΓΒΆΓΒ΅ΓΒ½ΓΒΈΓΒ΅ ΓΒ΄ΓΒΎΓΒΓβΓΖΓΒΏΓΒ½ΓβΉΓΒΌ ΓΒ΄ΓΒ»ΓΒ ΓΒ²ΓΒΓΒ΅Γβ¦.
Erstellt am 02/07/24 um 14:11:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomguru.com schrieb:
<a href=https://diplomguru.com>https://diplomguru.com</a> .
Erstellt am 02/09/24 um 21:54:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomguru.com schrieb:
<a href=https://diplomguru.com>https://diplomguru.com</a>. .
Erstellt am 02/09/24 um 21:54:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomguru.com schrieb:
<a href=https://diplomguru.com> </a> https://diplomguru.com.
Erstellt am 02/09/24 um 22:17:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomguru.com schrieb:
<a href=https://diplomguru.com>https://diplomguru.com</a> . .
Erstellt am 02/09/24 um 22:17:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4.me schrieb:
<a href=https://diplom4.me/> </a>? . .
Erstellt am 02/12/24 um 01:57:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4.me schrieb:
? - <a href=https://diplom4.me/>https://diplom4.me/</a>. . !
Erstellt am 02/12/24 um 03:04:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4.me schrieb:
<a href=https://diplom4.me/> </a>? . !
Erstellt am 02/12/24 um 07:10:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4.me schrieb:
? - <a href=https://diplom4.me/>https://diplom4.me</a>. . !
Erstellt am 02/12/24 um 07:28:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Plisse_lat schrieb:
!
. , .
? , . , , , , , .
<a href=https://tulpan-pmr.ru> </a> !
? -, , . , , .
, . , , .
-: <a href=https://tulpan-pmr.ru>https://www.tulpan-pmr.ru</a>
, !
. , .
? , . , , , , , .
<a href=https://tulpan-pmr.ru> </a> !
? -, , . , , .
, . , , .
-: <a href=https://tulpan-pmr.ru>https://www.tulpan-pmr.ru</a>
, !
Erstellt am 02/13/24 um 09:37:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Plisse_bib schrieb:
!
. , .
? , . , , , , , .
<a href=https://tulpan-pmr.ru> </a> !
? -, , . , , .
, . , , .
-: <a href=https://tulpan-pmr.ru>http://www.tulpan-pmr.ru</a>
, !
. , .
? , . , , , , , .
<a href=https://tulpan-pmr.ru> </a> !
? -, , . , , .
, . , , .
-: <a href=https://tulpan-pmr.ru>http://www.tulpan-pmr.ru</a>
, !
Erstellt am 02/13/24 um 09:38:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomsuper.net schrieb:
<a href=https://diplomsuper.net> </a> - , .
Erstellt am 02/13/24 um 17:57:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomsuper.net schrieb:
<a href=https://diplomsuper.net>https://diplomsuper.net</a> . , .
Erstellt am 02/13/24 um 19:17:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomsuper.net schrieb:
<a href=https://diplomsuper.net> </a> - , .
Erstellt am 02/14/24 um 00:12:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomsuper.net schrieb:
<a href=https://diplomsuper.net> </a> - . .
Erstellt am 02/14/24 um 00:35:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplomex.com schrieb:
- <a href=https://diplomex.com/>https://www.diplomex.com/</a>. . , , - . , , . : - , , . , , .
Erstellt am 02/16/24 um 11:35:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomex.com schrieb:
- <a href=https://diplomex.com/>http://www.diplomex.com</a>. . , , - . , , . : - , , . , , .
Erstellt am 02/16/24 um 12:24:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomex.com schrieb:
<a href=https://diplomex.com/> </a>: .
Erstellt am 02/16/24 um 15:27:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplomex.com schrieb:
- <a href=https://diplomex.com/>https://diplomex.com/</a>. . , , , . : , , . : , . , .
Erstellt am 02/16/24 um 15:41:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplomkupit.org schrieb:
<a href=https://diplomkupit.org/> </a> - . , .
Erstellt am 02/17/24 um 12:19:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplomkupit.org schrieb:
<a href=https://diplomkupit.org/> </a> - . , .
Erstellt am 02/17/24 um 13:03:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplomkupit.org schrieb:
<a href=https://diplomkupit.org/> </a> - . , .
Erstellt am 02/17/24 um 15:45:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplomkupit.org schrieb:
. - <a href=https://diplomkupit.org/>https://diplomkupit.org/</a>. , , , . , . . , , .
Erstellt am 02/17/24 um 15:57:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplom4you.net schrieb:
. - <a href=https://diplom4you.net/>https://www.diplom4you.net/</a>. , , , . , . . , , .
Erstellt am 02/18/24 um 11:39:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.diplom4you.net schrieb:
. - <a href=https://diplom4you.net/>diplom4you.net</a>. , , , . , . . , , .
Erstellt am 02/18/24 um 12:26:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4you.net schrieb:
. - <a href=https://diplom4you.net/>diplom4you.net</a>. , , , . , . . , , .
Erstellt am 02/18/24 um 15:14:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
diplom4you.net schrieb:
<a href=https://diplom4you.net/> </a> - . , .
Erstellt am 02/18/24 um 15:26:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlespoeme schrieb:
http://resekatalog.nu/?unap...
http://polimer-pokras.ru/pi...
http://nigegorodskiikazak.l...
http://modestmanstuff.com/2...
http://mdou10.minobr63.ru/h...
http://polimer-pokras.ru/pi...
http://nigegorodskiikazak.l...
http://modestmanstuff.com/2...
http://mdou10.minobr63.ru/h...
Erstellt am 02/24/24 um 19:57:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlespoeme schrieb:
http://escuelatiempolibre.c...
http://cascaderpark.pl/wita...
http://brakebetter.com/brak...
http://blogvandaag.nl/waar-...
http://armeedusalut.ca/blog...
http://cascaderpark.pl/wita...
http://brakebetter.com/brak...
http://blogvandaag.nl/waar-...
http://armeedusalut.ca/blog...
Erstellt am 02/24/24 um 20:43:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlescaR schrieb:
http://evokeadvertising.co/...
http://charlesjohnandersson...
http://archives.ortusjapan....
http://ariston-tap.gr/intro...
http://www.gowequine.com/ou...
http://charlesjohnandersson...
http://archives.ortusjapan....
http://ariston-tap.gr/intro...
http://www.gowequine.com/ou...
Erstellt am 02/24/24 um 23:43:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardspoot schrieb:
http://hdif-tz.org/gender/?...
http://downiebrothers.com/u...
http://advancedhypnosisinst...
http://advancedhypnosisinst...
http://dynamicaudioplayer.c...
http://downiebrothers.com/u...
http://advancedhypnosisinst...
http://advancedhypnosisinst...
http://dynamicaudioplayer.c...
Erstellt am 02/26/24 um 10:27:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardspoot schrieb:
http://www.closeup.nl/consu...
http://tpprofil.dk/hej-verd...
http://teteinredningar.se/a...
http://sifinvest.hu/?unappr...
http://parts-tyumen.ru/179-...
http://tpprofil.dk/hej-verd...
http://teteinredningar.se/a...
http://sifinvest.hu/?unappr...
http://parts-tyumen.ru/179-...
Erstellt am 02/26/24 um 11:10:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardTew schrieb:
http://liderotrasli.ru/inde...
http://meedent.ru/index.php...
http://inform-line.com/inde...
http://moviecasting.ru/inde...
http://mitracon.ru/index.ph...
http://meedent.ru/index.php...
http://inform-line.com/inde...
http://moviecasting.ru/inde...
http://mitracon.ru/index.ph...
Erstellt am 02/26/24 um 13:57:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardTew schrieb:
http://www.pigcraft.ugu.pl/...
http://joscha.x10host.com/p...
http://forums.indexrise.com...
http://www.xn--72c9aa5escud...
http://logikmemorial.ca/for...
http://joscha.x10host.com/p...
http://forums.indexrise.com...
http://www.xn--72c9aa5escud...
http://logikmemorial.ca/for...
Erstellt am 02/26/24 um 14:08:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prema-diploms-srednee.com schrieb:
. - <a href=https://prema-diploms-sredn...>https://prema-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 02/29/24 um 06:08:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.prema-diploms-srednee.com schrieb:
. - <a href=https://prema-diploms-sredn...>https://prema-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 02/29/24 um 06:54:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.prema-diploms-srednee.com schrieb:
<a href=https://prema-diploms-sredn...> </a> - - . , .
Erstellt am 02/29/24 um 09:45:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prema-diploms-srednee.com schrieb:
<a href=https://prema-diploms-sredn...> </a> - - . , .
Erstellt am 02/29/24 um 09:58:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gruppa-diploms-srednee.com schrieb:
. - <a href=https://gruppa-diploms-sred...>http://www.gruppa-diploms-s...</a>. , , , . , . . , , .
Erstellt am 03/01/24 um 05:37:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gruppa-diploms-srednee.com schrieb:
. - <a href=https://gruppa-diploms-sred...>gruppa-diploms-srednee.com</a>. , , , . , . . , , .
Erstellt am 03/01/24 um 06:20:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gruppa-diploms-srednee.com schrieb:
<a href=https://gruppa-diploms-sred...> </a> - . , ..
Erstellt am 03/01/24 um 09:20:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gruppa-diploms-srednee.com schrieb:
. - <a href=https://gruppa-diploms-sred...>https://gruppa-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 03/01/24 um 09:33:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkiy-diploms-srednee.com schrieb:
<a href=https://russkiy-diploms-sre...> </a> - . , ..
Erstellt am 03/04/24 um 14:48:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkiy-diploms-srednee.com schrieb:
. - <a href=https://russkiy-diploms-sre...>https://www.russkiy-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 03/04/24 um 15:37:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkiy-diploms-srednee.com schrieb:
. - <a href=https://russkiy-diploms-sre...>http://www.russkiy-diploms-...</a>. , , , . , . . , , .
Erstellt am 03/06/24 um 01:52:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkiy-diploms-srednee.com schrieb:
<a href=https://russkiy-diploms-sre...> </a> - . , ..
Erstellt am 03/06/24 um 09:39:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
orik-diploms-srednee.com schrieb:
. - <a href=https://orik-diploms-sredne...>http://www.orik-diploms-sre...</a>. , , , . , . . , , .
Erstellt am 03/07/24 um 20:59:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
www.russa-diploms-srednee.com schrieb:
. - <a href=https://russa-diploms-sredn...>russa-diploms-srednee.com</a>. , , , . , . . , , .
Erstellt am 03/07/24 um 21:28:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
orik-diploms-srednee.com schrieb:
. - <a href=https://orik-diploms-sredne...>https://www.orik-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 03/07/24 um 21:30:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
orik-diploms-srednee.com schrieb:
. - <a href=https://orik-diploms-sredne...>https://www.orik-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 03/08/24 um 04:43:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
orik-diploms-srednee.com schrieb:
<a href=https://orik-diploms-sredne...> </a> - . , ..
Erstellt am 03/08/24 um 08:59:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russa-diploms-srednee.com schrieb:
. - <a href=https://russa-diploms-sredn...>russa-diploms-srednee.com</a>. , , , . , . . , , .
Erstellt am 03/08/24 um 09:30:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russa-diploms-srednee.com schrieb:
. - <a href=https://russa-diploms-sredn...>https://www.russa-diploms-srednee.com/</a>. , , , . , . . , , .
Erstellt am 03/08/24 um 16:02:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelNiz schrieb:
<a href=https://bigpicture.ru/vostr...> </a> - . .
Erstellt am 03/13/24 um 16:20:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelNiz schrieb:
<a href=https://bigpicture.ru/vostr...> </a> - . .
Erstellt am 03/13/24 um 16:52:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ppu-prof_sr schrieb:
, , .
, . , . , , , .
: <a href=https://ppu-prof.ru/> </a> 1250 ²! , .
, , . , .
<a href=https://ppu-prof.ru/>https://ppu-prof.ru/</a>
! , , . ? -. .
, . , . , , , .
: <a href=https://ppu-prof.ru/> </a> 1250 ²! , .
, , . , .
<a href=https://ppu-prof.ru/>https://ppu-prof.ru/</a>
! , , . ? -. .
Erstellt am 03/13/24 um 17:31:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ppu-prof_En schrieb:
, , .
, . , . , , , .
: <a href=https://ppu-prof.ru/> 1 </a> 1250 ! , .
, , . , .
<a href=https://ppu-prof.ru/>http://ppu-prof.ru/</a>
! , , . ? -. .
, . , . , , , .
: <a href=https://ppu-prof.ru/> 1 </a> 1250 ! , .
, , . , .
<a href=https://ppu-prof.ru/>http://ppu-prof.ru/</a>
! , , . ? -. .
Erstellt am 03/13/24 um 17:31:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DimaPruff schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 03/15/24 um 22:13:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DimaPruff schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 03/15/24 um 22:14:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DimaSog schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ https://1server-diploms.com, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 03/16/24 um 14:43:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DimaSog schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° Π²Π°ΠΌ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://1server-diploms.com/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° Π²Π°ΠΌ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://1server-diploms.com/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 03/16/24 um 15:05:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Seo-Ul-bug schrieb:
SEO-, .
.
:
<a href=https://seo-prodvizhenie-ul...> </a>
.
.
-.
<a href=https://seo-prodvizhenie-ul...>https://seo-prodvizhenie-ulyanovsk1.ru/</a>
: , , , . , , .
. .
.
:
<a href=https://seo-prodvizhenie-ul...> </a>
.
.
-.
<a href=https://seo-prodvizhenie-ul...>https://seo-prodvizhenie-ulyanovsk1.ru/</a>
: , , , . , , .
. .
Erstellt am 03/16/24 um 15:23:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Seo-Ul-Tem schrieb:
SEO-, .
.
:
<a href=https://seo-prodvizhenie-ul...> </a>
.
.
- .
<a href=https://seo-prodvizhenie-ul...>https://seo-prodvizhenie-ulyanovsk1.ru/</a>
: , , , . , , .
-. .
.
:
<a href=https://seo-prodvizhenie-ul...> </a>
.
.
- .
<a href=https://seo-prodvizhenie-ul...>https://seo-prodvizhenie-ulyanovsk1.ru/</a>
: , , , . , , .
-. .
Erstellt am 03/16/24 um 15:23:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EleanorFrals schrieb:
ΠΡΠ΅ΠΌ Ρ
ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ!
ΠΠ·ΡΡΠ΅Π½ΠΈΠ΅ Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΡ ΠΌΠ½ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π΄Π»Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ Π²ΡΠ΅ΠΌ, ΠΊΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ Π°Π½Π°Π»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ.
ΠΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²Π°ΠΌ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΈΠΌ Π΅Π³ΠΎ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡΡ.
http://xn--b1acebaenad0ccc3...
https://smetdlysmet.ru/foru...
http://goroddetstva.ru/blog...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΌΠΎΠ»Π΅Π½ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π²ΠΎ Π²Π»Π°Π΄ΠΈΠΌΠΈΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π²Π΅Π»ΠΈΠΊΠΎΠΌ Π½ΠΎΠ²Π³ΠΎΡΠΎΠ΄Π΅
ΠΠ·ΡΡΠ΅Π½ΠΈΠ΅ Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΡ ΠΌΠ½ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π΄Π»Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ Π²ΡΠ΅ΠΌ, ΠΊΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ Π°Π½Π°Π»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ.
ΠΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²Π°ΠΌ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΈΠΌ Π΅Π³ΠΎ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡΡ.
http://xn--b1acebaenad0ccc3...
https://smetdlysmet.ru/foru...
http://goroddetstva.ru/blog...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΌΠΎΠ»Π΅Π½ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π²ΠΎ Π²Π»Π°Π΄ΠΈΠΌΠΈΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π²Π΅Π»ΠΈΠΊΠΎΠΌ Π½ΠΎΠ²Π³ΠΎΡΠΎΠ΄Π΅
Erstellt am 03/17/24 um 05:27:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EleanorFrals schrieb:
ΠΡΠ΅ΠΌ Ρ
ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ!
Π ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠ°Π±ΠΎΡΡ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ Ρ Π½Π°ΡΠ΅Π» Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ ΡΠ΅ΡΡΡΡΡ, ΡΡΠΊΠΎΡΠΈΠ²ΡΠΈΠ΅ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠ΅.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ Ρ Π½Π°Ρ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π΅Π³ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ Ρ ΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π Π€.
http://erotikfoto.ru/index....
https://ba.rolka.me/viewtop...
https://moscow.unibo.ru/m35...
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠΊΡΡΠ²ΠΊΠ°ΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΠ΅Π΄Π½Π΅ ΡΠ΅Ρ Π½ΠΈΡΠ΅ΡΠΊΠΎΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡ ΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΠ°ΡΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ° ΡΠ»Π΅ΠΊΡΡΠΈΠΊΠ°
Π ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠ°Π±ΠΎΡΡ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ Ρ Π½Π°ΡΠ΅Π» Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ ΡΠ΅ΡΡΡΡΡ, ΡΡΠΊΠΎΡΠΈΠ²ΡΠΈΠ΅ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠ΅.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ Ρ Π½Π°Ρ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π΅Π³ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ Ρ ΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π Π€.
http://erotikfoto.ru/index....
https://ba.rolka.me/viewtop...
https://moscow.unibo.ru/m35...
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠΊΡΡΠ²ΠΊΠ°ΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΠ΅Π΄Π½Π΅ ΡΠ΅Ρ Π½ΠΈΡΠ΅ΡΠΊΠΎΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡ ΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΠ°ΡΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ° ΡΠ»Π΅ΠΊΡΡΠΈΠΊΠ°
Erstellt am 03/17/24 um 05:28:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EleanorFrals schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
Π‘ΡΠΎΠ»ΠΊΠ½ΡΠ²ΡΠΈΡΡ Ρ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ°ΠΌΠΈ Π² Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Ρ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ» Π² ΡΠ΅ΡΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΌΠ½Π΅ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ ΡΠ°Π±ΠΎΡΡ.
Π£ Π½Π°Ρ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ ΡΠΎΡΠΊΠ΅ Π ΠΎΡΡΠΈΠΈ.
http://zingcorp.com.au/comp...
http://bitrix-2.dclouds.ru:...
http://moskovskij.getbb.ru/...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠ΅ΠΎΠ΄ΠΎΡΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°Π·Π°Π½ΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΠ·Π½Π΅ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΡΠΎΠ²ΠΎ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π·Π»Π°ΡΠΎΡΡΡΠ΅
Π‘ΡΠΎΠ»ΠΊΠ½ΡΠ²ΡΠΈΡΡ Ρ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ°ΠΌΠΈ Π² Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Ρ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ» Π² ΡΠ΅ΡΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΌΠ½Π΅ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ ΡΠ°Π±ΠΎΡΡ.
Π£ Π½Π°Ρ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ ΡΠΎΡΠΊΠ΅ Π ΠΎΡΡΠΈΠΈ.
http://zingcorp.com.au/comp...
http://bitrix-2.dclouds.ru:...
http://moskovskij.getbb.ru/...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠ΅ΠΎΠ΄ΠΎΡΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°Π·Π°Π½ΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΠ·Π½Π΅ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΡΠΎΠ²ΠΎ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π·Π»Π°ΡΠΎΡΡΡΠ΅
Erstellt am 03/17/24 um 11:56:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EleanorFrals schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΠΎ ΡΠ»ΡΡΡΠ°Π΅ΡΡΡ Ρ ΠΊΠ°ΠΆΠ΄ΡΠΌ Π΄Π½Π΅ΠΌ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΡ ΡΠ΅ΡΡΡΡΠΎΠ² Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅.
Π£ Π½Π°Ρ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ, ΠΎΠΏΠ»Π°ΡΠΈΠ²Π°Ρ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ.
http://www.vladimir.ru/foru...
https://vk.com/vsepolezneys...
http://5oclock.ru/index.php...
ΠΠ΅Π»Π°Ρ Π²Π°ΠΌ Π²ΡΠ΅ΠΌ ΡΠ΅ΡΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΎΠΊΡΡΠ±ΡΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠ΅Π΄Π°Π³ΠΎΠ³Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ»Π΅ΠΊΡΡΠΎΠΌΠΎΠ½ΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠΎΡΠ»Π°Π²Π»Π΅
ΠΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΠΎ ΡΠ»ΡΡΡΠ°Π΅ΡΡΡ Ρ ΠΊΠ°ΠΆΠ΄ΡΠΌ Π΄Π½Π΅ΠΌ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΡ ΡΠ΅ΡΡΡΡΠΎΠ² Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅.
Π£ Π½Π°Ρ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ° Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ, ΠΎΠΏΠ»Π°ΡΠΈΠ²Π°Ρ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ.
http://www.vladimir.ru/foru...
https://vk.com/vsepolezneys...
http://5oclock.ru/index.php...
ΠΠ΅Π»Π°Ρ Π²Π°ΠΌ Π²ΡΠ΅ΠΌ ΡΠ΅ΡΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΎΠΊΡΡΠ±ΡΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠ΅Π΄Π°Π³ΠΎΠ³Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ»Π΅ΠΊΡΡΠΎΠΌΠΎΠ½ΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠΎΡΠ»Π°Π²Π»Π΅
Erstellt am 03/17/24 um 11:59:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eleanortat schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΠ΅ΡΠΌΠΎΡΡΡ Π½Π° ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ Π² ΡΠ°Π±ΠΎΡΠ΅ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ, Ρ Π½Π΅ ΡΠ΄Π°ΡΡΡ, ΠΎΠΏΠΈΡΠ°ΡΡΡ Π½Π° ΡΠ΅ΡΡΡΡΡ, Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΠ΅ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅.
ΠΠ΅Π»Π°Π΅ΡΠ΅ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΈ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅? ΠΠΎΡΡΠ°Π²ΠΈΠΌ Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ Π ΠΎΡΡΠΈΠΈ.
https://mlmwmzmillioner.rol...
http://moskovskij.getbb.ru/...
http://mockwa.com/forum/thr...
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ²Π°ΡΡΠΈΠΊΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠ·Π°Π½ΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π½ΠΎΠ²ΠΎΡΠΎΡΡΠΈΠΉΡΠΊΠ΅
ΠΠ΅ΡΠΌΠΎΡΡΡ Π½Π° ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ Π² ΡΠ°Π±ΠΎΡΠ΅ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ, Ρ Π½Π΅ ΡΠ΄Π°ΡΡΡ, ΠΎΠΏΠΈΡΠ°ΡΡΡ Π½Π° ΡΠ΅ΡΡΡΡΡ, Π½Π°ΠΉΠ΄Π΅Π½Π½ΡΠ΅ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅.
ΠΠ΅Π»Π°Π΅ΡΠ΅ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΈ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅? ΠΠΎΡΡΠ°Π²ΠΈΠΌ Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ Π ΠΎΡΡΠΈΠΈ.
https://mlmwmzmillioner.rol...
http://moskovskij.getbb.ru/...
http://mockwa.com/forum/thr...
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ²Π°ΡΡΠΈΠΊΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠ·Π°Π½ΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π½ΠΎΠ²ΠΎΡΠΎΡΡΠΈΠΉΡΠΊΠ΅
Erstellt am 03/17/24 um 12:48:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eleanortat schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΠ°ΠΏΠΈΡΠ°Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΠΏΠΎ Π½ΠΎΡΠ°ΠΌ ΡΡΡΠ³ΡΠ±ΠΈΠ»ΠΎ ΠΌΠΎΠ΅ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, Π½ΠΎ Ρ Π½Π°ΡΡΡΠΎΠ΅Π½ Π·Π°Π²Π΅ΡΡΠΈΡΡ Π΅Π³ΠΎ Π½Π΅ΡΠΌΠΎΡΡΡ Π½Π° ΡΡΡΠ΄Π½ΠΎΡΡΠΈ.
ΠΠ°Ρ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΡΠΏΠΈΡΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅, Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°.
https://kelian.ru/moskva/dr...
http://worldcrisis.ru/crisi...
https://xn--80ae1aidok.xn--...
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΡΠ΅ΡΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°ΠΌΠ΅Π½ΡΠΊΠ΅-ΡΡΠ°Π»ΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎΠ±ΡΠ°Π·ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π²ΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π½ΠΈΠΆΠ½Π΅ΠΌ ΡΠ°Π³ΠΈΠ»Π΅
ΠΠ°ΠΏΠΈΡΠ°Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΠΏΠΎ Π½ΠΎΡΠ°ΠΌ ΡΡΡΠ³ΡΠ±ΠΈΠ»ΠΎ ΠΌΠΎΠ΅ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, Π½ΠΎ Ρ Π½Π°ΡΡΡΠΎΠ΅Π½ Π·Π°Π²Π΅ΡΡΠΈΡΡ Π΅Π³ΠΎ Π½Π΅ΡΠΌΠΎΡΡΡ Π½Π° ΡΡΡΠ΄Π½ΠΎΡΡΠΈ.
ΠΠ°Ρ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΡΠΏΠΈΡΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅, Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°.
https://kelian.ru/moskva/dr...
http://worldcrisis.ru/crisi...
https://xn--80ae1aidok.xn--...
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΡΠ΅ΡΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°ΠΌΠ΅Π½ΡΠΊΠ΅-ΡΡΠ°Π»ΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎΠ±ΡΠ°Π·ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π²ΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π½ΠΈΠΆΠ½Π΅ΠΌ ΡΠ°Π³ΠΈΠ»Π΅
Erstellt am 03/17/24 um 13:40:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eleanortat schrieb:
ΠΡΠ΅ΠΌ Ρ
ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ!
ΠΡΠΎΠ΄ΠΎΠ»ΠΆΠ°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ, Π½Π΅ΡΠΌΠΎΡΡΡ Π½Π° Π²ΡΠ΅ ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ, ΠΈ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π·Π° ΠΏΠΎΠΌΠΎΡΡ Π² ΡΡΠΎΠΌ Π½Π΅Π»Π΅Π³ΠΊΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅.
ΠΠ° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ°, Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, Ρ ΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° 24/7.
http://garmoniya.uglich.ru/...
https://vk.com/prymechatel?...
https://rusprofit.ru/c613-3...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΌΠΈΠ°ΡΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±ΡΡΠΈΠ»ΡΡΠΈΠΊΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π±Π°Π»Π°ΠΊΠΎΠ²ΠΎ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠ±ΡΠΎΠ²ΡΠΊΠ΅
ΠΡΠΎΠ΄ΠΎΠ»ΠΆΠ°Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π½Π°Π΄ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ, Π½Π΅ΡΠΌΠΎΡΡΡ Π½Π° Π²ΡΠ΅ ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ, ΠΈ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π·Π° ΠΏΠΎΠΌΠΎΡΡ Π² ΡΡΠΎΠΌ Π½Π΅Π»Π΅Π³ΠΊΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅.
ΠΠ° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ°, Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, Ρ ΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° 24/7.
http://garmoniya.uglich.ru/...
https://vk.com/prymechatel?...
https://rusprofit.ru/c613-3...
ΠΠ΅Π»Π°Ρ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΌΠΈΠ°ΡΡΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±ΡΡΠΈΠ»ΡΡΠΈΠΊΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π±Π°Π»Π°ΠΊΠΎΠ²ΠΎ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΡΠ±ΡΠΎΠ²ΡΠΊΠ΅
Erstellt am 03/17/24 um 13:51:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eleanortat schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ!
ΠΠ°ΠΏΠΈΡΠ°Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΡΡΠ°Π»ΠΎ ΠΌΠ΅Π½Π΅Π΅ ΠΎΠ±ΡΠ΅ΠΌΠ΅Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΌ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ΅ΡΡΡΡΠ°ΠΌ, ΠΊΠΎΡΠΎΡΡΠ΅ Ρ Π½Π°ΡΠ΅Π».
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΠΈΠ½ΡΡΠΈΡΡΡΠ°, ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Ρ Π½Π°Ρ β Π»ΡΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€.
http://www.finanso.net/inde...
https://informru.ru/yslygi/...
http://fh79604z.bget.ru/ind...
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π±Π΅ΡΠ΄ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ Π·Π° 9 ΠΊΠ»Π°ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°ΠΌΠ΅Π½ΡΠΊΠ΅-ΡΡΠ°Π»ΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΠ·Π½Π΅ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΡΠ³Π°Π½Π΅
ΠΠ°ΠΏΠΈΡΠ°Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΡΡΠ°Π»ΠΎ ΠΌΠ΅Π½Π΅Π΅ ΠΎΠ±ΡΠ΅ΠΌΠ΅Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΌ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ΅ΡΡΡΡΠ°ΠΌ, ΠΊΠΎΡΠΎΡΡΠ΅ Ρ Π½Π°ΡΠ΅Π».
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ° ΠΈΠ½ΡΡΠΈΡΡΡΠ°, ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Ρ Π½Π°Ρ β Π»ΡΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€.
http://www.finanso.net/inde...
https://informru.ru/yslygi/...
http://fh79604z.bget.ru/ind...
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½Π΅ Π΄Π²ΠΎΠ΅ΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² Π±Π΅ΡΠ΄ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ Π·Π° 9 ΠΊΠ»Π°ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ°ΠΌΠ΅Π½ΡΠΊΠ΅-ΡΡΠ°Π»ΡΡΠΊΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΠ·Π½Π΅ΡΠΊΠ΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΡΡΠ³Π°Π½Π΅
Erstellt am 03/17/24 um 14:45:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wi schrieb:
Π‘ΠΎΠ²Π΅ΡΡΠ΅ΠΌ ΠΏΠΎΡΠ΅ΡΠΈΡΡ ΡΠ°ΠΉΡ <a href="https://balkonnaya-dver.ru/">https://balkonnaya-dver.ru/</a>
Π’Π°ΠΊΠΆΠ΅ Π½Π΅ Π·Π°Π±ΡΠ΄ΡΡΠ΅ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΠ°ΠΉΡ Π² Π·Π°ΠΊΠ»Π°Π΄ΠΊΠΈ: <a href="https://balkonnaya-dver.ru/">https://balkonnaya-dver.ru/</a>
Π’Π°ΠΊΠΆΠ΅ Π½Π΅ Π·Π°Π±ΡΠ΄ΡΡΠ΅ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΠ°ΠΉΡ Π² Π·Π°ΠΊΠ»Π°Π΄ΠΊΠΈ: <a href="https://balkonnaya-dver.ru/">https://balkonnaya-dver.ru/</a>
Erstellt am 03/22/24 um 14:45:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stanleysek schrieb:
<a href=https://turgenev-2018.ru/> </a> - . .
Erstellt am 03/24/24 um 23:43:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stanleysek schrieb:
<a href=http://arxitekt.ru/> </a> - . .
Erstellt am 03/25/24 um 00:13:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stanleywrown schrieb:
<a href=https://sosedi2017.ru/> -</a> - . .
Erstellt am 03/25/24 um 07:46:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stanleywrown schrieb:
<a href=https://uk-ahml.ru/> </a> - . .
Erstellt am 03/25/24 um 12:01:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyLoutt schrieb:
<a href=https://gosznak-diploms.com/> </a> - . .
Erstellt am 03/28/24 um 19:37:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyLoutt schrieb:
<a href=https://goznak-diplomas.com/>https://diplomgoznac.com/ </a> - . .
Erstellt am 03/28/24 um 20:14:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timothypycle schrieb:
<a href=https://gosznak-diploms.com/> </a> - . .
Erstellt am 03/29/24 um 05:05:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timothypycle schrieb:
<a href=https://goznakovskie-diplom...> </a> - . .
Erstellt am 03/29/24 um 10:04:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarlonDreni schrieb:
https://www.mom4real.com/3-...Β
https://forums.wolflair.com...Β
https://shkola830.ucoz.com/...Β
https://www.one.lt/premiums...Β
https://maysk-school.ucoz.n...Β
https://forums.wolflair.com...Β
https://shkola830.ucoz.com/...Β
https://www.one.lt/premiums...Β
https://maysk-school.ucoz.n...Β
Erstellt am 03/30/24 um 00:55:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarlonDreni schrieb:
https://gaceta.uacj.mx/50an...Β
https://biowong.freehostia....Β
https://hackathon.uiz.ac.ma...Β
https://only-radio.ucoz.ua/...Β
https://www.eduportal44.ru/...Β
https://biowong.freehostia....Β
https://hackathon.uiz.ac.ma...Β
https://only-radio.ucoz.ua/...Β
https://www.eduportal44.ru/...Β
Erstellt am 03/30/24 um 01:24:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Marlonbab schrieb:
https://www.ng.ru/blogs/use...Β
https://webofthings.org/201...Β
https://furstset.com/2021/0...Β
https://malov.buryatschool....Β
https://studizba.com/stati/...Β
https://webofthings.org/201...Β
https://furstset.com/2021/0...Β
https://malov.buryatschool....Β
https://studizba.com/stati/...Β
Erstellt am 03/30/24 um 10:01:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Marlonbab schrieb:
https://vdocuments.site/int...Β
https://owen.ru/forum/group...Β
https://yar.best-city.ru/fo...Β
https://sagasimono.squares....Β
https://at1.do.am/index/at1...Β
https://owen.ru/forum/group...Β
https://yar.best-city.ru/fo...Β
https://sagasimono.squares....Β
https://at1.do.am/index/at1...Β
Erstellt am 03/30/24 um 15:32:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Li_pymn schrieb:
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΡΠ½Π΄Π΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΠΊΠ°ΠΊ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°ΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΠ² Π² ΡΠ½Π΄Π΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠ°ΡΡ Π±ΡΠ΄ΠΆΠ΅Ρ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡΠ°</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΡΠ½Π΄Π΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>https://vc.ru/u/593058-andy/906204-sklikivanie-reklamy-yandeks-direkt-luchshie-servisy-dlya-borby-so-sklikom</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΠΊΠ°ΠΊ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°ΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΠ² Π² ΡΠ½Π΄Π΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠ°ΡΡ Π±ΡΠ΄ΠΆΠ΅Ρ Π² ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡΠ°</a>.
<a href=https://vc.ru/u/593058-andy...>ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΡΠ½Π΄Π΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>Π·Π°ΡΠΈΡΠ° ΠΎΡ ΡΠΊΠ»ΠΈΠΊΠΈΠ²Π°Π½ΠΈΡ ΡΠ½Π΄Π΅ΠΊΡ Π΄ΠΈΡΠ΅ΠΊΡ</a>.
<a href=https://vc.ru/u/593058-andy...>https://vc.ru/u/593058-andy/906204-sklikivanie-reklamy-yandeks-direkt-luchshie-servisy-dlya-borby-so-sklikom</a>.
Erstellt am 04/02/24 um 12:58:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
schrieb:
We recommend visiting the website <a href="https://telegra.ph/The-Driv...">https://telegra.ph/The-Drive-Within-Unlocking-Potential-with-Motivational-Quotes-03-31</a>.
Also, don't forget to bookmark the site: <a href=https://telegra.ph/The-Driv...>https://telegra.ph/The-Drive-Within-Unlocking-Potential-with-Motivational-Quotes-03-31</a>
Also, don't forget to bookmark the site: <a href=https://telegra.ph/The-Driv...>https://telegra.ph/The-Drive-Within-Unlocking-Potential-with-Motivational-Quotes-03-31</a>
Erstellt am 04/05/24 um 00:27:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldsmite schrieb:
https://www.nwhkk.com/ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒ°-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-ΓΒ²-Γβ¬ΓΒΎΓΒ-4
https://www.floridacarcover...ΓΒΊΓΒ°ΓΒΊ-ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-2
https://www.tobasee.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΏΓΖΓβΓΕ-ΓΒΊ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎΓΒΉ-ΓΒΊΓΒ°Γβ¬ΓΕΓΒ΅Γβ¬-4
https://www.thecreativealli...ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-2
https://vimeo.com/originali...
https://www.floridacarcover...ΓΒΊΓΒ°ΓΒΊ-ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-2
https://www.tobasee.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΏΓΖΓβΓΕ-ΓΒΊ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎΓΒΉ-ΓΒΊΓΒ°Γβ¬ΓΕΓΒ΅Γβ¬-4
https://www.thecreativealli...ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-2
https://vimeo.com/originali...
Erstellt am 04/05/24 um 00:50:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldsmite schrieb:
https://www.siliconmetaltra...ΓΒΊΓΖΓΒΏΓΒΈΓβΓΒ΅-ΓΒΏΓΒΎΓΒ΄ΓΒ»ΓΒΈΓΒ½ΓΒ½ΓβΉΓΒΉ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-ΓΒ½-2
https://app.geniusu.com/use...
https://www.tobasee.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΏΓΖΓβΓΕ-ΓΒΊ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎΓΒΉ-ΓΒΊΓΒ°Γβ¬ΓΕΓΒ΅Γβ¬
https://www.vznetwork.net/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒ»ΓΒ΅ΓΒ³ΓΒΊΓΒΎΓΒ΅-ΓΒΈΓΒ»ΓΒΈ-ΓΒΎΓΒΏΓΒ°ΓΒΓΒ½ΓΒΎΓΒ΅-Γβ¬ΓΒ΅ΓΛΓΒ΅-2
https://www.vipbabby.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-2
https://app.geniusu.com/use...
https://www.tobasee.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΏΓΖΓβΓΕ-ΓΒΊ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓΒΎΓΒΉ-ΓΒΊΓΒ°Γβ¬ΓΕΓΒ΅Γβ¬
https://www.vznetwork.net/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒ»ΓΒ΅ΓΒ³ΓΒΊΓΒΎΓΒ΅-ΓΒΈΓΒ»ΓΒΈ-ΓΒΎΓΒΏΓΒ°ΓΒΓΒ½ΓΒΎΓΒ΅-Γβ¬ΓΒ΅ΓΛΓΒ΅-2
https://www.vipbabby.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-2
Erstellt am 04/05/24 um 01:18:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldfut schrieb:
https://www.phrenologik.com/ΓΒΏΓβ¬ΓΒ΅ΓΒΈΓΒΌΓΖΓβ°ΓΒ΅ΓΒΓβΓΒ²ΓΒ°-ΓΒΈ-ΓΒΏΓβ¬ΓΒΎΓβ ΓΒ΅ΓΒΓΒ-ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒΈ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎ-3
https://danstheonlinedogtra...ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-Γβ¬ΓΒΎΓΒΓΒΓΒΈ
https://www.transvine.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓβΉΓΒΉ-ΓΒΓΒΏΓΒΎΓΒΓΒΎΓΒ±-ΓΒΏΓΒΎΓΒ²ΓβΉΓΒΓΒΈ
https://www.netruckrepair.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-3
https://www.entertainmentan...ΓΒΊΓΒ°ΓΒΊ-ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-3
https://danstheonlinedogtra...ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-Γβ¬ΓΒΎΓΒΓΒΓΒΈ
https://www.transvine.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒ±ΓβΉΓΒΓβΓβ¬ΓβΉΓΒΉ-ΓΒΓΒΏΓΒΎΓΒΓΒΎΓΒ±-ΓΒΏΓΒΎΓΒ²ΓβΉΓΒΓΒΈ
https://www.netruckrepair.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΒ°ΓΒ»ΓΕΓΒ½ΓβΉΓΒΉ-ΓΒΈΓΒ»ΓΒΈ-ΓΒΌΓΒΎΓΛΓΒ΅ΓΒ½ΓΒ½ΓΒΈΓβ‘ΓΒ΅-3
https://www.entertainmentan...ΓΒΊΓΒ°ΓΒΊ-ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-3
Erstellt am 04/05/24 um 09:03:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldfut schrieb:
https://www.badulakebilbao....ΓΒΏΓβ¬ΓΒΈΓΒΎΓΒ±Γβ¬ΓΒ΅ΓβΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-3
https://www.techmorecrunch....ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒ°-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-2
https://contentcalendar.io/ΓΒΏΓβ¬ΓΒΈΓΒΎΓΒ±Γβ¬ΓΒ΅ΓβΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-3
https://www.phono-mundial.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΛΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒΏΓβ¬ΓΒΎΓΒ±ΓΒ»ΓΒ΅ΓΒΌΓβΉ-ΓΒΓβΓΖΓΒ΄ΓΒ΅
https://pr9websites.com/ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-ΓΒΏΓΒΎ-3
https://www.techmorecrunch....ΓΒΏΓΒΎΓΒΊΓΖΓΒΏΓΒΊΓΒ°-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-ΓΒ²-Γβ¬ΓΒΎΓΒΓΒΓΒΈΓΒΈ-2
https://contentcalendar.io/ΓΒΏΓβ¬ΓΒΈΓΒΎΓΒ±Γβ¬ΓΒ΅ΓβΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°Γβ-3
https://www.phono-mundial.com/ΓΒΊΓΖΓΒΏΓΒΈΓβΓΕ-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌ-Γβ¬ΓΒ΅ΓΛΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒΏΓβ¬ΓΒΎΓΒ±ΓΒ»ΓΒ΅ΓΒΌΓβΉ-ΓΒΓβΓΖΓΒ΄ΓΒ΅
https://pr9websites.com/ΓΒΏΓΒΎΓΒ»ΓΖΓβ‘ΓΒ΅ΓΒ½ΓΒΈΓΒ΅-ΓΒ΄ΓΒΈΓΒΏΓΒ»ΓΒΎΓΒΌΓΒ°-ΓΒΈΓΒ»ΓΒΈ-ΓΒΓΒ΅Γβ¬ΓβΓΒΈΓβΓΒΈΓΒΊΓΒ°ΓβΓΒ°-ΓΒΏΓΒΎ-3
Erstellt am 04/05/24 um 13:44:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MatthewOwels schrieb:
<a href=esitscale.com/forum/memberlist.php?mode=joined&order=ASC&start=38000Β >ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ</a> - . .
Erstellt am 04/06/24 um 00:43:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MatthewOwels schrieb:
<a href=gromscream.80lvl.ru/viewtopic.php?f=3&t=1752&start=0&view=printΒ >ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΊΠ»ΠΈΠ½ΡΠ°Ρ</a> - . .
Erstellt am 04/06/24 um 01:11:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lee_pymn schrieb:
<a href=https://www.abcsport.ru/sho...>ΠΠ΅Π²ΡΠ° Π£ΡΠ»ΡΠ³ΠΈ ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ Ρ
ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=https://oblacco.com/kak-zap...>levsha Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π½Π° Π΄ΠΎΠΌΡ Π² ΡΠ΅Π½Π°</a>.
<a href=https://www.sergiev-posad.r...>levsha-remont.ru Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² ΡΠ΅Π½Π°</a>.
<a href=https://moskva.2rus.org/lev...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π΄Π΅ΡΠ΅Π²ΠΎ ΠΠ΅Π²ΡΠ°</a>.
<a href=https://www.sergiev-posad.r...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² mpm ΠΠ΅Π²ΡΠ° Π Π΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://bashny.net/admin/20...>ΠΡΠ·ΠΎΠ² ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΏΠΎ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠ°ΠΌ levsha-remont</a>.
<a href=https://bashny.net/admin/20...>Π₯ΠΎΡΠΎΡΠΈΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=http://trisovi.ru/remont-ho...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠ° Π²</a>.
<a href=https://bashny.net/admin/20...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π°ΡΠΈΡΡΠΎΠ½</a>.
<a href=http://vnoginske.ru/12422-r...>Π₯ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ΅Π½Π°</a>.
<a href=https://oblacco.com/kak-zap...>levsha Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π½Π° Π΄ΠΎΠΌΡ Π² ΡΠ΅Π½Π°</a>.
<a href=https://www.sergiev-posad.r...>levsha-remont.ru Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² ΡΠ΅Π½Π°</a>.
<a href=https://moskva.2rus.org/lev...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π΄Π΅ΡΠ΅Π²ΠΎ ΠΠ΅Π²ΡΠ°</a>.
<a href=https://www.sergiev-posad.r...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² mpm ΠΠ΅Π²ΡΠ° Π Π΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://bashny.net/admin/20...>ΠΡΠ·ΠΎΠ² ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΏΠΎ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠ°ΠΌ levsha-remont</a>.
<a href=https://bashny.net/admin/20...>Π₯ΠΎΡΠΎΡΠΈΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=http://trisovi.ru/remont-ho...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠ° Π²</a>.
<a href=https://bashny.net/admin/20...>Π Π΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π°ΡΠΈΡΡΠΎΠ½</a>.
<a href=http://vnoginske.ru/12422-r...>Π₯ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ΅Π½Π°</a>.
Erstellt am 04/06/24 um 04:11:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Tee_pymn schrieb:
<a href=https://www.kremlinrus.ru/a...>ΠΠΎΠ»Π½Π° Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΏΠΎ ΡΠ΅Π½Π°ΠΌ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://www.reddit.com/user...>ΡΠ΅ΠΏΠ»ΠΈΡΠ°52 ΠΠ΅ΡΠ΅Π²ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://forum.ixbt.com/user...>1742038>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://www.cakeresume.com/...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π°ΠΊΡΠΈΠΈ ΡΠ°ΡΠΏΡΠΎΠ΄Π°ΠΆΠΈ</a>.
<a href=http://kfaktiv.ru/sovety-po...>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΈΠ· ΡΠΎΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=http://vomske.ru/news/13902...>teplica52.ru ΠΠ΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://issuu.com/teplica>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· teplica52</a>.
<a href=https://abisgroup.ru/articl...>ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΠΎΠ»Π½Π° ΠΈ ΠΠΠ’Π</a>.
<a href=https://www.infpol.ru/20425...>ΠΠ°Π²ΠΎΠ΄ ΡΡΠΈΠ»Π΅Π½Π½ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡ</a>.
<a href=https://leetcode.com/teplic...>Π’Π΅ΠΏΠ»ΠΈΡΠ° 3 Π½Π° 8 ΡΠ΅Π½Π°</a>.
<a href=https://www.pinterest.es/re...>ΠΠ°ΠΊΠ°Π·Π°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΎΠΉ teplica52</a>.
<a href=https://spravka-jurist.com/...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ΅Π½Ρ Π’Π΅ΠΏΠ»ΠΈΡΠ°52</a>.
<a href=https://sodla.ru/problemy-s...>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΡΠ΅Π½Π°</a>.
<a href=https://www.intensedebate.c...>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=https://www.wpgmaps.com/for...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ°ΡΠΏΡΠΎΠ΄Π°ΠΆΠ°</a>.
<a href=http://www.topsostav.ru/pro...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ</a>.
<a href=https://www.cossa.ru/profil...>ΠΠΎΠ»Π½Π° ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://heylink.me/Teplica52/>ΡΠ΅ΠΏΠ»ΠΈΡΠ°52 ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΈ ΡΠ±ΠΎΡΠΊΠΎΠΉ</a>.
<a href=https://github.com/Teplica52>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΡΠ΅Π½Π° ΡΡΠ±</a>.
<a href=https://www.kremlinrus.ru/a...>Π’Π΅ΠΏΠ»ΠΈΡΡ Π½Π° Π·Π°ΠΊΠ°Π·</a>.
<a href=http://vstrg.info/stati-par...>Π’Π΅ΠΏΠ»ΠΈΡΡ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ</a>.
<a href=https://gitlab.com/Teplica52>teplica52.ru Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΡΠ΅Π½Π°</a>.
<a href=https://heylink.me/Teplica52/>ΠΡΠΏΠΈΡΡ ΠΌΠΈΠ½ΠΈ ΡΠ΅ΠΏΠ»ΠΈΡΡ teplica52</a>.
<a href=https://beacons.ai/teplica52>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° Π½Π° Π·Π°ΠΊΠ°Π· ΠΠΎΠ»Π½Π° ΠΈ ΠΠΠ’Π</a>.
<a href=https://ru.pinterest.com/re...>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΡΡΡΠ±Ρ</a>.
<a href=https://www.carshistory.ru/...>Π‘ΡΠΎΠΈΠΌΠΎΡΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=https://gotartwork.com/Prof...>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΊΠ°ΠΏΠ΅Π»ΡΠΊΠ° ΠΊΡΠΏΠΈΡΡ teplica52</a>.
<a href=https://500px.com/p/rega18>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· Π’Π΅ΠΏΠ»ΠΈΡΠ°52</a>.
<a href=https://coub.com/teplitsy-v...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ</a>.
<a href=https://m.qooh.me/Teplica52>Π’Π΅ΠΏΠ»ΠΈΡΡ ΡΠ΅Π½Π°</a>.
<a href=https://www.strata.com/foru...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠΈΡΠΈΠ½Π° 2 ΠΌΠ΅ΡΡΠ°</a>.
<a href=https://bbpress.org/forums/...>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ 2 4</a>.
<a href=https://www.reddit.com/user...>ΡΠ΅ΠΏΠ»ΠΈΡΠ°52 ΠΠ΅ΡΠ΅Π²ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://forum.ixbt.com/user...>1742038>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://www.cakeresume.com/...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π°ΠΊΡΠΈΠΈ ΡΠ°ΡΠΏΡΠΎΠ΄Π°ΠΆΠΈ</a>.
<a href=http://kfaktiv.ru/sovety-po...>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΈΠ· ΡΠΎΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=http://vomske.ru/news/13902...>teplica52.ru ΠΠ΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://issuu.com/teplica>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· teplica52</a>.
<a href=https://abisgroup.ru/articl...>ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΠΎΠ»Π½Π° ΠΈ ΠΠΠ’Π</a>.
<a href=https://www.infpol.ru/20425...>ΠΠ°Π²ΠΎΠ΄ ΡΡΠΈΠ»Π΅Π½Π½ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡ</a>.
<a href=https://leetcode.com/teplic...>Π’Π΅ΠΏΠ»ΠΈΡΠ° 3 Π½Π° 8 ΡΠ΅Π½Π°</a>.
<a href=https://www.pinterest.es/re...>ΠΠ°ΠΊΠ°Π·Π°ΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΎΠΉ teplica52</a>.
<a href=https://spravka-jurist.com/...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ΅Π½Ρ Π’Π΅ΠΏΠ»ΠΈΡΠ°52</a>.
<a href=https://sodla.ru/problemy-s...>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΡΠ΅Π½Π°</a>.
<a href=https://www.intensedebate.c...>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=https://www.wpgmaps.com/for...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ°ΡΠΏΡΠΎΠ΄Π°ΠΆΠ°</a>.
<a href=http://www.topsostav.ru/pro...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ</a>.
<a href=https://www.cossa.ru/profil...>ΠΠΎΠ»Π½Π° ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://heylink.me/Teplica52/>ΡΠ΅ΠΏΠ»ΠΈΡΠ°52 ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΈ ΡΠ±ΠΎΡΠΊΠΎΠΉ</a>.
<a href=https://github.com/Teplica52>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΡΠ΅Π½Π° ΡΡΠ±</a>.
<a href=https://www.kremlinrus.ru/a...>Π’Π΅ΠΏΠ»ΠΈΡΡ Π½Π° Π·Π°ΠΊΠ°Π·</a>.
<a href=http://vstrg.info/stati-par...>Π’Π΅ΠΏΠ»ΠΈΡΡ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ</a>.
<a href=https://gitlab.com/Teplica52>teplica52.ru Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΡΠ΅Π½Π°</a>.
<a href=https://heylink.me/Teplica52/>ΠΡΠΏΠΈΡΡ ΠΌΠΈΠ½ΠΈ ΡΠ΅ΠΏΠ»ΠΈΡΡ teplica52</a>.
<a href=https://beacons.ai/teplica52>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° Π½Π° Π·Π°ΠΊΠ°Π· ΠΠΎΠ»Π½Π° ΠΈ ΠΠΠ’Π</a>.
<a href=https://ru.pinterest.com/re...>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΡΡΡΠ±Ρ</a>.
<a href=https://www.carshistory.ru/...>Π‘ΡΠΎΠΈΠΌΠΎΡΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ°</a>.
<a href=https://gotartwork.com/Prof...>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΊΠ°ΠΏΠ΅Π»ΡΠΊΠ° ΠΊΡΠΏΠΈΡΡ teplica52</a>.
<a href=https://500px.com/p/rega18>Π’Π΅ΠΏΠ»ΠΈΡΠ° ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· Π’Π΅ΠΏΠ»ΠΈΡΠ°52</a>.
<a href=https://coub.com/teplitsy-v...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ</a>.
<a href=https://m.qooh.me/Teplica52>Π’Π΅ΠΏΠ»ΠΈΡΡ ΡΠ΅Π½Π°</a>.
<a href=https://www.strata.com/foru...>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠΈΡΠΈΠ½Π° 2 ΠΌΠ΅ΡΡΠ°</a>.
<a href=https://bbpress.org/forums/...>ΠΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΈΡΡ 2 4</a>.
Erstellt am 04/08/24 um 02:34:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dze_pymn schrieb:
<a href=https://www.cossa.ru/profil...>dzen_remont</a>.
<a href=https://servisdv.ru/index.p...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://reg2165.wixsite.com...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘ΠΠ‘βΠ ΡΠ‘ΠΠ Β°Π Β»Π‘ΠΠ Π Π‘βΉΠ‘β¦-Π ΡΠ Β°Π‘β¬Π ΡΠ Π >ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://dzenremont.onepage....>https://dzen-remont.ru</a>.
<a href=https://servisdv.ru/index.p...>dzen-remont.ru</a>.
<a href=https://arbaletspb.ru/forum...>DZEN-remont.ru</a>.
<a href=https://www.zsmspb.ru/artic...>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://remont-spb.hatenabl...>dzen_remont</a>.
<a href=https://dzen.pixnet.net/blo...>http://www.dzen-remont.ru</a>.
<a href=https://telegra.ph/Remont-d...>dzen-remont.ru</a>.
<a href=https://teplica-parnik.net/...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://2stiralki.ru/vybor-...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ </a>.
<a href=https://telegra.ph/Remont-d...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=https://dailygram.com/blog/...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π Π‘ΡΠ‘β¦Π ΡΠ ΠΠ‘βΉΠ‘β¦-Π‘β¬Π ΡΠ Β°Π‘βΠ ΡΠ Π-Π Π-Π‘ΠΠ Β°Π Π Π ΡΠ‘β-Π ΡΠ Β΅Π‘βΠ Β΅Π‘ΠΠ Β±Π‘ΡΠ‘ΠΠ ΡΠ Β΅/>ΠΠ·Π΅Π½-ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡ</a>.
<a href=https://penzu.com/public/f0...>https://dzen-remont.ru</a>.
<a href=https://arbaletspb.ru/forum...>dzen_remont</a>.
<a href=https://teplica-parnik.net/...>dzen remont</a>.
<a href=http://Π‘ΠΠ Β°Π ΡΠ‘ΠΠ Β΅Π‘ΠΠ ΠΠ ΡΠ‘Π.Π‘ΠΠ‘β/remont-stiralnykh-mashin>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://dialogs.yandex.ru/s...>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=http://service-galaktika.ru...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=https://dzen.hashnode.dev/r...>dzen_remont</a>.
<a href=https://dzen1.localinfo.jp/...>https://dzen-remont.ru</a>.
<a href=https://reg2165.wixsite.com...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘ΠΠ‘βΠ ΡΠ‘ΠΠ Β°Π Β»Π‘ΠΠ Π Π‘βΉΠ‘β¦-Π ΡΠ Β°Π‘β¬Π ΡΠ Π >https://dzen-remont.ru</a>.
<a href=https://64195a4a3d289.site1...Π βΠ Β·Π Β΅Π Π -Π Β Π Β΅Π ΡΠ ΡΠ Π Π‘β>https://dzen-remont.ru/</a>.
<a href=https://medium.com/@reg_48881/Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π-Π Π Π Β°-Π Π ΡΠ ΡΠ‘Ρ-Π Π-Π‘ΠΠ Β°Π Π Π ΡΠ‘β-Π ΡΠ Β΅Π‘βΠ Β΅Π‘ΠΠ Β±Π‘ΡΠ‘ΠΠ ΡΠ Β΅-f1d680ef8591>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://64195a4a3d289.site1...Π βΠ Β·Π Β΅Π Π -Π Β Π Β΅Π ΡΠ ΡΠ Π Π‘β>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://forum.expert-cm.ru/...>dzen remont</a>.
<a href=https://dzen-remont.jimdosi...>http://www.dzen-remont.ru</a>.
<a href=https://remont-holodilnikov...>http://www.dzen-remont.ru</a>.
<a href=https://dzenremont-spb.webf...>http://www.dzen-remont.ru</a>.
<a href=https://dzen-remont.jimdosi...>http://www.dzen-remont.ru</a>.
<a href=https://www.arbaletspb.ru/f...>https://dzen-remont.ru/</a>.
<a href=https://servisdv.ru/index.p...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://reg2165.wixsite.com...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘ΠΠ‘βΠ ΡΠ‘ΠΠ Β°Π Β»Π‘ΠΠ Π Π‘βΉΠ‘β¦-Π ΡΠ Β°Π‘β¬Π ΡΠ Π >ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://dzenremont.onepage....>https://dzen-remont.ru</a>.
<a href=https://servisdv.ru/index.p...>dzen-remont.ru</a>.
<a href=https://arbaletspb.ru/forum...>DZEN-remont.ru</a>.
<a href=https://www.zsmspb.ru/artic...>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://remont-spb.hatenabl...>dzen_remont</a>.
<a href=https://dzen.pixnet.net/blo...>http://www.dzen-remont.ru</a>.
<a href=https://telegra.ph/Remont-d...>dzen-remont.ru</a>.
<a href=https://teplica-parnik.net/...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://2stiralki.ru/vybor-...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ </a>.
<a href=https://telegra.ph/Remont-d...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=https://dailygram.com/blog/...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π Π‘ΡΠ‘β¦Π ΡΠ ΠΠ‘βΉΠ‘β¦-Π‘β¬Π ΡΠ Β°Π‘βΠ ΡΠ Π-Π Π-Π‘ΠΠ Β°Π Π Π ΡΠ‘β-Π ΡΠ Β΅Π‘βΠ Β΅Π‘ΠΠ Β±Π‘ΡΠ‘ΠΠ ΡΠ Β΅/>ΠΠ·Π΅Π½-ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡ</a>.
<a href=https://penzu.com/public/f0...>https://dzen-remont.ru</a>.
<a href=https://arbaletspb.ru/forum...>dzen_remont</a>.
<a href=https://teplica-parnik.net/...>dzen remont</a>.
<a href=http://Π‘ΠΠ Β°Π ΡΠ‘ΠΠ Β΅Π‘ΠΠ ΠΠ ΡΠ‘Π.Π‘ΠΠ‘β/remont-stiralnykh-mashin>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://dialogs.yandex.ru/s...>ΠΠΠΠ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=http://service-galaktika.ru...>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ Ρ ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ²</a>.
<a href=https://dzen.hashnode.dev/r...>dzen_remont</a>.
<a href=https://dzen1.localinfo.jp/...>https://dzen-remont.ru</a>.
<a href=https://reg2165.wixsite.com...Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘ΠΠ‘βΠ ΡΠ‘ΠΠ Β°Π Β»Π‘ΠΠ Π Π‘βΉΠ‘β¦-Π ΡΠ Β°Π‘β¬Π ΡΠ Π >https://dzen-remont.ru</a>.
<a href=https://64195a4a3d289.site1...Π βΠ Β·Π Β΅Π Π -Π Β Π Β΅Π ΡΠ ΡΠ Π Π‘β>https://dzen-remont.ru/</a>.
<a href=https://medium.com/@reg_48881/Π‘ΠΠ Β΅Π ΡΠ ΡΠ Π Π‘β-Π‘βΠ Β΅Π Β»Π Β΅Π ΠΠ ΡΠ Β·Π ΡΠ‘ΠΠ ΡΠ Π-Π Π Π Β°-Π Π ΡΠ ΡΠ‘Ρ-Π Π-Π‘ΠΠ Β°Π Π Π ΡΠ‘β-Π ΡΠ Β΅Π‘βΠ Β΅Π‘ΠΠ Β±Π‘ΡΠ‘ΠΠ ΡΠ Β΅-f1d680ef8591>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://64195a4a3d289.site1...Π βΠ Β·Π Β΅Π Π -Π Β Π Β΅Π ΡΠ ΡΠ Π Π‘β>ΠΠ·Π΅Π½ ΡΠ΅ΠΌΠΎΠ½Ρ</a>.
<a href=https://forum.expert-cm.ru/...>dzen remont</a>.
<a href=https://dzen-remont.jimdosi...>http://www.dzen-remont.ru</a>.
<a href=https://remont-holodilnikov...>http://www.dzen-remont.ru</a>.
<a href=https://dzenremont-spb.webf...>http://www.dzen-remont.ru</a>.
<a href=https://dzen-remont.jimdosi...>http://www.dzen-remont.ru</a>.
<a href=https://www.arbaletspb.ru/f...>https://dzen-remont.ru/</a>.
Erstellt am 04/09/24 um 09:25:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
server-attestats.com schrieb:
<a href=https://server-attestats.com/>http://www.server-attestats...</a> - - . .
Erstellt am 04/09/24 um 23:55:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdgarJab schrieb:
<a href=https://altaybiotech.ru/> » ·° </a> - . .
Erstellt am 04/09/24 um 23:55:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdgarJab schrieb:
<a href=https://studyinkaluga.ru/> » ·΅»΅»΅ </a> - . .
Erstellt am 04/10/24 um 00:35:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
server-attestats.com schrieb:
Erstellt am 04/10/24 um 00:36:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
server-attestats.com schrieb:
<a href=https://server-attestats.com/>server-attestats.com</a> - - . .
Erstellt am 04/10/24 um 11:13:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdgarNib schrieb:
<a href=https://aifprint.ru/> » »΅ </a> - . .
Erstellt am 04/10/24 um 11:14:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
server-attestats.com schrieb:
Erstellt am 04/10/24 um 16:41:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdgarNib schrieb:
<a href=https://seo-elita.ru/> » ΅°»° </a> - . .
Erstellt am 04/10/24 um 16:41:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamCumma schrieb:
<a href=https://goodgame.ru/user/16...>https://mobileleader.ru/igry/kvesty.html</a> - » ° - . .
Erstellt am 04/11/24 um 12:16:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamCumma schrieb:
<a href=http://russianecuador.com/f...>http://www.diplom-iz-vuza.ru/</a> - » °° °°΅ - . .
Erstellt am 04/11/24 um 12:52:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDub schrieb:
, .
, .
, .
, , .
, , .
<a href=http://4division.ru/topic73...>https://tvoi-povarenok.ru/b... </a> » ΅ ±°·° · - , .
, .
, .
, , .
, , .
<a href=http://4division.ru/topic73...>https://tvoi-povarenok.ru/b... </a> » ΅ ±°·° · - , .
Erstellt am 04/11/24 um 12:52:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamatoge schrieb:
Erstellt am 04/11/24 um 22:17:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gregoryopics schrieb:
, .
, .
, .
, , .
, , .
<a href=http://anatoliyrud.ekafe.ru...>http://kungur.hldns.ru/forum/profile.php?action=show&member=6110 </a> » °·° - , .
, .
, .
, , .
, , .
<a href=http://anatoliyrud.ekafe.ru...>http://kungur.hldns.ru/forum/profile.php?action=show&member=6110 </a> » °·° - , .
Erstellt am 04/11/24 um 22:17:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡΡ Π² Π΅Π³ΠΎ Π·Π°ΠΊΠΎΠ½Π½ΠΎΡΡΠΈ.
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡΡ Π² Π΅Π³ΠΎ Π·Π°ΠΊΠΎΠ½Π½ΠΎΡΡΠΈ.
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
Erstellt am 04/11/24 um 23:47:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
ΠΡΠΈΠ²Π΅ΡΠΈΠΊΠΈ!
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ!
<a href=http://russa24-attestats.com/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ</a>
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ!
<a href=http://russa24-attestats.com/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ</a>
Erstellt am 04/12/24 um 00:04:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamatoge schrieb:
<a href=http://darkrealm.su/article...>http://pateritses.de/phpBB2/memberlist.php?mode=joined&order=ASC&start=190250</a> - °΅° 11 - . .
Erstellt am 04/12/24 um 04:09:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gregoryopics schrieb:
Erstellt am 04/12/24 um 04:09:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothynak schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - Π½Π°Π΄Π΅ΠΆΠ½ΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - Π½Π°Π΄Π΅ΠΆΠ½ΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
Erstellt am 04/12/24 um 04:40:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardFed schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΠΎΠ»ΡΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΡΠ·ΠΎΠ² Π ΠΎΡΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ.
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
ΠΠΎΠ»ΡΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΡΠ·ΠΎΠ² Π ΠΎΡΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ.
<a href=http://russa24-attestats.com/>http://russa24-attestats.com/</a>
Erstellt am 04/12/24 um 07:24:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TommyWreld schrieb:
Erstellt am 04/13/24 um 15:37:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TommyWreld schrieb:
, .
, .
, .
- , , .
, , .
<a href=https://www.zelenovka.ru/co...>http://www.discussworldissu... </a> » »΅ - , .
, .
, .
- , , .
, , .
<a href=https://www.zelenovka.ru/co...>http://www.discussworldissu... </a> » »΅ - , .
Erstellt am 04/13/24 um 16:10:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Pedrovef schrieb:
<a href=http://theglobe.net/the_wor...>https://forums.zooclub.ru/s...</a> - - . .
Erstellt am 04/13/24 um 16:11:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Tommypaync schrieb:
Erstellt am 04/14/24 um 00:50:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanegex schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ!
<a href=http://saksx-attestats.ru/>ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ</a>
ΠΠ°ΠΊ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° Π² Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Π½Π° ΡΠ°ΠΉΡΠ΅? ΠΡ Π³ΠΎΡΠΎΠ²Ρ Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π΅Π³ΠΎ Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ ΡΡΡΠ°Π½Ρ.
ΠΠ°ΡΠΈ ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²Π°ΠΌ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ - Π±ΡΡΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ!
<a href=http://saksx-attestats.ru/>ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ</a>
ΠΠ°ΠΊ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° Π² Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ Π½Π° ΡΠ°ΠΉΡΠ΅? ΠΡ Π³ΠΎΡΠΎΠ²Ρ Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π΅Π³ΠΎ Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ ΡΡΡΠ°Π½Ρ.
ΠΠ°ΡΠΈ ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²Π°ΠΌ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ - Π±ΡΡΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ!
Erstellt am 04/14/24 um 00:55:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ±ΡΠ°ΡΡ ΠΈ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° Π ΠΎΡΡΠΈΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΠΏΠΎΡΡΠΎΠΉ!
<a href=http://saksx-attestats.ru/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠ΅Π½Π°</a>
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ!
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - ΡΠ΄ΠΎΠ±Π½ΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ, Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
ΠΡΠ±ΡΠ°ΡΡ ΠΈ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π° Π ΠΎΡΡΠΈΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΠΏΠΎΡΡΠΎΠΉ!
<a href=http://saksx-attestats.ru/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠ΅Π½Π°</a>
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ Π³ΠΎΡΠΎΠ΄ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ!
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ° ΠΈΠ»ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ° Ρ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡΡ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - ΡΠ΄ΠΎΠ±Π½ΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ, Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
Erstellt am 04/14/24 um 07:02:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertcon schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ!
<a href=http://saksx-attestats.ru/>http://saksx-attestats.ru/</a>
Π Π°Π΄Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ ΠΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΡΠ·ΠΎΠ² Π ΠΎΡΡΠΈΠΈ, Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, Ρ ΠΏΠΎΡΡΠΎΠΏΠ»Π°ΡΠΎΠΉ, ΠΏΠΎΠΌΠΎΡΡ 24/7
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΠ£ΠΠΎΠ² Π ΠΎΡΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠ£ΠΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ!
<a href=http://saksx-attestats.ru/>http://saksx-attestats.ru/</a>
Π Π°Π΄Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ ΠΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΡΠ·ΠΎΠ² Π ΠΎΡΡΠΈΠΈ, Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, Ρ ΠΏΠΎΡΡΠΎΠΏΠ»Π°ΡΠΎΠΉ, ΠΏΠΎΠΌΠΎΡΡ 24/7
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ Π²ΡΠ΅Ρ ΠΠ£ΠΠΎΠ² Π ΠΎΡΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ ΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°!
Erstellt am 04/14/24 um 19:54:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Tommypaync schrieb:
, .
, .
, .
- , , .
, , .
<a href=http://forum.drustvogil-gal...>http://kids-news.ru/page/6 </a> » °Ά° - , .
, .
, .
- , , .
, , .
<a href=http://forum.drustvogil-gal...>http://kids-news.ru/page/6 </a> » °Ά° - , .
Erstellt am 04/14/24 um 21:18:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ ΠΠ£ΠΠΎΠ² Π ΠΎΡΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΠ΅Π½Π°ΠΌ Ρ ΠΏΠΎΡΡΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΈ ΠΏΠΎΠΌΠΎΡΡΡ 24/7 - Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
<a href=http://saksx-attestats.ru/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠ΅</a>
ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π·Π°ΠΊΠ°Π·Π°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Ρ Π½Π°Ρ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΊΡΡΡΠ΅ΡΠΎΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ.
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - ΠΏΡΠΎΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ!
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ ΠΠ£ΠΠΎΠ² Π ΠΎΡΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΠ΅Π½Π°ΠΌ Ρ ΠΏΠΎΡΡΠΎΠΏΠ»Π°ΡΠΎΠΉ ΠΈ ΠΏΠΎΠΌΠΎΡΡΡ 24/7 - Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ!
<a href=http://saksx-attestats.ru/>ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠ΅</a>
ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π·Π°ΠΊΠ°Π·Π°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Ρ Π½Π°Ρ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΊΡΡΡΠ΅ΡΠΎΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ.
ΠΡΠΏΠΈΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π Π€ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Π±Π΅Π· ΠΏΡΠ΅Π΄ΠΎΠΏΠ»Π°ΡΡ - ΠΏΡΠΎΡΡΠΎ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎ!
Erstellt am 04/15/24 um 00:38:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WlasoffProfomcef schrieb:
Reaching out via comment forms is an eloquent manifestation of contemporary business dialogue, combining the finest of discretion and tech. This strategy gives companies a direct line to their customers, permitting them to understand the details of user experience, garner helpful feedback, and, most importantly, demonstrate that they are constantly listening. Rather sifting through the jammed landscape of emails and marketing messages, response forms supply a streamlined space, clearing the way for true dialogue and further engaged conversations.
Furthermore, communicating to response forms is a evidence to a business's dedication to incessant betterment. Rather of operating in a void, businesses get an priceless window into their consumers' minds, unveiling chances for development, refinement, and forging tighter ties. As client needs evolve, this reciprocal interaction channel confirms that businesses continue to be not merely relevant but deeply linked to their market's constantly evolving preferences and fears. In the big plan of things, it's not merely about gathering feedback; it's about cultivating trust and strengthening relationships that stand the test of time.
Telgrm: @xrumers
https://XRumer.art
Skype: XRumer.pro
Furthermore, communicating to response forms is a evidence to a business's dedication to incessant betterment. Rather of operating in a void, businesses get an priceless window into their consumers' minds, unveiling chances for development, refinement, and forging tighter ties. As client needs evolve, this reciprocal interaction channel confirms that businesses continue to be not merely relevant but deeply linked to their market's constantly evolving preferences and fears. In the big plan of things, it's not merely about gathering feedback; it's about cultivating trust and strengthening relationships that stand the test of time.
Telgrm: @xrumers
https://XRumer.art
Skype: XRumer.pro
Erstellt am 04/15/24 um 09:27:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅ΡΠΈΠΊΠΈ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
#na#prog$$$
https://home.salepage.onlin...
https://internetmoney.forum...
https://www.maanation.com/c...
http://teplichnaya.ru/posti...
https://www.neymarfootballf...
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
#na#prog$$$
https://home.salepage.onlin...
https://internetmoney.forum...
https://www.maanation.com/c...
http://teplichnaya.ru/posti...
https://www.neymarfootballf...
Erstellt am 04/16/24 um 00:54:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
#na#prog$$$
https://ratemywifey.com/aut...
https://rentry.co/93vprq32
https://www.mazafakas.com/u...
http://carpediem.mybb.ru/vi...
http://avtoweek2016.ru/prio...
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
#na#prog$$$
https://ratemywifey.com/aut...
https://rentry.co/93vprq32
https://www.mazafakas.com/u...
http://carpediem.mybb.ru/vi...
http://avtoweek2016.ru/prio...
Erstellt am 04/16/24 um 01:05:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
#na#prog$$$
http://29ru.listbb.ru/viewt...
http://p99946c6.beget.tech/...
http://amidozory.mybb.ru/vi...
https://www.boringrally.com...
https://ironway.ru/forum/vi...
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
#na#prog$$$
http://29ru.listbb.ru/viewt...
http://p99946c6.beget.tech/...
http://amidozory.mybb.ru/vi...
https://www.boringrally.com...
https://ironway.ru/forum/vi...
Erstellt am 04/16/24 um 03:03:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅ΡΠΈΠΊΠΈ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
#na#prog$$$
http://rogachik.forumbb.ru/...
http://mf.getbb.ru/viewtopi...
http://metalfans.maxbb.ru/v...
https://blog.kazakh-zerno.n...
http://peaceofficial.5nx.ru...
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
#na#prog$$$
http://rogachik.forumbb.ru/...
http://mf.getbb.ru/viewtopi...
http://metalfans.maxbb.ru/v...
https://blog.kazakh-zerno.n...
http://peaceofficial.5nx.ru...
Erstellt am 04/16/24 um 05:36:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://krestse2.bestbb.ru/v...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://krestse2.bestbb.ru/v...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/16/24 um 08:13:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://vozlublennaya.mybb....
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://vozlublennaya.mybb....
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/16/24 um 08:30:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://korenkyfr.4adm.ru/vi...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://korenkyfr.4adm.ru/vi...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/16/24 um 11:44:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://paulikipedia.ru/inde...Β ΡΠΏΠΈΡΡ_Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΡΠ΅ΡΠΊΠΈΠ΅_Π°ΡΡΠ΅ΡΡΠ°ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://paulikipedia.ru/inde...Β ΡΠΏΠΈΡΡ_Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΡΠ΅ΡΠΊΠΈΠ΅_Π°ΡΡΠ΅ΡΡΠ°ΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/16/24 um 15:42:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
USA_pymn schrieb:
<a href=https://fabrika-teplic.ru>Π’Π΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° Π½Π° Π·Π°ΠΊΠ°Π·</a>.
<a href=https://fabrika-teplic.ru/>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://fabrika-teplic.ru/#1>Π£ΡΠ°Π»ΡΡΠΊΠΈΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://fabrika-teplic.ru/#2>ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://fabrika-teplic.ru/#3>ΠΠ΅ΡΠ΅Π²ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ΅Π½Ρ</a>.
<a href=https://fabrika-teplic.ru/#4>Π£ΡΠΈΠ»Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://fabrika-teplic.ru/>ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://fabrika-teplic.ru/#1>Π£ΡΠ°Π»ΡΡΠΊΠΈΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ</a>.
<a href=https://fabrika-teplic.ru/#2>ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
<a href=https://fabrika-teplic.ru/#3>ΠΠ΅ΡΠ΅Π²ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΊΠ°ΡΠ±ΠΎΠ½Π°ΡΠ° ΡΠ΅Π½Ρ</a>.
<a href=https://fabrika-teplic.ru/#4>Π£ΡΠΈΠ»Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΏΠ»ΠΈΡΡ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
Erstellt am 04/16/24 um 16:59:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://optohit.ru/forum/us...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://optohit.ru/forum/us...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/16/24 um 20:36:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://www.soad.msk.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://www.soad.msk.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/16/24 um 20:40:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.maanation.com/c...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.maanation.com/c...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/16/24 um 21:36:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° Π²Π°ΠΌ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://animalprotect.org/f...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° Π²Π°ΠΌ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://animalprotect.org/f...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/16/24 um 22:44:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π»ΠΈΡΡ Ρ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΠ΅ Π·Π°Π½ΡΡΠΈΠ΅, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π΄Π²ΠΈΠ³Π°ΡΡΡΡ Π²ΠΏΠ΅ΡΠ΅Π΄, Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΎΠΌ, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠΌΠ΅Π½Π½ΠΎ Π·Π΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
http://physmathforum.flybb....
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π»ΠΈΡΡ Ρ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΠ΅ Π·Π°Π½ΡΡΠΈΠ΅, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π΄Π²ΠΈΠ³Π°ΡΡΡΡ Π²ΠΏΠ΅ΡΠ΅Π΄, Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΎΠΌ, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠΌΠ΅Π½Π½ΠΎ Π·Π΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
http://physmathforum.flybb....
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 00:14:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.beingbrief.in/t...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ΅ΠΌ Ρ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ <a href=https://rudik-diploms365.com/>ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°</a>, ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.beingbrief.in/t...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 00:19:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
VlasofOscarsmrBar schrieb:
In the vast expanse of the realm, SEO emerges as a linchpin that anchors enterprises to prominence and relevance. It is both art and science of positioning websites effectively within search engine results, acting as the bridge that connects brands with their targeted audience. Through a mix of keyword research, superior content creation, and technical site optimization, SEO strategies ensure that a website's message resonates with both search engine algorithms and human users. By constantly adapting to the changing parameters set by search engines like Google, effective SEO translates to elevated organic traffic, heightened brand awareness, and, at last, sustained business growth.
Moreover, the beauty of SEO exists in its organic nature, centering on providing authentic value to users rather than resorting to paid shortcuts. When executed skillfully, it builds a foundation of trust and authority for websites, making them the go-to sources within their particular niches. Beyond simple rankings, it's about crafting user experiences that are smooth and informative, fostering enduring relationships with visitors. In an age where information is at all fingertips, SEO ensures that the right message reaches the right audience at the perfect moment, solidifying a brand's position in the online landscape.
Telgrm: @xrumers
https://XRumer.cc/
Skype: XRumer.pro
Moreover, the beauty of SEO exists in its organic nature, centering on providing authentic value to users rather than resorting to paid shortcuts. When executed skillfully, it builds a foundation of trust and authority for websites, making them the go-to sources within their particular niches. Beyond simple rankings, it's about crafting user experiences that are smooth and informative, fostering enduring relationships with visitors. In an age where information is at all fingertips, SEO ensures that the right message reaches the right audience at the perfect moment, solidifying a brand's position in the online landscape.
Telgrm: @xrumers
https://XRumer.cc/
Skype: XRumer.pro
Erstellt am 04/17/24 um 00:55:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://smkansorunasubang.s...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://smkansorunasubang.s...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 01:12:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://coffeepeople.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://coffeepeople.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 02:18:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://minecraftcommand.sc...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://minecraftcommand.sc...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 03:46:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://birdsmoscow.mybb.ru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://birdsmoscow.mybb.ru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 03:50:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
http://p91648f6.beget.tech/...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
http://p91648f6.beget.tech/...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 04:44:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://little-witch.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://little-witch.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 05:53:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://piter.bbcity.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://piter.bbcity.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 07:25:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅Ρ, Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΡΠΈΡΠ°ΡΠ΅Π»Ρ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://novostroyki.ostroyk...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://novostroyki.ostroyk...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 07:29:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
http://www.stabiae.org/foun...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
http://www.stabiae.org/foun...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 08:26:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
https://www.hip-hop.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
https://www.hip-hop.ru/foru...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 09:34:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://njt.ru/forum/user/1...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΎΠΏΡΡ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, ΠΎΠ΄Π½Π°ΠΊΠΎ Π²Π°ΠΆΠ½ΠΎ ΡΠΎΡ ΡΠ°Π½ΡΡΡ ΡΠΏΠΎΡΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ ΡΡΠΎ Π΄Π΅Π»Π°Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://njt.ru/forum/user/1...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 11:03:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://animeworld.ruhelp.c...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://animeworld.ruhelp.c...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 11:08:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
https://dukan.lovelytutoria...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
https://dukan.lovelytutoria...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±Π°ΠΊΠ°Π»Π°Π²ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 12:03:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldUtisp schrieb:
, .
, .
, .
- , , .
, , .
»http://morskie-cruizy.ru/
http://www.npk10.com/home.p...
http://pokatili.ru/f/viewto...
http://aromatov.wooden-rock...
http://www.tvoidom.galaxyho...
- , .
, .
, .
- , , .
, , .
»http://morskie-cruizy.ru/
http://www.npk10.com/home.p...
http://pokatili.ru/f/viewto...
http://aromatov.wooden-rock...
http://www.tvoidom.galaxyho...
- , .
Erstellt am 04/17/24 um 12:04:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΡΠΉ Π΄Π΅Π½Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://stylist-profi.ru/fo...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://stylist-profi.ru/fo...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΡΠ·Π°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 13:12:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅ΡΠΈΠΊΠΈ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.psorum.ru/membe...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://www.psorum.ru/membe...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΡΡΡ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Π½Π°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 14:41:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
http://applepiepart2.mybb.r...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΡΠ°ΠΊ ΠΆΠ΅, ΠΊΠ°ΠΊ ΠΈ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±!
http://applepiepart2.mybb.r...
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 14:45:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://krasnodarforum.ru/m...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://krasnodarforum.ru/m...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ ΡΠΊΠΎΠ»Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 15:40:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌ Π΄Π½Ρ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://oceancitygames.co.u...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ»ΠΈ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ»ΡΡΠ°ΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΡΠ΄ΠΎΠ΅ΠΌΠΊΠΎΡΡΠΈ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΡΡΡΡΠΏΠ°ΡΡ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΡΠ΅Π±Π½ΠΎΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠ΅, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²ΡΡΡΠ΅Ρ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ ΡΡΡ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ!
https://oceancitygames.co.u...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΈΠ½ΡΡΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΡΠ΅ΡΠΎΡΠ½ΡΡ ) ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 16:47:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WlasovaGoodpanBar schrieb:
In the constantly changing landscape of SEO, instruments and techniques that might successfully boost a website's internet appearance are in continuous request. Enter XRumer, a advanced software built to supercharge link-building drives. With the aid of the ability to post on forums, blogs, guestbooks, and other platforms by default, XRumer revolutionizes the way online marketers tackle off-page SEO. This strong tool bypasses general online hurdles like CAPTCHAs, ensuring an uninterrupted and productive backlink creation procedure. A skillfully executed XRumer SEO run might significantly boost a site's search engine rankings, propelling organic traffic and boosting online visibility.
Still, while the capability of XRumer is indisputable, its use necessitates a tactical and judicious approach. As with all SEO instruments, the results are just as good as the method after them. Too much reliance or misuse might lead to unwanted results, like sanctions from search engines for artificial link building. Hence, when beginning on an XRumer SEO run, it's imperative to emphasize quality over quantity, targeting relevant and high-authority sites that conform with the brand's values. In the hold of a talented SEO professional, XRumer transforms into a daunting asset, bridging the difference between a brand and its digital potential.
Telgrm: @exrumer
https://XRumer.art
Skype: XRumer.pro
Still, while the capability of XRumer is indisputable, its use necessitates a tactical and judicious approach. As with all SEO instruments, the results are just as good as the method after them. Too much reliance or misuse might lead to unwanted results, like sanctions from search engines for artificial link building. Hence, when beginning on an XRumer SEO run, it's imperative to emphasize quality over quantity, targeting relevant and high-authority sites that conform with the brand's values. In the hold of a talented SEO professional, XRumer transforms into a daunting asset, bridging the difference between a brand and its digital potential.
Telgrm: @exrumer
https://XRumer.art
Skype: XRumer.pro
Erstellt am 04/17/24 um 17:36:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
https://man-attestats24.com/ schrieb:
<a href=https://man-attestats24.com/>https://man-attestats24.com/</a> - . , , . . , .
Erstellt am 04/17/24 um 17:49:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
man-attestats24.com schrieb:
<a href=https://man-attestats24.com/>http://man-attestats24.com</a> - 9 . , , . . .
Erstellt am 04/17/24 um 18:09:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://ledi.forumno.com/vi...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡΠ»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΡΠ°ΠΊ, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΎΡΠ΅Π½Ρ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΎΡΠ΅Π½Ρ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π½Π°ΡΡΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://ledi.forumno.com/vi...
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ Π²ΡΠ΅ΠΌ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 18:16:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobcit schrieb:
ΠΡΠΈΠ²Π΅ΡΠΈΠΊΠΈ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://acmpskov.mybb.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
ΠΡ ΠΊΠΎΠ³Π΄Π°-Π½ΠΈΠ±ΡΠ΄Ρ ΠΏΠΈΡΠ°Π»ΠΈ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ ΠΎΡΠ΅Π½Ρ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΆΠ΅Π»ΠΎ, Π½ΠΎ Π½ΡΠΆΠ½ΠΎ Π½Π΅ ΡΠ΄Π°Π²Π°ΡΡΡΡ ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΡΠ΅Π±Π½ΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΡ, ΡΠ΅ΠΌ Π― ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡ)
Π’Π΅ΠΌ ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ ΡΠ°Π·Π±ΠΈΡΠ°ΡΡΡΡ ΠΈ Π³ΡΠ³Π»ΠΈΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎ Ρ ΠΎΠ΄Ρ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°, Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈΠ»ΠΈ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ, Π²ΠΎΡ Π·Π΄Π΅ΡΡ Π΅ΡΡΡ Ρ ΠΎΡΠΎΡΠΈΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ, ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π·Π΄Π΅ΡΡ , ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
http://acmpskov.mybb.ru/vie...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ
ΠΠ΅Π»Π°Ρ Π»ΡΠ±ΠΎΠΌΡ Π½ΡΠΆΠ½ΡΡ ΠΎΡΠ΅Π½ΠΎΠΊ!
Erstellt am 04/17/24 um 18:21:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://apple.ibord.ru/view...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://apple.ibord.ru/view...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ Π²ΡΡΡΠ΅ΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΎ ΡΡΠ΅Π΄Π½Π΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΡΠ΅Ρ Π½ΠΈΠΊΡΠΌΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 19:15:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sSdfffobSar schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://bicycle.one/create-...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
ΠΡΠ²Π°Π»ΠΎ Π»ΠΈ Ρ Π²Π°Ρ ΡΠ°ΠΊΠΎΠ΅, ΡΡΠΎ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΏΠΈΡΠ°ΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΠΊΡΠ°ΠΉΠ½Π΅ ΡΠΆΠ°ΡΡΠ΅ ΡΡΠΎΠΊΠΈ? ΠΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠΉ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΡΡ ΡΡΠΈΠ»ΠΈΠΉ, Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π½Π΅ ΠΎΠΏΡΡΠΊΠ°ΡΡ ΡΡΠΊΠΈ ΠΈ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ Ρ.
ΠΠ»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠΌΠ΅Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡ ΠΈ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π² ΡΠ΅ΡΠΈ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π² ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠ»ΡΡΠ΅ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΠΈΠ»ΠΈ ΡΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π²ΡΡΡΠ΅ΡΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΠΌ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. ΠΠ΄Π΅ΡΡ, Π½Π° ΡΡΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π° ΠΈ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΡΡ ΠΈ ΠΊΡΡΡΠΎΠ²ΡΡ ΡΠ°Π±ΠΎΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ. ΠΠΎΠΆΠ΅ΡΠ΅ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ , ΡΡΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ!
https://bicycle.one/create-...
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠ°
ΠΊΡΠΏΠΈΡΡ Π°ΡΡΠ΅ΡΡΠ°Ρ
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΌΠ°Π³ΠΈΡΡΡΠ°
ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΠΎΠ·Π½Π°ΠΊ
ΠΠ΅Π»Π°Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΠΎΡΠΌΠ΅ΡΠΎΠΊ!
Erstellt am 04/17/24 um 20:21:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['