summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c521b8)
raw | patch | inline | side by side (parent: 1c521b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Nov 2005 08:06:12 +0000 (08:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Nov 2005 08:06:12 +0000 (08:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1988 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_debconfTemplate.inc | patch | blob | history |
index 5b0bd2915d84cefcb17aa127193b70d40750df4f..a4d203c7b232d1801d1c5c0404a162c266722119 100644 (file)
if (!$got_local_description && preg_match("/^Description: /", $line)){
$description= trim(preg_replace("/^Description: (.*)$/", "\\1", $line));
$this->template[$name]['Topic']= $description;
+ $this->template[$name]['Description']= "";
$in_description= TRUE;
continue;
}
function has_template()
{
- return ($has_template);
+ return ($this->has_template);
}
}
# Example:
-# $debconf= new debconf("xserver-xorg", "de");
-# echo $debconf->get_dialog();
+$debconf= new debconf("libnss-ldap", "de");
+echo $debconf->get_dialog();
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>