Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_creativecommons
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8273/plugins/serendipity_event_creativecommons
Modified Files:
serendipity_event_creativecommons.php
Log Message:
- Move images, previously located in the /pixel folder, to the default template folder - thereby allowing a unique image for each theme
- Nuke some old and unused files in the process
Index: serendipity_event_creativecommons.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- serendipity_event_creativecommons.php 22 Jun 2004 13:45:43 -0000 1.10
+++ serendipity_event_creativecommons.php 25 Aug 2004 21:50:05 -0000 1.11
@@ -130,7 +130,7 @@
if ($license_string == '') {
if ($cc_visibility == 'visible') {
$eventData['display_dat'] .= '<a href="http://creativecommons.org/licenses/publicdomain">';
- $eventData['display_dat'] .= '<img style="border: 0px" alt="No Rights Reserved" src="' . $serendipity['serendipityHTTPPath'] . 'pixel/norights.png" />';
+ $eventData['display_dat'] .= '<img style="border: 0px" alt="No Rights Reserved" src="' . serendipity_getTemplateFile('img/norights.png') .'" />';
$eventData['display_dat'] .= '</a>';
if (serendipity_db_bool($this->get_config('txt', true))) {
$eventData['display_dat'] .= '<br />' . str_replace('#license_uri#', $license_uri, PLUGIN_CREATIVECOMMONS_CAP_PD);
@@ -138,7 +138,7 @@
}
} elseif ($cc_visibility == 'visible') {
$eventData['display_dat'] .= '<a href="'.$license_uri.'">';
- $eventData['display_dat'] .= '<img style="border: 0px" alt="Creative Commons License - Some Rights Reserved" src="' . $serendipity['serendipityHTTPPath'] . 'pixel/somerights20.gif" />';
+ $eventData['display_dat'] .= '<img style="border: 0px" alt="Creative Commons License - Some Rights Reserved" src="' . serendipity_getTemplateFile('pixel/somerights20.gif') .'" />';
$eventData['display_dat'] .= '</a>';
if (serendipity_db_bool($this->get_config('txt', true))) {
$eventData['display_dat'] .= '<br />' . str_replace('#license_uri#', $license_uri, PLUGIN_CREATIVECOMMONS_CAP);
|