<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-2006-01-03
+2006-08-13</diff>
      <filename>VERSION</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@ class syntax_plugin_backlinks extends DokuWiki_Syntax_Plugin {
         return array(
             'author' =&gt; 'Michael Klier',
             'email'  =&gt; 'chi@chimeric.de',
-            'date'   =&gt; '2006-01-03',
+            'date'   =&gt; '2007-08-13',
             'name'   =&gt; 'Backlinks',
             'desc'   =&gt; 'Displays backlinks to a given page.',
             'url'    =&gt; 'http://www.chimeric.de/projects/dokuwiki/plugin/backlinks'
@@ -76,16 +76,18 @@ class syntax_plugin_backlinks extends DokuWiki_Syntax_Plugin {
      * Handles the actual output creation.
      */
     function render($mode, &amp;$renderer, $data) {
+        global $lang;
 
         if($mode == 'xhtml'){
             $renderer-&gt;info['cache'] = false;
             
             @require_once(DOKU_INC.'inc/fulltext.php');
             $backlinks = ft_backlinks($data[0]);
+            
+            $renderer-&gt;doc .= '&lt;div id=&quot;plugin__backlinks&quot;&gt;' . DW_LF;
 
             if(!empty($backlinks)) {
 
-                $renderer-&gt;doc .= '&lt;div id=&quot;plugin__backlinks&quot;&gt;' . DW_LF;
                 $renderer-&gt;doc .= '&lt;ul class=&quot;idx&quot;&gt;';
 
                 foreach($backlinks as $backlink){
@@ -97,8 +99,11 @@ class syntax_plugin_backlinks extends DokuWiki_Syntax_Plugin {
                 }
 
                 $renderer-&gt;doc .= '&lt;/ul&gt;';
-                $renderer-&gt;doc .= '&lt;/div&gt;' . DW_LF;
+            } else {
+                $renderer-&gt;doc .= &quot;&lt;strong&gt;Plugin Backlinks: &quot; . $lang['nothingfound'] . &quot;&lt;/strong&gt;&quot;;
             }
+            
+            $renderer-&gt;doc .= '&lt;/div&gt;' . DW_LF;
 
             return true;
         }</diff>
      <filename>syntax.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e70bf163b39d4aa5f66e28e4b342100a0c1680ea</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klier</name>
    <login>chimeric</login>
    <email>chi@chimeric.de</email>
  </author>
  <url>http://github.com/chimeric/dokuwiki-plugin-backlinks/commit/154ef50c02cd93569b9fb340aab02f35ff46ecea</url>
  <id>154ef50c02cd93569b9fb340aab02f35ff46ecea</id>
  <committed-date>2007-08-13T08:40:41-07:00</committed-date>
  <authored-date>2007-08-13T08:40:41-07:00</authored-date>
  <message>added nothing found message

darcs-hash:20070813154041-23886-0040035b206130b04af339e28f933067287fd9ea.gz</message>
  <tree>4a8ce02c41eedcde4195fa305b37ef60c884a99d</tree>
  <committer>
    <name>Michael Klier</name>
    <login>chimeric</login>
    <email>chi@chimeric.de</email>
  </committer>
</commit>
