<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>top.php</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -43,29 +43,7 @@ if (!defined('H6E_CSS')) {
 
 &lt;div class=&quot;dokuwiki&quot;&gt;
 
-  &lt;?php html_msgarea()?&gt;
-
-  &lt;?php
-  if (tpl_getConf('topbar') == 'never') {
-      $top_bar = false;
-  } else if (tpl_getConf('topbar') == 'connected' &amp;&amp; empty($_SERVER['REMOTE_USER'])) {
-      $top_bar = false;
-  } else {
-      $top_bar = true;
-  }
-  ?&gt;
-
-  &lt;?php if (function_exists('ld_top_bar') &amp;&amp; $top_bar) : ?&gt;
-     &lt;?php ld_top_bar() ?&gt;
-  &lt;?php else : ?&gt;
-    &lt;div class=&quot;user-info&quot;&gt;
-        &lt;?php tpl_userinfo()?&gt;
-        &lt;?php tpl_actionlink('subscription') ?&gt;
-        &lt;?php tpl_actionlink('profile') ?&gt;
-        &lt;?php tpl_actionlink('admin') ?&gt;
-        &lt;?php tpl_actionlink('login'); ?&gt;
-    &lt;/div&gt;
-  &lt;?php endif ?&gt;
+  &lt;?php include dirname(__FILE__) . '/top.php' ?&gt;
 
   &lt;div class=&quot;content-page h6e-main-content&quot;&gt;
 </diff>
      <filename>detail.php</filename>
    </modified>
    <modified>
      <diff>@@ -51,29 +51,7 @@ if (empty($_REQUEST['do']) || in_array($_REQUEST['do'], array('revisions', 'show
 
 &lt;div class=&quot;dokuwiki&quot;&gt;
 
-  &lt;?php html_msgarea() ?&gt;
-
-  &lt;?php
-  if (tpl_getConf('topbar') == 'never') {
-      $top_bar = false;
-  } else if (tpl_getConf('topbar') == 'connected' &amp;&amp; empty($_SERVER['REMOTE_USER'])) {
-      $top_bar = false;
-  } else {
-      $top_bar = true;
-  }
-  ?&gt;
-
-  &lt;?php if (class_exists('Ld_Ui') &amp;&amp; method_exists('Ld_Ui', 'top_bar') &amp;&amp; $top_bar) : ?&gt;
-     &lt;?php Ld_Ui::top_bar() ?&gt;
-  &lt;?php else : ?&gt;
-    &lt;div class=&quot;user-info&quot;&gt;
-        &lt;?php tpl_userinfo()?&gt;
-        &lt;?php tpl_actionlink('subscription') ?&gt;
-        &lt;?php tpl_actionlink('profile') ?&gt;
-        &lt;?php tpl_actionlink('admin') ?&gt;
-        &lt;?php tpl_actionlink('login'); ?&gt;
-    &lt;/div&gt;
-  &lt;?php endif ?&gt;
+  &lt;?php include dirname(__FILE__) . '/top.php' ?&gt;
 
   &lt;div class=&quot;&lt;?php echo $page_type ?&gt; h6e-main-content&quot;&gt;
 </diff>
      <filename>main.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>daee6de6b49c5fc307f468c0f9632bc172cde52a</id>
    </parent>
  </parents>
  <author>
    <name>Fran&#231;ois Hodierne</name>
    <email>francois@upian.com</email>
  </author>
  <url>http://github.com/znarf/dokuwiki-minimal/commit/28024691b250548ca58f523892b40c6a14c43a67</url>
  <id>28024691b250548ca58f523892b40c6a14c43a67</id>
  <committed-date>2009-09-28T08:06:29-07:00</committed-date>
  <authored-date>2009-09-28T08:06:29-07:00</authored-date>
  <message>mutualize top.php and pass login/logout urls to top_bar function</message>
  <tree>676a2c5e9f17e474da57c27e1457333970839022</tree>
  <committer>
    <name>Fran&#231;ois Hodierne</name>
    <email>francois@upian.com</email>
  </committer>
</commit>
