Code

Made headpage show version
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 May 2005 07:40:57 +0000 (07:40 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 May 2005 07:40:57 +0000 (07:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@193 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/generic/welcome/main.inc
plugins/generic/welcome/welcome.tpl

index 6f7a0d49daec8d2d785fe7e66984523b5bc81efd..eb0c63cd937165f3e72a62ac46f5e75b77afb615 100644 (file)
@@ -23,9 +23,8 @@ if (!$remove_lock){
        $smarty->assign("iconmenu", $plist->show_iconmenu());
        $smarty->assign("header", print_header(get_template_path('images/hdd_linux_unmount.png'), sprintf(_("Welcome %s!"), $ui->cn)));
        $smarty->assign("year", date("Y"));
+       $smarty->assign("revision", get_gosa_version());
        $display= $smarty->fetch(get_template_path('welcome.tpl', TRUE));
 }
 
-echo get_gosa_version();
-
 ?>
index a4d61173eac4cecbcfe37ec8b890673f8a1d3521..ca93ebf9cd9ad0fdb44d7432bb05534aea21b3fc 100644 (file)
@@ -12,7 +12,7 @@
 
 <br>
 
-<div class="copynotice">&copy; 2002-{$year} <a href="https://alioth.debian.org/projects/gosa/">{t}The GOsa team{/t}</a>
+<div class="copynotice">&copy; 2002-{$year} <a href="https://alioth.debian.org/projects/gosa/">{t}The GOsa team{/t}, {$revision}</a>
 </div>
 
 <input type="hidden" name="ignore">