Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23112/serendipity_plugin_creativecommons
Modified Files:
serendipity_plugin_creativecommons.php
Log Message:
Should fix some issues with wrong radio button configuration.
Clean up code. Beautify and use correct indentation.
German translation (Sebastian, can you check if I did that right?).
Index: serendipity_plugin_creativecommons.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- serendipity_plugin_creativecommons.php 2 Apr 2004 09:09:30 -0000 1.1
+++ serendipity_plugin_creativecommons.php 2 Apr 2004 11:03:21 -0000 1.2
@@ -2,6 +2,11 @@
switch ($serendipity['lang']) {
case 'en':
+ @define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons');
+ @define('PLUGIN_CREATIVECOMMONS_DESC', 'Zeigt einen Creative Commons Hinweis an');
+ break;
+
+ case 'en':
default:
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons');
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Display a creative commons notification in the sidebar.');
@@ -15,7 +20,7 @@
$propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
$propbag->add('configuration', array('title'));
- $this->dependencies = array('serendipity_event_creativecommons' => 'remove');
+ $this->dependencies = array('serendipity_event_creativecommons' => 'remove');
}
function introspect_config_item($name, &$propbag)
@@ -29,7 +34,7 @@
}
return true;
}
-
+
function generate_content(&$title) {
global $serendipity;
@@ -42,4 +47,4 @@
}
/* vim: set sts=4 ts=4 expandtab : */
-?>
\ No newline at end of file
+?>
|