summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b796b1d)
raw | patch | inline | side by side (parent: b796b1d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Aug 2009 11:39:55 +0000 (11:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Aug 2009 11:39:55 +0000 (11:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13970 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/faiPartition.tpl | patch | blob | history |
index 0ec587a46febab6038ed7d2841f7d4df2faa6ca6..33ba4cae9eb389d0af71d74ae1903330a44aa580 100644 (file)
$classes = FAI::get_all_objects_for_given_base(FAI::get_release_dn($Current_DN),
"(&(objectClass=FAIclass)(cn=".$cn."))");
- /* Check if this is the last class with this name.
- */
+ /* Check if this is the last class with this name */
if(count($classes) == 1){
/* Get all FAI Profiles
diff --git a/gosa-plugins/fai/admin/fai/faiPartition.tpl b/gosa-plugins/fai/admin/fai/faiPartition.tpl
index d19511bb8db0a0d7097762b870dde975bd596dc1..5ca713cdc3bea78ffed7da5aba34e751653b68c7 100644 (file)
<tr>
{if $FAIdiskType == "lvm"}
<td>{t}Name{/t}</td>
- <td>
+ <td width="35%">
<input name="FAIpartitionType" value="{$FAIpartitionType}">
</td>
{else}
<td>{t}Type{/t}</td>
- <td>
+ <td width="35%">
<select name="FAIpartitionType" onChange='document.mainform.submit();'>
{html_options options=$partitionTypes selected=$FAIpartitionType}
</select>
</td>
{/if}
<td>{t}Description{/t}</td>
- <td>
+ <td width="35%">
<input type="text" value="{$description}" name="description">
</td>
</tr>
</td>
</tr>
<tr>
- <td>
+ <td colspan="2">
<input type='checkbox' value='1' name='resize' {if $resize} checked {/if}>
- {t}Resize{/t}
+ {t}Resize existing partition{/t}
</td>
- <td>
+ <td colspan="2">
<input type='checkbox' value='1' name='bootable' {if $bootable} checked {/if}>
{t}Bootable{/t}
</td>
- <td>
+ </tr>
+ <tr>
+ <td colspan="4">
<input type='checkbox' value='1' name='preserve' {if $preserve} checked {/if}>
{t}Preserve{/t}
- </td>
- <td>
<select name='preserveType'>
{html_options options=$preserveTypes selected=$preserveType}
</select>
<select name='FAIfsType' onChange="document.mainform.submit();">
{html_options options=$FAIfsTypes selected=$FAIfsType}
</select>
-
- <input type='checkbox' name='encrypted' value='1' {if $encrypted} checked {/if}>
- {t}Encrypted{/t}
</td>
<td>
- {t}Create options{/t}
+ {t}Filesystem create options{/t}
</td>
<td>
<input name="FAIfsCreateOptions" value="{$FAIfsCreateOptions}">
</tr>
<tr>
<td colspan=2>
+ <input type='checkbox' name='encrypted' value='1' {if $encrypted} checked {/if}>
+ {t}Encrypted{/t}
</td>
<td>
{t}Tune options{/t}