Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5875/plugins/serendipity_plugin_creativecommons
Modified Files:
serendipity_plugin_creativecommons.php
Log Message:
Flush.
Index: serendipity_plugin_creativecommons.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- serendipity_plugin_creativecommons.php 2 Apr 2004 11:03:21 -0000 1.2
+++ serendipity_plugin_creativecommons.php 4 Apr 2004 08:04:57 -0000 1.3
@@ -1,23 +1,25 @@
<?php # $Id$
switch ($serendipity['lang']) {
- case 'en':
- @define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons');
- @define('PLUGIN_CREATIVECOMMONS_DESC', 'Zeigt einen Creative Commons Hinweis an');
- break;
+ case 'de': {
+ @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.');
- break;
+ default: {
+ @define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons');
+ @define('PLUGIN_CREATIVECOMMONS_DESC', 'Display a creative commons notification in the sidebar.');
+ }
+ break;
}
class serendipity_plugin_creativecommons extends serendipity_plugin {
function introspect(&$propbag)
{
- $propbag->add('name', PLUGIN_CREATIVECOMMONS_NAME);
- $propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
+ $propbag->add('name', PLUGIN_SIDEBAR_CREATIVECOMMONS_NAME);
+ $propbag->add('description', PLUGIN_SIDEBAR_CREATIVECOMMONS_DESC);
$propbag->add('configuration', array('title'));
$this->dependencies = array('serendipity_event_creativecommons' => 'remove');
|