summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd73670)
raw | patch | inline | side by side (parent: dd73670)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 13:48:52 +0000 (13:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 13:48:52 +0000 (13:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18978 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index 2ac9586db93d7bc8e0891d4766888e0cea1acdb6..e5e48b03eace07ed79f58981964904ef4f948615 100644 (file)
$acl = $this->ui->get_permissions($this->acl_base,"fai/faiProfile");
if(preg_match("/c/",$acl)){
$type= $this->get_type(array("objectClass"=>array("FAIprofile")));
- $str= management::newEntry('newEntry',array(),array(),$type[0],$type[2],$type[1]);
+ $str= management::newEntry('newEntry',array(),array(),$type[0],$type[2],'fai');
if($str) return($str);
$this->tabObject->set_acl_base($this->acl_base);
- $this->tabObject->by_object[$type[1]]->cn = $name;
}else{
msg_dialog::display(_("Permission error"), sprintf(_("You have no permission to create a new %s!"), _("profile")), ERROR_DIALOG);
}
diff --git a/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl b/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl
index 80a4e0c4e89c7c709ce2cead61dd64e1ebdc0a72..1a8402db65713c5c04d8c7069c51b4d1ef3d475d 100644 (file)
</td>
<td>
{render acl=$DISKdescriptionACL}
- <input value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
+ <input value="{$DISKdescription}" type="text" name="DISKdescription" id="DISKdescription">
{/render}
</td>
</tr>
<button type='submit' name='CancelDisk'>
{msgPool type=cancelButton}</button>
</div><!-- Place cursor -->
-<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('DISK_cn'); --></script>
\ No newline at end of file
+<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('DISK_cn'); --></script>
diff --git a/gosa-plugins/fai/admin/fai/faiPartition.tpl b/gosa-plugins/fai/admin/fai/faiPartition.tpl
index 17756ba7b6225144d8881b2286799d71a8b4c5e9..924b2d4522aefaaa81a9053961491f5c2f550590 100644 (file)
<td>{t}Size{/t}
</td>
<td colspan=3>
- <select name="FAIpartitionSizeType" onChange='document.mainform.submit();'>
+ <select name="FAIpartitionSizeType" onChange='document.mainform.submit();' size=1>
{html_options options=$partitionSizeTypes selected=$FAIpartitionSizeType}
</select>
{if $FAIpartitionSizeType != "remaining"}
<input type='text' name='sizeStart' value='{$sizeStart}' size='5'>
- <select name='sizeStart_Type'>
+ <select name='sizeStart_Type' size=1>
{html_options options=$sizeTypes selected=$sizeStart_Type}
</select>
{else}
{if $FAIpartitionSizeType != "fixed" && $FAIpartitionSizeType != "remaining"}
<input type='text' name='sizeStop' value='{$sizeStop}' size='5'>
- <select name='sizeStop_Type'>
+ <select name='sizeStop_Type' size=1>
{html_options options=$sizeTypes selected=$sizeStop_Type}
</select>
{else}