Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_trackexits
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26864
Modified Files:
serendipity_event_trackexits.php
Log Message:
* Make the encode options into a dropdown
* Clerify text, please re-translate
This plugin is cool :)
Index: serendipity_event_trackexits.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- serendipity_event_trackexits.php 22 Jun 2004 13:45:46 -0000 1.7
+++ serendipity_event_trackexits.php 29 Jun 2004 21:49:12 -0000 1.8
@@ -4,7 +4,7 @@
case 'de':
@define('PLUGIN_EVENT_TRACKBACK_NAME', 'Textformatierung: Externe Links zählen');
@define('PLUGIN_EVENT_TRACKBACK_DESC', 'Click auf Externe Links verfolgen');
- @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'URL von Kommentatoren maskieren? (s9y|google|none)');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'URL von Kommentatoren maskieren?');
@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA', 'Verhindert Spam-Missbrauch aber auch positiven Nutzen von Verlinkungen innerhalb Blogs. Wenn der Wert auf "s9y" gesetzt wird, werden interne Routinen zur Weiterleitung verwendet. Bei dem Wert "google" wird Google verwendet. Ein leerer Wert schaltet die Weiterleitung aus(Standard).');
break;
@@ -12,8 +12,11 @@
default:
@define('PLUGIN_EVENT_TRACKBACK_NAME', 'Markup: Track exits');
@define('PLUGIN_EVENT_TRACKBACK_DESC', 'Track clicks on external URLs');
- @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'Use URL-redirection for comment URLs? (s9y|google|none)');
- @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA', 'Reduces Spam-Abuse but also disables positive effects of linking to the URL of a commenting user. If set to "s9y", the internal routines of s9y will redirect to the target page. If set to "google", the google-pagerank-deflector is used. An empty value disables this feature (default).');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'Use URL-redirection for URLs in comments?');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA', 'Reduces Comment-Abuse but also disables positive effects of linking to the URL of a commenting user. Serendipity\'s internal routines will redirect to the target page and log the exit. The Google PageRank Deflector will prevent the link from gaining rack on Google. An empty value disables this feature entriely (default).');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_NONE', 'None');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_S9Y', 'Serendipity Exit-Tracking Routine');
+ @define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_GOOGLE', 'Google PageRack Deflector');
break;
}
@@ -65,10 +68,13 @@
{
switch($name) {
case 'commentredirection':
- $propbag->add('type', 'string');
+ $propbag->add('type', 'select');
+ $propbag->add('select_values', array('none' => PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_NONE,
+ 's9y' => PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_S9Y,
+ 'google' => PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_GOOGLE));
$propbag->add('name', PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION);
$propbag->add('description', PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA);
- $propbag->add('default', '');
+ $propbag->add('default', 'none');
break;
default:
|