summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94df016)
raw | patch | inline | side by side (parent: 94df016)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 05:06:51 +0000 (05:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 May 2008 05:06:51 +0000 (05:06 +0000) |
-Show "none" instead of "0", if no logfile is selected.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10831 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10831 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_goto_log_view.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_goto_log_view.inc b/gosa-plugins/goto/addons/goto/class_goto_log_view.inc
index f6c9055aa0adc72ffc6d6e9266ff6a045c1313be..ab922801384965c70ad45dea06823aea11625c2c 100644 (file)
$date = date("d.m.Y H:i:s",$this->logs[$this->mac][$this->selected_date]['REAL_DATE']);
$file = $this->selected_file;
- $smarty->assign("selected_log",$file.", ".$date);
+ $smarty->assign("selected_log",_("none"));
+ if(!empty($file)){
+ $smarty->assign("selected_log",$file.", ".$date);
+ }
$divlist = new divlist("log_view");