Version 1.0 ()
------------------------------------------------------------------------
+ * Allow to edit a HTML nugget with a frontend link (garvinhicking)
+
* Added sidebar plugin to show statistical data (garvinhicking)
* Changed detection of "last_modified" timestamp, so that the date
} else {
echo $this->get_config('content');
}
+
+ if (serendipity_userLoggedIn()) {
+ $is_plugin_owner = ($this->serendipity_owner == $serendipity['authorid'] || serendipity_checkPermission('adminPluginsMaintainOthers'));
+
+ if ($is_plugin_owner) {
+ echo '<div class="serendipity_edit_nugget"><a href="' . $serendipity['baseURL'] . '/serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . htmlentities($this->instance) . '">' . EDIT . '</a></div>';
+ }
+ }
}
}