Volltext: "Planδnderung wegegn Krankheit"
/* 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; } } } ?>24 May
Planδnderung wegegn Krankheit
Mich erreichten gestern im Abstand von ca. 2 Stunden die Anrufe von zwei Referenten: Claudia Mόller-Ebeling und Frank Fuchs (Workshops). Beide haben mir glaubhaft darlegen kφnnen, dass eine Teilnahme nur unter erschwerten Bedingungen (Claudia) oder gar nicht (Frank) statt finden kann.Beide sind derzeit mit Problemen konfrontiert, die man so erstmal nicht haben will. Ich denke jedoch, dass dem Publikum dieses auch gut vermittelt werden kann.
[Druckversion direkt zum Drucker senden]
Geschrieben von harko um 05:54:00 Uhr - Kategorie: Entheogene
Karma: 68 [+/-]
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;
}
}
}
?>
RandyBip schrieb:
You expressed that exceptionally well. law school essay writing service <a href=https://essaypromaster.com/#>courses work</a> homework pass
Erstellt am 09/03/22 um 19:10: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;
}
}
}
?>
AbrahamDauct schrieb:
Whoa lots of helpful facts. how to write the best essay ever <a href=https://essaypromaster.com/#>best essay writing services</a> couseworks
Erstellt am 09/06/22 um 17:26: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;
}
}
}
?>
canadianpharmacylist.com schrieb:
Wow, incredible blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your web site is magnificent,
let alone the content!
you made blogging look easy. The overall look of your web site is magnificent,
let alone the content!
Erstellt am 09/07/22 um 23:53: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;
}
}
}
?>
Alvinmug schrieb:
Cheers! Quite a lot of postings.
differences between highschool and college essay <a href="https://homeworkcourseworkh...">https://homeworkcourseworkhelps.com/</a> writers essays
differences between highschool and college essay <a href="https://homeworkcourseworkh...">https://homeworkcourseworkhelps.com/</a> writers essays
Erstellt am 09/11/22 um 01:03: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;
}
}
}
?>
Alvinmug schrieb:
Terrific facts. Thank you!
writing an evaluation essay <a href=https://dissertationwriting...>essay customer service</a> writing homework help
writing an evaluation essay <a href=https://dissertationwriting...>essay customer service</a> writing homework help
Erstellt am 09/11/22 um 05:02: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;
}
}
}
?>
Alvinmug schrieb:
Truly quite a lot of good data!
writing essay for college <a href=https://flowleadsua.com>https://flowleadsua.com/</a> best resume writing services in nyc
writing essay for college <a href=https://flowleadsua.com>https://flowleadsua.com/</a> best resume writing services in nyc
Erstellt am 09/11/22 um 05:57: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;
}
}
}
?>
Alvinmug schrieb:
You actually expressed it effectively.
narrative college essay <a href="https://service-essay.com">https://service-essay.com/</a> content writing services
narrative college essay <a href="https://service-essay.com">https://service-essay.com/</a> content writing services
Erstellt am 09/11/22 um 13:48: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;
}
}
}
?>
Alvinmug schrieb:
Many thanks! Loads of write ups!
write argumentative essay <a href=https://freshappshere.com>https://freshappshere.com/</a> best resume writing services nj
write argumentative essay <a href=https://freshappshere.com>https://freshappshere.com/</a> best resume writing services nj
Erstellt am 09/11/22 um 17:30: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;
}
}
}
?>
Alvinmug schrieb:
Great data. Appreciate it!
essay writing for kids <a href=https://orangepornhub.com>https://orangepornhub.com/</a> help with handwriting
essay writing for kids <a href=https://orangepornhub.com>https://orangepornhub.com/</a> help with handwriting
Erstellt am 09/11/22 um 18:24: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;
}
}
}
?>
Alvinmug schrieb:
Nicely put. Cheers!
how to write a graduate admissions essay <a href="https://essayssolution.com">https://essayssolution.com/</a> essay writing service recommendation
how to write a graduate admissions essay <a href="https://essayssolution.com">https://essayssolution.com/</a> essay writing service recommendation
Erstellt am 09/12/22 um 02:16: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;
}
}
}
?>
Alvinmug schrieb:
Reliable write ups. Kudos!
how to write an application essay for college <a href=https://orangepornhub.com>how to write an argumentative essay</a> assignment writing services
how to write an application essay for college <a href=https://orangepornhub.com>how to write an argumentative essay</a> assignment writing services
Erstellt am 09/12/22 um 05:38: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;
}
}
}
?>
Alvinmug schrieb:
You suggested that wonderfully.
can money buy happiness essay <a href=https://service-essay.com>essay writing services</a> phd writer
can money buy happiness essay <a href=https://service-essay.com>essay writing services</a> phd writer
Erstellt am 09/12/22 um 06:29: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;
}
}
}
?>
Alvinmug schrieb:
You stated it adequately!
how to write a essay <a href="https://englishessayhelp.com">https://englishessayhelp.com/</a> best cv writing services
how to write a essay <a href="https://englishessayhelp.com">https://englishessayhelp.com/</a> best cv writing services
Erstellt am 09/12/22 um 14:23: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;
}
}
}
?>
Alvinmug schrieb:
You stated it superbly!
write my essay today <a href=https://essaypromaster.com>how to write an argumentative essay</a> press release writing service
write my essay today <a href=https://essaypromaster.com>how to write an argumentative essay</a> press release writing service
Erstellt am 09/12/22 um 17:40: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;
}
}
}
?>
Alvinmug schrieb:
Awesome content. Many thanks!
good college essays <a href=https://homeworkcourseworkh...>college essay</a> websites for essays
good college essays <a href=https://homeworkcourseworkh...>college essay</a> websites for essays
Erstellt am 09/12/22 um 18:31: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;
}
}
}
?>
JosephPot schrieb:
Nicely put, Regards.
<a href="https://essaywritingservice...">https://essaywritingserviceahrefs.com/</a> easy steps to write an essay
<a href="https://essaywritingservice...">https://essaywritingserviceahrefs.com/</a> easy steps to write an essay
Erstellt am 02/20/23 um 22:05: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;
}
}
}
?>
Charlesreeft schrieb:
You said that really well.
pay someone to write your essay <a href="https://quality-essays.com/">pay to write essay</a> where can i buy essays
pay someone to write your essay <a href="https://quality-essays.com/">pay to write essay</a> where can i buy essays
Erstellt am 02/26/23 um 05:41: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;
}
}
}
?>
Robertnox schrieb:
Awesome advice. Kudos!
dissertation proposals <a href="https://dissertationwriting...">writing dissertation</a> review dissertation writing services
dissertation proposals <a href="https://dissertationwriting...">writing dissertation</a> review dissertation writing services
Erstellt am 02/26/23 um 23:34: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;
}
}
}
?>
Shawnlok schrieb:
Tips certainly regarded!.
need help to write an essay <a href="https://englishessayhelp.com/">english paper writing help</a> help me to write an essay
need help to write an essay <a href="https://englishessayhelp.com/">english paper writing help</a> help me to write an essay
Erstellt am 02/27/23 um 21:33: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;
}
}
}
?>
AndrewDox schrieb:
Terrific information. Thanks.
can you do my homework please <a href="https://homeworkcourseworkh...">do my chemistry homework</a> pay someone to do my homework reddit
can you do my homework please <a href="https://homeworkcourseworkh...">do my chemistry homework</a> pay someone to do my homework reddit
Erstellt am 02/28/23 um 19:00: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;
}
}
}
?>
StevenCiz schrieb:
Beneficial forum posts. Appreciate it.
buy psychology papers <a href="https://service-essay.com/">writing research paper service</a> pay someone to write your paper
buy psychology papers <a href="https://service-essay.com/">writing research paper service</a> pay someone to write your paper
Erstellt am 03/01/23 um 10:37: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;
}
}
}
?>
JerryGlori schrieb:
Incredible a lot of beneficial data!
term paper writing services reviews <a href="https://ouressays.com/">purchase research papers online</a> i need a proposal writer
term paper writing services reviews <a href="https://ouressays.com/">purchase research papers online</a> i need a proposal writer
Erstellt am 03/02/23 um 00:07: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;
}
}
}
?>
Timothyvilky schrieb:
Wow tons of awesome info.
cheap research paper writer <a href="https://essaypromaster.com/">can i pay someone to write a paper for me</a> paper back writer
cheap research paper writer <a href="https://essaypromaster.com/">can i pay someone to write a paper for me</a> paper back writer
Erstellt am 03/02/23 um 14:36: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;
}
}
}
?>
HectorMen schrieb:
Terrific write ups. Thanks a lot!
essay writing service in london <a href="https://topswritingservices...">professional resume writing service chattanooga tn</a> online assignment writing service
essay writing service in london <a href="https://topswritingservices...">professional resume writing service chattanooga tn</a> online assignment writing service
Erstellt am 03/03/23 um 03:45: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;
}
}
}
?>
JosephNeusa schrieb:
Wonderful posts, Kudos.
make a thesis for me <a href="https://writingthesistops.com/">thesis printing</a> help writing thesis statements
make a thesis for me <a href="https://writingthesistops.com/">thesis printing</a> help writing thesis statements
Erstellt am 03/03/23 um 15:21: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;
}
}
}
?>
HectorMen schrieb:
You said it very well.!
who can write my essay for free <a href="https://essayssolution.com/">the website that writes essays for you</a> write my essay today
who can write my essay for free <a href="https://essayssolution.com/">the website that writes essays for you</a> write my essay today
Erstellt am 03/04/23 um 03:48: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;
}
}
}
?>
HectorMen schrieb:
Position clearly considered..
online essay writer uk <a href="https://theessayswriters.com/">write my essay for</a> write my essay review
online essay writer uk <a href="https://theessayswriters.com/">write my essay for</a> write my essay review
Erstellt am 03/04/23 um 14:42: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;
}
}
}
?>
kindergarten writing paper schrieb:
Hi, i think that i noticed you visited my web site so i got here to return the prefer?.I'm attempting to in finding issues
to enhance my site!I assume its adequate to make use of some of your ideas!!
to enhance my site!I assume its adequate to make use of some of your ideas!!
Erstellt am 04/06/23 um 05:06: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;
}
}
}
?>
good thesis statements schrieb:
If you would like to get a great deal from this paragraph then you
have to apply such strategies to your won webpage.
have to apply such strategies to your won webpage.
Erstellt am 04/06/23 um 06:16: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;
}
}
}
?>
Ruby schrieb:
I am genuinely delighted to glance at this webpage
posts which carries tons of useful information, thanks for providing these information.
posts which carries tons of useful information, thanks for providing these information.
Erstellt am 04/06/23 um 06:48: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;
}
}
}
?>
buying paper schrieb:
Thanks in support of sharing such a nice opinion, paragraph is pleasant, thats why i have read it entirely
Erstellt am 04/06/23 um 07:17: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;
}
}
}
?>
international pharmacy schrieb:
<a href="https://alglobalpharma.com/">prescription prices</a>
https://alglobalpharma.com/
<a href=https://alglobalpharma.com/>canada drug pharmacy</a>
https://alglobalpharma.com/
<a href=https://alglobalpharma.com/>canada drug pharmacy</a>
Erstellt am 04/25/23 um 22:04: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;
}
}
}
?>
https://hireawriterforanessay.com schrieb:
I'm curious to find out what blog platform you have been working with?
I'm having some small security problems with my latest blog and I'd
like to find something more safe. Do you have any recommendations?
I'm having some small security problems with my latest blog and I'd
like to find something more safe. Do you have any recommendations?
Erstellt am 06/21/23 um 05:52: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;
}
}
}
?>
https://essayservicehelp.com schrieb:
It's actually a nice and useful piece of information. I am glad that you simply shared this useful
info with us. Please stay us up to date like this. Thanks for sharing.
info with us. Please stay us up to date like this. Thanks for sharing.
Erstellt am 06/21/23 um 10:53: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;
}
}
}
?>
researchproposalforphd.com schrieb:
Good post. I learn something totally new and challenging on blogs I stumbleupon everyday.
It's always helpful to read content from other writers
and use something from their sites.
It's always helpful to read content from other writers
and use something from their sites.
Erstellt am 06/21/23 um 14:47: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;
}
}
}
?>
phdthesisdissertation.com schrieb:
Please let me know if you're looking for a article author for your site.
You have some really great posts and I believe I would be a
good asset. If you ever want to take some of the load off, I'd really like to
write some content for your blog in exchange for a link back to mine.
Please shoot me an e-mail if interested. Regards!
You have some really great posts and I believe I would be a
good asset. If you ever want to take some of the load off, I'd really like to
write some content for your blog in exchange for a link back to mine.
Please shoot me an e-mail if interested. Regards!
Erstellt am 06/21/23 um 21:25: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;
}
}
}
?>
how to write a college essay schrieb:
I know this if off topic but I'm looking into starting my own weblog and was
wondering what all is required to get set up? I'm assuming having a blog like yours would cost
a pretty penny? I'm not very internet smart so I'm not 100% sure.
Any tips or advice would be greatly appreciated.
Kudos
wondering what all is required to get set up? I'm assuming having a blog like yours would cost
a pretty penny? I'm not very internet smart so I'm not 100% sure.
Any tips or advice would be greatly appreciated.
Kudos
Erstellt am 06/22/23 um 12:41: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;
}
}
}
?>
Streych_wdMa schrieb:
ΠΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ ΡΠ»ΡΡΡΠ°ΡΡΠΈΠ΅ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π» ΠΏΠ»Π΅Π½ΠΊΠΈ ΡΡΡΠ΅ΠΉΡ
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=https://streichplenkapro.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=https://streichplenkapro.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
Erstellt am 08/08/23 um 12:49: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;
}
}
}
?>
Erfly_vdMl schrieb:
ΠΠ°ΠΊΠ°Π·ΡΠ²Π°ΠΉ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π² Π»ΡΠ±ΠΎΠΌ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²Π΅
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://volgogradtara.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π² ΠΠΎΡΠΊΠ²Π΅</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://volgogradtara.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π² ΠΠΎΡΠΊΠ²Π΅</a>.
Erstellt am 08/09/23 um 06:31: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;
}
}
}
?>
Bahiq_ldsn schrieb:
ΠΡΠΏΠΈΡΡ Π±Π°Ρ
ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ <a href=http://bahily01.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ <a href=http://bahily01.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 08/10/23 um 19:06: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;
}
}
}
?>
Wanell_ovMa schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 08/11/23 um 10:06: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;
}
}
}
?>
Brok_boen schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π½Π° Π²ΡΠ΅ ΡΠ»ΡΡΠ°ΠΈ ΠΆΠΈΠ·Π½ΠΈ
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://meshki-optom-istra.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://meshki-optom-istra.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 08/12/23 um 09:08: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;
}
}
}
?>
Orali_tien schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ Π‘ΠΠ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kemerovopack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kemerovopack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 08/13/23 um 09: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;
}
}
}
?>
Deron_bqen schrieb:
Π‘Π°ΠΌΡΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π½ΠΈΠ·ΠΊΠΈΠΌ ΡΠ΅Π½Π°ΠΌ
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://bryanskpack.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://bryanskpack.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 08/14/23 um 09:16: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;
}
}
}
?>
Uille_xhen schrieb:
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΠΉΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΠΈ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ ΠΌΡΡΠΎΡΠ°
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://barnaulpack.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://barnaulpack.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
Erstellt am 08/15/23 um 09:57: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;
}
}
}
?>
Geon_lnMl schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄ΠΎΡΡΡΠΏΠ½Ρ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·Π°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://orenburgpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΊΡΠΏΠΈΡΡ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://orenburgpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 08/16/23 um 07:33: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;
}
}
}
?>
Pila_yten schrieb:
ΠΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΠ±ΡΠΎΡΠ° ΠΌΡΡΠΎΡΠ° Π½Π° Π΄ΠΎΡΡΡΠΏΠ½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://habarovskpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://habarovskpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
Erstellt am 08/18/23 um 17:32: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;
}
}
}
?>
Chey_clMa schrieb:
Π₯ΠΎΡΠΎΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°: Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ ΠΈ ΡΠ΅Π½Ρ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 08/23/23 um 16:11: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;
}
}
}
?>
Vianno_dmMa schrieb:
ΠΠΈΠ·ΠΊΠΎΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π·Π΅Π»Π΅Π½ΡΠ΅ <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π·Π΅Π»Π΅Π½ΡΠ΅</a>.
ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π·Π΅Π»Π΅Π½ΡΠ΅ <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π·Π΅Π»Π΅Π½ΡΠ΅</a>.
Erstellt am 08/24/23 um 21:04: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;
}
}
}
?>
Onel_hpMa schrieb:
ΠΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
Erstellt am 08/25/23 um 14:05: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;
}
}
}
?>
Iseld_ekMa schrieb:
ΠΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° Π±Π΅Π»ΡΠ΅ <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΡΡΠΎΡ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° Π±Π΅Π»ΡΠ΅ <a href=http://meshki-dlya-stroitel...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΡΡΠΎΡ</a>.
Erstellt am 08/26/23 um 19:10: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;
}
}
}
?>
Hris_ujMi schrieb:
ΠΠ΅ΡΠΊΠΈ ΠΈΠ· ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½Π° β Π»ΡΡΡΠ΅Π΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠ΅Π½Π°</a>.
Erstellt am 08/28/23 um 09:38: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;
}
}
}
?>
Peric_ayMi schrieb:
ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΡΠΎΠ²Π°ΡΠ° - ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ</a>.
ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ</a>.
Erstellt am 08/29/23 um 10:27: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;
}
}
}
?>
Bernit_lqMi schrieb:
ΠΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΠΠ°ΡΠ΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ° β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
Erstellt am 08/30/23 um 09:25: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;
}
}
}
?>
RNS-MO-mom schrieb:
, , .
<a href=https://rns-50.ru/> </a> , , , . .
<a href=https://rns-50.ru/> </a> , , , . .
Erstellt am 08/30/23 um 23:56: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;
}
}
}
?>
RNS-MO-bib schrieb:
, , .
<a href=https://rns-50.ru/> </a> , , , . .
<a href=https://rns-50.ru/> </a> , , , . .
Erstellt am 08/30/23 um 23:58: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;
}
}
}
?>
Aree_wfMi schrieb:
ΠΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΠΠ°ΡΠ΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ° β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ</a>.
ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΎΠΊ ΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΉ</a>.
Erstellt am 08/31/23 um 09:36: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;
}
}
}
?>
Zanan_irMi schrieb:
ΠΠΎΠ²Π΅ΡΡΡΠ΅ Ρ
ΡΠ°Π½Π΅Π½ΠΈΠ΅ ΠΠ°ΡΠ΅Π³ΠΎ ΡΠΎΠ²Π°ΡΠ° ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠΌ ΠΌΠ΅ΡΠΊΠ°ΠΌ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=http://polipropilenovye-mes...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/01/23 um 10:03: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;
}
}
}
?>
Zana_dfMi schrieb:
ΠΠ΅Π΄ΠΎΡΠΎΠ³Π°Ρ Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π° β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://novorospack.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://novorospack.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
Erstellt am 09/02/23 um 12:47: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;
}
}
}
?>
Celena_jnot schrieb:
Π¨ΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ Π±ΠΈΠ·Π½Π΅ΡΠ°
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://moskplenka.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://moskplenka.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
Erstellt am 09/02/23 um 17:04: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;
}
}
}
?>
Galla_nzen schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ Π‘ΠΠ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://brunskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://brunskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/03/23 um 08:55: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;
}
}
}
?>
Bylak_cmot schrieb:
Π£Π΄ΠΎΠ±Π½Π°Ρ ΠΏΡΠΎΡΠΈΠ²ΠΎΠ³ΠΎΠ»ΠΎΠ»Π΅Π΄Π½Π°Ρ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠ°
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ <a href=http://orelpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ</a>.
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ <a href=http://orelpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ</a>.
Erstellt am 09/03/23 um 09:05: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;
}
}
}
?>
Bylak_sxot schrieb:
Π£Π»ΡΡΡΠ΅Π½Π½Π°Ρ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠ° Π΄Π»Ρ Π±ΠΎΠ»Π΅Π΅ ΡΠ΄ΠΎΠ±Π½ΠΎΠ³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ
ΠΏΠ»Π΅Π½ΠΊΠ° ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡΠΎΠΌ <a href=http://orelpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΎΠΏΡΠΎΠΌ</a>.
ΠΏΠ»Π΅Π½ΠΊΠ° ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡΠΎΠΌ <a href=http://orelpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/04/23 um 10:13: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;
}
}
}
?>
Zan_jyMi schrieb:
Π Π΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=http://omskpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ²</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=http://omskpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ²</a>.
Erstellt am 09/04/23 um 10:16: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;
}
}
}
?>
Orahel_agMi schrieb:
Π Π΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://tulpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΠΏΡΠΎΠΌ <a href=http://tulpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ</a>.
Erstellt am 09/05/23 um 09:28: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;
}
}
}
?>
Galla_pfen schrieb:
ΠΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΡΡΠΌΠΎ Π½Π° Π΄ΠΎΠΌ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://brunskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://brunskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/05/23 um 09:42: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;
}
}
}
?>
Gella_msen schrieb:
ΠΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠΎΠΊΠ° ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://tymenpak.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://tymenpak.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
Erstellt am 09/06/23 um 13:16: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;
}
}
}
?>
Cele_rjot schrieb:
ΠΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΡ Π΄Π»Ρ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΠΈ
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://astrahanpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://astrahanpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
Erstellt am 09/07/23 um 22:37: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;
}
}
}
?>
Zanna_yxMi schrieb:
Π£Π½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΠΉ ΠΌΠ΅ΡΠΎΠΊ β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://yroslavlpak.ru/>ΠΊΡΠΏΠΈΡΡ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://yroslavlpak.ru/>ΠΊΡΠΏΠΈΡΡ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
Erstellt am 09/07/23 um 22:46: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;
}
}
}
?>
Farr_jsot schrieb:
Π£Π΄ΠΎΠ±Π½Π°Ρ ΠΏΡΠΎΡΠΈΠ²ΠΎΠ³ΠΎΠ»ΠΎΠ»Π΅Π΄Π½Π°Ρ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠ°
ΠΏΠ»Π΅Π½ΠΊΠ° ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡΠΎΠΌ <a href=http://permpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΌΠΎΡΠΊΠ²Π°</a>.
ΠΏΠ»Π΅Π½ΠΊΠ° ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡΠΎΠΌ <a href=http://permpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΌΠΎΡΠΊΠ²Π°</a>.
Erstellt am 09/09/23 um 09:26: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;
}
}
}
?>
Lonel_tiKt schrieb:
ΠΠΎΠΈΡΠΊ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://mahachkalapak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://mahachkalapak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
Erstellt am 09/09/23 um 09:51: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;
}
}
}
?>
Diell_lmMi schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠΈ ΠΈ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ ΠΠ°ΡΠΈΡ
ΡΠΎΠ²Π°ΡΠΎΠ² β ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=https://polietilenovye-mesh...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ <a href=https://polietilenovye-mesh...>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠ΅Π½Π°</a>.
Erstellt am 09/10/23 um 08:41: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;
}
}
}
?>
Silan_otKt schrieb:
Π’ΠΎΠ»ΡΠΊΠΎ Ρ Π½Π°Ρ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://minpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° <a href=http://minpack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>.
Erstellt am 09/10/23 um 08:49: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;
}
}
}
?>
Rimer_spot schrieb:
ΠΠ°ΡΠΈΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠΈ
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://belgorodpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://belgorodpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
Erstellt am 09/10/23 um 08:50: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;
}
}
}
?>
Maer_hyen schrieb:
ΠΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΡΡΠΌΠΎ Π½Π° Π΄ΠΎΠΌ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladivostokpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladivostokpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/10/23 um 09:03: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;
}
}
}
?>
Fari_kgKt schrieb:
ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ Π²ΠΎΠ·Π½Π°Π³ΡΠ°ΠΆΠ΄Π΅Π½ΠΈΠ΅ Π΄Π»Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://nalchikpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://nalchikpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
Erstellt am 09/11/23 um 11:03: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;
}
}
}
?>
Ceke_mpot schrieb:
Π£Π΄ΠΎΠ±Π½Π°Ρ ΠΏΡΠΎΡΠΈΠ²ΠΎΠ³ΠΎΠ»ΠΎΠ»Π΅Π΄Π½Π°Ρ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠ°
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://1rostovpack.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ ΡΠ΅Π½Π°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://1rostovpack.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ ΡΠ΅Π½Π°</a>.
Erstellt am 09/11/23 um 11: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;
}
}
}
?>
meshki_kxKr schrieb:
ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://kemerovopack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://kemerovopack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/11/23 um 20:42: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;
}
}
}
?>
scholding schrieb:
- , . , , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
Erstellt am 09/11/23 um 22:46: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;
}
}
}
?>
scholding schrieb:
- , . , , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
Erstellt am 09/11/23 um 22:48: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;
}
}
}
?>
Gerra_zsen schrieb:
Π‘Π΄Π΅Π»Π°ΠΉΡΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° β ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΡΠΊΠΈΠ΄ΠΊΡ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladikavkazpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladikavkazpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/12/23 um 10:23: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;
}
}
}
?>
Weslo_qoKt schrieb:
ΠΠ΄Π΅ Π½Π°ΠΉΡΠΈ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΈΠΌΠ΅Π½Π΅Π½ΠΈΡ?
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://nignevartovskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://nignevartovskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
Erstellt am 09/12/23 um 10:28: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;
}
}
}
?>
Catal_qsKl schrieb:
ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ
ΠΌΠ΅ΡΠΊΠΎΠ²
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://velikpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://velikpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
Erstellt am 09/12/23 um 10:34: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;
}
}
}
?>
Cilyn_sven schrieb:
ΠΠ°ΠΊ ΠΡΠ±ΡΠ°ΡΡ ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΠ°Ρ
ΠΈΠ»Ρ?
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΠΏΡΠΎΠΌ <a href=https://propack63.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΠΏΡΠΎΠΌ</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΠΏΡΠΎΠΌ <a href=https://propack63.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/12/23 um 22:26: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;
}
}
}
?>
Bahim_pksn schrieb:
ΠΡΠΏΠΈΡΡ Π±Π°Ρ
ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΠ΄Π½ΠΎΡΠ°Π·ΠΎΠ²ΡΠ΅ <a href=http://tomskpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π°</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΎΠ΄Π½ΠΎΡΠ°Π·ΠΎΠ²ΡΠ΅ <a href=http://tomskpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π°</a>.
Erstellt am 09/13/23 um 09:12: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;
}
}
}
?>
meshki_mwsr schrieb:
ΠΠΆΠ΅Π½Π΅Π΄Π΅Π»ΡΠ½ΠΎΠ΅ ΠΏΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ Π΄ΠΎΠΌΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://chitapack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://chitapack.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/13/23 um 09:22: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;
}
}
}
?>
Bahim_hasn schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° Π±Π°Ρ
ΠΈΠ» ΠΎΠΏΡΠΎΠΌ
Π±Π°Ρ ΠΈΠ»Ρ ΡΠ΅Π½Π° <a href=https://tolpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ Π±Π°Ρ ΠΈΠ»</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΡΠ΅Π½Π° <a href=https://tolpak.ru/>ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ Π±Π°Ρ ΠΈΠ»</a>.
Erstellt am 09/14/23 um 10:01: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;
}
}
}
?>
Ciro_puen schrieb:
ΠΠ°Ρ
ΠΈΠ»Ρ ΠΠ»Ρ ΠΠ°ΡΠΈΡΡ ΠΡ ΠΡΠ΅Π΄ΠΎΠ½ΠΎΡΠ½ΡΡ
ΠΠ°ΡΠ΅ΠΊΠΎΠΌΡΡ
ΠΊΡΠΏΠΈΡΡ Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π° <a href=https://tambovpak.ru/>ΠΊΡΠΏΠΈΡΡ Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π°</a>.
ΠΊΡΠΏΠΈΡΡ Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π° <a href=https://tambovpak.ru/>ΠΊΡΠΏΠΈΡΡ Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π°</a>.
Erstellt am 09/14/23 um 10:12: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;
}
}
}
?>
Wesi_edKt schrieb:
ΠΠ°ΡΡΠΎΡΡΠ΅Π΅ Π²ΡΠ΅ΠΌΡ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π°ΠΆΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://nignevartovskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://nignevartovskpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/14/23 um 10:24: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;
}
}
}
?>
Gerra_qfen schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ Π‘ΠΠ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladikavkazpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://vladikavkazpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/14/23 um 10:27: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;
}
}
}
?>
Caten_tfKl schrieb:
Π‘ΠΊΠΈΠ΄ΠΊΠΈ Π½Π° ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=https://ryzanpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=https://ryzanpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
Erstellt am 09/15/23 um 23:11: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;
}
}
}
?>
Bade_ossn schrieb:
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π±Π°Ρ
ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ
Π±Π°Ρ ΠΈΠ»Ρ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://tverpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://tverpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
Erstellt am 09/16/23 um 12:04:26
/*
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;
}
}
}
?>
Vineri_vcKt schrieb:
ΠΡΡΡΠΈΠ΅ ΡΠ΅Π½Ρ Π½Π° ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ ΠΠ°ΡΠ΅Π³ΠΎ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΡ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://propack56.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://propack56.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/16/23 um 12:18: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;
}
}
}
?>
Fidel_poen schrieb:
ΠΠ°Π΄ΡΠΆΠ½Π°Ρ ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ Π²ΡΠ½ΠΎΡΠ° ΠΌΡΡΠΎΡΠ°
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://vladipak.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://vladipak.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/16/23 um 12:49: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;
}
}
}
?>
Fratony_tySn schrieb:
Π‘ΠΊΠΎΡΡ Π»Π΅Π½ΡΠ° Π΄Π»Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠΈ
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=https://ulanpak.ru/>ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ ΡΠΊΠΎΡΡ Π»Π΅Π½ΡΠ°</a>.
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=https://ulanpak.ru/>ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ ΡΠΊΠΎΡΡ Π»Π΅Π½ΡΠ°</a>.
Erstellt am 09/17/23 um 15:35: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;
}
}
}
?>
Zinne_euKl schrieb:
ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ
ΠΌΠ΅ΡΠΊΠΎΠ²
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://saratovpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://saratovpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
Erstellt am 09/17/23 um 15:35: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;
}
}
}
?>
Damo_awsr schrieb:
ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π² Π½Π°ΡΠ΅ΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://volgogradpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://volgogradpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/17/23 um 15:43: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;
}
}
}
?>
Wood_sxMl schrieb:
ΠΠ°ΠΊΠ°ΠΆΠΈ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π½Π° Π΄ΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://groznopack.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΊΡΠΏΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://groznopack.ru/>ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΊΡΠΏΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅</a>.
Erstellt am 09/18/23 um 09:41: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;
}
}
}
?>
Evori_ndSn schrieb:
ΠΡΠΏΠΈΡΡ ΡΠΊΠΎΡΡ Π»Π΅Π½ΡΡ
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=http://ylyanpak.ru/>ΡΠΊΠΎΡΡ</a>.
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=http://ylyanpak.ru/>ΡΠΊΠΎΡΡ</a>.
Erstellt am 09/18/23 um 09:54: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;
}
}
}
?>
Evori_wlen schrieb:
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΠΉΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΠΈ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ ΠΌΡΡΠΎΡΠ°
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://irkutpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://irkutpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/18/23 um 10:21: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;
}
}
}
?>
Zinne_btKl schrieb:
ΠΠΊΠΎΠ½ΠΎΠΌΠΈΡΠ½ΡΠ΅ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://saratovpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://saratovpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/19/23 um 10: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;
}
}
}
?>
Koda_hbsr schrieb:
ΠΠΆΠ΅Π½Π΅Π΄Π΅Π»ΡΠ½ΠΎΠ΅ ΠΏΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ Π΄ΠΎΠΌΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kalininpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kalininpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/19/23 um 10: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;
}
}
}
?>
scholding schrieb:
- , . , , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
<a href=https://bystrovozvodimye-zd...> </a> , . , .
Erstellt am 09/21/23 um 18:23: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;
}
}
}
?>
Frato_peSn schrieb:
Π‘ΠΊΠΎΡΡ Π»Π΅Π½ΡΠ° Π΄Π»Ρ Π²ΡΠ΅Ρ
ΠΠ°ΡΠΈΡ
ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠ΅ΠΉ
ΡΠΊΠΎΡΡ <a href=http://ikutpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
ΡΠΊΠΎΡΡ <a href=http://ikutpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 09/21/23 um 20:50: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;
}
}
}
?>
Damon_vssr schrieb:
ΠΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΡΡΠ΅Ρ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΡΠΈ Π·Π°ΠΊΠ°Π·Π΅
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kemerovopak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://kemerovopak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 09/21/23 um 21:07: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;
}
}
}
?>
Woos_kqMl schrieb:
ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠΉ ΡΠ΅Π½Π΅
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΊΡΠΏΠΈΡΡ <a href=http://kirovpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΊΡΠΏΠΈΡΡ <a href=http://kirovpak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π°</a>.
Erstellt am 09/23/23 um 21:28: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;
}
}
}
?>
Ryli_ycKl schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://smolpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://smolpak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ</a>.
Erstellt am 09/23/23 um 21:34: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;
}
}
}
?>
Ffer_vwSn schrieb:
ΠΡΠΏΠΈΡΡ ΡΠΊΠΎΡΡ Π»Π΅Π½ΡΡ
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=http://1ufapak.ru/>ΡΠΊΠΎΡΡ</a>.
ΠΊΠ»Π΅ΠΉΠΊΠ°Ρ Π»Π΅Π½ΡΠ° <a href=http://1ufapak.ru/>ΡΠΊΠΎΡΡ</a>.
Erstellt am 09/27/23 um 10:02: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;
}
}
}
?>
Como_xaSa schrieb:
ΠΠ°ΠΉΡΠΈ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΊΠΎΠ»Π΅Ρ Π΄Π»Ρ Π»ΡΠ±ΠΎΠΉ ΠΌΠ°ΡΠΊΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ
ΠΊΡΠΏΠΈΡΡ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΊΠΎΠ»Π΅Ρ <a href=https://pakety-dlya-shin.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠΈΠ½</a>.
ΠΊΡΠΏΠΈΡΡ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΊΠΎΠ»Π΅Ρ <a href=https://pakety-dlya-shin.ru/>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠΈΠ½</a>.
Erstellt am 09/27/23 um 10:09: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;
}
}
}
?>
Catal_sfKl schrieb:
Π‘ΠΊΠΈΠ΄ΠΊΠΈ Π½Π° ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://sochipak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ <a href=http://sochipak.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ</a>.
Erstellt am 09/27/23 um 19: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;
}
}
}
?>
Zend_oaKl schrieb:
Π Π°ΡΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ
ΠΌΠ΅ΡΠΊΠΎΠ²
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://taganrogpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=http://taganrogpak.ru/>ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅</a>.
Erstellt am 09/30/23 um 19:49: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;
}
}
}
?>
Fratony_sxSn schrieb:
ΠΠ±Π΅ΡΠΏΠ΅ΡΡΡΠ΅ ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΡ ΡΠΊΠΎΡΡ Π»Π΅Π½ΡΠΎΠΉ
ΡΠΊΠΎΡΡ <a href=http://chebpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
ΡΠΊΠΎΡΡ <a href=http://chebpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 09/30/23 um 19: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;
}
}
}
?>
Iann_ilKl schrieb:
ΠΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 120 Π»ΠΈΡΡΠΎΠ² - Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 120 Π» ΠΊΡΠΏΠΈΡΡ <a href=https://meshki-dlya-musora-...>ΠΏΠ°ΠΊΠ΅ΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ 120 Π»ΠΈΡΡΠΎΠ²</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 120 Π» ΠΊΡΠΏΠΈΡΡ <a href=https://meshki-dlya-musora-...>ΠΏΠ°ΠΊΠ΅ΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ 120 Π»ΠΈΡΡΠΎΠ²</a>.
Erstellt am 10/01/23 um 21: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;
}
}
}
?>
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:45: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;
}
}
}
?>
RNS_llharrifs schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 04:46: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;
}
}
}
?>
Rns_Jem 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 09:06: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;
}
}
}
?>
Rns_har schrieb:
, , , , . - , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru</a>
, , , . , , , .
Erstellt am 10/02/23 um 09:54: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;
}
}
}
?>
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/03/23 um 07:49: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;
}
}
}
?>
Rns_har schrieb:
, , , , . , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru/</a>
, , , . , , , .
<a href=https://xn--73-6kchjy.xn--p...> </a>?
. . .
<a href=https://xn--73-6kchjy.xn--p...>rns50.ru/</a>
, , , . , , , .
Erstellt am 10/03/23 um 22:02: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;
}
}
}
?>
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 07:03: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;
}
}
}
?>
Fast_Build_S 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 07:04: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;
}
}
}
?>
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/05/23 um 07:14: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...>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 07:15: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;
}
}
}
?>
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/06/23 um 00:10: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;
}
}
}
?>
Fast_Build_S 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/06/23 um 00:22: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;
}
}
}
?>
Mari_tskl schrieb:
ΠΠ°ΡeΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 30 Π»ΠΈΡΡΠΎΠ²
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 30 Π» <a href=https://meshki-dlya-musora-...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 30 Π»</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 30 Π» <a href=https://meshki-dlya-musora-...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 30 Π»</a>.
Erstellt am 10/06/23 um 14:31: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;
}
}
}
?>
Naiara_zuPl schrieb:
Π£Π΄ΠΎΠ±Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 160 Π»ΠΈΡΡΠΎΠ²
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 160Π» <a href=https://meshki-dlya-musora-...>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 160 Π»</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 160Π» <a href=https://meshki-dlya-musora-...>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 160 Π»</a>.
Erstellt am 10/08/23 um 14:40: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;
}
}
}
?>
Uasim_gcer schrieb:
ΠΡΠΏΠΈΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 240 Π»ΠΈΡΡΠΎΠ² ΡΠΎ ΡΠΊΠΈΠ΄ΠΊΠΎΠΉ!
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 240Π» <a href=https://meshki-dlya-musora-...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 240 Π»</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 240Π» <a href=https://meshki-dlya-musora-...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 240 Π»</a>.
Erstellt am 10/08/23 um 14:52: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;
}
}
}
?>
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 02:02: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;
}
}
}
?>
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/09/23 um 02:03: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;
}
}
}
?>
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 13:15: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;
}
}
}
?>
Fast_Build_S 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 13:20: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;
}
}
}
?>
Talic_rket schrieb:
Π’ΠΎΡΠ½ΠΎΡΡΡ ΡΠ±ΠΎΡΠ° ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ
ΠΎΡΡ
ΠΎΠ΄ΠΎΠ² Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΏΠ°ΠΊΠ΅ΡΠΎΠ²
ΠΏΠ°ΠΊΠ΅ΡΡ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ Π΄Π»Ρ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=https://pakety-dlya-medicin...>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠ±ΠΎΡΠ° ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ²</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ Π΄Π»Ρ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=https://pakety-dlya-medicin...>ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠ±ΠΎΡΠ° ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ²</a>.
Erstellt am 10/14/23 um 15:23: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;
}
}
}
?>
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/15/23 um 17:55: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;
}
}
}
?>
Π³ΠΈΡΠ»ΡΠ½Π΄Π° Π½Π° Π΄Π΅ΡΠ΅Π²ΡΡ schrieb:
Π‘Π²Π΅ΡΠΎΠ΄ΠΈΠΎΠ΄Π½Π°Ρ Π±Π°Ρ
ΡΠΎΠΌΠ° ΡΠ΄Π΅Π»Π°Π»Π° ΠΌΠΎΠΉ Π΄ΠΎΠΌ Π½Π°ΡΡΠΎΡΡΠ΅ΠΉ ΡΠΊΠ°Π·ΠΊΠΎΠΉ ΠΏΠ΅ΡΠ΅Π΄ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠ°ΠΌΠΈ. Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ ΡΠ°ΠΉΡΡ neoneon.ru Π·Π° ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ ΠΈ Π²ΡΡΠΎΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΡΠΎΠ²Π°ΡΠΎΠ². Π’Π΅ΠΏΠ΅ΡΡ Ρ Π·Π½Π°Ρ, Π³Π΄Π΅ ΠΈΡΠΊΠ°ΡΡ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠ΅ ΡΠΊΡΠ°ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ Π±ΡΠ΄ΡΡΠΈΡ
ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠ² - <a href=https://neoneon.ru/>LED Π½Π΅ΠΎΠ½</a>
Erstellt am 10/15/23 um 21:21: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;
}
}
}
?>
Varas_rnml schrieb:
ΠΡΠΏΠΈΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 180 Π»ΠΈΡΡΠΎΠ² ΠΈ ΡΠΎΡ
ΡΠ°Π½ΠΈΡΠ΅ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΠΉ ΠΏΠΎΡΡΠ΄ΠΎΠΊ
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 180 Π» ΠΊΡΠΏΠΈΡΡ <a href=http://meshki-dlya-musora-1...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 180Π»</a>.
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 180 Π» ΠΊΡΠΏΠΈΡΡ <a href=http://meshki-dlya-musora-1...>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° 180Π»</a>.
Erstellt am 10/17/23 um 14:21: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;
}
}
}
?>
Fast_Build_S 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/18/23 um 19:28: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;
}
}
}
?>
Zaimolpres schrieb:
ΠΠΎΠ³Π΄Π° Π²Π½Π΅Π·Π°ΠΏΠ½Π°Ρ Π°Π²Π°ΡΠΈΡ ΡΠ°Π·ΡΡΡΠΈΠ»Π° ΠΌΠΎΠΉ Π±ΡΠ΄ΠΆΠ΅Ρ, ΠΌΠ½Π΅ ΡΡΠΎΡΠ½ΠΎ ΠΏΠΎΠ½Π°Π΄ΠΎΠ±ΠΈΠ»ΡΡ Π·Π°ΠΉΠΌ. ΠΠ±ΡΠ°ΡΠΈΠ²ΡΠΈΡΡ ΠΊ <a href=https://zaim52.ru/>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ</a> Π½Π° ΡΠ°ΠΉΡΠ΅ zaim52.ru, Ρ Π½Π°ΡΠ΅Π» Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΠ€Π 2023 Π³ΠΎΠ΄Π°. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΡΠΎΠΌΡ ΡΠ΅ΡΡΡΡΡ, Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» Π½ΡΠΆΠ½ΡΡ ΡΡΠΌΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
Ρ
Π»ΠΎΠΏΠΎΡ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠΉ.
Erstellt am 10/19/23 um 04:30: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;
}
}
}
?>
Π½Π°Π²Π΅ΡΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ schrieb:
Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Π½Π°ΡΡΠΆΠ½ΡΡ
ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² rukimastera.ru
ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΠ°ΡΠ΅ΠΌΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ Π½Π°ΡΡΠΆΠ½ΡΡ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² Β«Π ΡΠΊΠΈ ΠΌΠ°ΡΡΠ΅ΡΠ°Β» Π² ΠΠΎΡΠΊΠ²Π΅. ΠΠ°ΡΡΠΆΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ-ΡΠ°ΠΌΠ°Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½Π½Π°Ρ ΠΎΡΠ΄Π΅Π»ΠΊΠ° ΠΆΠΈΠ»ΡΡ Π½Π° ΡΠ΅Π³ΠΎΠ΄Π½ΡΡΠ½ΠΈΠΉ Π΄Π΅Π½Ρ. ΠΠΎΡΠΎΠΌΡ ΡΡΠΎ ΠΏΠΎΠΊΡΡΡΠΈΠ΅ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ Π΄Π»Ρ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°, ΠΈΠΌΠ΅Π΅Ρ Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ ΡΠ»ΡΠΆΠ±Ρ 25 Π»Π΅Ρ, Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, Π±ΡΡΡΡΡΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ, ΠΎΠ³ΡΠΎΠΌΠ΅Π½Π½ΡΠΉ Π²ΡΠ±ΠΎΡ ΡΠ²Π΅ΡΠΎΠ², ΡΠ°ΠΊΡΡΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΡΡΡΠ°ΠΈΠ²Π°Π½ΠΈΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΠΎΡΠ²Π΅ΡΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΈΠ±ΠΎΡΠΎΠ² ΠΈ ΠΊΡΠ°ΡΠΈΠ²ΡΠΉ Π²Π½Π΅ΡΠ½ΠΈΠΉ Π²ΠΈΠ΄. ΠΠ° ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΡΠΌΠΈ ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° rukimastera.ru ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://rukimastera.ru/>Π½Π°ΡΡΠΆΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ</a> - ΠΌΡ ΠΠ°ΠΌ Ρ ΡΠ°Π΄ΠΎΡΡΡΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. ΠΠ°ΡΠ° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠΆΠ΅ Π΄ΠΎΠ»Π³ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π»Π΅Ρ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π½ΠΎΠΉ ΡΡΠ΅ΡΠ΅, ΠΈΠΌΠ΅Π΅Ρ ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΠΎΠΏΡΡ, ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. ΠΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅, Ρ Π½Π°Ρ ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ Π°ΠΊΡΠΈΠΈ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠΎΠ², Π³Π΄Π΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΡ ΠΏΠΎΡΠΎΠ»ΠΎΠΊ Ρ ΠΏΡΠΈΡΡΠ½ΠΎΠΉ ΡΠΊΠΈΠ΄ΠΊΠΎΠΉ.
Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅ΠΌ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ Π² Π»ΡΠ±ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ: Π²Π°Π½Π½Π°Ρ, Π³ΠΎΡΡΠΈΠ½Π°Ρ, Π΄Π΅ΡΡΠΊΠ°Ρ, ΠΎΡΠΈΡ, ΠΏΡΠΈΡ ΠΎΠΆΠ°Ρ, ΡΡΠ°Π»Π΅Ρ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. Π Π½Π°Π»ΠΈΡΠΈΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ², ΡΠ°ΠΊΡΡΡΠ°, ΡΠΈΠΏΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π° ΠΈ Π²ΠΈΠ΄Ρ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ². Π ΡΠ°ΠΊΠΆΠ΅ ΡΠ΄Π΅Π»Π°Π΅ΠΌ Π»ΡΠ±ΠΎΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½: 3D ΠΏΠΎΡΠΎΠ»ΠΊΠΈ, Double vision, Π½Π΅Π±ΠΎ Ρ ΠΎΠ±Π»Π°ΠΊΠ°ΠΌΠΈ, ΡΠ²Π΅ΡΠΎΠ²ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ, ΡΠ΅Π½Π΅Π²ΠΎΠΉ ΠΏΠΎΡΠΎΠ»ΠΎΠΊ euro kraab ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΡΡΠ°ΠΈΠ²Π°Π΅ΠΌ Π»ΡΠ±ΡΠ΅ ΠΎΡΠ²Π΅ΡΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΏΡΠΈΠ±ΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ±ΠΈΡΠ°Π΅Ρ ΠΊΠ»ΠΈΠ΅Π½Ρ. ΠΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π½ΠΎΠ²ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π½Π°ΡΡΠΆΠ½ΡΡ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² ΠΌΡ ΠΈΠ·ΡΡΠ°Π΅ΠΌ ΠΈ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ Π² ΠΆΠΈΠ·Π½Ρ. ΠΠ°ΡΠΈ ΠΌΠ°ΡΡΠ΅ΡΠ° rukimastera.ru ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ ΠΏΠΎΠ²ΡΡΠ°ΡΡ ΡΠ²ΠΎΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΎΡΠ΄Π°ΡΡΡΡ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π½Π°ΡΠΈΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ.
ΠΠ°ΡΡΠ΅Ρ <a href=https://rukimastera.ru/>ΡΠ΅Π½Π° Π½Π° ΠΏΠΎΡΠΎΠ»ΠΊΠΈ Π½Π°ΡΡΠΆΠ½ΡΠ΅</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΠΌΡ Π·Π½Π°Π΅ΠΌ ΠΎΠ± ΡΡΠΎΠΌ Π²ΡΡ. Π¦Π΅Π½ΡΡΠ°Π»ΡΠ½ΡΠΉ ΠΎΡΠΈΡ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΡΠΊΡΡΡΠΊΠ°Ρ, Π΄. 3, ΡΡΡ. 12. ΠΠ²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(495)125-33-74 ΠΈ Π·Π°Π΄Π°Π²Π°ΠΉΡΠ΅ Π»ΡΠ±ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ. ΠΠ° Π½Π°ΡΠ΅ΠΌ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π»Π΅ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ°ΠΌΠΈ ΡΠ°ΡΡΡΠΈΡΠ°ΡΡ ΡΠ΅Π½Ρ Π½Π°ΡΡΠΆΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΠΎΠ»ΠΊΠ°. ΠΠΏΠΈΡΠΈΡΠ΅ ΠΏΠ»ΠΎΡΠ°Π΄Ρ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΠΎΠΊΡΡΡΠΈΡ, Π½Π°ΠΏΠ΅ΡΠ°ΡΠ°ΠΉΡΠ΅ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΈ ΠΌΡ ΡΠΎΠ·Π²ΠΎΠ½ΠΈΠΌΡΡ Ρ ΠΠ°ΠΌΠΈ Π² ΡΠΊΠΎΡΠΎΠ΅ Π²ΡΠ΅ΠΌΡ. ΠΡΠ»ΠΈ Π±ΡΠ΄Π΅Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΎ, Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ Π±Π΅ΡΠΏΡΠΎΡΠ΅Π½ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΡΠΎΡΠΊΠΎΠΉ. ΠΡ Π±ΡΠ΄Π΅ΠΌ ΡΠ°Π΄Ρ Ρ ΠΠ°ΠΌΠΈ ΡΠ°Π±ΠΎΡΠ°ΡΡ.
ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΠ°ΡΠ΅ΠΌΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ Π½Π°ΡΡΠΆΠ½ΡΡ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² Β«Π ΡΠΊΠΈ ΠΌΠ°ΡΡΠ΅ΡΠ°Β» Π² ΠΠΎΡΠΊΠ²Π΅. ΠΠ°ΡΡΠΆΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ-ΡΠ°ΠΌΠ°Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½Π½Π°Ρ ΠΎΡΠ΄Π΅Π»ΠΊΠ° ΠΆΠΈΠ»ΡΡ Π½Π° ΡΠ΅Π³ΠΎΠ΄Π½ΡΡΠ½ΠΈΠΉ Π΄Π΅Π½Ρ. ΠΠΎΡΠΎΠΌΡ ΡΡΠΎ ΠΏΠΎΠΊΡΡΡΠΈΠ΅ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ Π΄Π»Ρ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°, ΠΈΠΌΠ΅Π΅Ρ Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ ΡΠ»ΡΠΆΠ±Ρ 25 Π»Π΅Ρ, Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, Π±ΡΡΡΡΡΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ, ΠΎΠ³ΡΠΎΠΌΠ΅Π½Π½ΡΠΉ Π²ΡΠ±ΠΎΡ ΡΠ²Π΅ΡΠΎΠ², ΡΠ°ΠΊΡΡΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΡΡΡΠ°ΠΈΠ²Π°Π½ΠΈΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΠΎΡΠ²Π΅ΡΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΡΠΈΠ±ΠΎΡΠΎΠ² ΠΈ ΠΊΡΠ°ΡΠΈΠ²ΡΠΉ Π²Π½Π΅ΡΠ½ΠΈΠΉ Π²ΠΈΠ΄. ΠΠ° ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΡΠΌΠΈ ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° rukimastera.ru ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://rukimastera.ru/>Π½Π°ΡΡΠΆΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ</a> - ΠΌΡ ΠΠ°ΠΌ Ρ ΡΠ°Π΄ΠΎΡΡΡΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. ΠΠ°ΡΠ° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠΆΠ΅ Π΄ΠΎΠ»Π³ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π»Π΅Ρ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π½ΠΎΠΉ ΡΡΠ΅ΡΠ΅, ΠΈΠΌΠ΅Π΅Ρ ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΠΎΠΏΡΡ, ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. ΠΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅, Ρ Π½Π°Ρ ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ Π°ΠΊΡΠΈΠΈ Π΄Π»Ρ Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠΎΠ², Π³Π΄Π΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΡ ΠΏΠΎΡΠΎΠ»ΠΎΠΊ Ρ ΠΏΡΠΈΡΡΠ½ΠΎΠΉ ΡΠΊΠΈΠ΄ΠΊΠΎΠΉ.
Π£ΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Π΅ΠΌ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ Π² Π»ΡΠ±ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ: Π²Π°Π½Π½Π°Ρ, Π³ΠΎΡΡΠΈΠ½Π°Ρ, Π΄Π΅ΡΡΠΊΠ°Ρ, ΠΎΡΠΈΡ, ΠΏΡΠΈΡ ΠΎΠΆΠ°Ρ, ΡΡΠ°Π»Π΅Ρ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. Π Π½Π°Π»ΠΈΡΠΈΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ², ΡΠ°ΠΊΡΡΡΠ°, ΡΠΈΠΏΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π° ΠΈ Π²ΠΈΠ΄Ρ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ². Π ΡΠ°ΠΊΠΆΠ΅ ΡΠ΄Π΅Π»Π°Π΅ΠΌ Π»ΡΠ±ΠΎΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½: 3D ΠΏΠΎΡΠΎΠ»ΠΊΠΈ, Double vision, Π½Π΅Π±ΠΎ Ρ ΠΎΠ±Π»Π°ΠΊΠ°ΠΌΠΈ, ΡΠ²Π΅ΡΠΎΠ²ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ, ΡΠ΅Π½Π΅Π²ΠΎΠΉ ΠΏΠΎΡΠΎΠ»ΠΎΠΊ euro kraab ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΡΡΠ°ΠΈΠ²Π°Π΅ΠΌ Π»ΡΠ±ΡΠ΅ ΠΎΡΠ²Π΅ΡΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΏΡΠΈΠ±ΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ±ΠΈΡΠ°Π΅Ρ ΠΊΠ»ΠΈΠ΅Π½Ρ. ΠΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π½ΠΎΠ²ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π½Π°ΡΡΠΆΠ½ΡΡ ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² ΠΌΡ ΠΈΠ·ΡΡΠ°Π΅ΠΌ ΠΈ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ Π² ΠΆΠΈΠ·Π½Ρ. ΠΠ°ΡΠΈ ΠΌΠ°ΡΡΠ΅ΡΠ° rukimastera.ru ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ ΠΏΠΎΠ²ΡΡΠ°ΡΡ ΡΠ²ΠΎΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΎΡΠ΄Π°ΡΡΡΡ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π½Π°ΡΠΈΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ.
ΠΠ°ΡΡΠ΅Ρ <a href=https://rukimastera.ru/>ΡΠ΅Π½Π° Π½Π° ΠΏΠΎΡΠΎΠ»ΠΊΠΈ Π½Π°ΡΡΠΆΠ½ΡΠ΅</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΠΌΡ Π·Π½Π°Π΅ΠΌ ΠΎΠ± ΡΡΠΎΠΌ Π²ΡΡ. Π¦Π΅Π½ΡΡΠ°Π»ΡΠ½ΡΠΉ ΠΎΡΠΈΡ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΡΠΊΡΡΡΠΊΠ°Ρ, Π΄. 3, ΡΡΡ. 12. ΠΠ²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(495)125-33-74 ΠΈ Π·Π°Π΄Π°Π²Π°ΠΉΡΠ΅ Π»ΡΠ±ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ. ΠΠ° Π½Π°ΡΠ΅ΠΌ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π»Π΅ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ°ΠΌΠΈ ΡΠ°ΡΡΡΠΈΡΠ°ΡΡ ΡΠ΅Π½Ρ Π½Π°ΡΡΠΆΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΠΎΠ»ΠΊΠ°. ΠΠΏΠΈΡΠΈΡΠ΅ ΠΏΠ»ΠΎΡΠ°Π΄Ρ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΠΎΠΊΡΡΡΠΈΡ, Π½Π°ΠΏΠ΅ΡΠ°ΡΠ°ΠΉΡΠ΅ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΈ ΠΌΡ ΡΠΎΠ·Π²ΠΎΠ½ΠΈΠΌΡΡ Ρ ΠΠ°ΠΌΠΈ Π² ΡΠΊΠΎΡΠΎΠ΅ Π²ΡΠ΅ΠΌΡ. ΠΡΠ»ΠΈ Π±ΡΠ΄Π΅Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΎ, Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ Π±Π΅ΡΠΏΡΠΎΡΠ΅Π½ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΡΠΎΡΠΊΠΎΠΉ. ΠΡ Π±ΡΠ΄Π΅ΠΌ ΡΠ°Π΄Ρ Ρ ΠΠ°ΠΌΠΈ ΡΠ°Π±ΠΎΡΠ°ΡΡ.
Erstellt am 10/19/23 um 14:27: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;
}
}
}
?>
Zaimolaksjar schrieb:
ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ - ΡΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΎΡΠ΅Π½ΠΈΠ²Π°Π΅Ρ ΡΠ²ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡ. ΠΠΈΠΊΠ°ΠΊΠΈΡ
Π±Π΅ΡΠΊΠΎΠ½Π΅ΡΠ½ΡΡ
ΠΎΡΠ΅ΡΠ΅Π΄Π΅ΠΉ Π² Π±Π°Π½ΠΊΠ°Ρ
, Π½ΠΈΠΊΠ°ΠΊΠΈΡ
Π±ΡΠΌΠ°ΠΆΠ½ΡΡ
ΡΠΎΡΠΌΠ°Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ, Π½ΠΈΠΊΠ°ΠΊΠΈΡ
Π»ΠΈΡΠ½ΠΈΡ
Π²ΠΎΠΏΡΠΎΡΠΎΠ². ΠΡΠΎΡΡΠΎ Π·Π°ΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΡΠ²ΠΊΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅, ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ ΠΏΠΎΡΡΡΠΏΡΡ Π½Π° Π²Π°ΡΡ ΠΊΠ°ΡΡΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ.
ΠΠ°ΠΉΠΌΡ ΡΡΠΎΡΠ½ΠΎ Π½Π° ΠΊΠ°ΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡΡΡ Π΄Π»Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ Π½ΡΠΆΠ΄. ΠΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π½Π΅ΠΎΡΠ»ΠΎΠΆΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Π² Π΄ΠΎΠΌΠ΅, Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½ΡΠ΅ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ ΡΠ°ΡΡ ΠΎΠ΄Ρ, ΠΎΠΏΠ»Π°ΡΠ° ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ ΠΈΠ»ΠΈ Π΄Π°ΠΆΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΠΎΠ²Π°ΡΠΎΠ². ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΡΡΠΎ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΡΡΠ²Π° ΠΌΠΎΠ³ΡΡ Π²ΠΎΠ·Π½ΠΈΠΊΠ½ΡΡΡ Π² Π»ΡΠ±ΠΎΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ, ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ Π±ΡΡΡΡΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
ΠΠ°ΡΠΈ ΡΠΏΠΎΠ½ΡΠΎΡΡ - <a href=https://telegra.ph/Zajmy-be...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a>
ΠΠ°ΠΉΠΌΡ ΡΡΠΎΡΠ½ΠΎ Π½Π° ΠΊΠ°ΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡΡΡ Π΄Π»Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ Π½ΡΠΆΠ΄. ΠΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π½Π΅ΠΎΡΠ»ΠΎΠΆΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Π² Π΄ΠΎΠΌΠ΅, Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½ΡΠ΅ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ ΡΠ°ΡΡ ΠΎΠ΄Ρ, ΠΎΠΏΠ»Π°ΡΠ° ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ ΠΈΠ»ΠΈ Π΄Π°ΠΆΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΠΎΠ²Π°ΡΠΎΠ². ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΡΡΠΎ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΡΡΠ²Π° ΠΌΠΎΠ³ΡΡ Π²ΠΎΠ·Π½ΠΈΠΊΠ½ΡΡΡ Π² Π»ΡΠ±ΠΎΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ, ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ Π±ΡΡΡΡΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
ΠΠ°ΡΠΈ ΡΠΏΠΎΠ½ΡΠΎΡΡ - <a href=https://telegra.ph/Zajmy-be...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a>
Erstellt am 10/19/23 um 20:14: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;
}
}
}
?>
Zaimolaksjar schrieb:
ΠΠ°ΠΊ-ΡΠΎ Π½Π΅Π΄Π°Π²Π½ΠΎ Ρ ΠΎΠΊΠ°Π·Π°Π»ΡΡ Π² ΡΠΈΡΡΠ°ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΠΌΠ½Π΅ ΡΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ½Ρ Π±ΡΠ»ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ. ΠΡΠ»ΠΎ ΠΌΠ½ΠΎΠ³ΠΎ Π²ΠΎΠΏΡΠΎΡΠΎΠ² ΠΈ Π½Π΅Ρ
Π²Π°ΡΠΊΠ° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ. Π ΡΡΡ ΠΌΠ½Π΅ Π½Π° ΠΏΠΎΠΌΠΎΡΡ ΠΏΡΠΈΡΠ»ΠΈ Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ. Π― ΠΎΡΠΎΡΠΌΠΈΠ» Π·Π°ΡΠ²ΠΊΡ ΠΏΡΡΠΌΠΎ Ρ ΡΠ΅Π±Ρ Π΄ΠΎΠΌΠ°, Π·Π°ΠΏΠΎΠ»Π½ΠΈΠ² Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠ΅ Π΄Π°Π½Π½ΡΠ΅. Π Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΠΎ Π±ΡΡΡΡΠΎ, Π² ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΈΡ
ΡΠ°ΡΠΎΠ², Π΄Π΅Π½ΡΠ³ΠΈ ΠΏΠΎΡΡΡΠΏΠΈΠ»ΠΈ Π½Π° ΠΌΠΎΡ ΠΊΠ°ΡΡΡ. ΠΠ°ΠΉΠΌΡ ΡΡΠΎΡΠ½ΠΎ Π½Π° ΠΊΠ°ΡΡΡ - ΡΡΠΎ Π½Π°ΡΡΠΎΡΡΠ΅Π΅ ΡΠΏΠ°ΡΠ΅Π½ΠΈΠ΅ Π² ΡΠ»ΠΎΠΆΠ½ΡΡ
ΡΠΈΡΡΠ°ΡΠΈΡΡ
.
ΠΠ°ΡΠΈ ΡΠΏΠΎΠ½ΡΠΎΡΡ - <a href=https://telegra.ph/Zajmy-be...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a>
ΠΠ°ΡΠΈ ΡΠΏΠΎΠ½ΡΠΎΡΡ - <a href=https://telegra.ph/Zajmy-be...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a>
Erstellt am 10/19/23 um 23:15: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;
}
}
}
?>
best watches under 500 schrieb:
I have to share this gem of a find with all of you watch enthusiasts out there! If you're anything like me, a stunning watch at a great price is always a win. I recently stumbled upon this incredible <a href=https://furfurfriend.com/>watch sale online</a>, and let me tell you, itβs a goldmine for anyone looking to snag a classy timepiece without breaking the bank.
I was specifically on the lookout for something elegant yet affordable. And voila, I found a collection of <a href=https://furfurfriend.com/>mens watches under 100</a> that absolutely blew my mind. The quality, the craftsmanship, the style - itβs everything youβd want in a watch, and at a fraction of the price youβd expect to pay.
Each piece has its own unique charm and character, beautifully crafted and designed to make a statement. I got myself a classic leather strap watch that pairs perfectly with both my casual and formal attire. It's been a conversation starter on more than one occasion!
So, if youβre in the market for a new watch, I canβt recommend this sale enough. Itβs a perfect blend of style, quality, and affordability. Go ahead, treat yourself to a timepiece that not only tells the time but also tells a story of elegance and sophistication. Happy shopping!
I was specifically on the lookout for something elegant yet affordable. And voila, I found a collection of <a href=https://furfurfriend.com/>mens watches under 100</a> that absolutely blew my mind. The quality, the craftsmanship, the style - itβs everything youβd want in a watch, and at a fraction of the price youβd expect to pay.
Each piece has its own unique charm and character, beautifully crafted and designed to make a statement. I got myself a classic leather strap watch that pairs perfectly with both my casual and formal attire. It's been a conversation starter on more than one occasion!
So, if youβre in the market for a new watch, I canβt recommend this sale enough. Itβs a perfect blend of style, quality, and affordability. Go ahead, treat yourself to a timepiece that not only tells the time but also tells a story of elegance and sophistication. Happy shopping!
Erstellt am 10/20/23 um 13:00: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;
}
}
}
?>
Fusa_mlSn schrieb:
Π‘ΠΊΠΎΡΡ Π»Π΅Π½ΡΠ° Π΄Π»Ρ ΡΡΠΏΠ΅ΡΠ½ΠΎΠΉ ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠΈ
ΡΠΊΠΎΡΡ <a href=http://chelybpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
ΡΠΊΠΎΡΡ <a href=http://chelybpak.ru/>ΡΠΊΠΎΡΡ ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 10/20/23 um 14:03: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;
}
}
}
?>
Furfurfriend schrieb:
Now, I will create a straightforward text advertisement incorporating these anchor texts.
Discover a world where elegance, precision, and affordability intersect. At Furfurfriend, we believe that a quality timepiece is an essential accessory for every modern man, a silent testament to his style and elegance. Thatβs why we invite you to <a href=https://furfurfriend.com/>buy mens watches online</a> from our exquisite collection, where each piece is a meticulously crafted work of art, designed to offer unmatched style without compromising on quality.
If you're looking for something specific, something that exudes elegance and offers exceptional value, we have curated a special collection just for you. Explore <a href=https://furfurfriend.com/>watches 400 dollars</a>, where luxury meets affordability. Every watch in this range is a harmonious blend of traditional craftsmanship and contemporary design, ensuring that you make a statement without uttering a word.
Dive into our world, where every tick of the clock is a celebration of style, every piece a journey through the meticulous art of watchmaking. Your perfect timepiece, encapsulating the pinnacle of design, precision, and affordability, awaits. Donβt just keep time, celebrate it with Furfurfriend. Your journey to unmatched elegance and style begins with a click. Welcome to a world where every second counts. Welcome to Furfurfriend.
Discover a world where elegance, precision, and affordability intersect. At Furfurfriend, we believe that a quality timepiece is an essential accessory for every modern man, a silent testament to his style and elegance. Thatβs why we invite you to <a href=https://furfurfriend.com/>buy mens watches online</a> from our exquisite collection, where each piece is a meticulously crafted work of art, designed to offer unmatched style without compromising on quality.
If you're looking for something specific, something that exudes elegance and offers exceptional value, we have curated a special collection just for you. Explore <a href=https://furfurfriend.com/>watches 400 dollars</a>, where luxury meets affordability. Every watch in this range is a harmonious blend of traditional craftsmanship and contemporary design, ensuring that you make a statement without uttering a word.
Dive into our world, where every tick of the clock is a celebration of style, every piece a journey through the meticulous art of watchmaking. Your perfect timepiece, encapsulating the pinnacle of design, precision, and affordability, awaits. Donβt just keep time, celebrate it with Furfurfriend. Your journey to unmatched elegance and style begins with a click. Welcome to a world where every second counts. Welcome to Furfurfriend.
Erstellt am 10/21/23 um 16:09: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;
}
}
}
?>
Ttia_yfet schrieb:
ΠΠ΅ ΠΏΡΠΎΠΈΠ³ΡΡΠ²Π°ΠΉΡΠ΅ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: ΡΠ±ΠΎΡ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ
ΠΎΡΡ
ΠΎΠ΄ΠΎΠ² Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΏΠ°ΠΊΠ΅ΡΠΎΠ²
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=http://pakety-dlya-medicins...>ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΎΡΡ ΠΎΠ΄ΠΎΠ²</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=http://pakety-dlya-medicins...>ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΎΡΡ ΠΎΠ΄ΠΎΠ²</a>.
Erstellt am 10/21/23 um 21:04: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;
}
}
}
?>
Zayin_hoot schrieb:
Π£Π΄Π°ΡΠ½ΡΠ΅ ΠΏΠΎΡΡΠ΅Π±ΠΈΡΠ΅Π»ΡΡΠΊΠΈΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΡΡΠ΅ΠΉΡ-ΠΏΠ»Π΅Π½ΠΊΠΈ
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://athangelskpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΊΡΠΏΠΈΡΡ <a href=http://athangelskpak.ru/>ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°</a>.
Erstellt am 10/21/23 um 21:04: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;
}
}
}
?>
Erni_agen schrieb:
ΠΠΠ§ΠΠΠ£ ΠΠ£ΠΠΠ ΠΠΠ‘ΠΠ’Π¬ ΠΠΠ₯ΠΠΠ«?
Π±Π°Ρ ΠΈΠ»Ρ <a href=http://pytigorskpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ</a>.
Π±Π°Ρ ΠΈΠ»Ρ <a href=http://pytigorskpak.ru/>Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ</a>.
Erstellt am 10/22/23 um 20:28: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;
}
}
}
?>
Richardothek schrieb:
Dapper style doesnβt always come with a high price tag. Explore our exclusive <a href=https://telegra.ph/Unleashi...>buy mens watch</a> collection, offering elegant and sophisticated timepieces crafted for the modern man. Make a bold statement without burning a hole in your pocket, because luxury is an experience for all.
Erstellt am 10/22/23 um 21:20: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;
}
}
}
?>
LelandNAF schrieb:
Π‘ΡΠ°Π½ΡΡΠ΅ Π³ΠΎΡΠΎΠ²ΡΠΌΠΈ ΠΊ Π·ΠΈΠΌΠ΅ Ρ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠΌΠΈ Π£Π³Π³ΠΈ! ΠΡΠΏΠΈΡΡ Π£Π³Π³ΠΈ ΠΌΠΎΠΆΠ½ΠΎ Ρ Π½Π°Ρ - Π² Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½Π΅. ΠΠ΅ ΡΠΏΡΡΡΠΈΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ ΡΠ΅ΠΏΠ»ΡΠ΅ ΠΈ ΡΡΠΈΠ»ΡΠ½ΡΠ΅ Π£Π³Π³ΠΈ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡΠ΅ΡΡ Π·ΠΈΠΌΠΎΠΉ Π² ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΌΠ΅ΡΠ΅!
Π‘Π°ΠΉΡ: <a href=https://uggaustralia-msk.ru/>uggaustralia-msk.ru</a>
ΠΠ΄ΡΠ΅Ρ: ΠΠΎΡΠΊΠ²Π°, 117449, ΡΠ»ΠΈΡΠ° ΠΠΈΠ½ΠΎΠΊΡΡΠΎΠ²Π°, 4ΠΊ1
Π‘Π°ΠΉΡ: <a href=https://uggaustralia-msk.ru/>uggaustralia-msk.ru</a>
ΠΠ΄ΡΠ΅Ρ: ΠΠΎΡΠΊΠ²Π°, 117449, ΡΠ»ΠΈΡΠ° ΠΠΈΠ½ΠΎΠΊΡΡΠΎΠ²Π°, 4ΠΊ1
Erstellt am 10/22/23 um 21:51: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;
}
}
}
?>
Uggaustor schrieb:
ΠΠΈΠΌΠ° Π½Π΅ Π·Π° Π³ΠΎΡΠ°ΠΌΠΈ, ΠΈ ΡΡΠΎ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΊΡΠΏΠΈΡΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ Π£Π³Π³ΠΈ. Π Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½Π΅ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π»ΡΡΡΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΡΠΈΠ»ΡΠ½ΡΡ
ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΡ
Π£Π³Π³ΠΈ. ΠΠ΅ ΡΠΏΡΡΡΠΈΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΎΠ±Π½ΠΎΠ²ΠΈΡΡ ΡΠ²ΠΎΡ ΠΎΠ±ΡΠ²Ρ!
Π‘Π°ΠΉΡ: <a href=https://uggaustralia-msk.ru/>uggaustralia-msk.ru</a>
ΠΠ΄ΡΠ΅Ρ: ΠΠΎΡΠΊΠ²Π°, 117449, ΡΠ»ΠΈΡΠ° ΠΠΈΠ½ΠΎΠΊΡΡΠΎΠ²Π°, 4ΠΊ1
Π‘Π°ΠΉΡ: <a href=https://uggaustralia-msk.ru/>uggaustralia-msk.ru</a>
ΠΠ΄ΡΠ΅Ρ: ΠΠΎΡΠΊΠ²Π°, 117449, ΡΠ»ΠΈΡΠ° ΠΠΈΠ½ΠΎΠΊΡΡΠΎΠ²Π°, 4ΠΊ1
Erstellt am 10/23/23 um 13:31: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;
}
}
}
?>
Zoie_leen schrieb:
Π’ΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ ΠΠ°Ρ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://groznopak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://groznopak.ru/>ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°</a>.
Erstellt am 10/23/23 um 21:58: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;
}
}
}
?>
ΡΠ²Π΅ΡΠΎΡΠΊΠΎΠΏΡ schrieb:
Π£ΡΡΠ°Π»ΠΈ ΠΎΡ ΡΠ΅ΠΌΠ½ΠΎΡΡ Π² ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΠΈ Π±Π΅Π· ΠΎΠΊΠΎΠ½? Π‘Π²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ ΠΎΡ <a href=https://solargy.ru/>solargy.ru</a> ΠΏΡΠΈΠ½Π΅ΡΡΡ Π² Π²Π°Ρ Π΄ΠΎΠΌ Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ²Π΅Ρ!
Erstellt am 10/24/23 um 02:34: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;
}
}
}
?>
moskvadiplom.ru schrieb:
ΠΠ°ΠΊΠΎΠ½ΡΠΈΠ² ΠΊΡΡΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ, Ρ ΡΠ΅ΡΠΈΠ» ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°ΡΡ ΡΡΡΡΠΎΠΈΡΡΡΡ Π² IT-ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ. ΠΠΎ ΠΊ ΠΌΠΎΠ΅ΠΌΡ ΡΠΆΠ°ΡΡ, ΠΌΠ½Π΅ ΡΠΊΠ°Π·Π°Π»ΠΈ, ΡΡΠΎ Π½ΡΠΆΠ΅Π½ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π²ΡΡΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ. ΠΠ΅Π· ΠΏΠΎΡΠ΅ΡΠΈ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, Ρ Π½Π°ΡΠ΅Π» <a href=https://www.moskvadiplom.ru/>moskvadiplom.ru</a> ΠΈ ΠΎΠ½ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΠ»ΠΈ ΠΌΠ½Π΅ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ.
Erstellt am 10/25/23 um 21:45: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;
}
}
}
?>
Shtory_lat schrieb:
ΠΠ°ΡΠΈ ΠΌΠ°Π½ΡΡΠ°ΠΊΡΡΡΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠ°ΠΌΡΠ΅ ΡΠΌΠ΅Π»ΡΠ΅ ΠΈ Π½ΠΎΠ²Π°ΡΠΎΡΡΠΊΠΈΠ΅ ΠΈΠ΄Π΅ΠΈ Π² Π΄ΠΎΠΌΠ΅Π½Π΅ Π΄ΠΎΠΌΠ°ΡΠ½Π΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°. ΠΡ ΠΏΡΠ°ΠΊΡΠΈΠΊΡΠ΅ΠΌ Π½Π° ΡΠΎΠ·Π΄Π°Π½ΠΈΠΈ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΡ
Π·Π°Π½Π°Π²Π΅ΡΠ΅ΠΉ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠΈΠ²Π°ΡΡ Π²Π°ΡΠ΅ΠΌΡ ΠΆΠΈΠ»ΠΈΡΡ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΉ ΠΎΠ±ΡΠ°Π·, Π½ΠΎ ΠΈ Π°ΠΊΡΠ΅Π½ΡΠΈΡΡΡΡ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΠΏΠ»ΠΈΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΆΠ°Π»ΡΠ·ΠΈ</a> β ΡΡΠΎ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠ΅ΡΡΠ²Π° ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ Π΄Π΅Π»Π°ΡΡ ΠΊΠΎΠΌΡΠΎΡΡ, ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²ΡΠ²Π°ΡΡ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ ΠΊΠΎΠ½ΡΠ΅ΡΠ²ΠΈΡΡΡΡ Π²Π°ΡΡ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠΊΠ°Π½Ρ, ΠΎΡΡΠ΅Π½ΠΎΠΊ ΠΈ ΡΠΊΡΠ°ΡΠ΅Π½ΠΈΠ΅, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅ΠΌ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠ½ΡΡ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°.
ΠΠ΅ ΡΠ΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ Π±ΡΠ΄Π΅ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΡΡΠΎΡΠΌΠΈΡΠΎΠ²Π°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ Π·Π°Π½Π°Π²Π΅ΡΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ Π³Π°ΡΠΌΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΌ Π²ΠΊΡΡΠΎΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΡΠΈΡΠΌΠ΅, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ΅ΠΉ, Π³Π΄Π΅ Π²ΡΡΠΊΠΈΠΉ ΡΠ»Π΅ΠΌΠ΅Π½Ρ Π²ΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>http://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π³Π°ΡΠ΄ΠΈΠ½Ρ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ ΠΎΠ±ΠΈΡΠ΅Π»Ρ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ°Π½ΡΠ°Π·ΠΈΠΈ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΡΡ ΠΈΡΡΠΎΡΠΈΡ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° Ρ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄ΠΎΠΉ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ² Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΠΏΠ°Π½Π½ΠΎ ΠΏΠ»ΠΈΡΡΠ΅ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π·!
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΠΏΠ»ΠΈΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΆΠ°Π»ΡΠ·ΠΈ</a> β ΡΡΠΎ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠ΅ΡΡΠ²Π° ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ Π΄Π΅Π»Π°ΡΡ ΠΊΠΎΠΌΡΠΎΡΡ, ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²ΡΠ²Π°ΡΡ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ ΠΊΠΎΠ½ΡΠ΅ΡΠ²ΠΈΡΡΡΡ Π²Π°ΡΡ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠΊΠ°Π½Ρ, ΠΎΡΡΠ΅Π½ΠΎΠΊ ΠΈ ΡΠΊΡΠ°ΡΠ΅Π½ΠΈΠ΅, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅ΠΌ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠ½ΡΡ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°.
ΠΠ΅ ΡΠ΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ Π±ΡΠ΄Π΅ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΡΡΠΎΡΠΌΠΈΡΠΎΠ²Π°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ Π·Π°Π½Π°Π²Π΅ΡΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ Π³Π°ΡΠΌΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΌ Π²ΠΊΡΡΠΎΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΡΠΈΡΠΌΠ΅, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ΅ΠΉ, Π³Π΄Π΅ Π²ΡΡΠΊΠΈΠΉ ΡΠ»Π΅ΠΌΠ΅Π½Ρ Π²ΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>http://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ Π³Π°ΡΠ΄ΠΈΠ½Ρ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ ΠΎΠ±ΠΈΡΠ΅Π»Ρ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ°Π½ΡΠ°Π·ΠΈΠΈ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΡΡ ΠΈΡΡΠΎΡΠΈΡ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° Ρ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄ΠΎΠΉ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ² Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΠΏΠ°Π½Π½ΠΎ ΠΏΠ»ΠΈΡΡΠ΅ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π·!
Erstellt am 10/25/23 um 22:30: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;
}
}
}
?>
Shtory_bib 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:32: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;
}
}
}
?>
Strey_mwon schrieb:
Π₯Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ ΡΠ΅ΡΠ½ΠΎΠΉ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠΈ
ΡΠ΅ΡΠ½Π°Ρ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΎΠΏΡΠΎΠΌ <a href=http://strejch-plenka-chern...>http://strejch-plenka-chernaya.ru/</a>.
ΡΠ΅ΡΠ½Π°Ρ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΎΠΏΡΠΎΠΌ <a href=http://strejch-plenka-chern...>http://strejch-plenka-chernaya.ru/</a>.
Erstellt am 10/25/23 um 22:56: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;
}
}
}
?>
moskvadiplom.ru schrieb:
ΠΠ°ΠΊΠΎΠ½ΡΠΈΠ² ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅Ρ Ρ ΠΎΡΠ»ΠΈΡΠΈΠ΅ΠΌ, Ρ Π±ΡΠ»Π° ΡΠ²Π΅ΡΠ΅Π½Π° Π² ΡΠ²ΠΎΠ΅ΠΌ Π±ΡΠ΄ΡΡΠ΅ΠΌ. ΠΠΎ ΠΌΠΎΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ Π±ΡΠ» ΡΠΊΡΠ°Π΄Π΅Π½, ΠΈ Ρ ΡΡΠ²ΡΡΠ²ΠΎΠ²Π°Π»Π° ΡΠ΅Π±Ρ Π±Π΅ΡΠΏΠΎΠΌΠΎΡΠ½ΠΎΠΉ ΠΏΠ΅ΡΠ΅Π΄ ΠΏΡΠ΅Π΄ΡΡΠΎΡΡΠΈΠΌ ΡΠΎΠ±Π΅ΡΠ΅Π΄ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://www.moskvadiplom.ru/>moskvadiplom.ru</a> Ρ Π½Π°ΡΠ»Π° Π½ΡΠΆΠ½ΡΠΉ ΠΌΠ½Π΅ Π΄ΠΈΠΏΠ»ΠΎΠΌ, ΠΈ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ Π΅ΠΌΡ Ρ ΡΠ΅ΠΏΠ΅ΡΡ ΡΠ°Π±ΠΎΡΠ°Ρ Π² ΠΎΠ΄Π½ΠΎΠΉ ΠΈΠ· Π»ΡΡΡΠΈΡ
ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ ΡΡΡΠ°Π½Ρ.
Erstellt am 10/26/23 um 00:32: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;
}
}
}
?>
Plisse_bib schrieb:
ΠΠ°ΡΠΈ ΡΠ΅Ρ
ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠ°ΠΌΡΠ΅ ΡΠΈΡΠΊΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΈ ΠΈΠ·ΠΎΠ±ΡΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΈΠ΄Π΅ΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°. ΠΡ ΠΏΡΠ°ΠΊΡΠΈΠΊΡΠ΅ΠΌ Π½Π° ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΡ
ΡΡΠΎΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ Π·Π°ΠΊΠ°Π·, ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Π΄Π΅Π»Π°ΡΡ Π²Π°ΡΠ΅ΠΌΡ ΠΆΠΈΠ»ΡΡ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΉ ΠΎΠ±ΡΠ°Π·, Π½ΠΎ ΠΈ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΈΠ²Π°ΡΡ Π²Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΡΡΠ»Ρ ΠΏΠ»ΠΈΡΡΠ΅</a> β ΡΡΠΎ Π³Π°ΡΠΌΠΎΠ½ΠΈΡ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ ΡΠΎΡΠΌΠΈΡΡΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²ΡΠ²Π°ΡΡ ΡΠ²Π΅Ρ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ Π²Π°ΡΡ ΠΈΠ½ΡΠΈΠΌΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π», ΡΠΎΠ½ ΠΈ ΠΎΡΠ½Π°ΠΌΠ΅Π½Ρ, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π³Π°ΡΠ΄ΠΈΠ½Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΎΡΠ½ΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Ρ Π°ΡΠ°ΠΊΡΠ΅Ρ Π²Π°ΡΠ΅Π³ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ.
ΠΠ΅ Π·Π°Π΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΠΎΠ±ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΎΠ·Π΄Π°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΏΠ°Π½Π½ΠΎ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΌ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠ΅ΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΡΠΈΡΠΌΠ΅, ΠΈ Π²Π°Ρ ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΆΠΈΠ»ΡΠ΅ ΡΡΠ°Π½Π΅Ρ ΡΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ΠΌ, Π³Π΄Π΅ Π»ΡΠ±ΠΎΠΉ Π΄Π΅ΡΠ°Π»Ρ Π³ΠΎΠ²ΠΎΡΠΈΡ ΠΎ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>http://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠΎΡΡΡΠ΅ΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΡΠΎΠ΄Π΅ΠΉΡΡΠ²ΡΠ΅ΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΡΡ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΡΡ ΠΈΡΡΠΎΡΠΈΡ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ Ρ Π½Π°ΡΠ΅ΠΉ Π±ΡΠΈΠ³Π°Π΄ΠΎΠΉ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΡΡΠΎΡΠ°ΠΌΠΈ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΡΡΠ»Ρ ΠΏΠ»ΠΈΡΡΠ΅</a> β ΡΡΠΎ Π³Π°ΡΠΌΠΎΠ½ΠΈΡ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ ΡΠΎΡΠΌΠΈΡΡΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²ΡΠ²Π°ΡΡ ΡΠ²Π΅Ρ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ Π²Π°ΡΡ ΠΈΠ½ΡΠΈΠΌΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π», ΡΠΎΠ½ ΠΈ ΠΎΡΠ½Π°ΠΌΠ΅Π½Ρ, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π³Π°ΡΠ΄ΠΈΠ½Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΎΡΠ½ΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Ρ Π°ΡΠ°ΠΊΡΠ΅Ρ Π²Π°ΡΠ΅Π³ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ.
ΠΠ΅ Π·Π°Π΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΠΎΠ±ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΎΠ·Π΄Π°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΏΠ°Π½Π½ΠΎ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ Ρ Π²Π°ΡΠΈΠΌ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΌ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠ΅ΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΡΠΈΡΠΌΠ΅, ΠΈ Π²Π°Ρ ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΆΠΈΠ»ΡΠ΅ ΡΡΠ°Π½Π΅Ρ ΡΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ΠΌ, Π³Π΄Π΅ Π»ΡΠ±ΠΎΠΉ Π΄Π΅ΡΠ°Π»Ρ Π³ΠΎΠ²ΠΎΡΠΈΡ ΠΎ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>http://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠΎΡΡΡΠ΅ΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΡΠΎΠ΄Π΅ΠΉΡΡΠ²ΡΠ΅ΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΡΡ ΠΎ ΠΏΡΠ΅Π²ΠΎΡΡ ΠΎΠ΄Π½ΠΎΠΌ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΡΡ ΠΈΡΡΠΎΡΠΈΡ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ Ρ Π½Π°ΡΠ΅ΠΉ Π±ΡΠΈΠ³Π°Π΄ΠΎΠΉ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ Ρ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠΌΠΈ ΡΡΠΎΡΠ°ΠΌΠΈ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
Erstellt am 10/26/23 um 00:49: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;
}
}
}
?>
Shtory_bib schrieb:
ΠΠ°ΡΠΈ ΠΌΠ°Π½ΡΡΠ°ΠΊΡΡΡΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π²Π°ΡΠΈ ΡΠ°ΠΌΡΠ΅ ΡΠΌΠ΅Π»ΡΠ΅ ΠΈ Π½ΠΎΠ²Π°ΡΠΎΡΡΠΊΠΈΠ΅ ΠΈΠ΄Π΅ΠΈ Π² ΡΡΠ΅ΡΠ΅ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π°. ΠΡ ΠΏΡΠ°ΠΊΡΠΈΠΊΡΠ΅ΠΌ Π½Π° ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ ΡΡΠΎΡ ΠΏΠ»ΠΈΡΡΠ΅ ΠΏΠΎΠ΄ ΠΏΠΎ Π·Π°ΠΊΠ°Π·Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠΈΠ²Π°ΡΡ Π²Π°ΡΠ΅ΠΌΡ ΡΡΠ΅ΠΌΠ½ΠΎΠΌΡ ΠΆΠΈΠ»ΡΡ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΉ Π»ΠΎΡΠΊ, Π½ΠΎ ΠΈ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΈΠ²Π°ΡΡ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΠΆΠ°Π»ΡΠ·ΠΈ ΠΏΠ»ΠΈΡΡΠ΅ Π½Π° ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°</a> β ΡΡΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΠΏΠΎΡΡΠ΅Π±ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ Π³Π΅Π½Π΅ΡΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡ, ΠΎΡΡΠ΅ΠΈΠ²Π°ΡΡ ΡΠΈΡΠ½ΠΈΠ΅ ΠΈ ΡΠΎΡ ΡΠ°Π½ΡΡΡ Π²Π°ΡΡ ΠΈΠ½ΡΠΈΠΌΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΡΠ±ΡΡΡΠ°Ρ, ΡΠ²Π΅Ρ ΠΈ ΠΎΡΠ΄Π΅Π»ΠΊΠ°, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅Π½Π½ΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ.
ΠΠ΅ ΡΡΠ΅ΡΠ½ΡΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ Π±ΡΠ΄Π΅ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΏΠ°Π½Π½ΠΎ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΡΠ΅ΡΠ°ΡΡΡΡ Ρ Π²Π°ΡΠΈΠΌ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌ Π²ΠΊΡΡΠΎΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π΅, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ΅ΠΉ, Π³Π΄Π΅ Π²ΡΡΠΊΠΈΠΉ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΠΎΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>https://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠΎΡΡΡΠ΅ΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ Π΄ΠΎΠΌ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ ΡΡΠΈΠ»Ρ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π»ΠΈΡΠ½ΡΠ΅ Π³ΡΠ΅Π·Ρ ΠΎ ΡΠΎΠ²Π΅ΡΡΠ΅Π½Π½ΠΎΠΌ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ΅.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΡ ΡΠ°ΡΡΠΊΠ°Π· Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ Ρ Π½Π°ΠΌΠΈ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΠΎΠ² Ρ Π³Π°ΡΠ΄ΠΈΠ½Π°ΠΌΠΈ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
ΠΠ°ΡΠΈ <a href=https://tulpan-pmr.ru>ΠΆΠ°Π»ΡΠ·ΠΈ ΠΏΠ»ΠΈΡΡΠ΅ Π½Π° ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°</a> β ΡΡΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠ΅ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΠΏΠΎΡΡΠ΅Π±ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠ½ΠΈ Π³Π΅Π½Π΅ΡΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡ, ΠΎΡΡΠ΅ΠΈΠ²Π°ΡΡ ΡΠΈΡΠ½ΠΈΠ΅ ΠΈ ΡΠΎΡ ΡΠ°Π½ΡΡΡ Π²Π°ΡΡ ΠΈΠ½ΡΠΈΠΌΠ½ΠΎΡΡΡ. ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΡΠ±ΡΡΡΠ°Ρ, ΡΠ²Π΅Ρ ΠΈ ΠΎΡΠ΄Π΅Π»ΠΊΠ°, ΠΈ ΠΌΡ Ρ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ ΡΡΠΎΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅Π½Π½ΠΎ Π²ΡΠ΄Π΅Π»Π°Ρ Π½Π°ΡΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ.
ΠΠ΅ ΡΡΠ΅ΡΠ½ΡΠΉΡΠ΅ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡΠΌΠΈ. ΠΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ, Π²Ρ Π±ΡΠ΄Π΅ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠ΅ΠΊΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΏΠ°Π½Π½ΠΎ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΡΠΎΡΠ΅ΡΠ°ΡΡΡΡ Ρ Π²Π°ΡΠΈΠΌ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌ Π²ΠΊΡΡΠΎΠΌ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ΡΡ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Π΅, ΠΈ Π²Π°Ρ ΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠΈΡ ΡΡΠ°Π½Π΅Ρ ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ΅ΠΉ, Π³Π΄Π΅ Π²ΡΡΠΊΠΈΠΉ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΠΎΡΡΠ°ΠΆΠ°Π΅Ρ Π²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://tulpan-pmr.ru>https://www.sun-interio1.ru</a>.
ΠΠ°ΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠΎΡΡΡΠ΅ΡΡ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ Ρ Π½Π°Ρ, ΠΈ Π²Π°Ρ Π΄ΠΎΠΌ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡΡ Π² ΡΠ°Π΄ ΡΡΠΈΠ»Ρ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²Π°ΠΌ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π² ΠΆΠΈΠ·Π½Ρ Π»ΠΈΡΠ½ΡΠ΅ Π³ΡΠ΅Π·Ρ ΠΎ ΡΠΎΠ²Π΅ΡΡΠ΅Π½Π½ΠΎΠΌ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ΅.
Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΠ²ΠΎΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΡ ΡΠ°ΡΡΠΊΠ°Π· Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ Ρ Π½Π°ΠΌΠΈ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΠΌΠΈΡ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΠΎΠ² Ρ Π³Π°ΡΠ΄ΠΈΠ½Π°ΠΌΠΈ ΡΠΎ ΡΠΊΠ»Π°Π΄ΠΊΠ°ΠΌΠΈ ΠΏΠΎΠ΄ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠΌΡ Π·Π°ΠΊΠ°Π·Ρ!
Erstellt am 10/26/23 um 11:24: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;
}
}
}
?>
ΠΠ³ΡΠ°ΡΡ ΠΊΠ°Π·ΠΈΠ½ΠΎ schrieb:
Π ΠΌΠΈΡΠ΅ Π°Π·Π°ΡΡΠ½ΡΡ
ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ Π½Π° Π΄Π΅Π½ΡΠ³ΠΈ Π²Π°ΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²ΠΎ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://parazitizm.ru/>parazitizm.ru</a> ΠΌΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΡΠΏΠΈΡΠΎΠΊ Π»ΡΡΡΠΈΡ
ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠ°Π·ΠΈΠ½ΠΎ Ρ Π±ΠΎΠ½ΡΡΠ°ΠΌΠΈ ΠΏΡΠΈ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ Π½Π° ΠΏΠ΅ΡΠ²ΡΠΉ Π΄Π΅ΠΏΠΎΠ·ΠΈΡ. ΠΠ°ΡΠ½ΠΈΡΠ΅ ΠΈΠ³ΡΠ°ΡΡ Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΌΠΈ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌΠΈ ΠΈ ΡΡΡΠ΅ΠΌΠΈΡΠ΅ΡΡ ΠΊ Π±ΠΎΠ»ΡΡΠΈΠΌ Π²ΡΠΈΠ³ΡΡΡΠ°ΠΌ!
Erstellt am 10/26/23 um 14:52: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;
}
}
}
?>
ΠΌΠΎΡΠΊΠ²Π° Π³ΡΡΡΡΠ½ΠΎΠ²Π° Π΄ 30 schrieb:
Π£ Termburg ΠΎΡΠ»ΠΈΡΠ½ΡΠ΅ ΡΠ΅ΡΠΌΠ°Π»ΡΠ½ΡΠ΅ Π²Π°Π½Π½Ρ ΠΈ ΠΏΡΠΎΡΠ΅Π΄ΡΡΡ. ΠΠ΅ΡΡ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³ Π½Π° <a href=https://termburg.ru/>termburg.ru</a>. Π‘ Π½Π΅ΡΠ΅ΡΠΏΠ΅Π½ΠΈΠ΅ΠΌ ΠΆΠ΄Ρ ΡΠ»Π΅Π΄ΡΡΡΠ΅Π³ΠΎ Π²ΠΈΠ·ΠΈΡΠ°!
Erstellt am 10/26/23 um 20:56: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;
}
}
}
?>
Π·Π°ΠΉΠΌ Π½Π° ΠΌΠ΅ΡΡΡ Π½Π° ΠΊΠ°ΡΡΡ schrieb:
Cntbank.ru ΡΡΠ°Π» Π΄Π»Ρ ΠΌΠ΅Π½Ρ Π½Π°ΡΡΠΎΡΡΠΈΠΌ ΠΎΡΠΊΡΡΡΠΈΠ΅ΠΌ. ΠΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΡΡΠΎΡΠ½ΠΎΠ³ΠΎ Π·Π°ΠΉΠΌΠ° Π½Π° ΠΊΠ°ΡΡΡ Π·Π°Π½ΡΠ»ΠΎ ΠΌΠΈΠ½ΠΈΠΌΡΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, ΠΈ Ρ ΡΠΌΠΎΠ³Π»Π° ΡΠ΅ΡΠΈΡΡ ΡΠ²ΠΎΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
Ρ
Π»ΠΎΠΏΠΎΡ.
Erstellt am 10/27/23 um 05:12: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;
}
}
}
?>
ΠΠ°Π·ΠΈΠ½ΠΎ ΡΠ΅ΠΉΡΠΈΠ½Π³ schrieb:
ΠΡΠ»ΠΈ Π²Ρ ΠΈΡΠ΅ΡΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠ°Π·ΠΈΠ½ΠΎ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΈΠ³ΡΠ°ΡΡ Π½Π° ΡΡΠ±Π»ΠΈ, ΡΠΎ <a href=https://parazitizm.ru/>parazitizm.ru</a> ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ Π²Π°ΠΌ Ρ Π²ΡΠ±ΠΎΡΠΎΠΌ. ΠΡ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΈΠ»ΠΈ ΡΠ΅ΠΉΡΠΈΠ½Π³ Π»ΡΡΡΠΈΡ
ΠΏΠ»ΠΎΡΠ°Π΄ΠΎΠΊ Ρ ΡΡΠ±Π»Π΅Π²ΡΠΌΠΈ ΡΡΠ°Π²ΠΊΠ°ΠΌΠΈ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ°.
Erstellt am 10/27/23 um 10:01: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;
}
}
}
?>
Igell_upKa schrieb:
Π‘Π°ΠΌΡΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΡΡΠΎΡ <a href=http://lipeckpak.ru/>http://lipeckpak.ru/</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΡΡΠΎΡ <a href=http://lipeckpak.ru/>http://lipeckpak.ru/</a>.
Erstellt am 10/27/23 um 10:20: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;
}
}
}
?>
australia-msk.ru schrieb:
Π ΠΠΎΡΠΊΠ²Π΅ Π΅ΡΡΡ ΠΌΠ½ΠΎΠ³ΠΎ ΠΌΠ°Π³Π°Π·ΠΈΠ½ΠΎΠ² ΠΎΠ±ΡΠ²ΠΈ, Π½ΠΎ Π½Π΅ Π²ΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ <a href=https://australia-msk.ru/>UGG ΠΌΠ°Π³Π°Π·ΠΈΠ½Ρ Π² ΠΠΎΡΠΊΠ²Π΅</a>, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ <a href=https://australia-msk.ru/>ΠΊΡΠΏΠΈΡΡ ΡΠ³Π³ΠΈ</a> Π²ΡΡΡΠ΅Π³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠ°Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½ Π³ΠΎΡΠ΄ΠΈΡΡΡ ΡΠ²ΠΎΠ΅ΠΉ ΡΠ΅ΠΏΡΡΠ°ΡΠΈΠ΅ΠΉ ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΠ³Π³ΠΈ Australia. Π£ Π½Π°Ρ Π΅ΡΡΡ <a href=https://australia-msk.ru/>ΡΠ³Π³ΠΈ ΠΊΡΠΏΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅</a> Ρ Π±ΡΡΡΡΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ, ΡΡΠΎΠ±Ρ Π²Ρ ΠΌΠΎΠ³Π»ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠΎΠΌ ΠΈ ΡΡΠΈΠ»Π΅ΠΌ Π² ΡΠ°ΠΌΡΠ΅ ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ. ΠΠ°Π±ΡΠ΄ΡΡΠ΅ ΠΎ ΠΏΠΎΠΈΡΠΊΠ΅, ΠΏΡΠΈΡ
ΠΎΠ΄ΠΈΡΠ΅ ΠΊ Π½Π°ΠΌ ΠΈ Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π»ΡΡΡΠΈΠ΅ ΡΠ³Π³ΠΈ!
Erstellt am 10/27/23 um 22:05: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;
}
}
}
?>
ΡΠ³Π³ schrieb:
ΠΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΠ³Π³ΠΈ Australia - ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΎΠ±ΡΠ²Ρ, ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² ΠΊΠΎΠΌΡΠΎΡΡ ΠΈ ΡΡΠΈΠ»Ρ. ΠΡΠ»ΠΈ Π²Ρ Ρ
ΠΎΡΠΈΡΠ΅ <a href=https://australia-msk.ru/>ΡΠ³Π³ΠΈ ΠΊΡΠΏΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅</a>, ΡΠΎ Π½Π°Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½ Π³ΠΎΡΠΎΠ² ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ Π²Π°ΠΌ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ. ΠΡ ΡΠ²Π»ΡΠ΅ΠΌΡΡ ΠΎΠ΄Π½ΠΈΠΌ ΠΈΠ· ΡΠ°ΠΌΡΡ
ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ
<a href=https://australia-msk.ru/>UGG ΠΌΠ°Π³Π°Π·ΠΈΠ½ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅</a>, ΠΈ Π½Π°ΡΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΡ Π΄ΠΎΠ²ΠΎΠ»ΡΠ½Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ Π½Π°ΡΠΈΡ
ΡΠ³Π³. ΠΡΠΈΡ
ΠΎΠ΄ΠΈΡΠ΅ ΠΊ Π½Π°ΠΌ ΠΈ Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΡΠ³Π³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠ½ΡΡ Π²Π°Ρ ΡΡΠΈΠ»Ρ!
Erstellt am 10/28/23 um 04:39: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;
}
}
}
?>
ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ Π·Π°ΠΉΠΌΠΎΠ² schrieb:
ΠΡΠ» ΠΎΠ΄ΠΈΠ½ Π΄Π΅Π½Ρ, ΠΊΠΎΠ³Π΄Π° Ρ ΠΏΡΠΎΡΡΠΎ Π½Π΅ Π·Π½Π°Π», ΡΡΠΎ Π΄Π΅Π»Π°ΡΡ. ΠΠ΅Π½ΡΠ³ΠΈ Π½ΡΠΆΠ½Ρ Π±ΡΠ»ΠΈ ΡΠΈΡ ΠΌΠΈΠ½ΡΡΡ. ΠΡΠΊΡΡΠ² cntbank, Ρ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ» ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ
Π·Π°ΠΉΠΌΠΎΠ² Π½Π° 2023 Π³ΠΎΠ΄. ΠΡΠ±ΡΠ°Π» ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΠΈ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΠΏΠΎΠ»ΡΡΠΈΠ» Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠΌΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ.
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>ΡΠΏΠΈΡΠΎΠΊ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΠΎΠ²</a>
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>ΡΠΏΠΈΡΠΎΠΊ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΠΎΠ²</a>
Erstellt am 10/29/23 um 02:49: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;
}
}
}
?>
ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ Π·Π°ΠΉΠΌΠΎΠ² schrieb:
ΠΠ΅ΡΠ΅Π΄ ΡΠ²Π°Π΄ΡΠ±ΠΎΠΉ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ», ΡΡΠΎ Π½Π΅ Ρ
Π²Π°ΡΠ°Π΅Ρ ΡΡΠ΅Π΄ΡΡΠ² Π½Π° ΠΏΠΎΠ΄Π°ΡΠΎΠΊ Π΄Π»Ρ ΠΆΠ΅Π½Ρ. ΠΠ° ΡΠΎΡΡΠΌΠ΅ ΡΠ·Π½Π°Π» ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank ΠΈ Π΅Π³ΠΎ ΡΡΠ΄Π΅ΡΠ½ΠΎΠΌ ΡΠΏΠΈΡΠΊΠ΅ Π²ΡΠ΅Ρ
Π·Π°ΠΉΠΌΠΎΠ². ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΡΠΎΠΌΡ, ΡΠ΄Π°Π»ΠΎΡΡ Π±ΡΡΡΡΠΎ ΠΎΡΠΎΡΠΌΠΈΡΡ Π·Π°ΠΉΠΌ ΠΈ ΡΠ΄Π΅Π»Π°ΡΡ ΠΆΠ΅Π½Π΅ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠΉ ΠΏΠΎΠ΄Π°ΡΠΎΠΊ.
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅</a>
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅</a>
Erstellt am 10/29/23 um 12:23: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;
}
}
}
?>
ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠ° Π²ΡΠ΅Ρ Π·Π°ΠΉΠΌΠΎΠ² schrieb:
ΠΠΎΠ³Π΄Π° ΠΌΠΎΡ ΠΌΠ°ΡΠΈΠ½Π° ΡΠ»ΠΎΠΌΠ°Π»Π°ΡΡ Π½Π° ΠΏΠΎΠ»ΠΏΡΡΠΈ ΠΊ Π²Π°ΠΆΠ½ΠΎΠΌΡ ΡΠΎΠ±Π΅ΡΠ΅Π΄ΠΎΠ²Π°Π½ΠΈΡ, Ρ ΠΏΠΎΠ½ΡΠ», ΡΡΠΎ Π½ΡΠΆΠ΅Π½ ΡΡΠΎΡΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ. ΠΠ΅ΡΠ΅ΡΡΠ²Π°Ρ ΡΠΎΡΡΠΌΡ, Ρ Π½Π°ΡΠΊΠ½ΡΠ»ΡΡ Π½Π° ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡ ΡΠ°ΠΉΡΠ° cntbank. ΠΠ°ΠΉΠ΄Ρ ΡΡΠ΄Π°, Ρ ΡΠ²ΠΈΠ΄Π΅Π» ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ
Π·Π°ΠΉΠΌΠΎΠ² Π½Π° 2023 Π³ΠΎΠ΄. ΠΠ³Π½ΠΎΠ²Π΅Π½Π½Π°Ρ Π·Π°ΡΠ²ΠΊΠ° ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΠ΅ ΡΠΏΠ°ΡΠ»ΠΈ ΠΌΠΎΠΉ Π΄Π΅Π½Ρ.
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅</a>
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅</a>
Erstellt am 10/29/23 um 18:16: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;
}
}
}
?>
Ietj_qqPa schrieb:
ΠΡΠΎΠ΄ΡΠΌΠ°Π½Π½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΎΠΊ ΠΌΡΡΠΎΡΠ½ΡΠΉ <a href=http://kaluga1pak.ru/>http://kaluga1pak.ru/</a>.
ΠΌΠ΅ΡΠΎΠΊ ΠΌΡΡΠΎΡΠ½ΡΠΉ <a href=http://kaluga1pak.ru/>http://kaluga1pak.ru/</a>.
Erstellt am 10/29/23 um 21:21: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;
}
}
}
?>
Π·Π°ΠΉΠΌΡ Π²Π΅ΡΡ ΡΠΏΠΈΡΠΎΠΊ schrieb:
ΠΠΎΠΉ ΡΡΠ½ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΠΎ ΡΠ΅ΡΠΈΠ» ΠΏΠΎΡΡΡΠΏΠ°ΡΡ Π² ΡΠ½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅Ρ, ΠΈ Π΄Π»Ρ ΡΡΠΎΠ³ΠΎ Π½ΡΠΆΠ½Ρ Π±ΡΠ»ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ Π½Π° Π²ΡΡΡΠΏΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π²Π·Π½ΠΎΡ. ΠΠΌΠ΅Π½Π½ΠΎ ΡΠ°ΠΉΡ cntbank, ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠ½Π΅ ΠΏΠΎΡΠΎΠ²Π΅ΡΠΎΠ²Π°Π»ΠΈ Π½Π° ΡΠΎΡΡΠΌΠ΅, ΠΏΠΎΠΌΠΎΠ³. Π’Π°ΠΌ Ρ Π½Π°ΡΡΠ» ΠΈΠΌΠ΅Π½Π½ΠΎ ΡΠΎΡ ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ
Π·Π°ΠΉΠΌΠΎΠ², ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠ½Π΅ Π½ΡΠΆΠ΅Π½ Π±ΡΠ».
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠ° Π²ΡΠ΅Ρ Π·Π°ΠΉΠΌΠΎΠ²</a>
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΠΉΡΠ΅ cntbank.ru
ΠΠ΄ΡΠ΅Ρ: 125362, Π ΠΎΡΡΠΈΡ, ΠΠΎΡΠΊΠ²Π°, ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½Π°Ρ ΡΠ». 12Π.
Π‘ΡΡΠ»ΠΊΠ°: <a href=https://cntbank.ru/navigation>ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠ° Π²ΡΠ΅Ρ Π·Π°ΠΉΠΌΠΎΠ²</a>
Erstellt am 10/29/23 um 21:56: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;
}
}
}
?>
Bahily_deon schrieb:
ΠΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ Π½Π° Π±Π°Ρ
ΠΈΠ»Ρ ΠΎΠΏΡΠΎΠΌ
Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π° <a href=http://bahily-optom-mos.ru/>http://bahily-optom-mos.ru/</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΌΠΎΡΠΊΠ²Π° <a href=http://bahily-optom-mos.ru/>http://bahily-optom-mos.ru/</a>.
Erstellt am 10/30/23 um 12:08: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;
}
}
}
?>
Zaim-online schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ! ΠΠΊΠ°Π·Π°Π»ΡΡ Π² Π΄ΠΎΠ²ΠΎΠ»ΡΠ½ΠΎ Π·Π°ΡΡΡΠ΄Π½ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ β Π½ΡΠΆΠ½ΠΎ Π±ΡΠ»ΠΎ ΡΡΠΎΡΠ½ΠΎ ΠΎΠΏΠ»Π°ΡΠΈΡΡ ΠΊΠ²Π°ΡΡΠΈΡΡ, Π° Π·Π°ΡΠΏΠ»Π°ΡΠ° Π·Π°Π΄Π΅ΡΠΆΠΈΠ²Π°Π»Π°ΡΡ. ΠΠ°ΡΠ°Π» ΠΈΡΠΊΠ°ΡΡ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ Π½Π°ΡΠΊΠ½ΡΠ»ΡΡ Π½Π° ΡΡΠΎΡ Π²ΠΎΠ»ΡΠ΅Π±Π½ΡΠΉ ΡΠ°ΠΉΡ Ρ <a href=https://bycesoir.com/>Π·Π°ΠΉΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ</a>.
ΠΡΠΎΡΠ΅ΡΡ Π·Π°Π½ΡΠ» ΠΌΠΈΠ½ΠΈΠΌΡΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: Π·Π°ΠΏΠΎΠ»Π½ΠΈΠ» Π°Π½ΠΊΠ΅ΡΡ, ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠ΄ΠΈΠ» Π»ΠΈΡΠ½ΠΎΡΡΡ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΠ» Π΄Π΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ. Π ΡΠ°ΠΌΠΎΠ΅ Π³Π»Π°Π²Π½ΠΎΠ΅ β Π²ΡΠ΅ Π±Π΅Π· ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ ΠΈ ΡΠΊΡΡΡΡΡ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ! Π’Π΅ΠΏΠ΅ΡΡ Ρ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎ ΠΆΠΈΠ²Ρ Π² ΡΠ²ΠΎΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΠ΅ ΠΈ Π½Π΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Ρ ΠΎ Π·Π°Π΄Π΅ΡΠΆΠΊΠ΅ Π·Π°ΡΠΏΠ»Π°ΡΡ. Π‘ΡΠΏΠ΅Ρ ΡΠ°ΠΉΡ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ!
ΠΡΠΎΡΠ΅ΡΡ Π·Π°Π½ΡΠ» ΠΌΠΈΠ½ΠΈΠΌΡΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ: Π·Π°ΠΏΠΎΠ»Π½ΠΈΠ» Π°Π½ΠΊΠ΅ΡΡ, ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠ΄ΠΈΠ» Π»ΠΈΡΠ½ΠΎΡΡΡ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΠ» Π΄Π΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ. Π ΡΠ°ΠΌΠΎΠ΅ Π³Π»Π°Π²Π½ΠΎΠ΅ β Π²ΡΠ΅ Π±Π΅Π· ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ ΠΈ ΡΠΊΡΡΡΡΡ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ! Π’Π΅ΠΏΠ΅ΡΡ Ρ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎ ΠΆΠΈΠ²Ρ Π² ΡΠ²ΠΎΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΠ΅ ΠΈ Π½Π΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Ρ ΠΎ Π·Π°Π΄Π΅ΡΠΆΠΊΠ΅ Π·Π°ΡΠΏΠ»Π°ΡΡ. Π‘ΡΠΏΠ΅Ρ ΡΠ°ΠΉΡ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ!
Erstellt am 10/30/23 um 13:20: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;
}
}
}
?>
Zaim-online schrieb:
ΠΠ½ΠΎΠ³Π΄Π° ΠΆΠΈΠ·Π½Ρ ΡΡΠ°Π²ΠΈΡ ΠΏΠ΅ΡΠ΅Π΄ Π½Π°ΠΌΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π½ΡΠΆΠ½ΠΎ ΠΏΡΠ΅ΠΎΠ΄ΠΎΠ»Π΅ΡΡ ΠΊΠ°ΠΊ ΠΌΠΎΠΆΠ½ΠΎ Π±ΡΡΡΡΠ΅Π΅. Π ΡΠ°ΠΊΠΈΡ
ΡΠ»ΡΡΠ°ΡΡ
ΠΊΠ°ΠΆΠ΄Π°Ρ ΠΌΠΈΠ½ΡΡΠ° Π½Π° Π²Π΅Ρ Π·ΠΎΠ»ΠΎΡΠ°. ΠΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π²Π°ΠΌ <a href=https://bycesoir.com/>Π²Π·ΡΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ</a>.
ΠΠ°ΡΠΈ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°:
ΠΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½Π°Ρ ΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ Π·Π°ΠΉΠΌΡ.
ΠΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎΠ΅ Π·Π°ΡΠΈΡΠ»Π΅Π½ΠΈΠ΅ ΡΡΠ΅Π΄ΡΡΠ² ΠΏΠΎΡΠ»Π΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ.
ΠΠΈΠ±ΠΊΠΈΠΉ Π³ΡΠ°ΡΠΈΠΊ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΡΡΡΠΎΠΈΡΡ ΠΏΠΎΠ΄ ΡΠ²ΠΎΠΈ Π½ΡΠΆΠ΄Ρ.
ΠΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ².
ΠΡ Π·Π°Π±ΠΎΡΠΈΠΌΡΡ ΠΎ Π²Π°ΡΠ΅ΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ΅, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ Π»ΡΡΡΠΈΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ°. ΠΠ΅ ΡΠΏΡΡΡΠΈΡΠ΅ ΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ, Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ Π½Π°ΡΠΈΠΌ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ΠΌ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ!
ΠΠ°ΡΠΈ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°:
ΠΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½Π°Ρ ΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ Π·Π°ΠΉΠΌΡ.
ΠΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎΠ΅ Π·Π°ΡΠΈΡΠ»Π΅Π½ΠΈΠ΅ ΡΡΠ΅Π΄ΡΡΠ² ΠΏΠΎΡΠ»Π΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ.
ΠΠΈΠ±ΠΊΠΈΠΉ Π³ΡΠ°ΡΠΈΠΊ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΡΡΡΠΎΠΈΡΡ ΠΏΠΎΠ΄ ΡΠ²ΠΎΠΈ Π½ΡΠΆΠ΄Ρ.
ΠΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ².
ΠΡ Π·Π°Π±ΠΎΡΠΈΠΌΡΡ ΠΎ Π²Π°ΡΠ΅ΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ΅, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ Π»ΡΡΡΠΈΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ°. ΠΠ΅ ΡΠΏΡΡΡΠΈΡΠ΅ ΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ, Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ Π½Π°ΡΠΈΠΌ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ΠΌ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ!
Erstellt am 10/30/23 um 16:53: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;
}
}
}
?>
Zaim-online schrieb:
ΠΠ°ΠΊ-ΡΠΎ ΡΠ°Π· Ρ ΡΠ΅ΡΠΈΠ» Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΠΎ ΡΠ΅Ρ
Π°ΡΡ Π² ΠΎΡΠΏΡΡΠΊ. ΠΠΈΠ»Π΅ΡΡ Π±ΡΠ»ΠΈ ΠΊΡΠΏΠ»Π΅Π½Ρ, ΠΎΡΠ΅Π»Ρ Π·Π°Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½, Π½ΠΎ Π²ΠΎΡ Π±Π΅Π΄Π° β Π½Π° ΠΊΠ°ΡΡΠ΅ ΠΎΠΊΠ°Π·Π°Π»ΠΎΡΡ Π½Π΅Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΠΎ ΡΡΠ΅Π΄ΡΡΠ² Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π°. ΠΠΎΠΈΡΠΊ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ ΠΏΡΠΈΠ²Π΅Π» ΠΌΠ΅Π½Ρ Π½Π° ΠΏΠΎΡΡΠ°Π», Π³Π΄Π΅ Π±ΡΠ»ΠΈ ΡΠΎΠ±ΡΠ°Π½Ρ Π²ΡΠ΅ ΠΠ€Π, ΠΈ Ρ ΡΡΠ°Π·Ρ ΠΆΠ΅ ΠΎΠ±ΡΠ°ΡΠΈΠ» Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΎ <a href=https://bycesoir.com/>Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° Π»ΡΠ±ΡΡ ΠΊΠ°ΡΡΡ</a>.
Π‘ΠΈΡΡΠ΅ΠΌΠ° Π±ΡΠ»Π° Π½Π°ΡΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎΠΉ, ΡΡΠΎ Ρ Π±Π΅Π· ΠΊΠΎΠ»Π΅Π±Π°Π½ΠΈΠΉ Π·Π°ΠΏΠΎΠ»Π½ΠΈΠ» Π·Π°ΡΠ²ΠΊΡ. ΠΡΠ΅Π³ΠΎ ΡΠ΅ΡΠ΅Π· Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ Π΄Π΅Π½ΡΠ³ΠΈ Π±ΡΠ»ΠΈ Ρ ΠΌΠ΅Π½Ρ Π½Π° ΠΊΠ°ΡΡΠ΅, ΠΈ Ρ ΡΠΌΠΎΠ³ Π±Π΅Π· ΠΏΡΠΎΠ±Π»Π΅ΠΌ ΡΠ»Π΅ΡΠ΅ΡΡ Π² ΠΎΡΠΏΡΡΠΊ. ΠΡΠΎ Π±ΡΠ» ΡΠΏΠ°ΡΠ°ΡΠ΅Π»ΡΠ½ΡΠΉ ΠΊΡΡΠ³, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠΌΠΎΠ³ ΠΌΠ½Π΅ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΎΡΠ΄ΡΡ ΠΎΠΌ Π±Π΅Π· ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ.
Π‘ΠΈΡΡΠ΅ΠΌΠ° Π±ΡΠ»Π° Π½Π°ΡΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎΠΉ, ΡΡΠΎ Ρ Π±Π΅Π· ΠΊΠΎΠ»Π΅Π±Π°Π½ΠΈΠΉ Π·Π°ΠΏΠΎΠ»Π½ΠΈΠ» Π·Π°ΡΠ²ΠΊΡ. ΠΡΠ΅Π³ΠΎ ΡΠ΅ΡΠ΅Π· Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ Π΄Π΅Π½ΡΠ³ΠΈ Π±ΡΠ»ΠΈ Ρ ΠΌΠ΅Π½Ρ Π½Π° ΠΊΠ°ΡΡΠ΅, ΠΈ Ρ ΡΠΌΠΎΠ³ Π±Π΅Π· ΠΏΡΠΎΠ±Π»Π΅ΠΌ ΡΠ»Π΅ΡΠ΅ΡΡ Π² ΠΎΡΠΏΡΡΠΊ. ΠΡΠΎ Π±ΡΠ» ΡΠΏΠ°ΡΠ°ΡΠ΅Π»ΡΠ½ΡΠΉ ΠΊΡΡΠ³, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠΌΠΎΠ³ ΠΌΠ½Π΅ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΎΡΠ΄ΡΡ ΠΎΠΌ Π±Π΅Π· ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ.
Erstellt am 10/30/23 um 19:40: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;
}
}
}
?>
Π²ΡΠ²ΠΎΠ· ΠΌΠ°ΠΊΡΠ»Π°ΡΡΡΡ schrieb:
ΠΠΈΠ²Ρ Π·Π° ΠΏΡΠ΅Π΄Π΅Π»Π°ΠΌΠΈ Π³ΠΎΡΠΎΠ΄Π°, ΡΠ°ΡΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡΡ Ρ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠΎΠΉ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ°. Π Π»Π΅Π½ΠΈΠ½Π³ΡΠ°Π΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° Π΅ΡΡΡ ΠΌΡΡΠΎΡΠΎΠΏΡΠΎΠ²ΠΎΠ΄Ρ ΠΈΠ»ΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ. Π‘Π΅ΡΠ²ΠΈΡ <a href=https://musoroboss.ru/produ...>Π²ΡΠ²ΠΎΠ· ΠΌΡΡΠΎΡΠ° Π»Π΅Π½ΠΈΠ½Π³ΡΠ°Π΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ</a> ΠΏΡΠΈΡ
ΠΎΠ΄ΠΈΡ Π½Π° ΠΏΠΎΠΌΠΎΡΡ Π² ΡΡΠΎΠΌ Π²ΠΎΠΏΡΠΎΡΠ΅. Π‘ Π΅Π³ΠΎ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ ΠΈΠ·Π±Π°Π²ΠΈΡΡΡΡ ΠΎΡ Π½Π°ΠΊΠΎΠΏΠΈΠ²ΡΠΈΡ
ΡΡ ΠΎΡΡ
ΠΎΠ΄ΠΎΠ² ΠΏΡΡΠΌΠΎ Ρ Π²Π°ΡΠ΅Π³ΠΎ ΡΡΠ°ΡΡΠΊΠ°. ΠΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎ Π΄Π»Ρ Π΄Π°ΡΠ½ΠΈΠΊΠΎΠ² ΠΈ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Π·Π°Π½ΠΈΠΌΠ°Π΅ΡΡΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎΠΌ Π² ΠΏΡΠΈΠ³ΠΎΡΠΎΠ΄Π΅.
Erstellt am 10/31/23 um 04:06: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;
}
}
}
?>
CreditInfo schrieb:
ΠΠ° ΡΠ°Π±ΠΎΡΠ΅ ΠΏΡΠΎΠΈΠ·ΠΎΡΠ»Π° Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½Π°Ρ ΡΠΈΡΡΠ°ΡΠΈΡ, ΠΈ ΠΌΠ½Π΅ ΡΡΠΎΡΠ½ΠΎ ΠΏΠΎΠ½Π°Π΄ΠΎΠ±ΠΈΠ»ΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ Π΄Π»Ρ Π·Π°ΠΊΡΠΏΠΊΠΈ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ. ΠΠ°Π½ΠΊΠΈ ΠΎΡΠΊΠ°Π·ΡΠ²Π°Π»ΠΈ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π»ΠΈ Π½Π΅ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ. Π ΡΡΠΎΡ ΠΌΠΎΠΌΠ΅Π½Ρ Ρ ΡΠ·Π½Π°Π» ΠΏΡΠΎ ΡΠ°ΠΉΡ <a href=https://credit-info24.ru/>Π±ΡΡΡΡΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ</a>. ΠΠ΄Π΅ΡΡ Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠΌΠΌΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ ΠΈ ΡΠΌΠΎΠ³ ΡΠ΅ΡΠΈΡΡ Π²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ Π½Π° ΡΠ°Π±ΠΎΡΠ΅. Π‘Π΅ΠΉΡΠ°Ρ Π²ΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎ, ΠΈ Ρ Π΄Π°ΠΆΠ΅ ΠΏΠΎΠ»ΡΡΠΈΠ» ΠΏΡΠ΅ΠΌΠΈΡ Π·Π° ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΠ»ΠΎΠΆΠ½ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ.
Erstellt am 11/01/23 um 23:09: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;
}
}
}
?>
2Streych_cmSa schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ Π±Π΅Π»Π°Ρ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ°
ΠΊΡΠΏΠΈΡΡ ΠΌΠ°ΡΠΎΠ²ΡΡ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΡ <a href=http://strejch-plenka-belay...>http://strejch-plenka-belaya.ru/</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ°ΡΠΎΠ²ΡΡ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΡ <a href=http://strejch-plenka-belay...>http://strejch-plenka-belaya.ru/</a>.
Erstellt am 11/02/23 um 15:45: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;
}
}
}
?>
Quan_trKr schrieb:
Π‘ΠΊΠΎΡΡ: ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π΄Π»Ρ ΡΠ²ΠΎΠΈΡ
ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ²
ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΠΈΡ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΊΠΎΡΡ <a href=http://skotch1.ru/>http://skotch1.ru/</a>.
ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΠΈΡ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΊΠΎΡΡ <a href=http://skotch1.ru/>http://skotch1.ru/</a>.
Erstellt am 11/02/23 um 19:06: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;
}
}
}
?>
Doror_rket schrieb:
ΠΡΠΏΠΈΡΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ ΡΠ°ΠΌΠΎΠΉ Π½ΠΈΠ·ΠΊΠΎΠΉ ΡΠ΅Π½Π΅
ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΠ΅ΡΠΎΠΊ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>http://meshki-dlya-stroitelnogo-musora-optom.ru/</a>.
ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΌΠ΅ΡΠΎΠΊ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-stroitel...>http://meshki-dlya-stroitelnogo-musora-optom.ru/</a>.
Erstellt am 11/03/23 um 11:13: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;
}
}
}
?>
Hdserial-Club schrieb:
ΠΠΎΠ²ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ hdserialclub.net
ΠΠ½Π»Π°ΠΉΠ½ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π° Π½Π°Π΄Π΅ΠΆΠ½ΡΡ ΡΠ΅ΡΡΡΡΠ°Ρ - ΠΎΠ΄Π½ΠΎ ΠΈΠ· Π»ΡΡΡΠΈΡ Π·Π°Π½ΡΡΠΈΠΉ Π² Π·ΠΈΠΌΠ½ΡΡ ΠΏΠΎΡΡ. Π§ΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΡΠΈΡΡΠ½Π΅Π΅ ΡΠ΅ΠΌ, ΠΏΠΎΡΠ»Π΅ ΡΡΡΠ΄Π½ΠΎΠ³ΠΎ ΡΠ°Π±ΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Ρ ΡΠ°ΡΠΊΠΎΠΉ Π³ΠΎΡΡΡΠ΅Π³ΠΎ ΡΠ°Ρ ΠΈ ΠΏΠΎΠ΄ Π»ΡΠ±ΠΈΠΌΡΠΉ ΡΠ΅ΡΠΈΠ°Π» Π΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΎΠ²Π°ΡΡΡΡ ΡΡΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ?! ΠΠ° ΡΠ΅ΡΡΡΡΠ΅ hdserialclub.net ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΌΠΎΡΡΠ΅ΡΡ Π² ΠΎΡΠ»ΠΈΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈ Ρ Ρ ΠΎΡΠΎΡΠ΅ΠΉ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ.
ΠΡΠ»ΠΈ ΠΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π»ΠΈ Π½Π°ΠΉΡΠΈ <a href=https://hdserialclub.net/ne...>Π½ΠΎΠ²ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π² Ρ ΠΎΡΠΎΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅</a> Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΠΎ ΠΡ ΠΏΡΠΈΡΠ»ΠΈ ΠΏΠΎ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎΠΌΡ Π°Π΄ΡΠ΅ΡΡ. ΠΠ΅ΡΡΠΌΠ° ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄Π΅Π²ΡΡΠΊΠΈ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Ρ Π²ΠΎΠΏΡΠΎΡΠΎΠΌ: ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ? ΠΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ Π·Π°ΡΠ΄Π»ΡΠ΅ ΠΆΡΠΈΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅, Π²ΡΠΎΠ΄Π΅ Π±Ρ, Π²ΠΈΠ΄Π΅Π»ΠΈ Π²ΡΡ, ΡΡΠΎ ΡΠΎΠ»ΡΠΊΠΎ ΠΌΠΎΠΆΠ½ΠΎ. ΠΠΎ ΡΡΠΎ Π½ΠΈ ΡΠ°ΠΊ.
ΠΠ°Ρ ΡΠ°ΠΉΡ hdserialclub.net ΡΠΎΠΌΡ Π΄ΠΎΠΊΠ°Π·Π°ΡΠ΅Π»ΡΡΡΠ²ΠΎ. ΠΡ Π²ΡΠ»ΠΎΠΆΠΈΠ»ΠΈ Π² Π½Π°ΡΠ΅ΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ Π²ΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π΄ΠΎΡΡΠΎΠΉΠ½ΡΠ΅ ΠΈ Π·Π½Π°ΠΌΠ΅Π½ΠΈΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ°ΠΊΠΈΠ΅ ΠΆΠ°Π½ΡΡ, ΠΊΠ°ΠΊ: ΡΠΆΠ°ΡΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, ΠΊΡΠΈΠΌΠΈΠ½Π°Π», Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Ρ, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΠ±ΡΠ°Π² ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡ, Π²Ρ ΠΎΡΡΡΠΈΠΌΠΎ ΡΠΎΠΊΡΠ°ΡΠΈΡΠ΅ Π²ΡΠ΅ΠΌΡ Π½Π° ΡΠ°Π·ΡΡΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ°ΠΌΠΎΠ³ΠΎ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ Π΄Π»Ρ ΠΠ°Ρ ΡΠ΅ΡΠΈΠ°Π»Π°.
ΠΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠΊΡ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ ΠΈ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΡΠΈ ΠΏΠΎΠΈΡΠΊΠ΅ Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΡΠ°ΠΉΡΠ° Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°, ΠΎΠ±ΡΡΠ½ΠΎ Π»ΡΠ΄ΠΈ ΡΡΠ°Π»ΠΊΠΈΠ²Π°ΡΡΡΡ Ρ Π½Π΅ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ ΠΈΠ»ΠΈ ΠΏΠ»ΠΎΡ ΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΊΠ°ΡΡΠΈΠ½ΠΊΠΈ. Π£ Π½Π°Ρ ΠΡ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΏΠΎ ΠΏΠΎΠΈΡΠΊΡ ΠΈΠ· Π²ΡΠ΅ΠΉ ΠΏΠ°ΡΡΠΈΠ½Ρ. Π‘Π°ΠΌΡΠΉ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ, ΠΏΡΠΎΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠ΅ΡΠΈΠΈ, ΠΏΡΠΎΡΠΌΠΎΡΡ Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ° ΠΎΠΊΠΎΠ½ΡΠ°Π½ΠΈΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°.
ΠΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½Π° ΡΠ°ΠΉΡΠ΅ hdserialclub.net Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΡΠΎΡΠΌΠ°ΡΡΠΈΠ²Π°ΡΡ ΡΠ΅ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΠΠ°ΠΌ. ΠΡΠΈ ΠΏΡΠΎΡΠΌΠΎΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π½Π° ΡΠ΅Π»Π΅Π²ΠΈΠ΄Π΅Π½ΠΈΠΈ, Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΡΠΈΠ΄Π΅ΡΡ Π²ΠΎΠ·Π»Π΅ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡΠ° ΠΈ ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΡΡΠ΅Π±Π»ΡΡΡ ΠΊΡΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ. ΠΡΠΎΡΠΌΠΎΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΡΠ°ΠΉΡΠ΅ Π½Π΅ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½, ΠΡ ΡΠ°ΠΌΠΈ ΡΠ΅ΡΠ°Π΅ΡΠ΅ Π³Π΄Π΅, ΠΊΠΎΠ³Π΄Π° ΠΈ Π²ΠΎ ΡΠΊΠΎΠ»ΡΠΊΠΎ Π±ΡΠ΄Π΅Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΡΡ Π½ΠΎΠ²Π°Ρ ΡΠ΅ΡΠΈΡ. Π‘ΠΎΡ ΡΠ°Π½ΠΈΡΠ΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ°, ΠΎΡΠΏΡΠ°Π²Π»ΡΠΉΡΠ΅ Π·Π½Π°ΠΊΠΎΠΌΡΠΌ ΠΈ Π΄Π΅Π»ΠΈΡΠ΅ΡΡ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡΠΌΠΈ ΠΎΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π»ΡΡΡΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² 2023 ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ.
ΠΠ½Π»Π°ΠΉΠ½ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π° Π½Π°Π΄Π΅ΠΆΠ½ΡΡ ΡΠ΅ΡΡΡΡΠ°Ρ - ΠΎΠ΄Π½ΠΎ ΠΈΠ· Π»ΡΡΡΠΈΡ Π·Π°Π½ΡΡΠΈΠΉ Π² Π·ΠΈΠΌΠ½ΡΡ ΠΏΠΎΡΡ. Π§ΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΡΠΈΡΡΠ½Π΅Π΅ ΡΠ΅ΠΌ, ΠΏΠΎΡΠ»Π΅ ΡΡΡΠ΄Π½ΠΎΠ³ΠΎ ΡΠ°Π±ΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Ρ ΡΠ°ΡΠΊΠΎΠΉ Π³ΠΎΡΡΡΠ΅Π³ΠΎ ΡΠ°Ρ ΠΈ ΠΏΠΎΠ΄ Π»ΡΠ±ΠΈΠΌΡΠΉ ΡΠ΅ΡΠΈΠ°Π» Π΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΎΠ²Π°ΡΡΡΡ ΡΡΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ?! ΠΠ° ΡΠ΅ΡΡΡΡΠ΅ hdserialclub.net ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΌΠΎΡΡΠ΅ΡΡ Π² ΠΎΡΠ»ΠΈΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈ Ρ Ρ ΠΎΡΠΎΡΠ΅ΠΉ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ.
ΠΡΠ»ΠΈ ΠΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π»ΠΈ Π½Π°ΠΉΡΠΈ <a href=https://hdserialclub.net/ne...>Π½ΠΎΠ²ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π² Ρ ΠΎΡΠΎΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅</a> Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΠΎ ΠΡ ΠΏΡΠΈΡΠ»ΠΈ ΠΏΠΎ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎΠΌΡ Π°Π΄ΡΠ΅ΡΡ. ΠΠ΅ΡΡΠΌΠ° ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄Π΅Π²ΡΡΠΊΠΈ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Ρ Π²ΠΎΠΏΡΠΎΡΠΎΠΌ: ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ? ΠΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ Π·Π°ΡΠ΄Π»ΡΠ΅ ΠΆΡΠΈΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅, Π²ΡΠΎΠ΄Π΅ Π±Ρ, Π²ΠΈΠ΄Π΅Π»ΠΈ Π²ΡΡ, ΡΡΠΎ ΡΠΎΠ»ΡΠΊΠΎ ΠΌΠΎΠΆΠ½ΠΎ. ΠΠΎ ΡΡΠΎ Π½ΠΈ ΡΠ°ΠΊ.
ΠΠ°Ρ ΡΠ°ΠΉΡ hdserialclub.net ΡΠΎΠΌΡ Π΄ΠΎΠΊΠ°Π·Π°ΡΠ΅Π»ΡΡΡΠ²ΠΎ. ΠΡ Π²ΡΠ»ΠΎΠΆΠΈΠ»ΠΈ Π² Π½Π°ΡΠ΅ΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ Π²ΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π΄ΠΎΡΡΠΎΠΉΠ½ΡΠ΅ ΠΈ Π·Π½Π°ΠΌΠ΅Π½ΠΈΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ°ΠΊΠΈΠ΅ ΠΆΠ°Π½ΡΡ, ΠΊΠ°ΠΊ: ΡΠΆΠ°ΡΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, ΠΊΡΠΈΠΌΠΈΠ½Π°Π», Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Ρ, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΠ±ΡΠ°Π² ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡ, Π²Ρ ΠΎΡΡΡΠΈΠΌΠΎ ΡΠΎΠΊΡΠ°ΡΠΈΡΠ΅ Π²ΡΠ΅ΠΌΡ Π½Π° ΡΠ°Π·ΡΡΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ°ΠΌΠΎΠ³ΠΎ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ Π΄Π»Ρ ΠΠ°Ρ ΡΠ΅ΡΠΈΠ°Π»Π°.
ΠΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠΊΡ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ ΠΈ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΡΠΈ ΠΏΠΎΠΈΡΠΊΠ΅ Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΡΠ°ΠΉΡΠ° Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°, ΠΎΠ±ΡΡΠ½ΠΎ Π»ΡΠ΄ΠΈ ΡΡΠ°Π»ΠΊΠΈΠ²Π°ΡΡΡΡ Ρ Π½Π΅ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ ΠΈΠ»ΠΈ ΠΏΠ»ΠΎΡ ΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΊΠ°ΡΡΠΈΠ½ΠΊΠΈ. Π£ Π½Π°Ρ ΠΡ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΏΠΎ ΠΏΠΎΠΈΡΠΊΡ ΠΈΠ· Π²ΡΠ΅ΠΉ ΠΏΠ°ΡΡΠΈΠ½Ρ. Π‘Π°ΠΌΡΠΉ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ, ΠΏΡΠΎΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠ΅ΡΠΈΠΈ, ΠΏΡΠΎΡΠΌΠΎΡΡ Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ° ΠΎΠΊΠΎΠ½ΡΠ°Π½ΠΈΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°.
ΠΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½Π° ΡΠ°ΠΉΡΠ΅ hdserialclub.net Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΡΠΎΡΠΌΠ°ΡΡΠΈΠ²Π°ΡΡ ΡΠ΅ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΠΠ°ΠΌ. ΠΡΠΈ ΠΏΡΠΎΡΠΌΠΎΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π½Π° ΡΠ΅Π»Π΅Π²ΠΈΠ΄Π΅Π½ΠΈΠΈ, Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΡΠΈΠ΄Π΅ΡΡ Π²ΠΎΠ·Π»Π΅ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡΠ° ΠΈ ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΡΡΠ΅Π±Π»ΡΡΡ ΠΊΡΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ. ΠΡΠΎΡΠΌΠΎΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΡΠ°ΠΉΡΠ΅ Π½Π΅ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½, ΠΡ ΡΠ°ΠΌΠΈ ΡΠ΅ΡΠ°Π΅ΡΠ΅ Π³Π΄Π΅, ΠΊΠΎΠ³Π΄Π° ΠΈ Π²ΠΎ ΡΠΊΠΎΠ»ΡΠΊΠΎ Π±ΡΠ΄Π΅Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΡΡ Π½ΠΎΠ²Π°Ρ ΡΠ΅ΡΠΈΡ. Π‘ΠΎΡ ΡΠ°Π½ΠΈΡΠ΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ°, ΠΎΡΠΏΡΠ°Π²Π»ΡΠΉΡΠ΅ Π·Π½Π°ΠΊΠΎΠΌΡΠΌ ΠΈ Π΄Π΅Π»ΠΈΡΠ΅ΡΡ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡΠΌΠΈ ΠΎΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π»ΡΡΡΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² 2023 ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ.
Erstellt am 11/04/23 um 09: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;
}
}
}
?>
Fernya_kzsa schrieb:
ΠΠΏΡΠΎΠΌ: Π»ΡΡΡΠΈΠ΅ Ρ
ΠΎΠ·ΡΠΎΠ²Π°ΡΡ ΠΏΠΎ Π»ΡΡΡΠΈΠΌ ΡΠ΅Π½Π°ΠΌ
Ρ ΠΎΠ·ΡΠΉΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠΎΠ²Π°ΡΡ ΠΎΠΏΡΠΎΠΌ ΠΌΠΎΡΠΊΠ²Π° <a href=http://hoztovaropt.ru/>http://hoztovaropt.ru/</a>.
Ρ ΠΎΠ·ΡΠΉΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠΎΠ²Π°ΡΡ ΠΎΠΏΡΠΎΠΌ ΠΌΠΎΡΠΊΠ²Π° <a href=http://hoztovaropt.ru/>http://hoztovaropt.ru/</a>.
Erstellt am 11/04/23 um 10:29: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;
}
}
}
?>
Relzaimatobe schrieb:
Π Π½Π°ΡΠ΅ Π²ΡΠ΅ΠΌΡ, ΠΊΠΎΠ³Π΄Π° ΠΊΠ°ΠΆΠ΄Π°Ρ ΠΌΠΈΠ½ΡΡΠ° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π½Π° Π²Π΅Ρ Π·ΠΎΠ»ΠΎΡΠ°, ΡΡΠ»ΡΠ³Π° <a href=https://revivalfife.ru/>ΡΡΠΎΡΠ½ΡΠ΅ Π·Π°ΠΉΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ Π½Π°ΡΡΠΎΡΡΠΈΠΉ ΠΏΡΠΎΡΡΠ² Π² ΡΡΠ΅ΡΠ΅ Π»ΠΈΡΠ½ΡΡ
ΡΠΈΠ½Π°Π½ΡΠΎΠ². ΠΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ Π·Π΄Π΅ΡΡ ΠΈ ΡΠ΅ΠΉΡΠ°Ρ, ΡΡΠΎ β ΡΠΈΠΌΠ²ΠΎΠ» Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΠΈΠ½Π°Π½ΡΠΎΠ²Π°Ρ ΠΏΠΎΠΌΠΎΡΡ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΡΠ°ΠΊΠΎΠΉ ΠΆΠ΅ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΠΉ, ΠΊΠ°ΠΊ ΠΈ Π»ΡΠ±ΠΎΠΉ Π΄ΡΡΠ³ΠΎΠΉ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ΅ΡΠ²ΠΈΡ.
ΠΠΎΠ΄ΠΎΠ±Π½ΡΠ΅ ΡΠ΅ΡΠ²ΠΈΡΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΡΠ΅Π½Π½Ρ Π΄Π»Ρ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠΌ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠ²ΠΎΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, Π±ΡΠ΄Ρ ΡΠΎ ΠΎΠΏΠ»Π°ΡΠ° ΡΡΠ΅ΡΠΎΠ², ΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΠΈ ΠΈΠ»ΠΈ Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½ΡΠ΅ ΡΠ°ΡΡ ΠΎΠ΄Ρ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΈΠ½ΠΈΠΌΡΠΌΡ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ, ΡΠ°ΠΊΠΈΠ΅ Π·Π°ΠΉΠΌΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ Π²ΡΠ΅ Π±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΌΠΈ ΡΡΠ΅Π΄ΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ»ΠΎΠ΅Π² Π½Π°ΡΠ΅Π»Π΅Π½ΠΈΡ.
ΠΠ΅ΡΠΌΠΎΡΡΡ Π½Π° ΠΊΠ°ΠΆΡΡΡΡΡΡ ΠΏΡΠΎΡΡΠΎΡΡ, ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΡΡΠΎΠΈΡ Π±ΡΡΡ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΡΠ΅ΡΠ²ΠΈΡΠ° Π΄Π»Ρ Π·Π°ΠΉΠΌΠ°. ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌΠΈ ΠΈ ΡΠ΄ΠΎΡΡΠΎΠ²Π΅ΡΠΈΡΡΡΡ, ΡΡΠΎ ΡΠΈΠ½Π°Π½ΡΠΎΠ²Π°Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΡΠ²Π»ΡΠ΅ΡΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΠΈ ΠΈΠΌΠ΅Π΅Ρ Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΠ΅ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΈ. ΠΠ΅Π΄Ρ Π²ΠΎΠΏΡΠΎΡΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΠΈ Π² ΡΠ°ΠΊΠΈΡ ΡΠ΄Π΅Π»ΠΊΠ°Ρ ΠΈΠ³ΡΠ°ΡΡ ΠΏΠ΅ΡΠ²ΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΡΡ ΡΠΎΠ»Ρ.?
ΠΠΎΠ΄ΠΎΠ±Π½ΡΠ΅ ΡΠ΅ΡΠ²ΠΈΡΡ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΡΠ΅Π½Π½Ρ Π΄Π»Ρ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠΌ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠ²ΠΎΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, Π±ΡΠ΄Ρ ΡΠΎ ΠΎΠΏΠ»Π°ΡΠ° ΡΡΠ΅ΡΠΎΠ², ΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΠΈ ΠΈΠ»ΠΈ Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½ΡΠ΅ ΡΠ°ΡΡ ΠΎΠ΄Ρ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎΡΡΠΈ ΠΈ ΠΌΠΈΠ½ΠΈΠΌΡΠΌΡ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ, ΡΠ°ΠΊΠΈΠ΅ Π·Π°ΠΉΠΌΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ Π²ΡΠ΅ Π±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΌΠΈ ΡΡΠ΅Π΄ΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ»ΠΎΠ΅Π² Π½Π°ΡΠ΅Π»Π΅Π½ΠΈΡ.
ΠΠ΅ΡΠΌΠΎΡΡΡ Π½Π° ΠΊΠ°ΠΆΡΡΡΡΡΡ ΠΏΡΠΎΡΡΠΎΡΡ, ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΡΡΠΎΠΈΡ Π±ΡΡΡ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΡΠ΅ΡΠ²ΠΈΡΠ° Π΄Π»Ρ Π·Π°ΠΉΠΌΠ°. ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌΠΈ ΠΈ ΡΠ΄ΠΎΡΡΠΎΠ²Π΅ΡΠΈΡΡΡΡ, ΡΡΠΎ ΡΠΈΠ½Π°Π½ΡΠΎΠ²Π°Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΡΠ²Π»ΡΠ΅ΡΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΠΈ ΠΈΠΌΠ΅Π΅Ρ Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΠ΅ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΈ. ΠΠ΅Π΄Ρ Π²ΠΎΠΏΡΠΎΡΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΠΈ Π² ΡΠ°ΠΊΠΈΡ ΡΠ΄Π΅Π»ΠΊΠ°Ρ ΠΈΠ³ΡΠ°ΡΡ ΠΏΠ΅ΡΠ²ΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΡΡ ΡΠΎΠ»Ρ.?
Erstellt am 11/04/23 um 10:30: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;
}
}
}
?>
Kshan_zjMi schrieb:
ΠΡΡΡΠΈΠΉ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΠΎΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ
ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠ° Π·Π°ΠΊΠ°Π·Π°ΡΡ <a href=http://proizvoditel-polieti...>http://proizvoditel-polietilenovoj-produkcii.ru/</a>.
ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠ° Π·Π°ΠΊΠ°Π·Π°ΡΡ <a href=http://proizvoditel-polieti...>http://proizvoditel-polietilenovoj-produkcii.ru/</a>.
Erstellt am 11/04/23 um 10:45: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;
}
}
}
?>
Hdserial-Club schrieb:
ΠΠΎΠ²ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ hdserialclub.net
ΠΠ½Π»Π°ΠΉΠ½ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π° Π½Π°Π΄Π΅ΠΆΠ½ΡΡ ΡΠ΅ΡΡΡΡΠ°Ρ - ΠΎΠ΄Π½ΠΎ ΠΈΠ· Π»ΡΡΡΠΈΡ Π²ΡΠ΅ΠΌΡΠΏΡΠ΅ΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΡ Π² ΠΎΡΠ΅Π½Π½ΡΡ ΡΠ»ΡΠΊΠΎΡΡ. Π§ΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π»ΡΡΡΠ΅ ΡΠ΅ΠΌ, ΠΏΠΎΡΠ»Π΅ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΠ°Π±ΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Ρ ΡΠ°ΡΠΊΠΎΠΉ Π³ΠΎΡΡΡΠ΅Π³ΠΎ ΡΠ°Ρ ΠΈ ΠΏΠΎΠ΄ Π»ΡΠ±ΠΈΠΌΡΠΉ ΡΠ΅ΡΠΈΠ°Π» Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΡΡΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ?! ΠΠ° ΡΠ°ΠΉΡΠ΅ hdserialclub.net ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π² ΠΎΡΠ»ΠΈΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈ Ρ ΡΠ΅ΡΠΊΠΎΠΉ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ.
ΠΡΠ»ΠΈ ΠΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π»ΠΈ Π½Π°ΠΉΡΠΈ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΠΎ ΠΡ ΠΏΠΎΠΏΠ°Π»ΠΈ ΠΏΠΎ Π²Π΅ΡΠ½ΠΎΠΌΡ Π°Π΄ΡΠ΅ΡΡ. ΠΠ΅ΡΡΠΌΠ° ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄Π΅Π²ΡΡΠΊΠΈ Π·Π°Π΄Π°ΡΡΡΡ Π²ΠΎΠΏΡΠΎΡΠΎΠΌ: ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ? ΠΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΠ΅ ΡΠ°Π½Π°ΡΠΊΠΈ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅, ΠΊΠ°Π·Π°Π»ΠΎΡΡ Π±Ρ, Π²ΠΈΠ΄Π΅Π»ΠΈ Π²ΡΡ, ΡΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ. ΠΠΎ ΡΡΠΎ Π½Π΅ ΠΈΠΌΠ΅Π΅Ρ Π½ΠΈΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ΅Π³ΠΎ Ρ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡΡ.
ΠΠ°Π½Π½ΡΠΉ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π» hdserialclub.net ΡΠΎΠΌΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅. ΠΡ Π²ΡΠ»ΠΎΠΆΠΈΠ»ΠΈ Π² Π½Π°ΡΠ΅ΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ Π²ΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π΄ΠΎΡΡΠΎΠΉΠ½ΡΠ΅ ΠΈ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ°ΠΊΠΈΠ΅ ΠΆΠ°Π½ΡΡ, ΠΊΠ°ΠΊ: Π΄ΡΠ°ΠΌΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, ΡΡΠ½ΡΠ΅Π·ΠΈ, ΡΡΠΈΠ»Π»Π΅ΡΡ, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΠ±ΡΠ°Π² ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡ, Π²Ρ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅ΠΆΠ΅ΡΠ΅ Π²ΡΠ΅ΠΌΡ Π½Π° ΡΠ°Π·ΡΡΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ°ΠΌΠΎΠ³ΠΎ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎΠ³ΠΎ Π΄Π»Ρ ΠΠ°Ρ ΡΠ΅ΡΠΈΠ°Π»Π°.
ΠΠ°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠΊΡ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ ΠΈ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΡΠΈ ΠΏΠΎΠΈΡΠΊΠ΅ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ Ρ ΠΎΡΠΎΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ° Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°, ΠΎΠ±ΡΡΠ½ΠΎ Π»ΡΠ΄ΠΈ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Ρ ΡΠΆΠ°ΡΠ½ΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ ΠΈΠ»ΠΈ ΠΏΠ»ΠΎΡ ΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΡ. Π£ Π½Π°Ρ ΠΡ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΏΠΎ ΠΏΠΎΠΈΡΠΊΡ ΠΈΠ· Π²ΡΠ΅ΠΉ ΠΏΠ°ΡΡΠΈΠ½Ρ. Π‘Π°ΠΌΡΠΉ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ, ΠΏΡΠΎΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠ΅ΡΠΈΠΈ, ΠΏΡΠΎΡΠΌΠΎΡΡ Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ° ΠΏΠ°ΡΠ·Ρ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΠ»ΡΡΡ.
ΠΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½Π° ΡΠ°ΠΉΡΠ΅ hdserialclub.net Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ. ΠΡΠΈ ΠΏΡΠΎΡΠΌΠΎΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π½Π° ΡΠ², Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ Π½Π°Π·Π½Π°ΡΠ΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΡΠΈΠ΄Π΅ΡΡ Π²ΠΎΠ·Π»Π΅ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡΠ° ΠΈ ΡΠ°ΠΊΠΆΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΊΡΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΡ ΡΠΎΠ»ΠΈΠΊΠΎΠ². ΠΡΠΎΡΠΌΠΎΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ Π±Π΅Π·Π³ΡΠ°Π½ΠΈΡΠ΅Π½, ΠΡ ΡΠ°ΠΌΠΈ ΡΠ΅ΡΠ°Π΅ΡΠ΅ Π³Π΄Π΅, ΠΊΠΎΠ³Π΄Π° ΠΈ Π²ΠΎ ΡΠΊΠΎΠ»ΡΠΊΠΎ Π½Π°ΡΠ½Π΅ΡΡΡ Π½ΠΎΠ²Π°Ρ ΡΠ΅ΡΠΈΡ. Π‘ΠΎΡ ΡΠ°Π½ΠΈΡΠ΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ°, ΡΠΎΠ²Π΅ΡΡΠΉΡΠ΅ ΡΠΎΠ΄Π½ΡΠΌ ΠΈ ΠΎΠ±ΠΌΠ΅Π½ΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΠΌΠ½Π΅Π½ΠΈΠ΅ΠΌ ΠΎΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½ΠΎΠ²ΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² 2023 ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ.
ΠΠ½Π»Π°ΠΉΠ½ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π° Π½Π°Π΄Π΅ΠΆΠ½ΡΡ ΡΠ΅ΡΡΡΡΠ°Ρ - ΠΎΠ΄Π½ΠΎ ΠΈΠ· Π»ΡΡΡΠΈΡ Π²ΡΠ΅ΠΌΡΠΏΡΠ΅ΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΡ Π² ΠΎΡΠ΅Π½Π½ΡΡ ΡΠ»ΡΠΊΠΎΡΡ. Π§ΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π»ΡΡΡΠ΅ ΡΠ΅ΠΌ, ΠΏΠΎΡΠ»Π΅ ΡΡΠΆΠ΅Π»ΠΎΠ³ΠΎ ΡΠ°Π±ΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Ρ ΡΠ°ΡΠΊΠΎΠΉ Π³ΠΎΡΡΡΠ΅Π³ΠΎ ΡΠ°Ρ ΠΈ ΠΏΠΎΠ΄ Π»ΡΠ±ΠΈΠΌΡΠΉ ΡΠ΅ΡΠΈΠ°Π» Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΡΡΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ?! ΠΠ° ΡΠ°ΠΉΡΠ΅ hdserialclub.net ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π² ΠΎΡΠ»ΠΈΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈ Ρ ΡΠ΅ΡΠΊΠΎΠΉ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ.
ΠΡΠ»ΠΈ ΠΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π»ΠΈ Π½Π°ΠΉΡΠΈ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΡΠΎ ΠΡ ΠΏΠΎΠΏΠ°Π»ΠΈ ΠΏΠΎ Π²Π΅ΡΠ½ΠΎΠΌΡ Π°Π΄ΡΠ΅ΡΡ. ΠΠ΅ΡΡΠΌΠ° ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄Π΅Π²ΡΡΠΊΠΈ Π·Π°Π΄Π°ΡΡΡΡ Π²ΠΎΠΏΡΠΎΡΠΎΠΌ: ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ? ΠΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΠ΅ ΡΠ°Π½Π°ΡΠΊΠΈ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅, ΠΊΠ°Π·Π°Π»ΠΎΡΡ Π±Ρ, Π²ΠΈΠ΄Π΅Π»ΠΈ Π²ΡΡ, ΡΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ. ΠΠΎ ΡΡΠΎ Π½Π΅ ΠΈΠΌΠ΅Π΅Ρ Π½ΠΈΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ΅Π³ΠΎ Ρ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡΡ.
ΠΠ°Π½Π½ΡΠΉ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π» hdserialclub.net ΡΠΎΠΌΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅. ΠΡ Π²ΡΠ»ΠΎΠΆΠΈΠ»ΠΈ Π² Π½Π°ΡΠ΅ΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ Π²ΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π΄ΠΎΡΡΠΎΠΉΠ½ΡΠ΅ ΠΈ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ°ΠΊΠΈΠ΅ ΠΆΠ°Π½ΡΡ, ΠΊΠ°ΠΊ: Π΄ΡΠ°ΠΌΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, ΡΡΠ½ΡΠ΅Π·ΠΈ, ΡΡΠΈΠ»Π»Π΅ΡΡ, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅. ΠΡΠ±ΡΠ°Π² ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡ, Π²Ρ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΡΠ΅ΠΆΠ΅ΡΠ΅ Π²ΡΠ΅ΠΌΡ Π½Π° ΡΠ°Π·ΡΡΠΊΠΈΠ²Π°Π½ΠΈΠ΅ ΡΠ°ΠΌΠΎΠ³ΠΎ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎΠ³ΠΎ Π΄Π»Ρ ΠΠ°Ρ ΡΠ΅ΡΠΈΠ°Π»Π°.
ΠΠ°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠΊΡ <a href=https://hdserialclub.net/me...>ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a> ΡΠΆΠ΅ ΡΠ΅ΠΉΡΠ°Ρ ΠΈ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ Π»ΡΠ±ΠΎΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΡΠΈ ΠΏΠΎΠΈΡΠΊΠ΅ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅ Ρ ΠΎΡΠΎΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ° Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°, ΠΎΠ±ΡΡΠ½ΠΎ Π»ΡΠ΄ΠΈ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Ρ ΡΠΆΠ°ΡΠ½ΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ ΠΈΠ»ΠΈ ΠΏΠ»ΠΎΡ ΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΡ. Π£ Π½Π°Ρ ΠΡ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΠΏΠΎ ΠΏΠΎΠΈΡΠΊΡ ΠΈΠ· Π²ΡΠ΅ΠΉ ΠΏΠ°ΡΡΠΈΠ½Ρ. Π‘Π°ΠΌΡΠΉ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ, ΠΏΡΠΎΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠ΅ΡΠΈΠΈ, ΠΏΡΠΎΡΠΌΠΎΡΡ Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ° ΠΏΠ°ΡΠ·Ρ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΠ»ΡΡΡ.
ΠΡΠ°ΠΊΡΠΈΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½Π° ΡΠ°ΠΉΡΠ΅ hdserialclub.net Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ. ΠΡΠΈ ΠΏΡΠΎΡΠΌΠΎΡΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π½Π° ΡΠ², Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ Π½Π°Π·Π½Π°ΡΠ΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΡΠΈΠ΄Π΅ΡΡ Π²ΠΎΠ·Π»Π΅ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡΠ° ΠΈ ΡΠ°ΠΊΠΆΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΊΡΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΡ ΡΠΎΠ»ΠΈΠΊΠΎΠ². ΠΡΠΎΡΠΌΠΎΡΡ Π½Π° Π½Π°ΡΠ΅ΠΌ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ Π±Π΅Π·Π³ΡΠ°Π½ΠΈΡΠ΅Π½, ΠΡ ΡΠ°ΠΌΠΈ ΡΠ΅ΡΠ°Π΅ΡΠ΅ Π³Π΄Π΅, ΠΊΠΎΠ³Π΄Π° ΠΈ Π²ΠΎ ΡΠΊΠΎΠ»ΡΠΊΠΎ Π½Π°ΡΠ½Π΅ΡΡΡ Π½ΠΎΠ²Π°Ρ ΡΠ΅ΡΠΈΡ. Π‘ΠΎΡ ΡΠ°Π½ΠΈΡΠ΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ°ΠΉΡΠ°, ΡΠΎΠ²Π΅ΡΡΠΉΡΠ΅ ΡΠΎΠ΄Π½ΡΠΌ ΠΈ ΠΎΠ±ΠΌΠ΅Π½ΠΈΠ²Π°ΠΉΡΠ΅ΡΡ ΠΌΠ½Π΅Π½ΠΈΠ΅ΠΌ ΠΎΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π½ΠΎΠ²ΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² 2023 ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ.
Erstellt am 11/04/23 um 12:06: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;
}
}
}
?>
polietilen_dcPr schrieb:
ΠΡΠΏΠΈΡΡ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠΎΠ»ΡΡΡΠ΅ <a href=http://meshki-polietilenovy...>http://meshki-polietilenovye1.ru/</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΡΠΎΠ»ΡΡΡΠ΅ <a href=http://meshki-polietilenovy...>http://meshki-polietilenovye1.ru/</a>.
Erstellt am 11/04/23 um 16:58: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;
}
}
}
?>
Maham_zdpl schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΡ
ΠΌΠ΅ΡΠΊΠΎΠ² ΠΎΠΏΡΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://polipropilenovye-mes...>http://polipropilenovye-meshki-optom.ru/</a>.
ΠΊΡΠΏΠΈΡΡ ΠΏΠΎΠ»ΠΈΠΏΡΠΎΠΏΠΈΠ»Π΅Π½ΠΎΠ²ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΎΠΏΡΠΎΠΌ <a href=http://polipropilenovye-mes...>http://polipropilenovye-meshki-optom.ru/</a>.
Erstellt am 11/04/23 um 17:05: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;
}
}
}
?>
Relzaimatobe schrieb:
Π― Π²ΡΠ΅Π³Π΄Π° Π΄ΡΠΌΠ°Π», ΡΡΠΎ Π²Π·ΡΡΡ <a href=https://revivalfife.ru/>Π±ΡΡΡΡΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ</a> β ΡΡΠΎ ΡΠ»ΠΎΠΆΠ½ΠΎ ΠΈ ΡΠΈΡΠΊΠΎΠ²Π°Π½Π½ΠΎ. ΠΠΎ ΠΊΠΎΠ³Π΄Π° ΠΌΠ½Π΅ ΡΡΠΎΡΠ½ΠΎ ΠΏΠΎΠ½Π°Π΄ΠΎΠ±ΠΈΠ»ΠΈΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π° Π΄Π»Ρ ΠΎΠΏΠ»Π°ΡΡ Π½Π΅ΠΎΡΠ»ΠΎΠΆΠ½ΠΎΠΉ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΡΠΎΡΠ΅Π΄ΡΡΡ, Ρ ΡΠ΅ΡΠΈΠ» ΡΠΈΡΠΊΠ½ΡΡΡ. Π ΠΌΠΎΠ΅ΠΌΡ ΡΠ΄ΠΈΠ²Π»Π΅Π½ΠΈΡ, ΠΏΡΠΎΡΠ΅ΡΡ Π±ΡΠ» Π½Π°ΡΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΡΠΌ, ΡΡΠΎ ΠΌΠΎΠΈ ΠΏΡΠ΅Π΄ΡΠ±Π΅ΠΆΠ΄Π΅Π½ΠΈΡ ΡΠ°ΡΡΠ΅ΡΠ»ΠΈΡΡ ΠΊΠ°ΠΊ Π΄ΡΠΌ. ΠΡΠ΅Π³ΠΎ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ Π½Π° Π·Π°ΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ Π·Π°ΡΠ²ΠΊΠΈ ΠΎΠ½Π»Π°ΠΉΠ½, ΠΈ ΡΠ΅ΡΠ΅Π· ΡΠ°Ρ Ρ ΡΠΆΠ΅ ΡΠ°ΡΠΏΠ»Π°ΡΠΈΠ²Π°Π»ΡΡ Π² ΠΊΠ»ΠΈΠ½ΠΈΠΊΠ΅. ΠΡΠΎ Π±ΡΠ»ΠΎ ΠΊΠ°ΠΊ Π²ΠΎΠ»ΡΠ΅Π±ΡΡΠ²ΠΎ, ΠΈ Ρ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΠ΅Π½ Π·Π° ΡΠ°ΠΊΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΠΎΠΌΠΎΠ³Π»Π° ΠΌΠ½Π΅ Π² ΡΡΡΠ΄Π½ΡΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ.
Erstellt am 11/05/23 um 01:32: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;
}
}
}
?>
Streychopt_vcOa schrieb:
ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½Π°Ρ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅
ΡΡΡΠ΅ΠΉΡ ΠΊΡΠΏΠΈΡΡ ΠΎΠΏΡΠΎΠΌ <a href=http://streych-plenka-optom...>http://streych-plenka-optom.ru/</a>.
ΡΡΡΠ΅ΠΉΡ ΠΊΡΠΏΠΈΡΡ ΠΎΠΏΡΠΎΠΌ <a href=http://streych-plenka-optom...>http://streych-plenka-optom.ru/</a>.
Erstellt am 11/05/23 um 16:59: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;
}
}
}
?>
Turksezon.tv schrieb:
Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΈΠ»ΡΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ turksezon.tv
Π ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΎΡΠ΅Π½Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½Ρ, Π²Π΅Π΄Ρ Π² Π½ΠΈΡ Π΅ΡΡΡ Π²ΡΡ ΡΡΠΎ Π΄Π΅ΡΠΆΠΈΡ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ². ΠΠ΅ΠΎΠ±ΡΡΠ½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ, ΡΠΈΠΊΠ°ΡΠ½ΡΠ΅ Π»ΠΎΠΊΠ°ΡΠΈΠΈ, Π³Π»Π°Π²Π½ΡΠ΅ ΡΠΎΠ»ΠΈ ΠΈ, ΠΊΠΎΠ½Π΅ΡΠ½ΠΎ, Π»ΡΠ±ΠΎΠ²Π½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ. ΠΠ½ΠΎΠ³ΠΈΠ΅ ΠΆΠ΅Π½ΡΠΈΠ½Ρ Π² Π ΠΎΡΡΠΈΠΈ ΠΏΡΠΎΡΡΠΎ Π½Π΅ ΠΌΠΎΠ³ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²ΠΈΡΡ ΡΠ΅Π±Π΅ ΠΆΠΈΠ·Π½ΠΈ Π±Π΅Π· ΡΡΡΠ΅ΡΠΊΠΈΡ ΠΊΠΈΠ½ΠΎ. Π Π²ΠΎΠ·Π½ΠΈΠΊΠ»ΠΎ Π²ΡΡ Ρ ΡΠΎΠ³ΠΎ, ΠΊΠ°ΠΊ ΠΏΠΎ ΡΠ΅Π»Π΅Π²ΠΈΠ΄Π΅Π½ΠΈΡ ΠΏΠΎΠΊΠ°Π·Π°Π»ΠΈ Β«ΠΠ΅Π»ΠΈΠΊΠΎΠ»Π΅ΠΏΠ½ΡΠΉ Π²Π΅ΠΊΒ» - ΡΠ°ΠΌΡΠΉ Π·Π½Π°ΠΌΠ΅Π½ΠΈΡΡΠΉ ΠΈ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΉ ΡΡΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΠ΅Π²ΡΡΠΊΠΈ Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΌ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠΎΠΌ ΡΡΠ°Π»ΠΈ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΠ°Π½Ρ Π’ΡΡΡΠΈΡ, Π° ΡΡΡΠΊΠΈ Π½Π°ΡΠ°Π»ΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΠ½ΠΈΠΌΠ°ΡΡ.
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΡΠ°ΠΉΡ turksezon.tv Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΡΠΎΠ²Π΅ΡΡΠ΅Π½Π½ΠΎ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ. Π£ Π½Π°Ρ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΎ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ°ΠΌΡΡ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ ΠΈ, Π² ΠΎΠ±ΡΠ°ΡΠ½ΠΎΠΌ ΠΏΠΎΡΡΠ΄ΠΊΠ΅, ΠΌΠ°Π»ΠΎ ΠΊΠΎΠΌΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². Π Π°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΆΠ°Π½ΡΡ, Π³Π΅ΡΠΎΠΈ, ΡΡΠΆΠ΅ΡΡ - ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠΌΠΎΠΆΠ΅Ρ Π½Π°ΠΉΡΠΈ ΡΠΎ, ΡΡΠΎ Π΅ΠΌΡ ΠΏΠΎΠ½ΡΠ°Π²ΠΈΡΡΡ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡΠΌΠΈ ΠΏΠΎΠΈΡΠΊΠ° Π΄Π»Ρ Π±ΡΡΡΡΠΎΡΡ Π² ΠΏΠΎΠΈΡΠΊΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ³ΠΎ ΠΠ°ΠΌ ΡΠ΅ΡΠΈΠ°Π»Π°. ΠΡΠΎ: ΠΏΠΎ Π΄Π°ΡΠ΅, ΠΏΠΎ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°ΠΌ, ΠΏΠΎ ΠΎΡΠ·ΡΠ²Π°ΠΌ ΠΈΠ»ΠΈ ΠΏΠΎ Π½Π°Π·Π²Π°Π½ΠΈΡ.
ΠΡΠ»ΠΈ ΠΡ ΠΈΡΠΊΠ°Π»ΠΈ <a href=https://turksezon.tv/indiys...>ΠΈΠ½Π΄ΠΈΠΉΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ 2021</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΡΠΎ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ°ΠΉΡ. Π ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡ ΡΠΌΠΎΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΌΠ°Π»ΠΎ, Π° Π²ΡΡ ΠΏΠΎΡΠΎΠΌΡ, ΡΡΠΎ ΡΠ΅ΠΊΠ»Π°ΠΌΠ° Π·Π°Π±ΠΈΡΠ°Π΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, Π½Π΅Ρ ΡΠ°Π½ΡΠ° Π²ΡΠ΅Π³Π΄Π° Π±ΡΡΡ Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Ρ ΡΠΊΡΠ°Π½Π°, ΠΎΡΠ²Π»Π΅ΠΊΠ°ΡΡΡ ΠΎΡ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΡ Π΄Π΅Π».
ΠΡΡΠ³ΠΎΠ΅ Π΄Π΅Π»ΠΎ - ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΏΠΎ Π½ΠΎΡΡΠ±ΡΠΊΡ, ΠΏΠ»Π°Π½ΡΠ΅ΡΡ ΠΈΠ»ΠΈ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ. Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ Π΄Π΅Π²ΡΡΠΊΠ° ΠΌΠΎΠΆΠ΅Ρ Π΄Π΅Π»Π°ΡΡ ΡΡΠ°Π·Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ Π΄Π΅Π», ΡΠΎΠ΅Π΄ΠΈΠ½ΡΡ ΠΏΡΠΈΡΡΠ½ΠΎΠ΅ Ρ ΠΏΠΎΠ»Π΅Π·Π½ΡΠΌ. Π ΠΏΡΠΈΠΌΠ΅ΡΡ, Π³ΠΎΡΠΎΠ²ΠΈΡΡ ΡΠΆΠΈΠ½ Π΄Π»Ρ ΡΠ΅ΠΌΡΠΈ Π·Π° ΠΏΡΠΎΡΠΌΠΎΡΡΠΎΠΌ Π»ΡΠ±ΠΈΠΌΠΎΠ³ΠΎ ΡΠ΅ΡΠΈΠ°Π»Π°. ΠΠ»ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΠ±ΠΎΡΠΊΡ ΠΈ Π½Π°Π±Π»ΡΠ΄Π°ΡΡ Π·Π° ΡΠ²ΠΎΠΈΠΌΠΈ Π»ΡΠ±ΠΈΠΌΡΠΌΠΈ Π°ΠΊΡΠ΅ΡΠ°ΠΌΠΈ. ΠΠ°Ρ ΡΠ°ΠΉΡ ΡΠ΄Π΅Π»Π°Π½ Π΄Π»Ρ ΡΠ°ΠΊΠΈΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ ΠΈ ΠΆΠΈΠ·Π½Π΅ΡΠ°Π΄ΠΎΡΡΠ½ΡΡ Π΄Π΅Π²ΡΡΠ΅ΠΊ. ΠΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΆΠ΅Π½ΡΠΈΠ½Ρ ΡΠΌΠΎΡΡΡΡ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ, Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡΠΆΡΠΈΠ½Ρ ΡΠ°ΠΊΠΆΠ΅ Π·Π°Ρ ΠΎΠ΄ΡΡ Π½Π° Π½Π°Ρ ΡΠ°ΠΉΡ.
ΠΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ <a href=https://turksezon.tv/serial...>ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ 2023 ΠΎΠ½Π»Π°ΠΉΠ½</a> Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ Ρ Π½Π°Ρ. Π‘Π°ΠΌΡΠ΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ: Π ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠΈ ΡΠΎΠ»Π½ΡΠ°, ΠΡΠ±ΠΎΠ²Ρ ΠΠΎΠ³ΠΈΠΊΠ° ΠΠ΅ΡΡΡ, ΠΠΈΡΡΠ΅Ρ ΠΎΡΠΈΠ±ΠΊΠ°, ΠΠ°ΠΏΠ°Ρ ΠΊΠ»ΡΠ±Π½ΠΈΠΊΠΈ, ΠΡΠ²Π°ΠΆΠ½ΡΠΉ ΠΈ ΠΊΡΠ°ΡΠ°Π²ΠΈΡΠ°, ΠΠΎ ΡΠ°ΠΌΠΎΠΉ ΡΠΌΠ΅ΡΡΠΈ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅ ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ turksezon.tv Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅. ΠΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ ΠΈ Π½Π° ΡΡΡΡΠΊΠΎΠΌ ΡΠ·ΡΠΊΠ΅.
Π ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΎΡΠ΅Π½Ρ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½Ρ, Π²Π΅Π΄Ρ Π² Π½ΠΈΡ Π΅ΡΡΡ Π²ΡΡ ΡΡΠΎ Π΄Π΅ΡΠΆΠΈΡ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ². ΠΠ΅ΠΎΠ±ΡΡΠ½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ, ΡΠΈΠΊΠ°ΡΠ½ΡΠ΅ Π»ΠΎΠΊΠ°ΡΠΈΠΈ, Π³Π»Π°Π²Π½ΡΠ΅ ΡΠΎΠ»ΠΈ ΠΈ, ΠΊΠΎΠ½Π΅ΡΠ½ΠΎ, Π»ΡΠ±ΠΎΠ²Π½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ. ΠΠ½ΠΎΠ³ΠΈΠ΅ ΠΆΠ΅Π½ΡΠΈΠ½Ρ Π² Π ΠΎΡΡΠΈΠΈ ΠΏΡΠΎΡΡΠΎ Π½Π΅ ΠΌΠΎΠ³ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²ΠΈΡΡ ΡΠ΅Π±Π΅ ΠΆΠΈΠ·Π½ΠΈ Π±Π΅Π· ΡΡΡΠ΅ΡΠΊΠΈΡ ΠΊΠΈΠ½ΠΎ. Π Π²ΠΎΠ·Π½ΠΈΠΊΠ»ΠΎ Π²ΡΡ Ρ ΡΠΎΠ³ΠΎ, ΠΊΠ°ΠΊ ΠΏΠΎ ΡΠ΅Π»Π΅Π²ΠΈΠ΄Π΅Π½ΠΈΡ ΠΏΠΎΠΊΠ°Π·Π°Π»ΠΈ Β«ΠΠ΅Π»ΠΈΠΊΠΎΠ»Π΅ΠΏΠ½ΡΠΉ Π²Π΅ΠΊΒ» - ΡΠ°ΠΌΡΠΉ Π·Π½Π°ΠΌΠ΅Π½ΠΈΡΡΠΉ ΠΈ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΉ ΡΡΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅ΡΠΈΠ°Π». ΠΠ΅Π²ΡΡΠΊΠΈ Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΌ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠΎΠΌ ΡΡΠ°Π»ΠΈ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΠ°Π½Ρ Π’ΡΡΡΠΈΡ, Π° ΡΡΡΠΊΠΈ Π½Π°ΡΠ°Π»ΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΠ½ΠΈΠΌΠ°ΡΡ.
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΡΠ°ΠΉΡ turksezon.tv Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΡΠΎΠ²Π΅ΡΡΠ΅Π½Π½ΠΎ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ. Π£ Π½Π°Ρ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΎ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ°ΠΌΡΡ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ ΠΈ, Π² ΠΎΠ±ΡΠ°ΡΠ½ΠΎΠΌ ΠΏΠΎΡΡΠ΄ΠΊΠ΅, ΠΌΠ°Π»ΠΎ ΠΊΠΎΠΌΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². Π Π°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΆΠ°Π½ΡΡ, Π³Π΅ΡΠΎΠΈ, ΡΡΠΆΠ΅ΡΡ - ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠΌΠΎΠΆΠ΅Ρ Π½Π°ΠΉΡΠΈ ΡΠΎ, ΡΡΠΎ Π΅ΠΌΡ ΠΏΠΎΠ½ΡΠ°Π²ΠΈΡΡΡ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡΠΌΠΈ ΠΏΠΎΠΈΡΠΊΠ° Π΄Π»Ρ Π±ΡΡΡΡΠΎΡΡ Π² ΠΏΠΎΠΈΡΠΊΠ΅ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ³ΠΎ ΠΠ°ΠΌ ΡΠ΅ΡΠΈΠ°Π»Π°. ΠΡΠΎ: ΠΏΠΎ Π΄Π°ΡΠ΅, ΠΏΠΎ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°ΠΌ, ΠΏΠΎ ΠΎΡΠ·ΡΠ²Π°ΠΌ ΠΈΠ»ΠΈ ΠΏΠΎ Π½Π°Π·Π²Π°Π½ΠΈΡ.
ΠΡΠ»ΠΈ ΠΡ ΠΈΡΠΊΠ°Π»ΠΈ <a href=https://turksezon.tv/indiys...>ΠΈΠ½Π΄ΠΈΠΉΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ 2021</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΡΠΎ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ°ΠΉΡ. Π ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΎΡ ΡΠΌΠΎΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΌΠ°Π»ΠΎ, Π° Π²ΡΡ ΠΏΠΎΡΠΎΠΌΡ, ΡΡΠΎ ΡΠ΅ΠΊΠ»Π°ΠΌΠ° Π·Π°Π±ΠΈΡΠ°Π΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, Π½Π΅Ρ ΡΠ°Π½ΡΠ° Π²ΡΠ΅Π³Π΄Π° Π±ΡΡΡ Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Ρ ΡΠΊΡΠ°Π½Π°, ΠΎΡΠ²Π»Π΅ΠΊΠ°ΡΡΡ ΠΎΡ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΡ Π΄Π΅Π».
ΠΡΡΠ³ΠΎΠ΅ Π΄Π΅Π»ΠΎ - ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΏΠΎ Π½ΠΎΡΡΠ±ΡΠΊΡ, ΠΏΠ»Π°Π½ΡΠ΅ΡΡ ΠΈΠ»ΠΈ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ. Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ Π΄Π΅Π²ΡΡΠΊΠ° ΠΌΠΎΠΆΠ΅Ρ Π΄Π΅Π»Π°ΡΡ ΡΡΠ°Π·Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ Π΄Π΅Π», ΡΠΎΠ΅Π΄ΠΈΠ½ΡΡ ΠΏΡΠΈΡΡΠ½ΠΎΠ΅ Ρ ΠΏΠΎΠ»Π΅Π·Π½ΡΠΌ. Π ΠΏΡΠΈΠΌΠ΅ΡΡ, Π³ΠΎΡΠΎΠ²ΠΈΡΡ ΡΠΆΠΈΠ½ Π΄Π»Ρ ΡΠ΅ΠΌΡΠΈ Π·Π° ΠΏΡΠΎΡΠΌΠΎΡΡΠΎΠΌ Π»ΡΠ±ΠΈΠΌΠΎΠ³ΠΎ ΡΠ΅ΡΠΈΠ°Π»Π°. ΠΠ»ΠΈ Π΄Π΅Π»Π°ΡΡ ΡΠ±ΠΎΡΠΊΡ ΠΈ Π½Π°Π±Π»ΡΠ΄Π°ΡΡ Π·Π° ΡΠ²ΠΎΠΈΠΌΠΈ Π»ΡΠ±ΠΈΠΌΡΠΌΠΈ Π°ΠΊΡΠ΅ΡΠ°ΠΌΠΈ. ΠΠ°Ρ ΡΠ°ΠΉΡ ΡΠ΄Π΅Π»Π°Π½ Π΄Π»Ρ ΡΠ°ΠΊΠΈΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ ΠΈ ΠΆΠΈΠ·Π½Π΅ΡΠ°Π΄ΠΎΡΡΠ½ΡΡ Π΄Π΅Π²ΡΡΠ΅ΠΊ. ΠΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΆΠ΅Π½ΡΠΈΠ½Ρ ΡΠΌΠΎΡΡΡΡ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ, Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡΠΆΡΠΈΠ½Ρ ΡΠ°ΠΊΠΆΠ΅ Π·Π°Ρ ΠΎΠ΄ΡΡ Π½Π° Π½Π°Ρ ΡΠ°ΠΉΡ.
ΠΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ <a href=https://turksezon.tv/serial...>ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ 2023 ΠΎΠ½Π»Π°ΠΉΠ½</a> Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ Ρ Π½Π°Ρ. Π‘Π°ΠΌΡΠ΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ: Π ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠΈ ΡΠΎΠ»Π½ΡΠ°, ΠΡΠ±ΠΎΠ²Ρ ΠΠΎΠ³ΠΈΠΊΠ° ΠΠ΅ΡΡΡ, ΠΠΈΡΡΠ΅Ρ ΠΎΡΠΈΠ±ΠΊΠ°, ΠΠ°ΠΏΠ°Ρ ΠΊΠ»ΡΠ±Π½ΠΈΠΊΠΈ, ΠΡΠ²Π°ΠΆΠ½ΡΠΉ ΠΈ ΠΊΡΠ°ΡΠ°Π²ΠΈΡΠ°, ΠΠΎ ΡΠ°ΠΌΠΎΠΉ ΡΠΌΠ΅ΡΡΠΈ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅ ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ Π½Π° ΡΠ°ΠΉΡΠ΅ turksezon.tv Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅. ΠΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠΌΠΎΡΡΠΈΡΠ΅ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ ΠΈ Π½Π° ΡΡΡΡΠΊΠΎΠΌ ΡΠ·ΡΠΊΠ΅.
Erstellt am 11/05/23 um 21:31: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;
}
}
}
?>
SitiStroy schrieb:
Π‘Π΄Π΅Π»Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Π»ΡΡΡΠ΅ Ρ Β«Π‘Π Π‘ΠΈΡΠΈ Π‘ΡΡΠΎΠΉ"
ΠΡΠ΅ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΌΠΎΠ³ΡΡ Π²Π·ΡΡΡ Π½Π° ΡΠ΅Π±Ρ Π²Π΅ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π²Π°ΡΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΡ? ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΡΠ»ΡΠ³Ρ <a href=https://remont-siti.ru/>ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠ²Π°ΡΡΠΈΡ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ</a>, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΡΠ°ΠΏ ΡΠ°Π±ΠΎΡ Π²ΡΠΏΠΎΠ»Π½ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ ΡΡΡΠΎΠ³ΠΈΠΌ ΠΊΠΎΠ½ΡΡΠΎΠ»Π΅ΠΌ Π½Π°ΡΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠ°Ρ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ, ΡΡΠΎ Π²Π΅ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ Π±ΡΠ΄Π΅Ρ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠΌ ΠΈ Π±Π΅Π· ΡΡΡΠ΅ΡΡΠΎΠ²ΡΠΌ Π΄Π»Ρ Π²Π°Ρ.
ΠΠ° remont-siti.ru Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΏΠΎΠ»Π½ΠΎΠ΅ ΠΏΠΎΡΡΡΠΎΠ»ΠΈΠΎ Π½Π°ΡΠΈΡ ΡΠ°Π±ΠΎΡ ΠΈ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ±Π΅Π΄ΠΈΡΡΡΡ Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ. ΠΡ ΡΠ΅Π½ΠΈΠΌ Π²ΡΠ΅ΠΌΡ Π½Π°ΡΠΈΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ ΡΠ΅Π°Π»ΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ². ΠΠ°Ρ ΠΎΡΠΈΡ ΠΆΠ΄Π΅Ρ Π²Π°Ρ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: 127055 Π³. ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΠΎΠ²ΠΎΡΠ»ΠΎΠ±ΠΎΠ΄ΡΠΊΠ°Ρ, Π΄. 20, ΠΊ. 27, ΠΎΡ. 6. ΠΠΎΠ²Π΅ΡΡΡΠ΅ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ, ΠΈ Π²Π°ΡΠ° ΠΊΠ²Π°ΡΡΠΈΡΠ° Π·Π°ΡΠΈΡΠ΅Ρ Π½ΠΎΠ²ΡΠΌΠΈ ΠΊΡΠ°ΡΠΊΠ°ΠΌΠΈ!
ΠΡΠ΅ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΌΠΎΠ³ΡΡ Π²Π·ΡΡΡ Π½Π° ΡΠ΅Π±Ρ Π²Π΅ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π²Π°ΡΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΡ? ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΡΠ»ΡΠ³Ρ <a href=https://remont-siti.ru/>ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠ²Π°ΡΡΠΈΡ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ</a>, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΡΠ°ΠΏ ΡΠ°Π±ΠΎΡ Π²ΡΠΏΠΎΠ»Π½ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ ΡΡΡΠΎΠ³ΠΈΠΌ ΠΊΠΎΠ½ΡΡΠΎΠ»Π΅ΠΌ Π½Π°ΡΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠ°Ρ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ, ΡΡΠΎ Π²Π΅ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ Π±ΡΠ΄Π΅Ρ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠΌ ΠΈ Π±Π΅Π· ΡΡΡΠ΅ΡΡΠΎΠ²ΡΠΌ Π΄Π»Ρ Π²Π°Ρ.
ΠΠ° remont-siti.ru Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΏΠΎΠ»Π½ΠΎΠ΅ ΠΏΠΎΡΡΡΠΎΠ»ΠΈΠΎ Π½Π°ΡΠΈΡ ΡΠ°Π±ΠΎΡ ΠΈ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ±Π΅Π΄ΠΈΡΡΡΡ Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ. ΠΡ ΡΠ΅Π½ΠΈΠΌ Π²ΡΠ΅ΠΌΡ Π½Π°ΡΠΈΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ ΡΠ΅Π°Π»ΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ². ΠΠ°Ρ ΠΎΡΠΈΡ ΠΆΠ΄Π΅Ρ Π²Π°Ρ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: 127055 Π³. ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΠΎΠ²ΠΎΡΠ»ΠΎΠ±ΠΎΠ΄ΡΠΊΠ°Ρ, Π΄. 20, ΠΊ. 27, ΠΎΡ. 6. ΠΠΎΠ²Π΅ΡΡΡΠ΅ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ, ΠΈ Π²Π°ΡΠ° ΠΊΠ²Π°ΡΡΠΈΡΠ° Π·Π°ΡΠΈΡΠ΅Ρ Π½ΠΎΠ²ΡΠΌΠΈ ΠΊΡΠ°ΡΠΊΠ°ΠΌΠΈ!
Erstellt am 11/05/23 um 21:45: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;
}
}
}
?>
meshki_qeor schrieb:
ΠΠ΅ΡΠ΅ΠΆΠ½ΠΎΠ΅ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠ΅ ΠΊ ΠΎΠΊΡΡΠΆΠ°ΡΡΠ΅ΠΉ ΡΡΠ΅Π΄Π΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ ΠΊΡΠΏΠΈΡΡ ΡΠ΅Π½Π° <a href=http://meshki-dlya-musora-z...>http://meshki-dlya-musora-zena.ru/</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ ΠΊΡΠΏΠΈΡΡ ΡΠ΅Π½Π° <a href=http://meshki-dlya-musora-z...>http://meshki-dlya-musora-zena.ru/</a>.
Erstellt am 11/05/23 um 22:51: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;
}
}
}
?>
TimothySib schrieb:
ΠΠ΅ΡΠ΅ΠΎΡΠΌΡΡΠ»ΠΈΡΠ΅ ΡΠ²ΠΎΠ΅ ΠΆΠΈΠ»ΠΈΡΠ΅ Ρ Β«Π‘Π Π‘ΠΈΡΠΈ Π‘ΡΡΠΎΠΉ"
Π₯ΠΎΡΠΈΡΠ΅, ΡΡΠΎΠ±Ρ ΡΠ΅ΠΌΠΎΠ½Ρ Π²Π°ΡΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΡ Π±ΡΠ» Π²ΡΠΏΠΎΠ»Π½Π΅Π½ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ Π·Π°Π±ΠΎΡ? ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» - Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ Π² ΠΎΠ±Π»Π°ΡΡΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ° "ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ". ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΏΠΎΠ»Π½ΡΠΉ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ ΡΡΠ»ΡΠ³ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΠΊΠ²Π°ΡΡΠΈΡ, Π½Π°ΡΠΈΠ½Π°Ρ Ρ 2003 Π³ΠΎΠ΄Π° ΠΈ ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΡ ΠΏΠΎΠ΄ ΠΎΠ΄Π½ΠΎΠΉ ΠΊΡΡΡΠ΅ΠΉ Π»ΡΡΡΠΈΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΠΎΡΠΊΠ²Ρ ΠΈ ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²ΡΡ.
<a href=https://remont-siti.ru/>Π Π΅ΠΌΠΎΠ½Ρ ΠΊΠ²Π°ΡΡΠΈΡ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ</a> β ΡΡΠΎ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΠΏΡΠ΅Π΄ΠΏΠΎΡΠΈΡΠ°Π΅Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ. ΠΡ Π±Π΅ΡΠ΅ΠΌ Π½Π° ΡΠ΅Π±Ρ Π²ΡΠ΅ ΡΡΠ°ΠΏΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ°: ΠΎΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½-ΠΏΡΠΎΠ΅ΠΊΡΠ° Π΄ΠΎ Π΅Π³ΠΎ ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ Π²ΠΎΠΏΠ»ΠΎΡΠ΅Π½ΠΈΡ. ΠΠ°ΡΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΡ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ ΡΠ²Π΅ΡΠ΅Π½Ρ, ΡΡΠΎ Π²ΡΠ΅ ΡΠ°Π±ΠΎΡΡ Π±ΡΠ΄ΡΡ Π²ΡΠΏΠΎΠ»Π½Π΅Π½Ρ Π² ΡΡΡΠΎΠ³ΠΎΠΌ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠΈ Ρ Π·Π°ΡΠ²Π»Π΅Π½Π½ΡΠΌΠΈ ΡΡΠΎΠΊΠ°ΠΌΠΈ ΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠΎΠΌ.
ΠΠΎΡΠ΅ΡΠΈΡΠ΅ Π½Π°Ρ ΡΠ°ΠΉΡ, ΡΡΠΎΠ±Ρ ΡΠ·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³Π°Ρ ΠΈΠ»ΠΈ Π½Π°ΡΠ°ΡΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ. ΠΡ Π½Π°Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: 127055 Π³. ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΠΎΠ²ΠΎΡΠ»ΠΎΠ±ΠΎΠ΄ΡΠΊΠ°Ρ, Π΄. 20, ΠΊ. 27, ΠΎΡ. 6. ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» β ΡΡΠΎ Π²Π°Ρ Π²ΡΠ±ΠΎΡ Π² ΠΏΠΎΠ»ΡΠ·Ρ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ.
Π₯ΠΎΡΠΈΡΠ΅, ΡΡΠΎΠ±Ρ ΡΠ΅ΠΌΠΎΠ½Ρ Π²Π°ΡΠ΅ΠΉ ΠΊΠ²Π°ΡΡΠΈΡΡ Π±ΡΠ» Π²ΡΠΏΠΎΠ»Π½Π΅Π½ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ Π·Π°Π±ΠΎΡ? ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» - Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ Π² ΠΎΠ±Π»Π°ΡΡΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ° "ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ". ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΏΠΎΠ»Π½ΡΠΉ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ ΡΡΠ»ΡΠ³ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΠΊΠ²Π°ΡΡΠΈΡ, Π½Π°ΡΠΈΠ½Π°Ρ Ρ 2003 Π³ΠΎΠ΄Π° ΠΈ ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΡ ΠΏΠΎΠ΄ ΠΎΠ΄Π½ΠΎΠΉ ΠΊΡΡΡΠ΅ΠΉ Π»ΡΡΡΠΈΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΠΎΡΠΊΠ²Ρ ΠΈ ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²ΡΡ.
<a href=https://remont-siti.ru/>Π Π΅ΠΌΠΎΠ½Ρ ΠΊΠ²Π°ΡΡΠΈΡ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ</a> β ΡΡΠΎ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΠΏΡΠ΅Π΄ΠΏΠΎΡΠΈΡΠ°Π΅Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ. ΠΡ Π±Π΅ΡΠ΅ΠΌ Π½Π° ΡΠ΅Π±Ρ Π²ΡΠ΅ ΡΡΠ°ΠΏΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ°: ΠΎΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½-ΠΏΡΠΎΠ΅ΠΊΡΠ° Π΄ΠΎ Π΅Π³ΠΎ ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ Π²ΠΎΠΏΠ»ΠΎΡΠ΅Π½ΠΈΡ. ΠΠ°ΡΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΡ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ ΡΠ²Π΅ΡΠ΅Π½Ρ, ΡΡΠΎ Π²ΡΠ΅ ΡΠ°Π±ΠΎΡΡ Π±ΡΠ΄ΡΡ Π²ΡΠΏΠΎΠ»Π½Π΅Π½Ρ Π² ΡΡΡΠΎΠ³ΠΎΠΌ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠΈ Ρ Π·Π°ΡΠ²Π»Π΅Π½Π½ΡΠΌΠΈ ΡΡΠΎΠΊΠ°ΠΌΠΈ ΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠΎΠΌ.
ΠΠΎΡΠ΅ΡΠΈΡΠ΅ Π½Π°Ρ ΡΠ°ΠΉΡ, ΡΡΠΎΠ±Ρ ΡΠ·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³Π°Ρ ΠΈΠ»ΠΈ Π½Π°ΡΠ°ΡΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ. ΠΡ Π½Π°Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: 127055 Π³. ΠΠΎΡΠΊΠ²Π°, ΡΠ». ΠΠΎΠ²ΠΎΡΠ»ΠΎΠ±ΠΎΠ΄ΡΠΊΠ°Ρ, Π΄. 20, ΠΊ. 27, ΠΎΡ. 6. ΠΠΠ Β«Π‘Π Π‘ΠΠ’Π Π‘Π’Π ΠΠΒ» β ΡΡΠΎ Π²Π°Ρ Π²ΡΠ±ΠΎΡ Π² ΠΏΠΎΠ»ΡΠ·Ρ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ.
Erstellt am 11/06/23 um 06: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;
}
}
}
?>
VavaTum schrieb:
Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΠ°Π²Π°Π΄Π° - ΡΡΠΎ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ Π±ΡΡΡΡΡΠΉ ΠΏΡΠΎΡΠ΅ΡΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ ΠΏΠ΅ΡΠ΅Π΄ Π²Π°ΠΌΠΈ ΠΌΠΈΡ Π°Π·Π°ΡΡΠ½ΡΡ
ΠΈΠ³Ρ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΡΠΈΠ³ΡΠ°ΡΡ ΠΊΡΡΠΏΠ½ΡΠ΅ ΠΏΡΠΈΠ·Ρ. ΠΠΎΡ Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ Π²Π°ΠΆΠ½ΡΠ΅ ΠΌΠΎΠΌΠ΅Π½ΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΡΠΎΠΈΡ Π·Π½Π°ΡΡ ΠΎ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ Π² ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada.
ΠΠ»Ρ Π½Π°ΡΠ°Π»Π°, ΠΏΠ΅ΡΠ΅ΠΉΠ΄ΠΈΡΠ΅ Π½Π° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada. Π‘Π°ΠΉΡ Π΄ΠΎΡΡΡΠΏΠ΅Π½ Π²ΡΠ΅ΠΌ: <a href=https://vavada-reg1.online/>Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΠΉ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π²Π°Π²Π°Π΄Π°</a>. Π’Π°ΠΌ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΊΠ½ΠΎΠΏΠΊΡ "Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ", ΠΊΠΎΡΠΎΡΡΡ Π½ΡΠΆΠ½ΠΎ Π½Π°ΠΆΠ°ΡΡ, ΡΡΠΎΠ±Ρ Π½Π°ΡΠ°ΡΡ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ. ΠΠ°ΡΠ΅ΠΌ Π·Π°ΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΡΠΎΡΠΌΡ ΡΠ²ΠΎΠΈΠΌΠΈ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΡΠΌΠΈ Π΄Π°Π½Π½ΡΠΌΠΈ ΠΈ ΡΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠ°ΡΠΎΠ»Ρ. Π£Π±Π΅Π΄ΠΈΡΠ΅ΡΡ, ΡΡΠΎ Π²Π²ΠΎΠ΄ΠΈΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎΠ±Ρ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΏΡΠΎΠ±Π»Π΅ΠΌ Π² Π±ΡΠ΄ΡΡΠ΅ΠΌ.
ΠΠΎΡΠ»Π΅ Π·Π°ΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΡΠΎΡΠΌΡ Π²Π°ΠΌ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΡΡΠ΅Π±ΠΎΠ²Π°ΡΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΠΎΠΉ ΠΏΠΎΡΡΡ. ΠΡΠΎΡΡΠΎ ΠΏΠ΅ΡΠ΅ΠΉΠ΄ΠΈΡΠ΅ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅, ΠΊΠΎΡΠΎΡΡΡ Π²Ρ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΡ Π²Π°ΠΌΠΈ ΠΏΠΎΡΡΡ, ΡΡΠΎΠ±Ρ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠ΄ΠΈΡΡ ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ.
ΠΠΎΡΠ»Π΅ ΡΡΠΏΠ΅ΡΠ½ΠΎΠΉ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΎΠΉΡΠΈ Π² ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΡΠ²ΠΎΠΈ ΡΡΠ΅ΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅. ΠΠ°ΠΌ Π±ΡΠ΄Π΅Ρ Π΄ΠΎΡΡΡΠΏΠ½Π° ΡΠΈΡΠΎΠΊΠ°Ρ Π²ΡΠ±ΠΎΡΠΊΠ° ΠΈΠ³Ρ, Π²ΠΊΠ»ΡΡΠ°Ρ ΡΠ»ΠΎΡΡ, ΡΡΠ»Π΅ΡΠΊΡ, Π±Π»ΡΠΊΠ΄ΠΆΠ΅ΠΊ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ Π°Π·Π°ΡΡΠ½ΡΠ΅ ΠΈΠ³ΡΡ.
ΠΠ°Π·ΠΈΠ½ΠΎ Vavada ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄Π³Π°Π»Π°Π³Π°Π΅Ρ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ Π±ΠΎΠ½ΡΡΠΎΠ² ΠΈ Π°ΠΊΡΠΈΠΉ Π΄Π»Ρ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ². ΠΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΠΌ Π²Ρ ΠΎΠ΄Π΅ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΡΠΈΡΠΏΠΈΠ½Ρ Π½Π° ΡΠ»ΠΎΡΠ°Ρ ΠΈΠ»ΠΈ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π±ΠΎΠ½ΡΡΠ½ΡΠΉ ΠΊΡΠ΅Π΄ΠΈΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ Π²Π°ΠΌ ΡΠ²Π΅Π»ΠΈΡΠΈΡΡ ΡΠ²ΠΎΠΈ ΡΠ°Π½ΡΡ Π½Π° Π²ΡΠΈΠ³ΡΡΡ.
ΠΠΎΠΌΠ½ΠΈΡΠ΅, ΡΡΠΎ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada ΡΠ°Π·ΡΠ΅ΡΠ°Π΅ΡΡΡ ΡΠΎΠ»ΡΠΊΠΎ ΡΠ΅ΠΌ, ΠΊΠΎΠΌΡ ΡΠΆΠ΅ Π΅ΡΡΡ 18 Π»Π΅Ρ. ΠΠ°Π·ΠΈΠ½ΠΎ ΠΠ°Π²Π°Π΄Π° ΡΠ°ΠΊΠΆΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ Π²Π°ΡΠΈΡ Π΄Π°Π½Π½ΡΡ , ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΠΏΠ΅ΡΠ΅Π΄ΠΎΠ²ΡΠ΅ ΡΠ΅Ρ Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΡΠΈΡΡΠΎΠ²Π°Π½ΠΈΡ.
ΠΠ»Ρ Π½Π°ΡΠ°Π»Π°, ΠΏΠ΅ΡΠ΅ΠΉΠ΄ΠΈΡΠ΅ Π½Π° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada. Π‘Π°ΠΉΡ Π΄ΠΎΡΡΡΠΏΠ΅Π½ Π²ΡΠ΅ΠΌ: <a href=https://vavada-reg1.online/>Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΠΉ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π²Π°Π²Π°Π΄Π°</a>. Π’Π°ΠΌ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΊΠ½ΠΎΠΏΠΊΡ "Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ", ΠΊΠΎΡΠΎΡΡΡ Π½ΡΠΆΠ½ΠΎ Π½Π°ΠΆΠ°ΡΡ, ΡΡΠΎΠ±Ρ Π½Π°ΡΠ°ΡΡ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ. ΠΠ°ΡΠ΅ΠΌ Π·Π°ΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΡΠΎΡΠΌΡ ΡΠ²ΠΎΠΈΠΌΠΈ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΡΠΌΠΈ Π΄Π°Π½Π½ΡΠΌΠΈ ΠΈ ΡΠΊΠ°ΠΆΠΈΡΠ΅ ΠΏΠ°ΡΠΎΠ»Ρ. Π£Π±Π΅Π΄ΠΈΡΠ΅ΡΡ, ΡΡΠΎ Π²Π²ΠΎΠ΄ΠΈΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎΠ±Ρ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΏΡΠΎΠ±Π»Π΅ΠΌ Π² Π±ΡΠ΄ΡΡΠ΅ΠΌ.
ΠΠΎΡΠ»Π΅ Π·Π°ΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΡΠΎΡΠΌΡ Π²Π°ΠΌ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΡΡΠ΅Π±ΠΎΠ²Π°ΡΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΠΎΠΉ ΠΏΠΎΡΡΡ. ΠΡΠΎΡΡΠΎ ΠΏΠ΅ΡΠ΅ΠΉΠ΄ΠΈΡΠ΅ ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅, ΠΊΠΎΡΠΎΡΡΡ Π²Ρ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΡ Π²Π°ΠΌΠΈ ΠΏΠΎΡΡΡ, ΡΡΠΎΠ±Ρ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠ΄ΠΈΡΡ ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ.
ΠΠΎΡΠ»Π΅ ΡΡΠΏΠ΅ΡΠ½ΠΎΠΉ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΎΠΉΡΠΈ Π² ΡΠ²ΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΡΠ²ΠΎΠΈ ΡΡΠ΅ΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅. ΠΠ°ΠΌ Π±ΡΠ΄Π΅Ρ Π΄ΠΎΡΡΡΠΏΠ½Π° ΡΠΈΡΠΎΠΊΠ°Ρ Π²ΡΠ±ΠΎΡΠΊΠ° ΠΈΠ³Ρ, Π²ΠΊΠ»ΡΡΠ°Ρ ΡΠ»ΠΎΡΡ, ΡΡΠ»Π΅ΡΠΊΡ, Π±Π»ΡΠΊΠ΄ΠΆΠ΅ΠΊ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ Π°Π·Π°ΡΡΠ½ΡΠ΅ ΠΈΠ³ΡΡ.
ΠΠ°Π·ΠΈΠ½ΠΎ Vavada ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄Π³Π°Π»Π°Π³Π°Π΅Ρ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ Π±ΠΎΠ½ΡΡΠΎΠ² ΠΈ Π°ΠΊΡΠΈΠΉ Π΄Π»Ρ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ². ΠΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΠΌ Π²Ρ ΠΎΠ΄Π΅ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΡΠΈΡΠΏΠΈΠ½Ρ Π½Π° ΡΠ»ΠΎΡΠ°Ρ ΠΈΠ»ΠΈ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π±ΠΎΠ½ΡΡΠ½ΡΠΉ ΠΊΡΠ΅Π΄ΠΈΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ Π²Π°ΠΌ ΡΠ²Π΅Π»ΠΈΡΠΈΡΡ ΡΠ²ΠΎΠΈ ΡΠ°Π½ΡΡ Π½Π° Π²ΡΠΈΠ³ΡΡΡ.
ΠΠΎΠΌΠ½ΠΈΡΠ΅, ΡΡΠΎ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΊΠ°Π·ΠΈΠ½ΠΎ Vavada ΡΠ°Π·ΡΠ΅ΡΠ°Π΅ΡΡΡ ΡΠΎΠ»ΡΠΊΠΎ ΡΠ΅ΠΌ, ΠΊΠΎΠΌΡ ΡΠΆΠ΅ Π΅ΡΡΡ 18 Π»Π΅Ρ. ΠΠ°Π·ΠΈΠ½ΠΎ ΠΠ°Π²Π°Π΄Π° ΡΠ°ΠΊΠΆΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ Π²Π°ΡΠΈΡ Π΄Π°Π½Π½ΡΡ , ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΠΏΠ΅ΡΠ΅Π΄ΠΎΠ²ΡΠ΅ ΡΠ΅Ρ Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΡΠΈΡΡΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 11/06/23 um 15:29: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;
}
}
}
?>
Oriness_ctKl schrieb:
Π€Π°ΡΠΎΠ²ΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ - Π½Π΅Π²Π΅ΡΠΎΡΡΠ½ΠΎ Π»Π΅Π³ΠΊΠΈΠ΅ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅
ΠΏΠ°ΠΊΠ΅ΡΡ ΡΠ°ΡΠΎΠ²ΠΊΠ° ΡΠ°Π·ΠΌΠ΅ΡΡ <a href=http://fasovochnye-pakety-o...>http://fasovochnye-pakety-optomm.ru/</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ ΡΠ°ΡΠΎΠ²ΠΊΠ° ΡΠ°Π·ΠΌΠ΅ΡΡ <a href=http://fasovochnye-pakety-o...>http://fasovochnye-pakety-optomm.ru/</a>.
Erstellt am 11/06/23 um 19:03: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;
}
}
}
?>
Shaun_fppn schrieb:
ΠΡΡΠ³Π»ΠΎΠ³ΠΎΠ΄ΠΈΡΠ½ΡΠ΅ Π±Π°Ρ
ΠΈΠ»Ρ Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ
Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ ΠΎΠΏΡΠΎΠΌ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://bahily-optomm.ru/>http://bahily-optomm.ru/</a>.
Π±Π°Ρ ΠΈΠ»Ρ ΠΊΡΠΏΠΈΡΡ ΠΎΠΏΡΠΎΠΌ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ <a href=http://bahily-optomm.ru/>http://bahily-optomm.ru/</a>.
Erstellt am 11/07/23 um 09:57: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;
}
}
}
?>
Xinah_muOa schrieb:
ΠΠ»ΠΎΡΠ½Π°Ρ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΠ° ΠΏΠΎ Π΄Π΅ΠΌΠΎΠΊΡΠ°ΡΠΈΡΠ½ΠΎΠΉ ΡΠ΅Π½Π΅
ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡ <a href=http://streych-plenka-msk1.ru/>http://streych-plenka-msk1.ru/</a>.
ΡΡΡΠ΅ΠΉΡ ΠΎΠΏΡ <a href=http://streych-plenka-msk1.ru/>http://streych-plenka-msk1.ru/</a>.
Erstellt am 11/07/23 um 16: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;
}
}
}
?>
Meshki_xrOn schrieb:
Π£Π΄ΠΎΠ±Π½ΡΠΉ ΠΌΡΡΠΎΡΠ½ΡΠΉ ΠΌΠ΅ΡΠΎΠΊ Ρ Π·Π°Π²ΡΠ·ΠΊΠ°ΠΌΠΈ
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Ρ Π·Π°Π²ΡΠ·ΠΊΠ°ΠΌΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-s-zavyazkami.ru/</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Ρ Π·Π°Π²ΡΠ·ΠΊΠ°ΠΌΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-s-zavyazkami.ru/</a>.
Erstellt am 11/07/23 um 22:33: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;
}
}
}
?>
Furfurfriend schrieb:
Timeless designs meet modern functionality in our watches for men. <a href=https://furfurfriend.com/>Buy mens watch</a> selections that define sophistication.
Erstellt am 11/08/23 um 01:47: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;
}
}
}
?>
Furfurfriend schrieb:
Don't let a tight budget stop you from sporting a stylish timepiece. Check out our <a href=https://furfurfriend.com/>watch low price</a> selection today!
Erstellt am 11/08/23 um 16:41: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;
}
}
}
?>
MapsedaJep schrieb:
ΠΡΠΎΠΉΠ΄ΠΈΡΠ΅ Π°ΠΊΠΊΡΠ΅Π΄ΠΈΡΠ°ΡΠΈΡ ΠΈΠ»ΠΈ ΠΏΠΎΠ²ΡΡΡΡΠ΅ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΡ Π½Π° maps-edu.ru. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌ Π΄Π»Ρ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². Π£ΡΠΈΡΠ΅cΡ, Π½Π΅ ΠΎΡΡ
ΠΎΠ΄Ρ ΠΎΡ ΡΠ°Π±ΠΎΡΡ!
Erstellt am 11/08/23 um 18:02: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;
}
}
}
?>
Streych_fcMi schrieb:
ΠΠ°Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π»ΡΡΡΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ ΠΏΠΎΠΊΡΠΏΠΊΠΈ ΠΎΠΏΡΠΎΠΌ
ΠΊΡΠΏΠΈΡΡ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΡ ΠΎΠΏΡΠΎΠΌ <a href=http://strejch-plenka-optom...>http://strejch-plenka-optomm.ru/</a>.
ΠΊΡΠΏΠΈΡΡ ΡΡΡΠ΅ΠΉΡ ΠΏΠ»Π΅Π½ΠΊΡ ΠΎΠΏΡΠΎΠΌ <a href=http://strejch-plenka-optom...>http://strejch-plenka-optomm.ru/</a>.
Erstellt am 11/08/23 um 22:15: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;
}
}
}
?>
Watch Price schrieb:
Don't overpay for luxury. Our collection boasts competitive <a href=https://furfurfriend.com/>watch prices</a> without compromising on elegance or performance.
Erstellt am 11/09/23 um 04:04: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;
}
}
}
?>
Turkhit.tv schrieb:
Π ΡΡΡΠΊΠ°Ρ ΠΎΠ·Π²ΡΡΠΊΠ° ΡΡΡΠ΅ΡΠΊΠΈΡ
ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² turkhit.tv
ΠΠ»Ρ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΠΌΠΎΠ³ΡΡ ΠΆΠΈΡΡ Π±Π΅Π· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° ΡΠ΅ΡΠΈΠΉ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΡΡΠΆΠ΅ΡΠΎΠ² β ΠΌΡ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π»ΠΈ Π½Π°Ρ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π». Π‘Π°ΠΌΡΠΉ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈΠ· Π’ΡΡΡΠΈΠΈ ΡΠ°ΠΌΡΡ ΡΠ°Π·Π½ΡΡ ΠΆΠ°Π½ΡΠΎΠ². ΠΠΎΠ±ΡΠΎ ΠΏΠΎΠΆΠ°Π»ΠΎΠ²Π°ΡΡ Π½Π° turkhit.tv ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ.
ΠΠΎ Π·Π°ΠΏΡΠΎΡΡ <a href=https://turkhit.tv/boeviki/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ</a> ΠΡ Π½Π° Π²Π΅ΡΠ½ΠΎΠΌ ΠΏΡΡΠΈ. Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π·Π° ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅Π΅ Π²ΡΠ΅ΠΌΡ Π·Π°Π²ΠΎΠ΅Π²Π°Π»ΠΈ ΠΎΠ³ΡΠΎΠΌΠ½ΡΡ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΡ Π·Π° Π³ΡΠ°Π½ΠΈΡΠ°ΠΌΠΈ ΡΠ²ΠΎΠ΅ΠΉ ΡΡΡΠ°Π½Ρ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ ΠΈ Π² Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠΉ Π€Π΅Π΄Π΅ΡΠ°ΡΠΈΠΈ. Π ΡΠ΅ΠΌ ΠΆΠ΅ ΡΠ΅ΠΊΡΠ΅Ρ ΠΈΡ ΡΡΠΏΠ΅Ρ Π°? ΠΡΠ΅ΠΆΠ΄Π΅ Π²ΡΠ΅Π³ΠΎ, ΡΡΠΎ ΠΈΡΡΠΎΡΠΈΠΈ, Π½Π°ΠΏΠΎΠ»Π½Π΅Π½Π½ΡΠ΅ Π΄ΡΠ°ΠΌΠ°ΡΠΈΠ·ΠΌΠΎΠΌ ΠΈ ΡΡΡΠ°ΡΡΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠΈΠΊΠΎΠ²ΡΠ²Π°ΡΡ Π·ΡΠΈΡΠ΅Π»Ρ Ρ ΠΏΠ΅ΡΠ²ΡΡ ΠΌΠΈΠ½ΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°. ΠΠ΅ΡΠΎΠΈ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² - Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ ΠΈ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅, ΡΠ°ΡΡΠΎ ΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡΡΡ Π²ΠΏΡΡΠ°Π½Π½ΡΠΌΠΈ Π² ΡΡΡΠ΄Π½ΡΠ΅ ΠΆΠΈΠ·Π½Π΅Π½Π½ΡΠ΅ ΠΎΠ±ΡΡΠΎΡΡΠ΅Π»ΡΡΡΠ²Π°, ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ·ΡΠ²Π°ΡΡ Ρ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΠΎΡΡΠ²ΡΡΠ²ΠΈΠ΅ ΠΈ ΡΠΌΠΏΠ°ΡΠΈΡ.
Π‘ΡΠ΅Π½Π°ΡΠΈΠΈ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΡΠ°ΡΡΠΎ ΡΠ»ΠΎΠΆΠ½Ρ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΡΡΠΎΠ²Π½Π΅Π²Ρ. ΠΠ½ΠΈ ΡΠΎΠ²ΠΌΠ΅ΡΠ°ΡΡ Π² ΡΠ΅Π±Π΅ Π»ΡΠ±ΠΎΠ²Π½ΡΠ΅ ΡΠ°Π·Π±ΠΎΡΠΊΠΈ, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π΄ΡΠ°ΠΌΡ, Π½Π΅ΡΡΠ°ΡΡΡΡ ΠΈ ΠΈΠ½ΡΡΠΈΠ³ΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ. Π’Π°ΠΊΠΎΠΉ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ Π΄Π°Π΅Ρ ΡΠ΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΠΎΠΉ Π°ΡΠ΄ΠΈΡΠΎΡΠΈΠΈ, Π²Π΅Π΄Ρ Π»ΡΠ±ΠΎΠΉ Π½Π°ΠΉΠ΄Π΅Ρ Π΄Π»Ρ ΡΠ΅Π±Ρ ΡΡΠΎ-ΡΠΎ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ΡΡΠ΅Π΅.
ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠ°ΡΡΠΎ Π·Π°Π΄Π΅Π²Π°ΡΡ Π³Π»ΡΠ±ΠΎΠΊΠΈΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΈ ΠΏΡΠΎΡΠ²ΡΡΠ΅Π½Π½ΡΠ΅ ΡΠ΅ΠΌΡ, ΠΎΡΡΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Π΄Π»Ρ Π’ΡΡΡΠΈΠΈ, Π½ΠΎ ΠΈ Π΄Π»Ρ Π±ΠΎΠ»ΡΡΠΈΠ½ΡΡΠ²Π° Π΄ΡΡΠ³ΠΈΡ ΡΡΡΠ°Π½. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠΌ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ, Π½ΠΎ ΠΈ ΠΏΠΈΡΠ΅ΠΉ Π΄Π»Ρ ΡΠ°Π·ΠΌΡΡΠ»Π΅Π½ΠΈΠΉ. Π¨ΠΈΠΊΠ°ΡΠ½ΡΠ΅ Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠΈ, Π½Π°ΡΡΠ΄Ρ ΠΈ ΡΡΠ΅ΠΌΠΊΠΈ Π² ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΡ Π»ΠΎΠΊΠ°ΡΠΈΡΡ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡ Π²ΠΈΠ·ΡΠ°Π»ΡΠ½ΠΎΠ΅ Π½Π°ΡΠ»Π°ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π·ΡΠΈΡΠ΅Π»Ρ ΠΏΠΎΠ³ΡΡΠ·ΠΈΡΡΡΡ Π² Π½Π΅ΠΎΠ±ΡΠΊΠ½ΠΎΠ²Π΅Π½Π½ΡΠΉ ΠΌΠΈΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΎΠ½ΠΈ ΠΏΡΠΎΠΈΠ·Π²Π΅Π»ΠΈ.
ΠΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ <a href=https://turkhit.tv/kriminal/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΊΡΠΈΠΌΠΈΠ½Π°Π»</a> Π½Π° Π½Π°Ρ ΡΠ°ΠΉΡ turkhit.tv ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ. Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΡΠ΅ΡΡ ΠΈ ΡΡΠ΅Π½Π°ΡΠΈΡΡΡ Π½Π΅ Π±ΠΎΡΡΡΡ ΡΠ²ΠΎΡΠΈΡΡ Π½ΠΎΠ²ΠΎΠ΅ Ρ ΡΠΎΡΠΌΠ°ΡΠ°ΠΌΠΈ ΠΈ ΡΡΠΆΠ΅ΡΠ½ΡΠΌΠΈ Π»ΠΈΠ½ΠΈΡΠΌΠΈ, ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΡΠ»ΡΡΡΠ°Ρ ΡΠ²ΠΎΠΈ ΡΠ΅Ρ Π½ΠΈΠΊΠΈ Π²ΠΈΠ΄Π΅ΠΎΡΡΠ΅ΠΌΠΊΠΈ ΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ°. ΠΠΊΡΠ΅ΡΡΠΊΠΈΠΉ ΡΠΎΡΡΠ°Π² ΡΠ°ΡΡΠΎ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π² ΡΠ΅Π±Ρ ΡΡΠΊΠΈΠ΅ ΠΈ Π³Π΅Π½ΠΈΠ°Π»ΡΠ½ΡΠ΅ Π»ΠΈΡΠ½ΠΎΡΡΠΈ, ΡΠΏΠΎΡΠΎΠ±Π½ΡΠ΅ Π½Π° Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ ΠΈΠ³ΡΡ ΡΠΌΠΎΡΠΈΠΉ ΠΈ ΡΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠ±Π΅Π΄ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΠ±ΡΠ°Π·ΠΎΠ².
Π Π·Π°ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅, ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΡ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΠ²ΠΎΠ΅ΠΉ ΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡΡ ΠΏΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΡΡΠ°ΠΆΠ°ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Π½ΠΈΡ Π²ΠΎ Π²ΡΠ΅ΠΌ ΠΈΡ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠΈ. ΠΠ½ΠΈ ΠΎΡΠΊΡΡΠ²Π°ΡΡ Π΄Π²Π΅ΡΡ Π² ΠΈΠ½ΠΎΡΡΡΠ°Π½Π½ΡΠ΅ ΠΊΡΠ»ΡΡΡΡΡ ΠΈ Π΄Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄Π»Ρ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ³ΠΎΠ»ΠΎΡΠΊΠ°, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΠ°ΡΡΡΡ ΠΆΠΈΠ·Π½ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΡ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ².
ΠΠ»Ρ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ ΠΌΠΎΠ³ΡΡ ΠΆΠΈΡΡ Π±Π΅Π· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° ΡΠ΅ΡΠΈΠΉ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΡΡΠΆΠ΅ΡΠΎΠ² β ΠΌΡ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π»ΠΈ Π½Π°Ρ Π²Π΅Π± ΠΏΠΎΡΡΠ°Π». Π‘Π°ΠΌΡΠΉ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈΠ· Π’ΡΡΡΠΈΠΈ ΡΠ°ΠΌΡΡ ΡΠ°Π·Π½ΡΡ ΠΆΠ°Π½ΡΠΎΠ². ΠΠΎΠ±ΡΠΎ ΠΏΠΎΠΆΠ°Π»ΠΎΠ²Π°ΡΡ Π½Π° turkhit.tv ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ.
ΠΠΎ Π·Π°ΠΏΡΠΎΡΡ <a href=https://turkhit.tv/boeviki/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ</a> ΠΡ Π½Π° Π²Π΅ΡΠ½ΠΎΠΌ ΠΏΡΡΠΈ. Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π·Π° ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅Π΅ Π²ΡΠ΅ΠΌΡ Π·Π°Π²ΠΎΠ΅Π²Π°Π»ΠΈ ΠΎΠ³ΡΠΎΠΌΠ½ΡΡ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΡ Π·Π° Π³ΡΠ°Π½ΠΈΡΠ°ΠΌΠΈ ΡΠ²ΠΎΠ΅ΠΉ ΡΡΡΠ°Π½Ρ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ ΠΈ Π² Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠΉ Π€Π΅Π΄Π΅ΡΠ°ΡΠΈΠΈ. Π ΡΠ΅ΠΌ ΠΆΠ΅ ΡΠ΅ΠΊΡΠ΅Ρ ΠΈΡ ΡΡΠΏΠ΅Ρ Π°? ΠΡΠ΅ΠΆΠ΄Π΅ Π²ΡΠ΅Π³ΠΎ, ΡΡΠΎ ΠΈΡΡΠΎΡΠΈΠΈ, Π½Π°ΠΏΠΎΠ»Π½Π΅Π½Π½ΡΠ΅ Π΄ΡΠ°ΠΌΠ°ΡΠΈΠ·ΠΌΠΎΠΌ ΠΈ ΡΡΡΠ°ΡΡΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠΈΠΊΠΎΠ²ΡΠ²Π°ΡΡ Π·ΡΠΈΡΠ΅Π»Ρ Ρ ΠΏΠ΅ΡΠ²ΡΡ ΠΌΠΈΠ½ΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡΠ°. ΠΠ΅ΡΠΎΠΈ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² - Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ ΠΈ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅, ΡΠ°ΡΡΠΎ ΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡΡΡ Π²ΠΏΡΡΠ°Π½Π½ΡΠΌΠΈ Π² ΡΡΡΠ΄Π½ΡΠ΅ ΠΆΠΈΠ·Π½Π΅Π½Π½ΡΠ΅ ΠΎΠ±ΡΡΠΎΡΡΠ΅Π»ΡΡΡΠ²Π°, ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ·ΡΠ²Π°ΡΡ Ρ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΠΎΡΡΠ²ΡΡΠ²ΠΈΠ΅ ΠΈ ΡΠΌΠΏΠ°ΡΠΈΡ.
Π‘ΡΠ΅Π½Π°ΡΠΈΠΈ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΡΠ°ΡΡΠΎ ΡΠ»ΠΎΠΆΠ½Ρ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΡΡΠΎΠ²Π½Π΅Π²Ρ. ΠΠ½ΠΈ ΡΠΎΠ²ΠΌΠ΅ΡΠ°ΡΡ Π² ΡΠ΅Π±Π΅ Π»ΡΠ±ΠΎΠ²Π½ΡΠ΅ ΡΠ°Π·Π±ΠΎΡΠΊΠΈ, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π΄ΡΠ°ΠΌΡ, Π½Π΅ΡΡΠ°ΡΡΡΡ ΠΈ ΠΈΠ½ΡΡΠΈΠ³ΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ. Π’Π°ΠΊΠΎΠΉ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ Π΄Π°Π΅Ρ ΡΠ΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΠΎΠΉ Π°ΡΠ΄ΠΈΡΠΎΡΠΈΠΈ, Π²Π΅Π΄Ρ Π»ΡΠ±ΠΎΠΉ Π½Π°ΠΉΠ΄Π΅Ρ Π΄Π»Ρ ΡΠ΅Π±Ρ ΡΡΠΎ-ΡΠΎ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ΡΡΠ΅Π΅.
ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΠ°ΡΡΠΎ Π·Π°Π΄Π΅Π²Π°ΡΡ Π³Π»ΡΠ±ΠΎΠΊΠΈΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΈ ΠΏΡΠΎΡΠ²ΡΡΠ΅Π½Π½ΡΠ΅ ΡΠ΅ΠΌΡ, ΠΎΡΡΡΡΠ΅ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Π΄Π»Ρ Π’ΡΡΡΠΈΠΈ, Π½ΠΎ ΠΈ Π΄Π»Ρ Π±ΠΎΠ»ΡΡΠΈΠ½ΡΡΠ²Π° Π΄ΡΡΠ³ΠΈΡ ΡΡΡΠ°Π½. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠΌ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ, Π½ΠΎ ΠΈ ΠΏΠΈΡΠ΅ΠΉ Π΄Π»Ρ ΡΠ°Π·ΠΌΡΡΠ»Π΅Π½ΠΈΠΉ. Π¨ΠΈΠΊΠ°ΡΠ½ΡΠ΅ Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠΈ, Π½Π°ΡΡΠ΄Ρ ΠΈ ΡΡΠ΅ΠΌΠΊΠΈ Π² ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΡ Π»ΠΎΠΊΠ°ΡΠΈΡΡ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡ Π²ΠΈΠ·ΡΠ°Π»ΡΠ½ΠΎΠ΅ Π½Π°ΡΠ»Π°ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π·ΡΠΈΡΠ΅Π»Ρ ΠΏΠΎΠ³ΡΡΠ·ΠΈΡΡΡΡ Π² Π½Π΅ΠΎΠ±ΡΠΊΠ½ΠΎΠ²Π΅Π½Π½ΡΠΉ ΠΌΠΈΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΎΠ½ΠΈ ΠΏΡΠΎΠΈΠ·Π²Π΅Π»ΠΈ.
ΠΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ <a href=https://turkhit.tv/kriminal/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΊΡΠΈΠΌΠΈΠ½Π°Π»</a> Π½Π° Π½Π°Ρ ΡΠ°ΠΉΡ turkhit.tv ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ. Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΡΠ΅ΡΡ ΠΈ ΡΡΠ΅Π½Π°ΡΠΈΡΡΡ Π½Π΅ Π±ΠΎΡΡΡΡ ΡΠ²ΠΎΡΠΈΡΡ Π½ΠΎΠ²ΠΎΠ΅ Ρ ΡΠΎΡΠΌΠ°ΡΠ°ΠΌΠΈ ΠΈ ΡΡΠΆΠ΅ΡΠ½ΡΠΌΠΈ Π»ΠΈΠ½ΠΈΡΠΌΠΈ, ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ ΡΠ»ΡΡΡΠ°Ρ ΡΠ²ΠΎΠΈ ΡΠ΅Ρ Π½ΠΈΠΊΠΈ Π²ΠΈΠ΄Π΅ΠΎΡΡΠ΅ΠΌΠΊΠΈ ΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ°. ΠΠΊΡΠ΅ΡΡΠΊΠΈΠΉ ΡΠΎΡΡΠ°Π² ΡΠ°ΡΡΠΎ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π² ΡΠ΅Π±Ρ ΡΡΠΊΠΈΠ΅ ΠΈ Π³Π΅Π½ΠΈΠ°Π»ΡΠ½ΡΠ΅ Π»ΠΈΡΠ½ΠΎΡΡΠΈ, ΡΠΏΠΎΡΠΎΠ±Π½ΡΠ΅ Π½Π° Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ ΠΈΠ³ΡΡ ΡΠΌΠΎΡΠΈΠΉ ΠΈ ΡΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠ±Π΅Π΄ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΠ±ΡΠ°Π·ΠΎΠ².
Π Π·Π°ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅, ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΡ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΠ²ΠΎΠ΅ΠΉ ΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡΡ ΠΏΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΡΡΠ°ΠΆΠ°ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Π½ΠΈΡ Π²ΠΎ Π²ΡΠ΅ΠΌ ΠΈΡ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠΈ. ΠΠ½ΠΈ ΠΎΡΠΊΡΡΠ²Π°ΡΡ Π΄Π²Π΅ΡΡ Π² ΠΈΠ½ΠΎΡΡΡΠ°Π½Π½ΡΠ΅ ΠΊΡΠ»ΡΡΡΡΡ ΠΈ Π΄Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄Π»Ρ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ³ΠΎΠ»ΠΎΡΠΊΠ°, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΠ°ΡΡΡΡ ΠΆΠΈΠ·Π½ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΡ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ².
Erstellt am 11/09/23 um 23:50: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;
}
}
}
?>
Turkline.tv schrieb:
Π‘ΠΌΠΎΡΡΠ΅ΡΡ Π»ΡΡΡΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΠ΅ΡΠΊΠΈΠ΅ turkline.tv
Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΠ°Π»ΠΈ ΡΠΈΡΡΡΠΌ ΠΊΡΠ»ΡΡΡΡΠ½ΡΠΌ ΡΠ°ΠΊΡΠΎΠΌ, Π·Π°ΡΠ»ΡΠΆΠΈΠ² ΠΏΡΠ±Π»ΠΈΠΊΡ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ ΡΠ²ΠΎΠΈΠΌΠΈ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΌΠΈ ΡΡΠΆΠ΅ΡΠ°ΠΌΠΈ ΠΈ ΡΡΠΊΠΈΠΌΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°ΠΆΠ°ΠΌΠΈ. ΠΡΠΈ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π°ΡΡΡΠ΅Π½Ρ Π³Π»ΡΠ±ΠΎΠΊΠΈΠΌΠΈ ΡΡΠ²ΡΡΠ²Π°ΠΌΠΈ, Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΠΌΠΈ ΠΏΠΎΠ²ΠΎΡΠΎΡΠ°ΠΌΠΈ ΠΈ ΡΠ°Π·Π½ΡΡΡΡ Π²ΡΡΠΎΠΊΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΡ. ΠΠ½ΠΈ Π΄Π°ΡΡ Π·ΡΠΈΡΠ΅Π»ΡΠΌ Π²ΠΏΠ°ΡΡΡ Π² ΠΌΠΈΡ ΠΈΡΡΠΈΠ½Π½ΠΎΠΉ ΡΡΡΠ°ΡΡΠΈ ΠΈ Π΄ΡΠ°ΠΌΡ, ΠΏΡΠΈ ΡΡΠΎΠΌ Π·Π°ΡΡΠ°Π³ΠΈΠ²Π°Ρ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΌΠΈ Π΄Π»Ρ ΡΠΈΡΠΎΠΊΠΎΠΉ Π°ΡΠ΄ΠΈΡΠΎΡΠΈΠΈ.
ΠΠΎ ΠΏΠΎΠ²ΠΎΠ΄Ρ <a href=https://turkline.tv/boeviki/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΡΠΎ ΠΡ Π½Π° Π²Π΅ΡΠ½ΠΎΠΌ ΠΏΡΡΠΈ. ΠΠ° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΡΠ°ΠΉΡΠ΅ turkline.tv ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π° ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½Π°Ρ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², Π²ΡΠ»ΠΎΠΆΠ΅Π½Π½ΡΡ Π² Π»ΡΡΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Ρ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ. ΠΠ΄Π΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅Π½ΠΈΡ Π½Π° Π²ΡΡΠΊΠΈΠΉ Π²ΠΊΡΡ - ΠΎΡ Π»ΡΠ±ΠΎΠ²Π½ΡΡ ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΉ Π΄ΠΎ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΡ ΡΡΠΈΠ»Π»Π΅ΡΠΎΠ² ΠΈ Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²ΠΎΠ². ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ΄ΠΎΠ±Π½ΠΎΠΌΡ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡΡ ΠΈ Π±ΠΎΠ»ΡΡΠΎΠΌΡ Π²ΡΠ±ΠΎΡΡ ΠΆΠ°Π½ΡΠΎΠ², Π»ΡΠ±ΠΎΠΉ Π·ΡΠΈΡΠ΅Π»Ρ ΡΠ°ΠΉΡΠ° ΡΠΌΠΎΠΆΠ΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΡΠ΅ΡΠΈΠ°Π» ΠΏΠΎ Π΄ΡΡΠ΅.
Π‘ΠΌΠΎΡΡΠ΅ΡΡ <a href=https://turkline.tv/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΡΠΊΠ°Ρ ΠΎΠ·Π²ΡΡΠΊΠ°</a> Π² Π²ΡΡΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ Ρ Π½Π°Ρ. ΠΠ΄Π΅ΡΡ ΠΈΠΌΠ΅ΡΡΡΡ Π²ΡΠ΅ ΠΆΠ°Π½ΡΡ ΠΊΠΈΠ½ΠΎ: Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, Π²ΠΎΠ΅Π½Π½ΡΠ΅, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. Π’Π°ΠΊΠΆΠ΅ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΏΠΎΠΈΡΠΊΠΎΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π²ΡΠΏΡΡΠΊΠ° ΠΈΠ»ΠΈ ΠΏΠΎ ΡΠ΅ΠΉΡΠΈΠ½Π³Ρ Π°ΠΊΡΠ΅ΡΠΎΠ². Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ Π°ΡΡΠΈΡΡΡ ΡΠ°ΠΊΠΆΠ΅ ΠΈΠΌΠ΅ΡΡ ΡΠ²ΠΎΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎΡΡΡ Π² Π²ΠΈΠ΄Π΅ ΡΠ΅ΠΉΡΠΈΠ½Π³Π°. ΠΠ°ΠΊΠΎΠΉ-ΡΠΎ Π°ΠΊΡΠ΅Ρ ΡΡΠ°Π·Ρ Π²ΡΠ΅ΠΌ Π½ΡΠ°Π²ΠΈΡΡΡ, Π° Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ·ΡΠ²Π°ΡΡ Π½Π΅Π΄ΠΎΠ±ΡΠΎΠΆΠ΅Π»Π°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡ. ΠΠ° ΡΠΊΠ°Π·Π°Π½Π½ΠΎΠΌ ΡΠ°ΠΉΡΠ΅ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ, ΠΊΡΠΎ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΠ»ΡΠ±ΠΈΠ»ΡΡ Π±ΠΎΠ»ΡΡΠ΅ΠΉ ΡΠ°ΡΡΠΈ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ.
ΠΠ΄Π½ΠΈΠΌ ΠΈΠ· Π³Π»Π°Π²Π½ΡΡ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ² turkline.tv ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡ Π±Π΅Π· ΡΠ΅ΠΊΠ»Π°ΠΌΡ, ΡΡΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π½Π΅ΠΏΡΠ΅ΡΡΠ²Π½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΏΡΠΎΡΠΌΠΎΡΡ. ΠΡΠ΅ ΡΠ΅ΡΠΈΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° 24 Π½Π° 7, ΡΡΠΎ Π΄Π°Π΅Ρ Π·ΡΠΈΡΠ΅Π»ΡΠΌ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡΡΠ³ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ Π»ΡΠ±ΠΈΠΌΡΠΌΠΈ ΠΈΡΡΠΎΡΠΈΡΠΌΠΈ Π±Π΅Π· ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ. Π’Π°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, Π½Π°Ρ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΡΡΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΌ ΡΠ΅ΡΡΡΡΠΎΠΌ Π΄Π»Ρ Π²ΡΠ΅Ρ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΉ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π΄Π»Ρ ΠΈΡΡΠΈΠ½Π½ΡΡ ΡΠ΅Π½ΠΈΡΠ΅Π»Π΅ΠΉ Π»ΡΠ±ΠΎΠ³ΠΎ ΠΆΠ°Π½ΡΠ°.
Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΠ°Π»ΠΈ ΡΠΈΡΡΡΠΌ ΠΊΡΠ»ΡΡΡΡΠ½ΡΠΌ ΡΠ°ΠΊΡΠΎΠΌ, Π·Π°ΡΠ»ΡΠΆΠΈΠ² ΠΏΡΠ±Π»ΠΈΠΊΡ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ ΡΠ²ΠΎΠΈΠΌΠΈ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΌΠΈ ΡΡΠΆΠ΅ΡΠ°ΠΌΠΈ ΠΈ ΡΡΠΊΠΈΠΌΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°ΠΆΠ°ΠΌΠΈ. ΠΡΠΈ ΡΠ΅ΡΠΈΠ°Π»Ρ Π½Π°ΡΡΡΠ΅Π½Ρ Π³Π»ΡΠ±ΠΎΠΊΠΈΠΌΠΈ ΡΡΠ²ΡΡΠ²Π°ΠΌΠΈ, Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΠΌΠΈ ΠΏΠΎΠ²ΠΎΡΠΎΡΠ°ΠΌΠΈ ΠΈ ΡΠ°Π·Π½ΡΡΡΡ Π²ΡΡΠΎΠΊΠΈΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΡ. ΠΠ½ΠΈ Π΄Π°ΡΡ Π·ΡΠΈΡΠ΅Π»ΡΠΌ Π²ΠΏΠ°ΡΡΡ Π² ΠΌΠΈΡ ΠΈΡΡΠΈΠ½Π½ΠΎΠΉ ΡΡΡΠ°ΡΡΠΈ ΠΈ Π΄ΡΠ°ΠΌΡ, ΠΏΡΠΈ ΡΡΠΎΠΌ Π·Π°ΡΡΠ°Π³ΠΈΠ²Π°Ρ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΈΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΌΠΈ Π΄Π»Ρ ΡΠΈΡΠΎΠΊΠΎΠΉ Π°ΡΠ΄ΠΈΡΠΎΡΠΈΠΈ.
ΠΠΎ ΠΏΠΎΠ²ΠΎΠ΄Ρ <a href=https://turkline.tv/boeviki/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΡΠΎ ΠΡ Π½Π° Π²Π΅ΡΠ½ΠΎΠΌ ΠΏΡΡΠΈ. ΠΠ° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΡΠ°ΠΉΡΠ΅ turkline.tv ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π° ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½Π°Ρ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², Π²ΡΠ»ΠΎΠΆΠ΅Π½Π½ΡΡ Π² Π»ΡΡΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Ρ ΡΡΡΡΠΊΠΎΠΉ ΠΎΠ·Π²ΡΡΠΊΠΎΠΉ. ΠΠ΄Π΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄Π΅Π½ΠΈΡ Π½Π° Π²ΡΡΠΊΠΈΠΉ Π²ΠΊΡΡ - ΠΎΡ Π»ΡΠ±ΠΎΠ²Π½ΡΡ ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΉ Π΄ΠΎ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΡ ΡΡΠΈΠ»Π»Π΅ΡΠΎΠ² ΠΈ Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²ΠΎΠ². ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ΄ΠΎΠ±Π½ΠΎΠΌΡ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡΡ ΠΈ Π±ΠΎΠ»ΡΡΠΎΠΌΡ Π²ΡΠ±ΠΎΡΡ ΠΆΠ°Π½ΡΠΎΠ², Π»ΡΠ±ΠΎΠΉ Π·ΡΠΈΡΠ΅Π»Ρ ΡΠ°ΠΉΡΠ° ΡΠΌΠΎΠΆΠ΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΡΠ΅ΡΠΈΠ°Π» ΠΏΠΎ Π΄ΡΡΠ΅.
Π‘ΠΌΠΎΡΡΠ΅ΡΡ <a href=https://turkline.tv/>ΡΡΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΡΠΊΠ°Ρ ΠΎΠ·Π²ΡΡΠΊΠ°</a> Π² Π²ΡΡΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ Ρ Π½Π°Ρ. ΠΠ΄Π΅ΡΡ ΠΈΠΌΠ΅ΡΡΡΡ Π²ΡΠ΅ ΠΆΠ°Π½ΡΡ ΠΊΠΈΠ½ΠΎ: Π±ΠΎΠ΅Π²ΠΈΠΊΠΈ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, Π²ΠΎΠ΅Π½Π½ΡΠ΅, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅, ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅. Π’Π°ΠΊΠΆΠ΅ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΏΠΎΠΈΡΠΊΠΎΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π²ΡΠΏΡΡΠΊΠ° ΠΈΠ»ΠΈ ΠΏΠΎ ΡΠ΅ΠΉΡΠΈΠ½Π³Ρ Π°ΠΊΡΠ΅ΡΠΎΠ². Π’ΡΡΠ΅ΡΠΊΠΈΠ΅ Π°ΡΡΠΈΡΡΡ ΡΠ°ΠΊΠΆΠ΅ ΠΈΠΌΠ΅ΡΡ ΡΠ²ΠΎΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎΡΡΡ Π² Π²ΠΈΠ΄Π΅ ΡΠ΅ΠΉΡΠΈΠ½Π³Π°. ΠΠ°ΠΊΠΎΠΉ-ΡΠΎ Π°ΠΊΡΠ΅Ρ ΡΡΠ°Π·Ρ Π²ΡΠ΅ΠΌ Π½ΡΠ°Π²ΠΈΡΡΡ, Π° Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ Π²ΡΠ·ΡΠ²Π°ΡΡ Π½Π΅Π΄ΠΎΠ±ΡΠΎΠΆΠ΅Π»Π°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡ. ΠΠ° ΡΠΊΠ°Π·Π°Π½Π½ΠΎΠΌ ΡΠ°ΠΉΡΠ΅ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ, ΠΊΡΠΎ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΠ»ΡΠ±ΠΈΠ»ΡΡ Π±ΠΎΠ»ΡΡΠ΅ΠΉ ΡΠ°ΡΡΠΈ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ.
ΠΠ΄Π½ΠΈΠΌ ΠΈΠ· Π³Π»Π°Π²Π½ΡΡ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ² turkline.tv ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΡΠΎΡΠΌΠΎΡΡ Π±Π΅Π· ΡΠ΅ΠΊΠ»Π°ΠΌΡ, ΡΡΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π½Π΅ΠΏΡΠ΅ΡΡΠ²Π½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΏΡΠΎΡΠΌΠΎΡΡ. ΠΡΠ΅ ΡΠ΅ΡΠΈΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π΄Π»Ρ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° 24 Π½Π° 7, ΡΡΠΎ Π΄Π°Π΅Ρ Π·ΡΠΈΡΠ΅Π»ΡΠΌ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡΡΠ³ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ Π»ΡΠ±ΠΈΠΌΡΠΌΠΈ ΠΈΡΡΠΎΡΠΈΡΠΌΠΈ Π±Π΅Π· ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ. Π’Π°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, Π½Π°Ρ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΡΡΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΌ ΡΠ΅ΡΡΡΡΠΎΠΌ Π΄Π»Ρ Π²ΡΠ΅Ρ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΡΡΡΠ΅ΡΠΊΠΈΡ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΉ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π΄Π»Ρ ΠΈΡΡΠΈΠ½Π½ΡΡ ΡΠ΅Π½ΠΈΡΠ΅Π»Π΅ΠΉ Π»ΡΠ±ΠΎΠ³ΠΎ ΠΆΠ°Π½ΡΠ°.
Erstellt am 11/10/23 um 10:33: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;
}
}
}
?>
Davidtok schrieb:
Π Π½Π°ΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°ΡΠΊΠ΅ΡΠΈΠ½Π³ Π½Π°Π±ΠΈΡΠ°Π΅Ρ ΠΎΠ±ΠΎΡΠΎΡΡ, ΠΈ ΠΎΡΠΎΠ±ΠΎΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΡΡΠΎΠΈΡ ΡΠ΄Π΅Π»ΠΈΡΡ <a href=https://www.umseo.ru/>ΡΠ΅ΠΎ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ° ΠΌΠΎΡΠΊΠ²Π°</a> . ΠΡΠ»ΠΈ Π²Ρ Ρ
ΠΎΡΠΈΡΠ΅, ΡΡΠΎΠ±Ρ Π²Π°Ρ ΡΠ°ΠΉΡ Π·Π°Π½ΠΈΠΌΠ°Π» Π²ΡΡΠΎΠΊΠΈΠ΅ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ Π² Π―Π½Π΄Π΅ΠΊΡΠ΅, Π²Π°ΠΆΠ½ΠΎ ΠΎΠ±ΡΠ°ΡΠΈΡΡΡΡ ΠΊ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ. ΠΠ½ΠΈ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Ρ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠ΅ΠΉ, Π½ΠΎ ΠΈ Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΎΠΉ ΡΡΡΠ°ΡΠ΅Π³ΠΈΠΈ, ΠΊΠΎΡΠΎΡΠ°Ρ Π±ΡΠ΄Π΅Ρ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠ΅Π»ΡΠΌ Π²Π°ΡΠ΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°.
Erstellt am 11/10/23 um 15:07: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;
}
}
}
?>
Iers_evor schrieb:
ΠΠ°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ Π΄ΠΎΠ»Π³ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ³ΠΎ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΊΡΠΏΠΈΡΡ <a href=http://meshki-dlya-musora-z...>http://meshki-dlya-musora-zena.ru/</a>.
ΠΌΠ΅ΡΠΊΠΈ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΊΡΠΏΠΈΡΡ <a href=http://meshki-dlya-musora-z...>http://meshki-dlya-musora-zena.ru/</a>.
Erstellt am 11/10/23 um 22:42: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;
}
}
}
?>
Yton_toOl schrieb:
Π£ΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ ΠΎΡΡ
ΠΎΠ΄Ρ Ρ Π»ΡΡΡΠΈΠΌ ΠΏΠ°ΠΊΠ΅ΡΠΎΠΌ
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠ±ΠΎΡΠ° ΠΈ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=http://pakety-dlya-utilizac...>http://pakety-dlya-utilizacii-medicinskih-othodov.ru/</a>.
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠ±ΠΎΡΠ° ΠΈ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΎΡΡ ΠΎΠ΄ΠΎΠ² <a href=http://pakety-dlya-utilizac...>http://pakety-dlya-utilizacii-medicinskih-othodov.ru/</a>.
Erstellt am 11/11/23 um 16:35: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;
}
}
}
?>
Marci_dgOa schrieb:
Π£ΡΠΏΠ΅ΠΉΡΠ΅ ΠΊΡΠΏΠΈΡΡ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΡΠΈΠ½ ΠΎΠΏΡΠΎΠΌ ΠΏΠΎ Π½ΠΈΠ·ΠΊΠΎΠΉ ΡΠ΅Π½Π΅!
ΠΏΠ°ΠΊΠ΅Ρ Π΄Π»Ρ ΡΠΈΠ½ <a href=http://pakety-dlya-shin-opt...>http://pakety-dlya-shin-optom.ru/</a>.
ΠΏΠ°ΠΊΠ΅Ρ Π΄Π»Ρ ΡΠΈΠ½ <a href=http://pakety-dlya-shin-opt...>http://pakety-dlya-shin-optom.ru/</a>.
Erstellt am 11/11/23 um 20: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;
}
}
}
?>
Marci_frpn schrieb:
ΠΠ»Π°ΡΡΠΈΡΠ½ΡΠ΅ Π±Π°Ρ
ΠΈΠ»Ρ Π΄Π»Ρ ΡΠ΅Π»Π°ΠΊΡΠ°ΡΠΈΠΈ
ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ Π±Π°Ρ ΠΈΠ»Ρ <a href=http://bahily-optomm.ru/>http://bahily-optomm.ru/</a>.
ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠ΅ Π±Π°Ρ ΠΈΠ»Ρ <a href=http://bahily-optomm.ru/>http://bahily-optomm.ru/</a>.
Erstellt am 11/11/23 um 20: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;
}
}
}
?>
Veat_ucEa schrieb:
ΠΠ½Π½ΠΎΠ²Π°ΡΠΈΠΎΠ½Π½ΡΠΉ ΡΡΠΈΠ»Ρ
ΠΎΠ΄Π½ΠΎΡΠ°Π·ΠΎΠ²Π°Ρ ΡΠΊΠ°ΡΠ΅ΡΡΡ ΡΠ΅Π½Π° <a href=http://www.skaterti-odnoraz...>http://www.skaterti-odnorazovye.ru</a>.
ΠΎΠ΄Π½ΠΎΡΠ°Π·ΠΎΠ²Π°Ρ ΡΠΊΠ°ΡΠ΅ΡΡΡ ΡΠ΅Π½Π° <a href=http://www.skaterti-odnoraz...>http://www.skaterti-odnorazovye.ru</a>.
Erstellt am 11/12/23 um 17:07: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;
}
}
}
?>
solargy.ru schrieb:
Π‘Π²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ Π΄Π»Ρ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ ΡΠ²Π»ΡΡΡΡΡ ΠΏΡΠΎΠ³ΡΠ΅ΡΡΠΈΠ²Π½ΡΠΌ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ΠΌ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠΉ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ²Π΅ΡΠ°. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Solargy ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠΎΠ·Π΄Π°Π½ΠΈΠΈ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄ΠΎΠ² Π²ΡΡΠΎΠΊΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°, ΡΡΠΎ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎ ΠΎΠΏΠΈΡΠ°Π½ΠΎ Π½Π° ΡΡΡΠ°Π½ΠΈΡΠ΅ <a href=https://solargy.ru/>ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ Π΄Π»Ρ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ</a>.
ΠΡΠΈ ΡΡΡΡΠΎΠΉΡΡΠ²Π° ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΠΏΠ΅ΡΠ΅Π½Π°ΠΏΡΠ°Π²Π»ΡΡΡ ΡΠΎΠ»Π½Π΅ΡΠ½ΡΠΉ ΡΠ²Π΅Ρ Ρ ΠΊΡΡΡΠΈ Π·Π΄Π°Π½ΠΈΡ Π² Π΅Π³ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠ΅ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π·Π΅ΡΠΊΠ°Π»ΡΠ½ΡΡ ΡΡΡΠ±, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ ΡΠ°Π²Π½ΠΎΠΌΠ΅ΡΠ½ΠΎΠ΅ ΡΠ°ΡΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ ΡΠ²Π΅ΡΠ° Π΄Π°ΠΆΠ΅ Π² ΡΠ΅Ρ ΠΌΠ΅ΡΡΠ°Ρ , Π³Π΄Π΅ Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΎΠ±ΡΡΠ½ΠΎ Π½Π΅Π΄ΠΎΡΡΡΠΏΠ½ΠΎ. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ ΠΎΡ Solargy ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ Π·Π΄Π°Π½ΠΈΠΉ, Π½ΡΠΆΠ΄Π°ΡΡΠΈΡ ΡΡ Π² Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΌ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠΈ, ΡΠ°ΠΊΠΈΡ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π²Π°Π»Ρ ΠΈΠ»ΠΈ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠ΅ ΠΊΠΎΠΌΠ½Π°ΡΡ Π±Π΅Π· ΠΎΠΊΠΎΠ½.
ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° <a href=https://solargy.ru/>ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄ΠΎΠ² Π΄Π»Ρ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ</a> Π²ΠΊΠ»ΡΡΠ°ΡΡ Π² ΡΠ΅Π±Ρ ΠΈΡ ΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡ ΡΠ½ΠΈΠΆΠ°ΡΡ ΠΏΠΎΡΡΠ΅Π±Π»Π΅Π½ΠΈΠ΅ ΡΠ»Π΅ΠΊΡΡΠΎΡΠ½Π΅ΡΠ³ΠΈΠΈ ΠΈ ΡΠ»ΡΡΡΠ°ΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ Π²ΠΎΠ·Π΄ΡΡ Π° Π·Π° ΡΡΠ΅Ρ ΡΠΌΠ΅Π½ΡΡΠ΅Π½ΠΈΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ. ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ²Π΅Ρ, ΠΏΠΎΡΡΡΠΏΠ°ΡΡΠΈΠΉ ΡΠ΅ΡΠ΅Π· ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ, ΡΠΎΠ·Π΄Π°Π΅Ρ Π±ΠΎΠ»Π΅Π΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΡ ΠΈ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΡΠ΅Π΄Ρ Π΄Π»Ρ ΠΆΠΈΠ»ΡΡΠΎΠ² ΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠΎΠ².
ΠΡΠΎΠ΄ΡΠΊΡΠΈΡ Solargy ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠΎΠ΅ΠΊΡΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°Π½Ρ ΠΏΠΎΠ΄ ΡΠΏΠ΅ΡΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π°ΡΡ ΠΈΡΠ΅ΠΊΡΡΡΠ½ΡΠ΅ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ Solargy Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌ, Π½ΠΎ ΠΈ ΡΡΡΠ΅ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ΠΌ Π΄Π»Ρ ΡΠΈΡΠΎΠΊΠΎΠ³ΠΎ ΡΠΏΠ΅ΠΊΡΡΠ° Π·Π΄Π°Π½ΠΈΠΉ.
ΠΡΠΈ ΡΡΡΡΠΎΠΉΡΡΠ²Π° ΡΠΏΠΎΡΠΎΠ±Π½Ρ ΠΏΠ΅ΡΠ΅Π½Π°ΠΏΡΠ°Π²Π»ΡΡΡ ΡΠΎΠ»Π½Π΅ΡΠ½ΡΠΉ ΡΠ²Π΅Ρ Ρ ΠΊΡΡΡΠΈ Π·Π΄Π°Π½ΠΈΡ Π² Π΅Π³ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠ΅ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π·Π΅ΡΠΊΠ°Π»ΡΠ½ΡΡ ΡΡΡΠ±, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ ΡΠ°Π²Π½ΠΎΠΌΠ΅ΡΠ½ΠΎΠ΅ ΡΠ°ΡΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ ΡΠ²Π΅ΡΠ° Π΄Π°ΠΆΠ΅ Π² ΡΠ΅Ρ ΠΌΠ΅ΡΡΠ°Ρ , Π³Π΄Π΅ Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΎΠ±ΡΡΠ½ΠΎ Π½Π΅Π΄ΠΎΡΡΡΠΏΠ½ΠΎ. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ ΠΎΡ Solargy ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ Π·Π΄Π°Π½ΠΈΠΉ, Π½ΡΠΆΠ΄Π°ΡΡΠΈΡ ΡΡ Π² Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΌ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠΈ, ΡΠ°ΠΊΠΈΡ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π²Π°Π»Ρ ΠΈΠ»ΠΈ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠ΅ ΠΊΠΎΠΌΠ½Π°ΡΡ Π±Π΅Π· ΠΎΠΊΠΎΠ½.
ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° <a href=https://solargy.ru/>ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄ΠΎΠ² Π΄Π»Ρ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ</a> Π²ΠΊΠ»ΡΡΠ°ΡΡ Π² ΡΠ΅Π±Ρ ΠΈΡ ΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡ ΡΠ½ΠΈΠΆΠ°ΡΡ ΠΏΠΎΡΡΠ΅Π±Π»Π΅Π½ΠΈΠ΅ ΡΠ»Π΅ΠΊΡΡΠΎΡΠ½Π΅ΡΠ³ΠΈΠΈ ΠΈ ΡΠ»ΡΡΡΠ°ΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ Π²Π½ΡΡΡΠ΅Π½Π½Π΅Π³ΠΎ Π²ΠΎΠ·Π΄ΡΡ Π° Π·Π° ΡΡΠ΅Ρ ΡΠΌΠ΅Π½ΡΡΠ΅Π½ΠΈΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΡ. ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ²Π΅Ρ, ΠΏΠΎΡΡΡΠΏΠ°ΡΡΠΈΠΉ ΡΠ΅ΡΠ΅Π· ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ, ΡΠΎΠ·Π΄Π°Π΅Ρ Π±ΠΎΠ»Π΅Π΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΡ ΠΈ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΡΠ΅Π΄Ρ Π΄Π»Ρ ΠΆΠΈΠ»ΡΡΠΎΠ² ΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠΎΠ².
ΠΡΠΎΠ΄ΡΠΊΡΠΈΡ Solargy ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΡΠΎΠ΅ΠΊΡΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°Π½Ρ ΠΏΠΎΠ΄ ΡΠΏΠ΅ΡΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π°ΡΡ ΠΈΡΠ΅ΠΊΡΡΡΠ½ΡΠ΅ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ. ΠΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠ΄Ρ Solargy Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌ, Π½ΠΎ ΠΈ ΡΡΡΠ΅ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ΠΌ Π΄Π»Ρ ΡΠΈΡΠΎΠΊΠΎΠ³ΠΎ ΡΠΏΠ΅ΠΊΡΡΠ° Π·Π΄Π°Π½ΠΈΠΉ.
Erstellt am 11/14/23 um 03:04: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;
}
}
}
?>
Mirzaimfor schrieb:
Π ΡΠΈΡΡΠ°ΡΠΈΠΈ, ΠΊΠΎΠ³Π΄Π° ΡΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ½Ρ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ β <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΡΡ ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ·ΡΡΡ ΠΊΡΠ΅Π΄ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΠ΅ΠΏΠ΅ΡΡ ΡΡΠ°Π»ΠΎ ΠΏΡΠΎΡΠ΅, ΡΠ΅ΠΌ ΠΊΠΎΠ³Π΄Π°-Π»ΠΈΠ±ΠΎ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠΈΡΠΎΠΊΠΎΠΌΡ Π²ΡΠ±ΠΎΡΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΎΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΠ€Π, Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡΠ΅Π΅ Π²Π°ΡΠΈΠΌ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΡΠΌ, Π±Π΅Π· Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΠΏΡΠΎΡΠ΅Π΄ΡΡ ΠΏΡΠΎΠ²Π΅ΡΠΊΠΈ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ.
ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, Π΅ΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½Ρ Π΄Π΅Π½ΡΠ³ΠΈ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ, ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ Π·Π°Π½ΡΡΡ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΡΠΎΡΠ½ΠΎ β ΡΡΠΎ Π±ΡΡΡΡΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΡΠΌΠΌΡ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠΎΡΠΌΠ°Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ ΠΈΠ½ΠΎΠ³Π΄Π° Π±ΡΠ²Π°Π΅Ρ Π²Π°ΠΆΠ½ΠΎ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΠ°ΠΊ, ΡΡΠΎΠ±Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π²Π°ΠΌ ΡΡΠ΅Π΄ΡΡΠ²Π° Π² ΡΠ°ΠΌΡΠ΅ ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ.
ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, Π΅ΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½Ρ Π΄Π΅Π½ΡΠ³ΠΈ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ, ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ Π·Π°Π½ΡΡΡ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΡΠΎΡΠ½ΠΎ β ΡΡΠΎ Π±ΡΡΡΡΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΡΠΌΠΌΡ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠΎΡΠΌΠ°Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ ΠΈΠ½ΠΎΠ³Π΄Π° Π±ΡΠ²Π°Π΅Ρ Π²Π°ΠΆΠ½ΠΎ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΠ°ΠΊ, ΡΡΠΎΠ±Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π²Π°ΠΌ ΡΡΠ΅Π΄ΡΡΠ²Π° Π² ΡΠ°ΠΌΡΠ΅ ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ.
Erstellt am 11/14/23 um 23:40: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;
}
}
}
?>
MirZaimov schrieb:
Π Π½Π°ΡΠ΅ΠΌ Π±ΡΡΡΡΠΎΠΌ ΠΈ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ½ΠΎΠΌ ΠΌΠΈΡΠ΅ ΠΈΠ½ΠΎΠ³Π΄Π° Π²ΠΎΠ·Π½ΠΈΠΊΠ°Π΅Ρ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΡ Π² ΡΡΠΎΡΠ½ΡΡ
ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΡΡ
. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π²Π°ΠΌ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ: <a href=https://xn----8sbgsdjqfso.x...>ΡΠΏΠΈΡΠΎΠΊ Π·Π°ΠΉΠΌΠΎΠ² Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΡΡ ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ Π±ΡΡΡΡΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΡΠΌΠΌΡ, ΠΊΠΎΠ³Π΄Π° ΠΊΠ°ΠΆΠ΄Π°Ρ ΠΌΠΈΠ½ΡΡΠ° Π½Π° ΡΡΠ΅ΡΡ. ΠΠ΅Π· Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ ΠΈ Π±ΡΠΌΠ°ΠΆΠ½ΠΎΠΉ Π²ΠΎΠ»ΠΎΠΊΠΈΡΡ, Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π²Π°ΠΌ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π° Π² ΡΠ°ΠΌΡΠ΅ ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . Π‘ΡΠΎΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π΄ΠΎΡΡΡΠΏΠ΅Π½ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠ΅Π΄ΡΡΠ² Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π½Ρ ΠΈ Π½ΠΎΡΠΈ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ Π±ΡΡΡΡΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ Π΄Π΅Π½ΡΠ³Π°ΠΌ Π² ΡΠΊΡΡΡΠ΅Π½Π½ΡΡ ΡΠΈΡΡΠ°ΡΠΈΡΡ , ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . Π‘ΡΠΎΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π΄ΠΎΡΡΡΠΏΠ΅Π½ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠ΅Π΄ΡΡΠ² Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π½Ρ ΠΈ Π½ΠΎΡΠΈ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ Π±ΡΡΡΡΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ Π΄Π΅Π½ΡΠ³Π°ΠΌ Π² ΡΠΊΡΡΡΠ΅Π½Π½ΡΡ ΡΠΈΡΡΠ°ΡΠΈΡΡ , ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°.
Erstellt am 11/15/23 um 18:29: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;
}
}
}
?>
Fotosessiy_cpPt schrieb:
ΠΠ°Ρ
Π²Π°ΡΠΈΡΠ΅ Π»ΡΡΡΠΈΠ΅ ΠΌΠΎΠΌΠ΅Π½ΡΡ Π²Π°ΡΠ΅ΠΉ ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΠΈ Π² ΠΠΎΡΠΊΠ²Π΅
ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΡ Π² ΠΌΠΎΡΠΊΠ²Π΅ ΡΠ΅Π½Π° <a href=https://karulini.ru/>https://karulini.ru/</a>.
ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΡ Π² ΠΌΠΎΡΠΊΠ²Π΅ ΡΠ΅Π½Π° <a href=https://karulini.ru/>https://karulini.ru/</a>.
Erstellt am 11/16/23 um 08:22: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;
}
}
}
?>
Selan_orSl schrieb:
ΠΠΏΡΠΎΠΌ Π³ΡΠ±ΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΡΡ ΠΏΠΎΡΡΠ΄Ρ ΠΎΡ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ
Π³ΡΠ±ΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΡΡ ΠΊΡΠΏΠΈΡΡ <a href=http://gubki-dlya-mytya-pos...>http://gubki-dlya-mytya-posudy-opt.ru/</a>.
Π³ΡΠ±ΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΡΡ ΠΊΡΠΏΠΈΡΡ <a href=http://gubki-dlya-mytya-pos...>http://gubki-dlya-mytya-posudy-opt.ru/</a>.
Erstellt am 11/16/23 um 08:33: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;
}
}
}
?>
SKOTCh_fgKt schrieb:
ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΡΠΊΠΎΡΡΠ° ΠΎΠΏΡΠΎΠΌ <a href=http://skotch-optom-1.ru/>http://skotch-optom-1.ru/</a>.
Erstellt am 11/16/23 um 12: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;
}
}
}
?>
Fotosessi_rrkt schrieb:
Π€ΠΎΡΠΎΡΠ΅ΡΡΠΈΡ Π² ΡΡΡΠ΄ΠΈΠΈ - Π΄Π°ΡΡΠΉΡΠ΅ ΡΠ΅Π±Π΅ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠ΅ ΠΌΠΎΠΌΠ΅Π½ΡΡ!
ΠΌΠ°ΠΊΠΈΡΠΆ Π΄Π»Ρ ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΠΈ Π² ΡΡΡΠ΄ΠΈΠΈ <a href=https://foto-sk.ru>https://foto-sk.ru</a>.
ΠΌΠ°ΠΊΠΈΡΠΆ Π΄Π»Ρ ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΠΈ Π² ΡΡΡΠ΄ΠΈΠΈ <a href=https://foto-sk.ru>https://foto-sk.ru</a>.
Erstellt am 11/16/23 um 12:19: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;
}
}
}
?>
ΠΠ°Π½Π½Π΅Ρ-ΠΠΎΡΠΊΠ²Π°.Π Π€ schrieb:
Π£Ρ ΠΏΠ΅ΡΠ°ΡΡ Π½Π° ΡΠ°ΠΌΠΎΠΊΠ»Π΅ΡΡΠ΅ΠΉΡΡ ΠΏΠ»Π΅Π½ΠΊΠ΅ Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΠ°ΠΌ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΡΠΎΠΌΡΡΠ»ΡΠ΅Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠΈΡΠΎΠΊΠΎΡΠΎΡΠΌΠ°ΡΠ½ΠΎΠΉ ΠΏΠ΅ΡΠ°ΡΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ ΡΠ°Π·Π½ΡΡ Π²ΠΈΠ΄ΠΎΠ². Π Π΅ΠΊΠ»Π°ΠΌΠ½ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ, ΡΠ°Π»ΡΡΡΠ°ΡΠ°Π΄Ρ, Π±Π°Π½Π½Π΅ΡΡ, ΠΏΠ΅ΡΠ°ΡΡ Π½Π° Π±ΡΠΌΠ°Π³Π΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄ΡΡΠ³ΠΎΠ΅ ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ Π½Π° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ. ΠΠ°Ρ Π²Π΅Π± ΡΠ°ΠΉΡ ΡΠΊΠ»Π°Π΄ΡΠ²Π°Π΅ΡΡΡ ΠΈΠ· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° Π²Π°ΠΆΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ Π΄Π»Ρ Π½Π°ΡΠΈΡ Π±ΡΠ΄ΡΡΠΈΡ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ, Π½Π΅ΠΏΡΠ΅ΠΌΠ΅Π½Π½ΠΎ Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ ΠΈ ΠΎΡΠΎΡΠΌΠ»ΡΠΉΡΠ΅ Π·Π°ΡΠ²ΠΊΡ.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ/mobilnye-stendy/pop-up>ΠΏΠΎΠΏΠ°ΠΏ Π·Π°ΠΊΠ°Π·Π°ΡΡ</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΠΌΡ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. Π Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠ°ΠΌΡΠ΅ Π½Π°ΡΡΠΎΡΡΠΈΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅ΡΡ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ ΠΎΠΏΡΡ Π² ΡΡΠ΅ΡΠ΅ ΠΏΠ΅ΡΠ°ΡΠΈ. Π Π°Π·Π±ΠΈΡΠ°Π΅ΠΌ Π²ΡΡΠΊΠΈΠΉ ΡΠ»ΡΡΠ°ΠΉ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎ ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΎΠ½ΠΈ Ρ ΠΎΡΠ΅Π»ΠΈ Π½Π°ΠΉΡΠΈ. ΠΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π² ΡΠ°Π±ΠΎΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ: ΡΡΠΎ Π½ΠΎΠ²ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΏΠ»ΠΎΡΠ½ΡΠ΅ ΡΠ΅ΡΠ½ΠΈΠ»Π°, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠΎΡΠ»ΡΠΆΠ°Ρ Π΄ΠΎΠ»Π³ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΠΏΡΠΎΡΠ½ΡΠ΅ ΠΏΠ»Π΅Π½ΠΊΠΈ ΠΈ Π±Π°Π½Π½Π΅ΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ Π½Π°ΡΠΈ ΡΠ°Π±ΠΎΡΠ½ΠΈΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ Π·Π½Π°ΡΡ ΡΠ²ΠΎΡ Π΄Π΅Π»ΠΎ.
Π¦Π΅Π½Π° Π½Π° Π½Π°ΡΠΈ ΡΡΠ»ΡΠ³ΠΈ Π²Π΅ΡΡΠΌΠ° Π²ΡΠ³ΠΎΠ΄Π½Π°Ρ ΠΈ Π½Π΅ ΠΏΡΠ΅ΡΠ²Π΅Π»ΠΈΡΠ΅Π½Π°. Π ΡΡΠΎ ΠΎΡΡΠΎΠ³ΠΎ, ΡΡΠΎ Ρ Π½Π°Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ ΡΠΎΡΠΌΠ°ΡΠΎΠ² Π΄Π»Ρ Π»ΡΠ±ΡΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ². ΠΡ Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Ρ ΡΠ°Π·Π½ΡΠΌΠΈ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ°ΠΌΠΈ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ Π·Π°Π³ΡΠ°Π½ΠΈΡΠ½ΡΠΌΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π»ΡΡΡΠ΅Π΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. Π Π΅ΡΠ΅ ΠΌΡ Π³ΠΎΡΠ΄ΠΈΠΌΡΡ, ΡΡΠΎ ΡΡΠ΅Π΄Π½ΠΈΠΉ ΡΡΠΎΠΊ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΠΠ°ΡΠ΅Π³ΠΎ Π·Π°ΠΊΠ°Π·Π° ΠΎΠ±ΡΡΠ½ΠΎ ΡΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π΅ Π±ΠΎΠ»Π΅Π΅ 2-Ρ Π΄Π½Π΅ΠΉ. Π’Π°ΠΊΠΆΠ΅ ΡΡΡΠ΅ΡΡΠ²ΡΠ΅Ρ ΡΠΈΡΡΠ΅ΠΌΠ° ΡΠΊΠΈΠ΄ΠΎΠΊ, ΠΊΠΎΡΠΎΡΠ°Ρ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ ΠΎΠ±ΡΠ΅ΠΌΠ° Π²Π°ΡΠ΅Π³ΠΎ Π·Π°ΠΊΠ°Π·Π°.
ΠΡΠΎΡΠΌΠΈΡΡ Π·Π°ΠΊΠ°Π· Π½Π° <a href=https://Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ/pechat-bannerov>Π·Π°ΠΊΠ°Π·Π°ΡΡ Π±Π°Π½Π½Π΅Ρ Π² ΠΌΠΎΡΠΊΠ²Π΅ Π΄Π΅ΡΠ΅Π²ΠΎ</a> ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ, ΠΌΠΎΠΆΠ½ΠΎ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅. ΠΡΠΎΡΠΌΠ»ΡΠΉΡΠ΅ Π·Π°ΡΠ²ΠΊΡ Π½Π° ΠΏΠ΅ΡΠ°ΡΡ, ΡΠΊΠ°Π·Π°Π² ΡΠ²ΠΎΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΈ ΠΌΡ ΡΡΠ°Π·Ρ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΠΌ ΠΠ°ΠΌ. ΠΠ΄ΠΎΠ±Π°Π²ΠΎΠΊ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΠΌΠΈΠΌ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΡ ΠΏΠΎ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΠΎΠΌΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ +7(499)390-19-73 ΠΈΠ»ΠΈ Π½Π°ΠΏΠΈΡΠ°ΡΡ Π½Π° Π½Π°Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΠΏΠ»Π°ΡΠ° Π·Π°ΠΊΠ°Π·Π° ΠΏΡΠΎΠΈΡΡ ΠΎΠ΄ΠΈΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ Π΄Π»Ρ ΠΠ°Ρ ΠΌΠ΅ΡΠΎΠ΄ΠΎΠΌ. ΠΠ°Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: Π³. ΠΠΎΡΠΊΠ²Π°, ΠΠ°Π³ΠΎΡΠ½ΡΠΉ ΠΏΡΠΎΠ΅Π·Π΄, Π΄. 7, ΡΡΡ.1. ΠΡΠ΅ΠΌΡ ΡΠ°Π±ΠΎΡΡ ΠΏΠΎΠ½Π΅Π΄Π΅Π»ΡΠ½ΠΈΠΊ-ΠΏΡΡΠ½ΠΈΡΠ° Ρ 10:00 Π΄ΠΎ 18:00. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅, ΠΏΡΠΈΠ΅Π·ΠΆΠ°ΠΉΡΠ΅ ΠΈ ΠΌΡ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΡΠΎΡΠ²ΠΎΡΠΈΠΌ Π΄Π»Ρ ΠΠ°Ρ Π»ΡΡΡΠΈΠΉ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΠΉ Π±Π°Π½Π½Π΅Ρ.
Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΠ°ΠΌ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΡΠΎΠΌΡΡΠ»ΡΠ΅Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠΈΡΠΎΠΊΠΎΡΠΎΡΠΌΠ°ΡΠ½ΠΎΠΉ ΠΏΠ΅ΡΠ°ΡΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ ΡΠ°Π·Π½ΡΡ Π²ΠΈΠ΄ΠΎΠ². Π Π΅ΠΊΠ»Π°ΠΌΠ½ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ, ΡΠ°Π»ΡΡΡΠ°ΡΠ°Π΄Ρ, Π±Π°Π½Π½Π΅ΡΡ, ΠΏΠ΅ΡΠ°ΡΡ Π½Π° Π±ΡΠΌΠ°Π³Π΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄ΡΡΠ³ΠΎΠ΅ ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ Π½Π° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ ΠΏΡΡΠΌΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ. ΠΠ°Ρ Π²Π΅Π± ΡΠ°ΠΉΡ ΡΠΊΠ»Π°Π΄ΡΠ²Π°Π΅ΡΡΡ ΠΈΠ· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° Π²Π°ΠΆΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ Π΄Π»Ρ Π½Π°ΡΠΈΡ Π±ΡΠ΄ΡΡΠΈΡ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ, Π½Π΅ΠΏΡΠ΅ΠΌΠ΅Π½Π½ΠΎ Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ ΠΈ ΠΎΡΠΎΡΠΌΠ»ΡΠΉΡΠ΅ Π·Π°ΡΠ²ΠΊΡ.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ/mobilnye-stendy/pop-up>ΠΏΠΎΠΏΠ°ΠΏ Π·Π°ΠΊΠ°Π·Π°ΡΡ</a> Π² ΡΠ΅ΡΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΠΌΡ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. Π Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠ°ΠΌΡΠ΅ Π½Π°ΡΡΠΎΡΡΠΈΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠΌΠ΅ΡΡ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ ΠΎΠΏΡΡ Π² ΡΡΠ΅ΡΠ΅ ΠΏΠ΅ΡΠ°ΡΠΈ. Π Π°Π·Π±ΠΈΡΠ°Π΅ΠΌ Π²ΡΡΠΊΠΈΠΉ ΡΠ»ΡΡΠ°ΠΉ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎ ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΎΠ½ΠΈ Ρ ΠΎΡΠ΅Π»ΠΈ Π½Π°ΠΉΡΠΈ. ΠΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌ Π² ΡΠ°Π±ΠΎΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ: ΡΡΠΎ Π½ΠΎΠ²ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΏΠ»ΠΎΡΠ½ΡΠ΅ ΡΠ΅ΡΠ½ΠΈΠ»Π°, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠΎΡΠ»ΡΠΆΠ°Ρ Π΄ΠΎΠ»Π³ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΠΏΡΠΎΡΠ½ΡΠ΅ ΠΏΠ»Π΅Π½ΠΊΠΈ ΠΈ Π±Π°Π½Π½Π΅ΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ Π½Π°ΡΠΈ ΡΠ°Π±ΠΎΡΠ½ΠΈΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ Π·Π½Π°ΡΡ ΡΠ²ΠΎΡ Π΄Π΅Π»ΠΎ.
Π¦Π΅Π½Π° Π½Π° Π½Π°ΡΠΈ ΡΡΠ»ΡΠ³ΠΈ Π²Π΅ΡΡΠΌΠ° Π²ΡΠ³ΠΎΠ΄Π½Π°Ρ ΠΈ Π½Π΅ ΠΏΡΠ΅ΡΠ²Π΅Π»ΠΈΡΠ΅Π½Π°. Π ΡΡΠΎ ΠΎΡΡΠΎΠ³ΠΎ, ΡΡΠΎ Ρ Π½Π°Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ ΡΠΎΡΠΌΠ°ΡΠΎΠ² Π΄Π»Ρ Π»ΡΠ±ΡΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ². ΠΡ Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Ρ ΡΠ°Π·Π½ΡΠΌΠΈ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ°ΠΌΠΈ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ Π·Π°Π³ΡΠ°Π½ΠΈΡΠ½ΡΠΌΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π»ΡΡΡΠ΅Π΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. Π Π΅ΡΠ΅ ΠΌΡ Π³ΠΎΡΠ΄ΠΈΠΌΡΡ, ΡΡΠΎ ΡΡΠ΅Π΄Π½ΠΈΠΉ ΡΡΠΎΠΊ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΠΠ°ΡΠ΅Π³ΠΎ Π·Π°ΠΊΠ°Π·Π° ΠΎΠ±ΡΡΠ½ΠΎ ΡΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π΅ Π±ΠΎΠ»Π΅Π΅ 2-Ρ Π΄Π½Π΅ΠΉ. Π’Π°ΠΊΠΆΠ΅ ΡΡΡΠ΅ΡΡΠ²ΡΠ΅Ρ ΡΠΈΡΡΠ΅ΠΌΠ° ΡΠΊΠΈΠ΄ΠΎΠΊ, ΠΊΠΎΡΠΎΡΠ°Ρ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ ΠΎΠ±ΡΠ΅ΠΌΠ° Π²Π°ΡΠ΅Π³ΠΎ Π·Π°ΠΊΠ°Π·Π°.
ΠΡΠΎΡΠΌΠΈΡΡ Π·Π°ΠΊΠ°Π· Π½Π° <a href=https://Π±Π°Π½Π½Π΅Ρ-ΠΌΠΎΡΠΊΠ²Π°.ΡΡ/pechat-bannerov>Π·Π°ΠΊΠ°Π·Π°ΡΡ Π±Π°Π½Π½Π΅Ρ Π² ΠΌΠΎΡΠΊΠ²Π΅ Π΄Π΅ΡΠ΅Π²ΠΎ</a> ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ, ΠΌΠΎΠΆΠ½ΠΎ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅. ΠΡΠΎΡΠΌΠ»ΡΠΉΡΠ΅ Π·Π°ΡΠ²ΠΊΡ Π½Π° ΠΏΠ΅ΡΠ°ΡΡ, ΡΠΊΠ°Π·Π°Π² ΡΠ²ΠΎΠΈ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΈ ΠΌΡ ΡΡΠ°Π·Ρ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΠΌ ΠΠ°ΠΌ. ΠΠ΄ΠΎΠ±Π°Π²ΠΎΠΊ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΠΌΠΈΠΌ ΠΏΠΎΠ·Π²ΠΎΠ½ΠΈΡΡ ΠΏΠΎ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΠΎΠΌΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ +7(499)390-19-73 ΠΈΠ»ΠΈ Π½Π°ΠΏΠΈΡΠ°ΡΡ Π½Π° Π½Π°Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΠΏΠ»Π°ΡΠ° Π·Π°ΠΊΠ°Π·Π° ΠΏΡΠΎΠΈΡΡ ΠΎΠ΄ΠΈΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ Π΄Π»Ρ ΠΠ°Ρ ΠΌΠ΅ΡΠΎΠ΄ΠΎΠΌ. ΠΠ°Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ: Π³. ΠΠΎΡΠΊΠ²Π°, ΠΠ°Π³ΠΎΡΠ½ΡΠΉ ΠΏΡΠΎΠ΅Π·Π΄, Π΄. 7, ΡΡΡ.1. ΠΡΠ΅ΠΌΡ ΡΠ°Π±ΠΎΡΡ ΠΏΠΎΠ½Π΅Π΄Π΅Π»ΡΠ½ΠΈΠΊ-ΠΏΡΡΠ½ΠΈΡΠ° Ρ 10:00 Π΄ΠΎ 18:00. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅, ΠΏΡΠΈΠ΅Π·ΠΆΠ°ΠΉΡΠ΅ ΠΈ ΠΌΡ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΡΠΎΡΠ²ΠΎΡΠΈΠΌ Π΄Π»Ρ ΠΠ°Ρ Π»ΡΡΡΠΈΠΉ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΠΉ Π±Π°Π½Π½Π΅Ρ.
Erstellt am 11/16/23 um 14:59: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;
}
}
}
?>
ZaimovMir schrieb:
Π‘ΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ΄Π°ΡΡΠΈΠΌΡΡ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΡΡΡ ΠΎΡΠ»ΠΈΡΠ½Π°Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ β <a href=https://xn----8sbgsdjqfso.x...>ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ·ΡΡΡ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΠ΅ΠΏΠ΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. ΠΡΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΠΌΠΈ ΡΠ°ΡΡ
ΠΎΠ΄Π°ΠΌΠΈ ΠΈΠ»ΠΈ ΠΊΡΠ°ΡΠΊΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΌΠΈ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ. ΠΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ ΠΏΡΠΎΡΡΠΎΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠ° ΠΈ Π±ΡΡΡΡΠΎΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅, ΡΡΠΎΠ±Ρ Π²Ρ ΠΌΠΎΠ³Π»ΠΈ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΡΠ°ΡΠΏΠΎΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌΠΈ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΡΡ ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΡΡ ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Erstellt am 11/16/23 um 15:15: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;
}
}
}
?>
MirZaimov schrieb:
ΠΡΠ΅ΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ Π·Π°ΠΉΠΌΠΎΠ²? ΠΠ° ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·ΠΎΠ²</a> , Π²ΠΊΠ»ΡΡΠ°ΡΡΠΈΠΉ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΎΡ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° ΠΠ€Π. ΠΡΠΈ Π·Π°ΠΉΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·ΠΎΠ², ΡΡΠΎ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΏΡΠΎΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ
ΡΡΠ΅Π΄ΡΡΠ². ΠΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΡΡ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ΅ΡΠ²ΠΈΡΠ° ΡΠ²Π»ΡΠ΅ΡΡΡ Π½Π°Π»ΠΈΡΠΈΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΎΡ ΠΠ€Π, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ ΠΏΠ΅ΡΠ²ΡΠΉ Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΏΡΠΎΡΠ΅Π½ΡΠΎΠ², Π΄Π΅Π»Π°Ρ ΠΈΡ
ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Π²ΠΏΠ΅ΡΠ²ΡΠ΅ ΠΎΠ±ΡΠ°ΡΠ°Π΅ΡΡΡ Π·Π° ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎΠΉ ΠΏΠΎΠΌΠΎΡΡΡ.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ <a href=https://xn----8sbgsdjqfso.x...>Π΄Π΅Π½ΡΠ³ΠΈ ΡΡΠ°Π·Ρ Π½Π° ΠΊΠ°ΡΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> , Π½Π°Ρ ΡΠ°ΠΉΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π±ΡΡΡΡΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±. ΠΠ·ΡΡΡ ΠΊΡΠ΅Π΄ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΠΌΠΎΠΆΠ½ΠΎ, Π½Π΅ Π²ΡΡ ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ°. ΠΡ ΡΠ΅Π½ΠΈΠΌ Π²Π°ΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠΊΠΎΡΠΎΡΡΡ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ. ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ β ΡΡΠΎ Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ, Π³ΠΎΡΠΎΠ²ΡΠΉ ΠΏΠΎΠΌΠΎΡΡ Π² Π»ΡΠ±ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ <a href=https://xn----8sbgsdjqfso.x...>Π΄Π΅Π½ΡΠ³ΠΈ ΡΡΠ°Π·Ρ Π½Π° ΠΊΠ°ΡΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> , Π½Π°Ρ ΡΠ°ΠΉΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π±ΡΡΡΡΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ±. ΠΠ·ΡΡΡ ΠΊΡΠ΅Π΄ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΠΌΠΎΠΆΠ½ΠΎ, Π½Π΅ Π²ΡΡ ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ°. ΠΡ ΡΠ΅Π½ΠΈΠΌ Π²Π°ΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠΊΠΎΡΠΎΡΡΡ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ. ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ β ΡΡΠΎ Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ, Π³ΠΎΡΠΎΠ²ΡΠΉ ΠΏΠΎΠΌΠΎΡΡ Π² Π»ΡΠ±ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ.
Erstellt am 11/16/23 um 19:11: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;
}
}
}
?>
ZaimovMir schrieb:
ΠΠ°ΠΌ Π½ΡΠΆΠ½Ρ ΡΡΠ΅Π΄ΡΡΠ²Π° ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ? ΠΠ° ΠΌΠΈΡ-Π·Π°ΠΉΠΌΠΎΠ².ΡΡ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΎ, ΡΡΠΎ ΠΈΡΠ΅ΡΠ΅ β <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ Π·Π°Π½ΡΡΡ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ, ΡΡΠΎ ΡΡΠ°Π½Π΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΎΠΉ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎ ΡΠ»ΠΎΠΆΠ½ΡΡ
ΡΠΈΡΡΠ°ΡΠΈΡΡ
. ΠΡΡΡΡΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ ΠΌΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΠΎΠ΅ ΠΏΠ΅ΡΠ΅ΡΠΈΡΠ»Π΅Π½ΠΈΠ΅ ΡΡΠ΅Π΄ΡΡΠ² ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ Π½Π°ΡΠΈΠΌ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΡΠΎΡΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ°ΠΊ Π²Π°ΠΆΠ½Ρ Π² ΡΠΊΡΡΡΠ΅Π½Π½ΡΡ
ΡΠ»ΡΡΠ°ΡΡ
.
ΠΡΠ»ΠΈ Π²Π°Ρ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> , ΡΠΎ Π½Π°Ρ ΡΠ°ΠΉΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ ΠΈ Π±ΡΡΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅. ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΌΠΈΡ-Π·Π°ΠΉΠΌΠΎΠ².ΡΡ β ΡΡΠΎ Π²Π°ΡΠ° Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΠ΅ ΡΡΠ΅Π΄ΡΡΠ²Π° Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ Ρ Π»ΠΎΠΏΠΎΡ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠ½ΠΎΠ³Π΄Π° Π±ΡΡΡΡΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΡΠ²Π΅ΡΠ°ΡΡ ΡΠ°ΠΌΡΠΌ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ.
ΠΡΠ»ΠΈ Π²Π°Ρ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> , ΡΠΎ Π½Π°Ρ ΡΠ°ΠΉΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ ΠΈ Π±ΡΡΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅. ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΌΠΈΡ-Π·Π°ΠΉΠΌΠΎΠ².ΡΡ β ΡΡΠΎ Π²Π°ΡΠ° Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΠ΅ ΡΡΠ΅Π΄ΡΡΠ²Π° Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ Ρ Π»ΠΎΠΏΠΎΡ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠ½ΠΎΠ³Π΄Π° Π±ΡΡΡΡΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΡΠ²Π΅ΡΠ°ΡΡ ΡΠ°ΠΌΡΠΌ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ.
Erstellt am 11/16/23 um 19:36: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;
}
}
}
?>
ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ schrieb:
Π‘ΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ΄Π°ΡΡΠΈΠΌΡΡ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΡΡΡ ΠΎΡΠ»ΠΈΡΠ½Π°Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ β <a href=https://xn----8sbgsdjqfso.x...>Π³Π΄Π΅ Π΄Π°ΡΡ Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ·ΡΡΡ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΠ΅ΠΏΠ΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. ΠΡΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΠΌΠΈ ΡΠ°ΡΡ
ΠΎΠ΄Π°ΠΌΠΈ ΠΈΠ»ΠΈ ΠΊΡΠ°ΡΠΊΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΌΠΈ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ. ΠΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ ΠΏΡΠΎΡΡΠΎΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠ° ΠΈ Π±ΡΡΡΡΠΎΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅, ΡΡΠΎΠ±Ρ Π²Ρ ΠΌΠΎΠ³Π»ΠΈ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΡΠ°ΡΠΏΠΎΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌΠΈ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠΊΡΠ΅Π΄ΠΈΡ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠΊΡΠ΅Π΄ΠΈΡ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Erstellt am 11/17/23 um 12: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;
}
}
}
?>
Meshki_agPr schrieb:
Π Π°ΡΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° β Π½Π΅Π²Π΅ΡΠΎΡΡΠ½ΡΠ΅ Π²ΡΠ³ΠΎΠ΄Ρ
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-q.ru/</a>.
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-q.ru/</a>.
Erstellt am 11/17/23 um 20: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;
}
}
}
?>
ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ schrieb:
Π Π½Π°ΡΠ΅ΠΌ Π±ΡΡΡΡΠΎΠΌ ΠΈ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ½ΠΎΠΌ ΠΌΠΈΡΠ΅ ΠΈΠ½ΠΎΠ³Π΄Π° Π²ΠΎΠ·Π½ΠΈΠΊΠ°Π΅Ρ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΡ Π² ΡΡΠΎΡΠ½ΡΡ
ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΡΡ
. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π²Π°ΠΌ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ: <a href=https://xn----8sbgsdjqfso.x...>Π³Π΄Π΅ Π΄Π°ΡΡ Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΡΡ ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ Π±ΡΡΡΡΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΡΡΠΌΠΌΡ, ΠΊΠΎΠ³Π΄Π° ΠΊΠ°ΠΆΠ΄Π°Ρ ΠΌΠΈΠ½ΡΡΠ° Π½Π° ΡΡΠ΅ΡΡ. ΠΠ΅Π· Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ ΠΈ Π±ΡΠΌΠ°ΠΆΠ½ΠΎΠΉ Π²ΠΎΠ»ΠΎΠΊΠΈΡΡ, Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π²Π°ΠΌ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π° Π² ΡΠ°ΠΌΡΠ΅ ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΊΡΠ΅Π΄ΠΈΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a> . Π‘ΡΠΎΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π΄ΠΎΡΡΡΠΏΠ΅Π½ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠ΅Π΄ΡΡΠ² Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π½Ρ ΠΈ Π½ΠΎΡΠΈ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ Π±ΡΡΡΡΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ Π΄Π΅Π½ΡΠ³Π°ΠΌ Π² ΡΠΊΡΡΡΠ΅Π½Π½ΡΡ ΡΠΈΡΡΠ°ΡΠΈΡΡ , ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°.
ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ Π½Π΅ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎ ΡΠ΅ΡΠΈΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΊΡΠ΅Π΄ΠΈΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° ΠΊΠ°ΡΡΡ</a> . Π‘ΡΠΎΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π΄ΠΎΡΡΡΠΏΠ΅Π½ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΡΡ ΡΡΠ΅Π΄ΡΡΠ² Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π½Ρ ΠΈ Π½ΠΎΡΠΈ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π²Π°ΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ Π±ΡΡΡΡΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ Π΄Π΅Π½ΡΠ³Π°ΠΌ Π² ΡΠΊΡΡΡΠ΅Π½Π½ΡΡ ΡΠΈΡΡΠ°ΡΠΈΡΡ , ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π½Π°Ρ ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°.
Erstellt am 11/18/23 um 02:42: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;
}
}
}
?>
ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ schrieb:
Π‘ΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ΄Π°ΡΡΠΈΠΌΡΡ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΡΡΡ ΠΎΡΠ»ΠΈΡΠ½Π°Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ β <a href=https://xn----8sbgsdjqfso.x...>ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ Π²ΡΠ΅ΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ·ΡΡΡ Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΡΠ΅ΠΏΠ΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. ΠΡΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΠΌΠΈ ΡΠ°ΡΡ
ΠΎΠ΄Π°ΠΌΠΈ ΠΈΠ»ΠΈ ΠΊΡΠ°ΡΠΊΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΌΠΈ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ. ΠΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ ΠΏΡΠΎΡΡΠΎΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠ° ΠΈ Π±ΡΡΡΡΠΎΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅, ΡΡΠΎΠ±Ρ Π²Ρ ΠΌΠΎΠ³Π»ΠΈ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΡΠ°ΡΠΏΠΎΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌΠΈ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Π’Π΅ΠΌ, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΡΡΠ΅Π΄ΡΡΠ², ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³Ρ <a href=https://xn----8sbgsdjqfso.x...>ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π°</a> . ΠΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ, Π½Π΅ ΡΠ΅ΡΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° ΠΏΠΎΡ ΠΎΠ΄Ρ Π² Π±Π°Π½ΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΠ΅ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ Π½Π°ΡΠΈΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΡΠΈ ΡΡΠΎΠΌ Π½Π΅ ΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΡΠ²ΠΎΠΉ Π΄ΠΎΡ ΠΎΠ΄ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π·Π°Π»ΠΎΠ³, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ Π·Π°ΠΉΠΌΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ.
Erstellt am 11/18/23 um 05:29: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;
}
}
}
?>
ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ schrieb:
Π ΠΏΠΎΠΈΡΠΊΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΠΎΠ³ΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΡ? ΠΠ°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π²Π°ΠΌ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π²ΡΠ΅ΠΌ ΡΡΠΎΡΠ½ΠΎ</a> . Π‘ΠΏΠΈΡΠΎΠΊ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΠΎΠ² Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΎΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΠ€Π. ΠΡ ΡΠΎΠ±ΡΠ°Π»ΠΈ Π»ΡΡΡΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ, ΡΡΠΎΠ±Ρ Π²Ρ ΠΌΠΎΠ³Π»ΠΈ Π²ΡΠ±ΡΠ°ΡΡ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠ΅Π΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅, ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡΠ΅Π΅ Π²Π°ΡΠΈΠΌ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΌ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΡΠΌ. ΠΡΡΡΡΠΎ, ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ β Π²ΠΎΡ ΠΏΡΠΈΠ½ΡΠΈΠΏΡ Π½Π°ΡΠ΅Π³ΠΎ ΡΠ΅ΡΠ²ΠΈΡΠ°.
Π’Π°ΠΊΠΆΠ΅, Π΅ΡΠ»ΠΈ Π²Ρ Ρ ΠΎΡΠΈΡΠ΅ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ Π½ΠΎΠ²ΡΠ΅</a> , Π½Π°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ. ΠΡΠΎΡΠΌΠΈΡΡ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·ΠΎΠ² ΠΌΠΎΠΆΠ½ΠΎ Π·Π° ΡΡΠΈΡΠ°Π½Π½ΡΠ΅ ΠΌΠΈΠ½ΡΡΡ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎΡΡΡ ΡΠΊΠΎΡΠΎΡΡΠΈ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ Π²ΠΎΠΏΡΠΎΡΠ°Ρ Π½Π΅ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΠ΅ΡΠ΅ΠΎΡΠ΅Π½Π΅Π½Π°, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΡΡΡ ΡΠ°ΠΌΡΠ΅ ΡΡΠΎΡΠ½ΡΠ΅ Π·Π°ΠΏΡΠΎΡΡ.
Π’Π°ΠΊΠΆΠ΅, Π΅ΡΠ»ΠΈ Π²Ρ Ρ ΠΎΡΠΈΡΠ΅ <a href=https://xn----8sbgsdjqfso.x...>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΡΠΎΡΠ½ΠΎ Π±Π΅Π· ΠΎΡΠΊΠ°Π·Π° ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ Π½ΠΎΠ²ΡΠ΅</a> , Π½Π°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ. ΠΡΠΎΡΠΌΠΈΡΡ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅Π· ΠΎΡΠΊΠ°Π·ΠΎΠ² ΠΌΠΎΠΆΠ½ΠΎ Π·Π° ΡΡΠΈΡΠ°Π½Π½ΡΠ΅ ΠΌΠΈΠ½ΡΡΡ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎΡΡΡ ΡΠΊΠΎΡΠΎΡΡΠΈ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ Π² ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ Π²ΠΎΠΏΡΠΎΡΠ°Ρ Π½Π΅ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΠ΅ΡΠ΅ΠΎΡΠ΅Π½Π΅Π½Π°, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΡΠ»ΡΠ³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΡΡΡ ΡΠ°ΠΌΡΠ΅ ΡΡΠΎΡΠ½ΡΠ΅ Π·Π°ΠΏΡΠΎΡΡ.
Erstellt am 11/18/23 um 05:49: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;
}
}
}
?>
ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ schrieb:
ΠΠΈΠΊΡΠΎ Π½Π΅ Π·Π°ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ ΠΎΡ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΡ
Π°Π²Π°ΡΠΈΠΉΠ½ΡΡ
ΡΠΈΡΡΠ°ΡΠΈΠΉ. ΠΠΎΠ³Π΄Π° Ρ ΠΌΠ΅Π½Ρ ΡΠ»ΡΡΠΈΠ»Π°ΡΡ Π½Π΅ΡΡΠ°ΡΡΠ½Π°Ρ ΡΠΈΡΡΠ°ΡΠΈΡ, ΠΌΠ½Π΅ ΡΡΠΎΡΠ½ΠΎ ΠΏΠΎΠ½Π°Π΄ΠΎΠ±ΠΈΠ»ΠΈΡΡ Π΄Π΅Π½ΡΠ³ΠΈ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ°ΠΉΡΡ ΠΠΠ -ΠΠΠΠΠΠ.Π Π€, Ρ Π½Π°ΡΠ΅Π» ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΎ ΡΡΠΎΡΠ½ΡΡ
Π·Π°ΠΉΠΌΠ°Ρ
ΠΈ ΡΠΌΠΎΠ³ Π±ΡΡΡΡΠΎ ΡΠ΅ΡΠΈΡΡ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ. ΠΡΠΎΡ ΡΠ΅ΡΡΡΡ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠΌΠΎΠ³ Π² ΡΡΠΆΠ΅Π»ΡΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ.
Erstellt am 11/19/23 um 05:00: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;
}
}
}
?>
ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ schrieb:
Π― Π²ΡΠ΅Π³Π΄Π° ΠΌΠ΅ΡΡΠ°Π» ΠΎΡΠΏΡΠ°Π²ΠΈΡΡΡΡ Π² ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅, Π½ΠΎ Π΄ΠΎΠ»Π³ΠΎ ΠΎΡΠΊΠ»Π°Π΄ΡΠ²Π°Π» ΡΡΠΎ ΠΈΠ·-Π·Π° ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ
Π·Π°ΡΡΡΠ΄Π½Π΅Π½ΠΈΠΉ. ΠΠ΄Π½Π°ΠΊΠΎ, ΡΠ²ΠΈΠ΄Π΅Π² Π½Π° ΠΠΠ -ΠΠΠΠΠΠ.Π Π€ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΎ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌΠ΅, Ρ ΡΠ΅ΡΠΈΠ» ΠΎΡΡΡΠ΅ΡΡΠ²ΠΈΡΡ ΡΠ²ΠΎΡ ΠΌΠ΅ΡΡΡ. ΠΠ°ΠΉΠΌ ΠΏΠΎΠΌΠΎΠ³ ΠΌΠ½Π΅ ΠΎΠΏΠ»Π°ΡΠΈΡΡ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅, ΠΈ Ρ ΠΏΡΠΎΠ²Π΅Π» Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΠΎΠ΅ Π²ΡΠ΅ΠΌΡ.
Erstellt am 11/19/23 um 20:02: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;
}
}
}
?>
instant online payday loans schrieb:
Consider me a devotee! I'll definitely be looking out
for more of your articles in the future.
for more of your articles in the future.
Erstellt am 11/19/23 um 21:14: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;
}
}
}
?>
Kayl_ackl schrieb:
Π‘Π΄Π΅Π»Π°ΠΉΡΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° β ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΡΠΊΠΈΠ΄ΠΊΡ
Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-r...>http://meshki-dlya-musora-r.ru/</a>.
Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-r...>http://meshki-dlya-musora-r.ru/</a>.
Erstellt am 11/19/23 um 21:36: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;
}
}
}
?>
ΠΠ°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ schrieb:
ΠΠ»ΠΈΠ·ΠΈΠ»ΡΡ ΠΌΠΎΠΉ ΠΠ΅Π½Ρ Π ΠΎΠΆΠ΄Π΅Π½ΠΈΡ, ΠΈ Ρ ΡΠ΅ΡΠΈΠ» ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅Π±Π΅ ΠΏΠΎΠ΄Π°ΡΠΎΠΊ. ΠΠ΄Π½Π°ΠΊΠΎ Π½Π΅ Ρ
Π²Π°ΡΠ°Π»ΠΎ Π½Π΅Π±ΠΎΠ»ΡΡΠΎΠΉ ΡΡΠΌΠΌΡ Π΄Π΅Π½Π΅Π³. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ ΠΏΠΎΠΈΡΠΊΡ Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΠΠ -ΠΠΠΠΠΠ.Π Π€, Ρ Π½Π°ΡΠ΅Π» Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΏΠΎ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌΠ°ΠΌ Π½Π° ΠΊΠ°ΡΡΡ. ΠΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΠΈΠ»ΠΎ ΠΌΠ½Π΅ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ ΡΠ²ΠΎΡ ΠΈΠ΄Π΅Ρ Π² ΠΆΠΈΠ·Π½Ρ ΠΈ ΠΎΡΠΌΠ΅ΡΠΈΡΡ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊ ΡΠ°ΠΊ, ΠΊΠ°ΠΊ Ρ Ρ
ΠΎΡΠ΅Π».
Erstellt am 11/19/23 um 22:42: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;
}
}
}
?>
Π²ΡΠΊΡΠΏ Π°Π²ΡΠΎ Π΄Π΅Π΄ΠΎΠ²ΡΠΊ -!Π² schrieb:
Π₯ΠΎΡΠΈΡΠ΅ <a href=https://xn----8sbec6a3aezg....>ΠΏΡΠΎΠ΄Π°ΡΡ Π°Π²ΡΠΎ Π±ΡΡΡΡΠΎ ΠΈ Π΄ΠΎΡΠΎΠ³ΠΎ</a>? ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΡΠ΄Π΅Π»ΠΊΠΈ! ΠΠ°ΡΠ° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π±ΡΡΡΡΠΎΠΉ ΠΈ Π²ΡΡΠΎΠΊΠΎΠΎΠΏΠ»Π°ΡΠΈΠ²Π°Π΅ΠΌΠΎΠΉ ΠΏΡΠΎΠ΄Π°ΠΆΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ. ΠΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΌΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²Π°ΠΌ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π²ΡΠ³ΠΎΠ΄Ρ ΠΎΡ Π²Π°ΡΠ΅Π³ΠΎ Π°Π²ΡΠΎ.
Erstellt am 11/20/23 um 01: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;
}
}
}
?>
Jolenelauts schrieb:
ΠΡΠ»ΠΈΡΠ½Π°Ρ ΡΡΠ°ΡΡΡ. ΠΡΠΈΡΡΠ½ΠΎ Π±ΡΠ»ΠΎ ΠΏΡΠΎΡΠΈΡΠ°ΡΡ.
Π ΡΠ²ΠΎΡ ΠΎΡΠ΅ΡΠ΅Π΄Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΡ Π²Π°ΠΌ <a href=https://igrovye-avtomaty-va...>ΠΈΠ³ΡΠΎΠ²ΡΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΡ Π²Π°Π²Π°Π΄Π° ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ</a> - ΡΡΠΎ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΉ ΠΌΠΈΡ Π°Π·Π°ΡΡΠ½ΡΡ ΠΈΠ³Ρ. ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ Π½Π°Π±ΠΎΡ ΡΠ»ΠΎΡΠΎΠ² Ρ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌΠΈ ΡΠ΅ΠΌΠ°ΡΠΈΠΊΠ°ΠΌΠΈ ΠΈ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΌΠΈ Π±ΠΎΠ½ΡΡΠ°ΠΌΠΈ.
ΠΠ°Π²Π°Π΄Π° - ΡΡΠΎ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΊΠ°Π·ΠΈΠ½ΠΎ, ΠΊΠΎΡΠΎΡΠΎΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΈΠ³ΡΠΎΠΊΠ°ΠΌ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠ΅ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠΈΠ³ΡΠ°ΡΡ ΠΏΠΎ-Π½Π°ΡΡΠΎΡΡΠ΅ΠΌΡ ΠΊΡΡΠΏΠ½ΡΠ΅ ΠΏΡΠΈΠ·Ρ.
ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ Π²ΡΡΠΎΠΊΠΎΠΌΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Ρ Π³ΡΠ°ΡΠΈΠΊΠΈ ΠΈ Π·Π²ΡΠΊΠΎΠ²ΠΎΠ³ΠΎ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΡ, ΡΠ»ΠΎΡΡ ΠΠ°Π²Π°Π΄Π° ΠΏΠΎΠ³ΡΡΠ·ΡΡ Π²Π°Ρ Π² ΠΌΠΈΡ Π°Π·Π°ΡΡΠ° ΠΈ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ.
ΠΠ΅ ΠΈΠΌΠ΅Π΅Ρ Π·Π½Π°ΡΠ΅Π½ΠΈΡ Π²Π°Ρ ΠΎΠΏΡΡ, Π² Vavada Π²Ρ Π±Π΅Π· ΠΏΡΠΎΠ±Π»Π΅ΠΌ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΈΠ³ΡΠΎΠ²ΡΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ ΠΈΠΌΠ΅Π½Π½ΠΎ Π²Π°ΠΌ.
Π ΡΠ²ΠΎΡ ΠΎΡΠ΅ΡΠ΅Π΄Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΡ Π²Π°ΠΌ <a href=https://igrovye-avtomaty-va...>ΠΈΠ³ΡΠΎΠ²ΡΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΡ Π²Π°Π²Π°Π΄Π° ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ</a> - ΡΡΠΎ Π·Π°Ρ Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΉ ΠΌΠΈΡ Π°Π·Π°ΡΡΠ½ΡΡ ΠΈΠ³Ρ. ΠΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±ΠΎΠ»ΡΡΠΎΠΉ Π½Π°Π±ΠΎΡ ΡΠ»ΠΎΡΠΎΠ² Ρ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌΠΈ ΡΠ΅ΠΌΠ°ΡΠΈΠΊΠ°ΠΌΠΈ ΠΈ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΌΠΈ Π±ΠΎΠ½ΡΡΠ°ΠΌΠΈ.
ΠΠ°Π²Π°Π΄Π° - ΡΡΠΎ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΊΠ°Π·ΠΈΠ½ΠΎ, ΠΊΠΎΡΠΎΡΠΎΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΈΠ³ΡΠΎΠΊΠ°ΠΌ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠ΅ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠΈΠ³ΡΠ°ΡΡ ΠΏΠΎ-Π½Π°ΡΡΠΎΡΡΠ΅ΠΌΡ ΠΊΡΡΠΏΠ½ΡΠ΅ ΠΏΡΠΈΠ·Ρ.
ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ Π²ΡΡΠΎΠΊΠΎΠΌΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Ρ Π³ΡΠ°ΡΠΈΠΊΠΈ ΠΈ Π·Π²ΡΠΊΠΎΠ²ΠΎΠ³ΠΎ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΡ, ΡΠ»ΠΎΡΡ ΠΠ°Π²Π°Π΄Π° ΠΏΠΎΠ³ΡΡΠ·ΡΡ Π²Π°Ρ Π² ΠΌΠΈΡ Π°Π·Π°ΡΡΠ° ΠΈ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ.
ΠΠ΅ ΠΈΠΌΠ΅Π΅Ρ Π·Π½Π°ΡΠ΅Π½ΠΈΡ Π²Π°Ρ ΠΎΠΏΡΡ, Π² Vavada Π²Ρ Π±Π΅Π· ΠΏΡΠΎΠ±Π»Π΅ΠΌ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΈΠ³ΡΠΎΠ²ΡΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ ΠΈΠΌΠ΅Π½Π½ΠΎ Π²Π°ΠΌ.
Erstellt am 11/21/23 um 00: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;
}
}
}
?>
Neid_yrsn schrieb:
ΠΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠΎΠΊΠ° ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ
ΠΌΡΡΠΎΡΠ½ΡΠΉ ΠΏΠ°ΠΊΠ΅Ρ ΡΠ΅Π½Π° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-e.ru/</a>.
ΠΌΡΡΠΎΡΠ½ΡΠΉ ΠΏΠ°ΠΊΠ΅Ρ ΡΠ΅Π½Π° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-e.ru/</a>.
Erstellt am 11/21/23 um 11:38: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;
}
}
}
?>
Π°Π²ΡΠΎ Π²ΡΠΊΡΠΏ schrieb:
Π‘Π΅Π³ΠΎΠ΄Π½Ρ Ρ ΡΠ·Π½Π°Π» ΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΠΎΠΉ ΡΡΠ»ΡΠ³Π΅ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΠΏΡΠΎΠ΄Π°ΡΡ ΡΠ²ΠΎΡ ΠΌΠ°ΡΠΈΠ½Ρ ΠΏΠΎ Ρ
ΠΎΡΠΎΡΠ΅ΠΉ ΡΠ΅Π½Π΅. ΠΠΊΠ°Π·ΡΠ²Π°Π΅ΡΡΡ, Π΅ΡΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ <a href=https://xn----8sbec6a3aezg....>Π²ΡΠΊΡΠΏ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ Π΄ΠΎΡΠΎΠ³ΠΎ</a>. ΠΡΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π±ΡΡΡΡΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ ΠΏΡΠΎΠ΄Π°ΡΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, Π½Π΅ ΡΡΠ°ΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° ΠΏΠΎΠΈΡΠΊΠΈ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Ρ!
Erstellt am 11/21/23 um 16:48: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;
}
}
}
?>
Avtomoskva schrieb:
ΠΠΎΠΉ ΡΠΎΡΠ΅Π΄ Π΄ΠΎΠ»Π³ΠΎ Π½Π΅ ΠΌΠΎΠ³ ΡΠ΅ΡΠΈΡΡ, ΡΡΠΎ Π΄Π΅Π»Π°ΡΡ ΡΠΎ ΡΠ²ΠΎΠΈΠΌ ΡΡΠ°ΡΡΠΌ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΌ, ΠΊΠΎΡΠΎΡΡΠΉ ΡΠΆΠ΅ Π½Π΅ Π½Π° Ρ
ΠΎΠ΄Ρ. ΠΠ½ Π½Π°ΡΡΠ» ΡΠ΅ΡΠ²ΠΈΡ, Π³Π΄Π΅ Π΅ΠΌΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΠ»ΠΈ <a href=https://xn----8sbec6a3aezg....>ΠΏΡΠΎΠ΄Π°ΡΡ Π°Π²ΡΠΎ Π½Π΅ Π½Π° Ρ
ΠΎΠ΄Ρ</a>. ΠΠΊΠ°Π·Π°Π»ΠΎΡΡ, ΡΡΠΎ Π΄Π°ΠΆΠ΅ Π½Π΅ΠΈΡΠΏΡΠ°Π²Π½ΡΠ΅ ΠΌΠ°ΡΠΈΠ½Ρ ΠΌΠΎΠ³ΡΡ ΠΏΡΠΈΠ½Π΅ΡΡΠΈ Ρ
ΠΎΡΠΎΡΠΈΠΉ Π΄ΠΎΡ
ΠΎΠ΄. Π‘ΠΎΡΠ΅Π΄ ΡΠ΅ΠΏΠ΅ΡΡ ΡΡΠ°ΡΡΠ»ΠΈΠ², ΡΡΠΎ ΠΈΠ·Π±Π°Π²ΠΈΠ»ΡΡ ΠΎΡ Π³ΠΎΠ»ΠΎΠ²Π½ΠΎΠΉ Π±ΠΎΠ»ΠΈ ΠΈ Π΅ΡΡ Π·Π°ΡΠ°Π±ΠΎΡΠ°Π» Π½Π° ΡΡΠΎΠΌ.
Erstellt am 11/22/23 um 08:11: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;
}
}
}
?>
Osya_urOa schrieb:
ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π³ΠΊΠΎ ΠΈ Π±ΡΡΡΡΠΎ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-t.ru/</a>.
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π³ΠΊΠΎ ΠΈ Π±ΡΡΡΡΠΎ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠ΅Π½Π° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-t.ru/</a>.
Erstellt am 11/22/23 um 20:20: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;
}
}
}
?>
Vondra_hiOa schrieb:
ΠΠΎΠ΄Π±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) ΠΡΠ³Π°Π½ΠΈΠ·ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΠ΅Π³ΠΊΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π³ΠΊΠΎ ΠΈ Π±ΡΡΡΡΠΎ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-y.ru/</a>.
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) ΠΡΠ³Π°Π½ΠΈΠ·ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΠ΅Π³ΠΊΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π³ΠΊΠΎ ΠΈ Π±ΡΡΡΡΠΎ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-y.ru/</a>.
Erstellt am 11/22/23 um 20: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;
}
}
}
?>
Donn_arPr schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ Π‘ΠΠ
ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-u.ru/</a>.
ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΡΡ ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-u.ru/</a>.
Erstellt am 11/23/23 um 10:15: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;
}
}
}
?>
Griz_roOa schrieb:
ΠΠΎΠ΄Π±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ Π΄ΠΎΠΏΡΡΠΊΠ°ΠΉΡΠ΅ Π·Π°Π³ΡΡΠ·Π½Π΅Π½ΠΈΠ΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-i.ru</a>.
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ Π΄ΠΎΠΏΡΡΠΊΠ°ΠΉΡΠ΅ Π·Π°Π³ΡΡΠ·Π½Π΅Π½ΠΈΠ΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-i.ru</a>.
Erstellt am 11/23/23 um 10:18: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;
}
}
}
?>
Orinc_cxsn schrieb:
Π’ΠΎΠ»ΡΠΊΠΎ Π»ΡΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π΄Π»Ρ ΠΠ°Ρ
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΎΠΊ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-p.ru/</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΎΠΊ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-p.ru/</a>.
Erstellt am 11/24/23 um 18:13: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;
}
}
}
?>
Bianca_ufkl schrieb:
ΠΠ΅Π΄ΠΎΡΠΎΠ³ΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° Π² ΠΏΡΠΎΠ΄Π°ΠΆΠ΅
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-a...>http://meshki-dlya-musora-a.ru/</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-a...>http://meshki-dlya-musora-a.ru/</a>.
Erstellt am 11/24/23 um 18:17: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;
}
}
}
?>
www.symbaloo.com schrieb:
I believe what you published was very reasonable. However, think on this, suppose you typed a catchier post title?
I am not suggesting your information isn't solid, but suppose you added something
that grabbed people's attention? I mean EntheoBlog is kinda boring.
You could glance at Yahoo's front page and watch how they create news
titles to grab people to click. You might add a video or a pic or two to
grab readers excited about everything've got to say.
Just my opinion, it might make your posts a little livelier.
I am not suggesting your information isn't solid, but suppose you added something
that grabbed people's attention? I mean EntheoBlog is kinda boring.
You could glance at Yahoo's front page and watch how they create news
titles to grab people to click. You might add a video or a pic or two to
grab readers excited about everything've got to say.
Just my opinion, it might make your posts a little livelier.
Erstellt am 11/28/23 um 02:48: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;
}
}
}
?>
Pridary.ru schrieb:
Π‘ΡΡΠ΅Π½ΡΠΉ ΠΌΡΡ
ΠΎΠΌΠΎΡ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ pridary.ru
ΠΠ°Π½Π½Π°Ρ ΡΠΈΡΠΌΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½Π΅Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°ΡΡΡΠ°Π»ΡΠ½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΊΡΠ°ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ pridary.ru ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΈΡΠΎΠΊΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΊΡΠ°ΡΠ½ΡΠΉ ΠΊΡΠΏΠΈΡΡ</a> Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° Π΄Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ°ΠΉΡ. ΠΡ ΡΠΆΠ΅ ΠΌΠ½ΠΎΠ³ΠΎ Π»Π΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Π² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΎΡΠ΅Π½Ρ ΠΌΠ½ΠΎΠ³ΠΎ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ° ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΡΠ»ΡΡΡΠΈΡΡ, ΠΏΡΠΈ Π½ΡΠΆΠ΄Π΅. ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΈΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru Π»ΠΈΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, Ρ ΡΠ°Π½ΠΈΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΡΠΎΠ²Π°Ρ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠ΄ΠΎΠ±Π°Π²ΠΎΠΊ Ρ Π½Π°Ρ ΠΌΠ½ΠΎΠ³ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΡΠΎΡΠ΅Π½ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΡΠΎΠ²Π°ΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΌΡΠ³ΠΊΠΈΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Ρ ΠΎΡΠΎΡΠΈΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠ°ΡΡΠ΅Ρ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠΏΠΎΡΠΎΠ±Π½Π° ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½ΡΠ΅ Π³ΡΠΈΠ±Ρ, ΠΌΠ΅Π΄, ΡΠ°ΠΈ ΠΈ ΡΠ³ΠΎΠ΄Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ ΠΎΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΠΎΡΡΠΎΠΉ Π ΠΎΡΡΠΈΠΈ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΏΠΎΡΠΈΡΠ°ΡΡ Π½ΡΠΆΠ½ΡΠ΅ ΡΠ°ΠΊΡΡ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. Π£Π΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠΈ. Π ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠ°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ Π»Π΅ΡΠ°Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
ΠΡΠ½ΠΎΡΠΈΡΠ΅Π»ΡΠ½ΠΎ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΡΡΠ΅Π½ΡΠΉ</a> ΠΌΡ ΠΠ°ΠΌ ΠΎΠΊΠ°ΠΆΠ΅ΠΌ ΠΏΠΎΠΌΠΎΡΡ. ΠΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(930)672-59-00 ΠΈΠ»ΠΈ ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΡ 24 Π½Π° 7 Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΡΠΎΠ²Π°ΡΠ° ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°. ΠΠΎΡΡΠΎΠΌΡ ΡΡΠΎΠΈΡ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠΎΡΠΌΠΎΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ Π·Π°ΠΊΠ°Π·ΡΠ²Π°ΠΉΡΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
ΠΠ°Π½Π½Π°Ρ ΡΠΈΡΠΌΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½Π΅Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°ΡΡΡΠ°Π»ΡΠ½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΊΡΠ°ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π»Π΅ pridary.ru ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΈΡΠΎΠΊΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ Π²ΠΎΠΏΡΠΎΡΡ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΊΡΠ°ΡΠ½ΡΠΉ ΠΊΡΠΏΠΈΡΡ</a> Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° Π΄Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ°ΠΉΡ. ΠΡ ΡΠΆΠ΅ ΠΌΠ½ΠΎΠ³ΠΎ Π»Π΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Π² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΎΡΠ΅Π½Ρ ΠΌΠ½ΠΎΠ³ΠΎ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ° ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΡΠ»ΡΡΡΠΈΡΡ, ΠΏΡΠΈ Π½ΡΠΆΠ΄Π΅. ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΈΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru Π»ΠΈΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, Ρ ΡΠ°Π½ΠΈΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΡΠΎΠ²Π°Ρ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠ΄ΠΎΠ±Π°Π²ΠΎΠΊ Ρ Π½Π°Ρ ΠΌΠ½ΠΎΠ³ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΡΠΎΡΠ΅Π½ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΡΠΎΠ²Π°ΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΌΡΠ³ΠΊΠΈΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Ρ ΠΎΡΠΎΡΠΈΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠ°ΡΡΠ΅Ρ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠΏΠΎΡΠΎΠ±Π½Π° ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½ΡΠ΅ Π³ΡΠΈΠ±Ρ, ΠΌΠ΅Π΄, ΡΠ°ΠΈ ΠΈ ΡΠ³ΠΎΠ΄Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ ΠΎΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΠΎΡΡΠΎΠΉ Π ΠΎΡΡΠΈΠΈ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΏΠΎΡΠΈΡΠ°ΡΡ Π½ΡΠΆΠ½ΡΠ΅ ΡΠ°ΠΊΡΡ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. Π£Π΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠΈ. Π ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠ°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ Π»Π΅ΡΠ°Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
ΠΡΠ½ΠΎΡΠΈΡΠ΅Π»ΡΠ½ΠΎ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΊΡΠ°ΡΠ½ΡΠΉ ΡΡΡΠ΅Π½ΡΠΉ</a> ΠΌΡ ΠΠ°ΠΌ ΠΎΠΊΠ°ΠΆΠ΅ΠΌ ΠΏΠΎΠΌΠΎΡΡ. ΠΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(930)672-59-00 ΠΈΠ»ΠΈ ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΡ 24 Π½Π° 7 Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΡΠΎΠ²Π°ΡΠ° ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°. ΠΠΎΡΡΠΎΠΌΡ ΡΡΠΎΠΈΡ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠΎΡΠΌΠΎΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ Π·Π°ΠΊΠ°Π·ΡΠ²Π°ΠΉΡΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
Erstellt am 11/28/23 um 12:01: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;
}
}
}
?>
Pridary.ru schrieb:
ΠΡΡ
ΠΎΠΌΠΎΡΡ Π²ΡΡΡΠ΅Π³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΊΡΠΏΠΈΡΡ Π½Π° pridary.ru
ΠΠ°Π½Π½Π°Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡΡ Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ Π²ΡΡΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ ΡΠΈΡΡΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΏΠ°Π½ΡΠ΅ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ ΠΊ ΡΠ°Ρ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° Π²Π΅Π± ΡΠ΅ΡΡΡΡΠ΅ pridary.ru ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ ΡΠΈΡΠΎΠΊΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² ΠΈ ΡΠ΅Π»Π΅Π±Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ ΡΠ΅ΠΌΠ΅ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΌΠΈΠΊΡΠΎΠ΄ΠΎΠ·ΠΈΠ½Π³ ΡΠ΅Π½Π°</a> ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π». ΠΡ ΡΠΆΠ΅ ΠΌΠ½ΠΎΠ³ΠΎ Π»Π΅Ρ ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π² Π΄Π°Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ Π»ΡΠ΄Π΅ΠΉ ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΠΏΠΎΠ΄Π»Π΅ΡΠΈΡΡ, ΠΏΡΠΈ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠΈ. ΠΠ°ΠΊΠ°Π·ΡΠ²Π°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΎΡΠΎΡΡΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΡΡΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, ΡΠΎΡ ΡΠ°Π½ΡΠ΅ΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΡΠΎΠ²Π°Ρ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΎΡΠ»ΠΈΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π ΡΠ°ΠΊΠΆΠ΅ Ρ Π½Π°Ρ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΡΠΎΡΠ΅Π½ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΎΠ΄ΡΠΊΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Π΄Π΅Π²ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠΎΠ±ΠΈΡΠ°Π΅ΡΡΡ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΡΡΠ°ΡΡΠ»ΠΈΠ²ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π³ΡΠΈΠ±Ρ, ΠΌΠ΅Π΄, Π²Π°ΡΠ΅Π½ΡΠ΅ ΠΈ ΡΠ³ΠΎΠ΄Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ ΠΎΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΡΠΎΠΈΡΡ ΠΎΠ΄ΠΈΡ ΠΏΠΎΡΡΠΎΠΉ Π ΠΎΡΡΠΈΠΈ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅ ΡΡΠΎΠΈΡ ΠΏΠΎΡΠΈΡΠ°ΡΡ Π²Π°ΠΆΠ½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΡΠ΅Π»Π΅Π±Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. ΠΠΎΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π²ΡΡ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ Π΄ΠΎΠ·Ρ. Π ΠΌΠΈΠΊΡΠΎ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠ°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
Π£ΡΠ»ΠΎΠ²Π½ΠΎ <a href=https://pridary.ru/>ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΌΡΡ ΠΎΠΌΠΎΡΠΎΠ²</a> ΠΌΡ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. Π‘Π²ΡΠΆΠΈΡΠ΅ΡΡ Ρ Π½Π°ΠΌΠΈ ΠΏΠΎ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΠΎΠΌΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ +7(930)672-59-00 ΠΈΠ»ΠΈ ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΡ Π²ΡΠ΅Π³Π΄Π° Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΎΠΊΠ°ΠΆΠ΅ΠΌ ΠΏΠΎΠΌΠΎΡΡ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°. ΠΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠ°Π±Π»ΠΈΡΠ΅ΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ Π·Π°ΠΊΠ°Π·ΡΠ²Π°ΠΉΡΠ΅ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠ΅ ΡΠΈΡΡΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
ΠΠ°Π½Π½Π°Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π½Π°Ρ ΠΎΠ΄ΠΈΡΡΡ Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ Π²ΡΡΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ ΡΠΈΡΡΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΏΠ°Π½ΡΠ΅ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ ΠΊ ΡΠ°Ρ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° Π²Π΅Π± ΡΠ΅ΡΡΡΡΠ΅ pridary.ru ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Π½Π°ΠΉΡΠΈ ΡΠΈΡΠΎΠΊΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² ΠΈ ΡΠ΅Π»Π΅Π±Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ ΡΠ΅ΠΌΠ΅ <a href=https://pridary.ru/product/...>ΠΌΡΡ ΠΎΠΌΠΎΡ ΠΌΠΈΠΊΡΠΎΠ΄ΠΎΠ·ΠΈΠ½Π³ ΡΠ΅Π½Π°</a> ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΠΎΡΡΠ°Π». ΠΡ ΡΠΆΠ΅ ΠΌΠ½ΠΎΠ³ΠΎ Π»Π΅Ρ ΡΠ°Π±ΠΎΡΠ°Π΅ΠΌ Π² Π΄Π°Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ Π»ΡΠ΄Π΅ΠΉ ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΠΏΠΎΠ΄Π»Π΅ΡΠΈΡΡ, ΠΏΡΠΈ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠΈ. ΠΠ°ΠΊΠ°Π·ΡΠ²Π°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΎΡΠΎΡΡΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΡΡΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, ΡΠΎΡ ΡΠ°Π½ΡΠ΅ΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΡΠΎΠ²Π°Ρ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΎΡΠ»ΠΈΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π ΡΠ°ΠΊΠΆΠ΅ Ρ Π½Π°Ρ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΡΠΎΡΠ΅Π½ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΎΠ΄ΡΠΊΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Π΄Π΅Π²ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠΎΠ±ΠΈΡΠ°Π΅ΡΡΡ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΡΡΠ°ΡΡΠ»ΠΈΠ²ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π³ΡΠΈΠ±Ρ, ΠΌΠ΅Π΄, Π²Π°ΡΠ΅Π½ΡΠ΅ ΠΈ ΡΠ³ΠΎΠ΄Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ ΠΎΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΡΠΎΠΈΡΡ ΠΎΠ΄ΠΈΡ ΠΏΠΎΡΡΠΎΠΉ Π ΠΎΡΡΠΈΠΈ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅ ΡΡΠΎΠΈΡ ΠΏΠΎΡΠΈΡΠ°ΡΡ Π²Π°ΠΆΠ½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΡΠ΅Π»Π΅Π±Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. ΠΠΎΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π²ΡΡ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ Π΄ΠΎΠ·Ρ. Π ΠΌΠΈΠΊΡΠΎ Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠ°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
Π£ΡΠ»ΠΎΠ²Π½ΠΎ <a href=https://pridary.ru/>ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΌΡΡ ΠΎΠΌΠΎΡΠΎΠ²</a> ΠΌΡ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. Π‘Π²ΡΠΆΠΈΡΠ΅ΡΡ Ρ Π½Π°ΠΌΠΈ ΠΏΠΎ ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½ΠΎΠΌΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ +7(930)672-59-00 ΠΈΠ»ΠΈ ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ. ΠΡ Π²ΡΠ΅Π³Π΄Π° Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΎΠΊΠ°ΠΆΠ΅ΠΌ ΠΏΠΎΠΌΠΎΡΡ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°. ΠΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠ°Π±Π»ΠΈΡΠ΅ΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ Π·Π°ΠΊΠ°Π·ΡΠ²Π°ΠΉΡΠ΅ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠ΅ ΡΠΈΡΡΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
Erstellt am 11/28/23 um 12:27: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;
}
}
}
?>
Pridary.ru schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΠΌΡΡ
ΠΎΠΌΠΎΡΠΎΠ² pridary.ru
ΠΠ°ΡΠ° ΡΠΈΡΠΌΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ Π²ΡΡΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°ΡΡΡΠ°Π»ΡΠ½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠ°Π½ΡΠ΅ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ ΠΊ ΡΠ°Ρ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° Π²Π΅Π± ΡΠ΅ΡΡΡΡΠ΅ pridary.ru ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ ΡΠ΅ΠΌΠ΅ <a href=https://pridary.ru/product/...>ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΠΈΡ ΠΌΡΡ ΠΎΠΌΠΎΡ</a> Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΡΡΡ. ΠΡ ΡΠΆΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π»Π΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Π² Π΄Π°Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΎΡΠ΅Π½Ρ ΠΌΠ½ΠΎΠ³ΠΎ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ Π»ΡΠ΄Π΅ΠΉ ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΡΠ»ΡΡΡΠΈΡΡ, ΠΏΡΠΈ Π½ΡΠΆΠ΄Π΅. ΠΠΎΠΊΡΠΏΠ°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΈΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΡΡΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, ΡΠΎΡ ΡΠ°Π½ΡΠ΅ΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π ΡΠ°ΠΊΠΆΠ΅ Ρ Π½Π°Ρ ΠΌΠ½ΠΎΠ³ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΠΊΡΡΠΈ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π°Π²Π½ΠΎ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΡΠΎΠ²Π°ΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎΡΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Ρ ΠΎΡΠΎΡΠΈΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠ°ΡΡΠ΅Ρ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π³ΡΠΈΠ±Ρ, ΡΡΠ°Π²Ρ, ΡΠ°ΠΈ ΠΈ ΡΠΈΡΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΠΎΡΡΠΎΠΉ Π Π€ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΡΠ°ΠΉΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΏΠΎΡΠΈΡΠ°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΡΠ΅Π»ΠΎΠ²Π΅ΡΠ΅ΡΠΊΠΈΠΉ ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. ΠΠΎΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π²ΡΡ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ Π΄ΠΎΠ·Ρ. Π ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ Π΄ΠΎΠ·Π°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ Π»Π΅ΡΠ°Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
Π£ΡΠ»ΠΎΠ²Π½ΠΎ <a href=https://pridary.ru/product/...>ΡΡΡΠ΅Π½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ</a> ΠΌΡ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. ΠΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(930)672-59-00 ΠΈΠ»ΠΈ Π½Π°ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΡ ΠΏΠΎΡΡΡ. ΠΡ Π²ΡΠ΅Π³Π΄Π° Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΡΠΎΠ²Π°ΡΠ° ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Ρ ΠΎΡΠΎΡΠ°. ΠΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠΎΡΠΌΠΎΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΠΉΡΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
ΠΠ°ΡΠ° ΡΠΈΡΠΌΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ ΠΈΠΌΠ΅Π΅Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Ρ ΠΎΠ·ΡΠΉΡΡΠ²ΠΎ ΠΏΠΎ Π²ΡΡΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°ΡΡΡΠ°Π»ΡΠ½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ². Β«ΠΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄ΡΒ» ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠ°Π½ΡΠ΅ΡΠ½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ, Π±Π΅Π»ΡΠΉ Π³ΡΠΈΠ±, ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΡΡΠ°Π²Ρ ΠΈ Π΄ΠΎΠ±Π°Π²ΠΊΠΈ ΠΊ ΡΠ°Ρ, Π° ΡΠ°ΠΊΠΆΠ΅, Π½Π° Π²Π΅Π± ΡΠ΅ΡΡΡΡΠ΅ pridary.ru ΠΡ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΠΈΡ ΡΠ²ΠΎΠΉΡΡΠ² Π΄Π»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
ΠΠΎ ΡΠ΅ΠΌΠ΅ <a href=https://pridary.ru/product/...>ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΡΠΎΠΈΡ ΠΌΡΡ ΠΎΠΌΠΎΡ</a> Π·Π°Ρ ΠΎΠ΄ΠΈΡΠ΅ Π½Π° ΡΠΊΠ°Π·Π°Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ΅ΡΡΡΡ. ΠΡ ΡΠΆΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π»Π΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΠΌ ΡΠ°Π±ΠΎΡΡ Π² Π΄Π°Π½Π½ΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ ΠΈ Π·Π½Π°Π΅ΠΌ ΠΎΡΠ΅Π½Ρ ΠΌΠ½ΠΎΠ³ΠΎ ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ Π»ΡΠ΄Π΅ΠΉ ΠΈ ΠΊΠ°ΠΊ Π΅Π³ΠΎ ΡΠ»ΡΡΡΠΈΡΡ, ΠΏΡΠΈ Π½ΡΠΆΠ΄Π΅. ΠΠΎΠΊΡΠΏΠ°Ρ Π½Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ°Π·Π°ΡΡΡΡ ΠΎΡ Π½Π΅ΠΊΠΈΡ Π°ΠΏΡΠ΅ΡΠ½ΡΡ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΠΎΠ², Π·Π°ΠΌΠ΅Π½ΠΈΠ² ΠΈΡ Π½Π°ΡΠΈΠΌΠΈ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌΠΈ. ΠΡ pridary.ru ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΡΡΡΠ½ΠΎ Π·Π°Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°Π΅ΠΌ, ΡΠΎΡ ΡΠ°Π½ΡΠ΅ΠΌ ΠΈ ΡΠΏΠ°ΠΊΠΎΠ²ΡΠ²Π°Π΅ΠΌ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΡΡΠΎ Π΄Π°Π΅Ρ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π ΡΠ°ΠΊΠΆΠ΅ Ρ Π½Π°Ρ ΠΌΠ½ΠΎΠ³ΠΎ Ρ ΠΎΡΠΎΡΠΈΡ ΠΎΡΠ·ΡΠ²ΠΎΠ² ΠΎΡ ΠΊΡΡΠΈ Π»ΡΠ΄Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π°Π²Π½ΠΎ ΡΠΆΠ΅ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ Π½Π°ΡΠΈΠΌΠΈ ΡΠΎΠ²Π°ΡΠ°ΠΌΠΈ.
ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΎΠ±Π»Π°ΡΡΡ ΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎΡΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΎΠΌ, ΡΠΈΡΡΡΠΌΠΈ Ρ ΠΎΡΠΎΡΠΈΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ, ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌΠΈ Π»ΡΠ³Π°ΠΌΠΈ ΠΈ Π³ΠΎΠ»ΡΠ±ΡΠΌΠΈ ΡΠ΅ΠΊΠ°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ ΠΈ ΡΠ°ΡΡΠ΅Ρ Π½Π°ΡΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠΌΠΎΡΡ Π»ΡΠ΄ΡΠΌ Π²Π΅ΡΠ½ΡΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ Π·Π°ΠΆΠΈΡΡ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π³ΡΠΈΠ±Ρ, ΡΡΠ°Π²Ρ, ΡΠ°ΠΈ ΠΈ ΡΠΈΡΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΠΎΡΡΠΎΠΉ Π Π€ ΠΈΠ»ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠ΅ΠΉ Π‘ΠΠΠ.
Π£ Π½Π°Ρ Π½Π° ΡΠ°ΠΉΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ ΠΏΠΎΡΠΈΡΠ°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡΠ°Ρ , Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΡ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠ²ΠΎΠΉΡΡΠ²Π° Π½Π° ΡΠ΅Π»ΠΎΠ²Π΅ΡΠ΅ΡΠΊΠΈΠΉ ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ. ΠΠΎΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΎ, ΡΡΠΎ ΠΌΡΡ ΠΎΠΌΠΎΡ ΡΠ²Π»ΡΠ΅ΡΡΡ ΡΠΌΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎ ΠΎΠΏΠ°ΡΠ½ΡΠΌ Π³ΡΠΈΠ±ΠΎΠΌ, Π²ΡΡ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ Π΄ΠΎΠ·Ρ. Π ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ Π΄ΠΎΠ·Π°Ρ ΠΎΠ½ ΡΠ΅Π»Π΅Π±Π΅Π½, Π° Π² Π±ΠΎΠ»ΡΡΠΈΡ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ Π»Π΅ΡΠ°Π»ΡΠ½ΠΎΠΌΡ ΠΈΡΡ ΠΎΠ΄Ρ.
Π£ΡΠ»ΠΎΠ²Π½ΠΎ <a href=https://pridary.ru/product/...>ΡΡΡΠ΅Π½ΡΠ΅ ΠΌΡΡ ΠΎΠΌΠΎΡΡ</a> ΠΌΡ ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ. ΠΠΎΠ·Π²ΠΎΠ½ΠΈΡΠ΅ ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° +7(930)672-59-00 ΠΈΠ»ΠΈ Π½Π°ΠΏΠΈΡΠΈΡΠ΅ Π½Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΡ ΠΏΠΎΡΡΡ. ΠΡ Π²ΡΠ΅Π³Π΄Π° Π½Π° ΡΠ²ΡΠ·ΠΈ, ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎ Π»ΡΠ±ΠΎΠΌΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΡ ΡΠΎΠ²Π°ΡΠ° ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΠΎ ΠΠ°ΠΌ, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ ΡΠ±ΠΎΡΠ° ΡΠ²ΡΠ·Ρ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Ρ ΠΎΡΠΎΡΠ°. ΠΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΡΠΎΡΠΌΠΎΠΉ Π½Π° ΡΠ°ΠΉΡΠ΅ pridary.ru Π΄Π»Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ. ΠΠ²ΠΎΠ½ΠΈΡΠ΅, ΠΏΠΈΡΠΈΡΠ΅ ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΠΉΡΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ.
Erstellt am 11/28/23 um 12:50: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;
}
}
}
?>
ΠΌΡΡ ΠΎΠΌΠΎΡ Π³ΡΠΈΠ± ΡΠ΅Π½Π° schrieb:
Π ΠΏΠΎΠΈΡΠΊΠ°Ρ
ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π³ΡΠΈΠ±ΠΎΠ² ΠΌΡΡ
ΠΎΠΌΠΎΡΠΎΠ², Ρ ΠΎΡΠΊΡΡΠ» pridary.ru ΠΈ Π±ΡΠ» ΠΏΡΠΈΡΡΠ½ΠΎ ΡΠ΄ΠΈΠ²Π»Π΅Π½. Π‘Π°ΠΉΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΠ» ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ, ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΡ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΡΠ΅Π½Ρ. Π― Π»Π΅Π³ΠΊΠΎ Π½Π°ΡΠ΅Π» ΡΠΎ, ΡΡΠΎ ΠΈΡΠΊΠ°Π», Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ. ΠΡΠ»ΠΈ Π²Ρ ΠΈΡΠ΅ΡΠ΅, Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ Π³ΡΠΈΠ±Ρ ΠΌΡΡ
ΠΎΠΌΠΎΡΡ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ <a href=https://pridary.ru/product-...>ΠΊΡΠΏΠΈΡΡ Π³ΡΠΈΠ±Ρ ΠΌΡΡ
ΠΎΠΌΠΎΡΡ</a> Π½Π° pridary.ru. ΠΡΠΎ Π±ΡΠ» Π·Π°ΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΡΠΉ ΠΎΠΏΡΡ ΠΏΠΎΠΊΡΠΏΠΊΠΈ!
Erstellt am 11/28/23 um 18:24: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;
}
}
}
?>
Vian_zmOa schrieb:
ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-s.ru</a>.
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) ΠΡΠΎΡΡΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΡΠΎΡΡΡΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΈΡΡΠΎΡΡ Π³ΠΎΡΠΎΠ΄Π° Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://www.meshki-dlya-muso...>http://www.meshki-dlya-musora-s.ru</a>.
Erstellt am 11/28/23 um 18:25: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;
}
}
}
?>
Siahan_jkOa schrieb:
ΠΠΎΠ΄Π±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) ΠΡΠ³Π°Π½ΠΈΠ·ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΠ΅Π³ΠΊΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-d.ru</a>.
2) Π‘Π±Π΅ΡΠ΅Π³ΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) Π£Π±Π΅ΡΠΈΡΠ΅ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) ΠΡΠ³Π°Π½ΠΈΠ·ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΠ΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΠ΅Π³ΠΊΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) Π‘ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π₯ΡΠ°Π½ΠΈΡΠ΅ ΡΠ±ΠΎΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠΈ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΉ Π΄Π²ΠΎΡ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ ΠΌΠ΅ΡΡΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-d.ru</a>.
Erstellt am 11/28/23 um 20:18: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;
}
}
}
?>
ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΌΡΡ ΠΎΠΌΠΎΡΠΎΠ² schrieb:
ΠΠ΅Π΄Π°Π²Π½ΠΎ ΠΌΠ½Π΅ ΠΏΠΎΠ½Π°Π΄ΠΎΠ±ΠΈΠ»ΠΎΡΡ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΌΡΡ
ΠΎΠΌΠΎΡΡ, ΠΈ Ρ Π²ΡΠ±ΡΠ°Π» pridary.ru. ΠΡΠΎΡΠ΅ΡΡ Π·Π°ΠΊΠ°Π·Π° Π±ΡΠ» ΠΏΡΠΎΡΡΡΠΌ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΌ, Π° Π΄ΠΎΡΡΠ°Π²ΠΊΠ° β Π±ΡΡΡΡΠΎΠΉ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ. ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΡ
ΠΌΡΡ
ΠΎΠΌΠΎΡΠΎΠ² ΠΏΡΠ΅Π²Π·ΠΎΡΠ»ΠΎ Π²ΡΠ΅ ΠΌΠΎΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ. Π― ΡΠ°Π΄, ΡΡΠΎ Π²ΡΠ±ΡΠ°Π» ΡΡΠΎΡ ΡΠ°ΠΉΡ, ΠΈ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎ Π±ΡΠ΄Ρ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°ΡΡ Π΅Π³ΠΎ Π΄ΡΡΠ·ΡΡΠΌ. ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΌΡΡ
ΠΎΠΌΠΎΡΡ, Π½Π΅ ΠΈΡΠΈΡΠ΅ Π΄Π°Π»ΡΡΠ΅: <a href=https://pridary.ru/product/...>Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΌΡΡ
ΠΎΠΌΠΎΡΡ</a> ΠΌΠΎΠΆΠ½ΠΎ Π½Π° pridary.ru.
Erstellt am 11/29/23 um 01:53: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;
}
}
}
?>
Akay_gmOa schrieb:
ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ Π΄ΠΎΠΏΡΡΠΊΠ°ΠΉΡΠ΅ Π·Π°Π³ΡΡΠ·Π½Π΅Π½ΠΈΠ΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΡΠΎΠ΄ΡΠΌΠ°Π½Π½ΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΊΡΠΏΠΈΡΡ Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-g...>http://meshki-dlya-musora-g.ru/</a>.
2) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
3) ΠΠ·Π±Π°Π²ΡΡΠ΅ΡΡ ΠΎΡ ΠΌΡΡΠΎΡΠ° Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ Ρ ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
4) ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
5) ΠΠ΅ Π΄ΠΎΠΏΡΡΠΊΠ°ΠΉΡΠ΅ Π·Π°Π³ΡΡΠ·Π½Π΅Π½ΠΈΠ΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
6) Π£ΠΏΠΎΡΡΠ΄ΠΎΡΡΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
7) Π£Π²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
8) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
9) ΠΡΠΎΠ΄ΡΠΌΠ°Π½Π½ΠΎΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
10) ΠΡΠΎΡΡΠΎ ΡΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΠ²Π΅ΡΠΎΠ² ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
11) ΠΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΠΈΠ»Ρ Ρ ΠΏΡΠΎΡΠ½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
12) ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΡΠ΅ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
13) Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± Π΄Π»Ρ ΡΠ±ΠΎΡΠΊΠΈ Π΄Π²ΠΎΡΠ° - ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
14) Π‘ΠΎΡΡΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π² ΠΌΠ΅ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
15) ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ - Π³Π»Π°Π²Π½ΡΠ΅ ΠΊΡΠΈΡΠ΅ΡΠΈΠΈ ΠΏΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
16) ΠΠ΅ΡΠΆΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Π² ΡΠΈΡΡΠΎΡΠ΅ Ρ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
17) ΠΠ΅Π· ΡΡΠΈΠ»ΠΈΠΉ ΠΈ Π·Π°Π±ΠΎΡ - ΡΡΠΈΠ»ΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
18) ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° ΡΠΏΡΠΎΡΡΡΡ Π²Π°ΡΡ ΠΆΠΈΠ·Π½Ρ
19) ΠΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΡΠΉΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΡΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
20) ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌΠΈ ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ°
ΠΊΡΠΏΠΈΡΡ Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° <a href=http://meshki-dlya-musora-g...>http://meshki-dlya-musora-g.ru/</a>.
Erstellt am 11/29/23 um 11:46: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;
}
}
}
?>
Donn_hhPr schrieb:
Π‘Π΄Π΅Π»Π°ΠΉΡΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΡ ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° β ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΡΠΊΠΈΠ΄ΠΊΡ
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-u.ru/</a>.
ΠΌΡΡΠΎΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-u.ru/</a>.
Erstellt am 11/29/23 um 18:36: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;
}
}
}
?>
sladkiye-strasti.ru schrieb:
ΠΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ sladkiye-strasti.ru ΡΡΠ°Π»ΠΎ Π΄Π»Ρ ΠΌΠ΅Π½Ρ ΠΎΡΠΊΡΡΡΠΈΠ΅ΠΌ Π² ΠΌΠΈΡΠ΅ ΠΈΠ½ΡΠΈΠΌΠ½ΡΡ
ΡΠΎΠ²Π°ΡΠΎΠ². ΠΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ»ΠΈ ΠΌΠΎΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ <a href=https://sladkiye-strasti.ru/>Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½Π° ΡΠ΅ΠΊΡ ΡΠΎΠΏ</a> , ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π»ΠΈΡΡ ΠΏΠΎ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. ΠΡΠΎΡΡΠΎΡΠ° Π²ΡΠ±ΠΎΡΠ° ΠΈ Π·Π°ΠΊΠ°Π·Π°, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠΊΠΎΡΠΎΡΡΡ ΠΈ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΡΠ΄Π΅Π»Π°Π»ΠΈ ΠΏΠΎΠΊΡΠΏΠΊΡ Π΅ΡΡ Π±ΠΎΠ»Π΅Π΅ ΠΏΡΠΈΡΡΠ½ΠΎΠΉ.
Erstellt am 11/30/23 um 02:19: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;
}
}
}
?>
sladkiye-strasti.ru schrieb:
ΠΠ° ΠΎΠ΄Π½ΠΎΠΌ ΠΈΠ· ΡΠΎΡΡΠΌΠΎΠ² Ρ ΡΠ²ΠΈΠ΄Π΅Π»Π° ΡΠ΅ΠΊΠ»Π°ΠΌΡ sladkiye-strasti.ru ΠΈ ΡΠ΅ΡΠΈΠ»Π° ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ, ΡΡΠΎ ΠΆΠ΅ ΠΎΠ½ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ. Π‘Π°ΠΉΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π» ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ <a href=https://sladkiye-strasti.ru/>ΠΈΠ³ΡΡΡΠΊΠΈ Π΄Π»Ρ Π²Π·ΡΠΎΡΠ»ΡΡ
18 ΠΏΠ»ΡΡ</a> , ΡΡΠΎ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ»ΠΎ ΠΌΠΎΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅. ΠΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΏΠΎΡΠ°Π΄ΠΎΠ²Π°Π»ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ ΠΎΡΠ·ΡΠ²Ρ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ. ΠΡΠΎΡΠ΅ΡΡ Π·Π°ΠΊΠ°Π·Π° Π±ΡΠ» ΠΏΡΠΎΡΡ ΠΈ ΡΠ΄ΠΎΠ±Π΅Π½, Π° Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΡΠΎΠ²Π°ΡΠΎΠ² ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ»Π°ΡΡ Π±ΡΡΡΡΠΎ ΠΈ Ρ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡΡ.
Erstellt am 11/30/23 um 02:38: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;
}
}
}
?>
sladkiye-strasti.ru schrieb:
ΠΡΠΊΠ°Π»Π° Π² Google ΠΌΠ°Π³Π°Π·ΠΈΠ½, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΈΠ½ΡΠΈΠΌΠ½ΡΠ΅ ΡΠΎΠ²Π°ΡΡ, ΠΈ ΠΏΠ΅ΡΠ²ΡΠΌ Π² ΡΠΏΠΈΡΠΊΠ΅ Π±ΡΠ» sladkiye-strasti.ru. ΠΡΠΎΡ ΡΠ°ΠΉΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΠ» ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ <a href=https://sladkiye-strasti.ru/>ΡΠ΅ΠΊΡ ΡΠΎΠΏ ΠΎΠ½Π»Π°ΠΉΠ½</a> Π΄Π»Ρ ΠΌΡΠΆΡΠΈΠ½ ΠΈ ΠΆΠ΅Π½ΡΠΈΠ½, ΡΡΠΎ ΡΡΠ°Π·Ρ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ»ΠΎ ΠΌΠΎΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅. ΠΡΠΎΡΠ΅ΡΡ ΠΏΠΎΠΊΡΠΏΠΊΠΈ Π±ΡΠ» ΠΏΡΠΎΡΡΡΠΌ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ, Π° ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ Π΄ΠΎΠ±Π°Π²ΠΈΠ»Π° Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΠ΅Π½ΠΈΠ΅ ΠΎΡ ΠΌΠΎΠ΅Π³ΠΎ Π²ΡΠ±ΠΎΡΠ°.
Erstellt am 11/30/23 um 02:55: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;
}
}
}
?>
Siahan_aosn schrieb:
ΠΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ Π΄Π»Ρ Π³ΡΡΠ·ΠΈ, Π΄Π»Ρ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΌΡΡΠΎΡΠ°
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΠΌΡΡΠΎΡ <a href=meshki-dlya-musora-h.ru>meshki-dlya-musora-h.ru</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΠΌΡΡΠΎΡ <a href=meshki-dlya-musora-h.ru>meshki-dlya-musora-h.ru</a>.
Erstellt am 11/30/23 um 09:56: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;
}
}
}
?>
Poleo_chkl schrieb:
ΠΡΡΡΠ°Ρ ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΌΠ΅ΡΠΊΠΎΠ² Π΄Π»Ρ ΠΌΡΡΠΎΡΠ° β ΡΠΎΠ»ΡΠΊΠΎ Ρ Π½Π°Ρ
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΠΌΡΡΠΎΡ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-h.ru/</a>.
ΠΊΡΠΏΠΈΡΡ ΠΌΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ ΠΌΡΡΠΎΡ <a href=https://meshki-dlya-musora-...>https://meshki-dlya-musora-h.ru/</a>.
Erstellt am 11/30/23 um 09:57: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;
}
}
}
?>
Sladkiye-Strasti schrieb:
ΠΠΎΡΠ΅ΡΠΈΠ² sladkiye-strasti.ru, Ρ Π±ΡΠ»Π° ΠΏΡΠΈΡΡΠ½ΠΎ ΡΠ΄ΠΈΠ²Π»Π΅Π½Π° ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎΠΌ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ Π²Π·ΡΠΎΡΠ»ΡΡ
. Π‘Π°ΠΉΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΠ» ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ <a href=https://sladkiye-strasti.ru/>ΡΡΠΊΡ ΡΠΎΠΏ</a> , ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠΌΠΎΠ³ ΠΌΠ½Π΅ ΠΎΡΠΊΡΡΡΡ Π½ΠΎΠ²ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Ρ Π½Π°ΡΠ»Π°ΠΆΠ΄Π΅Π½ΠΈΡ. ΠΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ ΠΈ ΡΠΊΠΎΡΠΎΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ Π΄ΠΎΠ±Π°Π²ΠΈΠ»ΠΈ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΠΈ Π² ΠΌΠΎΠ΅ΠΌ Π²ΡΠ±ΠΎΡΠ΅, Π΄Π΅Π»Π°Ρ ΠΏΠΎΠΊΡΠΏΠΊΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠΉ, Π½ΠΎ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠΉ.
Erstellt am 11/30/23 um 12:21: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;
}
}
}
?>
Normanwaf schrieb:
<a href=https://mostbethu.biz>mostbet</a>
Download apk file BC mostbet - win today!
<a href=https://mostbethu.biz>mostbet apk</a>
Download apk file BC mostbet - win today!
<a href=https://mostbethu.biz>mostbet apk</a>
Erstellt am 11/30/23 um 17:18: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