summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4133433)
raw | patch | inline | side by side (parent: 4133433)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Oct 2005 07:59:30 +0000 (07:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 Oct 2005 07:59:30 +0000 (07:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1475 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiTemplateEntry.inc | patch | blob | history | |
plugins/admin/fai/faiTemplateEntry.tpl | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiTemplateEntry.inc b/plugins/admin/fai/class_faiTemplateEntry.inc
index c4e8dad3a3139ef49779d48df93405f1eaeca66d..a3096f17339dda451121671f50826e482b45b652 100644 (file)
}
}
+
+ $status="<br>"._("No file uploaded");
+ if(strlen($this->Object_FAItemplateFile)){
+ $status="<br>".sprintf(_("File uploaded, size : %s byte"),strlen($this->Object_FAItemplateFile));
+ }
+ $smarty->assign("status",$status);
+
foreach($this->attributes as $attrs){
$smarty->assign($attrs,stripslashes($this->$attrs));
}
index 57d1d9e7317721d2901af0ef2231ab9242a0c193..6afe0286f7323f39e287d9e015899f105fef48c9 100644 (file)
<td>
<input type="file" name="FAItemplateFile" value="{$Object_FAItemplateFile}" id="Object_FAItemplateFile">
<input type="submit" value="{t}upload{/t}" name="TmpFileUpload">
+ {$status}
</td>
</tr>
<tr>