diff --git a/gosa-core/plugins/addons/gotomasses/goto_task.tpl b/gosa-core/plugins/addons/gotomasses/goto_task.tpl
index f841a4fd8501750d433c1f93afb59fffa9892add..bc0cf044a7890f7410b03cb5b926b1cc9e383857 100644 (file)
</td>
</tr>
<tr>
- <td style='width:50%;border-right: 1px solid rgb(160, 160, 160);'>
+ <td>
<table>
<tr>
<td>
- {t}Description{/t}
- </td>
- <td>
- {render acl=$CommentACL}
- <input type="text" name="Comment" value="{$Comment}">
- {/render}
+ {t}Job ID{/t}
</td>
+ <td>
+ {$ID}
+ </td>
</tr>
<tr>
<td>
- {t}Object group membership{/t}
- </td>
- <td>
- {render acl=$OGroupACL}
- <select name="OGroup">
- {html_options options=$OGroups selected=$OGroup}
- </select>
- {/render}
+ {t}Status{/t}
</td>
+ <td>
+ {$STATUS}
+ </td>
</tr>
- {if $Action == "initial_install"}
- <tr>
- <td><input class='center' {if $configure_dns} checked {/if} id='configure_dns'
- type='checkbox' name='configure_dns' value='1' onClick="changeState('Zone');">
- <label for='configure_dns'>{t}Configure DNS{/t}</label>
- </td>
- <td>
- <select name="Zone" id="Zone" {if !$configure_dns} disabled {/if}>
- {html_options options=$Zones selected=$Zone}
- </select>
- </td>
- </tr>
- <tr>
- <td><input class='center' {if $configure_dhcp} checked {/if} id='configure_dhcp'
- type='checkbox' name='configure_dhcp' value='1' onClick="changeState('Section');">
- <label for='configure_dhcp'>{t}Configure DHCP{/t}</label>
- </td>
- <td>
- <select name="Section" id="Section" {if !$configure_dhcp} disabled {/if}>
- {html_options options=$Sections selected=$Section}
- </select>
- </td>
- </tr>
- {/if}
- </table>
- </td>
- <td style='vertical-align:top'>
- <table>
- <tr>
- <td>
- {t}Action{/t}
- </td>
- <td>
- {render acl=$ActionACL}
- <select name="Action" onChange="document.mainform.submit();">
- {html_options options=$Actions selected=$Action}
- </select>
- {/render}
- {if !$JS}
- <input type='image' src='images/list_reload.png' class='center'>
- {/if}
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
-</table>
-{if $Action == "initial_install"}
-{if $ID == 0}
-<p class='seperator'> </p>
-<table style='width:100%;'>
- <tr>
- <td colspan="2" style='padding-top:5px;'>
- <h2><img alt="" src="images/select_workstation.png" class="center" align="middle"> {t}Systems{/t}</h2>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <table summary="" style="border:1px solid #B0B0B0;width:100%; " cellspacing=0 cellpadding=0>
- <tr>
+ <tr>
<td>
- {render acl=$TargetACL}
- {$Target_list}
- {/render}
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td style="width:50%; border-right: 1px solid #A0A0A0;">
- <table>
- <tr>
- <td>{t}MAC address{/t}{$must}
- </td>
- <td><input type="text" name="task_MAC" value="">
- </td>
- </tr>
- <tr>
- <td>{t}Name{/t}
- </td>
- <td><input type="text" name="task_Name" value="">
- </td>
- </tr>
- <tr>
- <td>{t}IP address{/t}
- </td>
- <td><input type="text" name="task_IP" value="">
- {render acl=$TargetACL}
- <input type="submit" name="add_target" value="{t}Add{/t}">
- {/render}
- </td>
- </tr>
- </table>
- </td>
- <td style='vertical-align:top'>
- <table>
- <tr><td>{t}CVS import from file{/t}</td></tr>
+ {t}Mac{/t}
+ </td>
+ <td>
+ {$MACADDRESS}
+ </td>
+ </tr>
<tr>
<td>
-
+ {t}Header Tag{/t}
</td>
- </tr>
- <tr>
<td>
- <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
- <input name="import_file" type="file" size="20" maxlength="255" accept="*.csv">
- {render acl=$TargetACL}
- <input type="submit" name="add_import" value="{t}Import{/t}">
- {/render}
+ <select name="HeaderTag">
+ <option value="unknown">{t}Unknown{/t}</option>
+ {html_options options=$Actions selected=$HEADERTAG}
+ </select>
</td>
</tr>
</table>
</td>
</tr>
</table>
-{/if}
-{else}
-<p class='seperator'> </p>
-<table style='width:100%;'>
- <tr>
- <td colspan="2">
- <h2><img alt="" src="images/time.png" class="center" align="middle"> {t}Schedule{/t}</h2>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- {t}Minute{/t}
- {render acl=$MinuteACL}
- <select name='Minute'>
- {html_options options=$Minutes selected=$Minute}
- </select>
- {/render}
- {t}Hour{/t}
- {render acl=$HourACL}
- <select name='Hour'>
- {html_options options=$Hours selected=$Hour}
- </select>
- {/render}
- {t}Day{/t}
- {render acl=$DayACL}
- <select name='Day'>
- {html_options options=$Days selected=$Day}
- </select>
- {/render}
- {t}Month{/t}
- {render acl=$MonthACL}
- <select name='Month'>
- {html_options options=$Months selected=$Month}
- </select>
- {/render}
- {t}Week day{/t}
- {render acl=$WeekdayACL}
- <select name='Weekday'>
- {html_options options=$Weekdays selected=$Weekday}
- </select>
- {/render}
- </td>
- </tr>
-</table>
-{if $ID == 0}
-<p class='seperator'> </p>
-<table style='width:100%;'>
- <tr>
- <td colspan="2" style='padding-top:5px;'>
- <h2><img alt="" src="images/select_workstation.png" class="center" align="middle"> {t}Target systems{/t}</h2>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <table summary="" style="border:1px solid #B0B0B0;width:100%; " cellspacing=0 cellpadding=0>
- <tr>
- <td>
- {render acl=$TargetACL}
- {$Target_list}
- {/render}
- </td>
- </tr>
- </table>
- {render acl=$TargetACL}
- <input type="text" name="target_text" value="">
- {/render}
- {render acl=$TargetACL}
- <input type="submit" name="add_target" value="{t}Add{/t}">
- {/render}
- {render acl=$TargetACL}
- <input type="submit" name="add_from_list" value="{t}Add from list{/t}">
- {/render}
- </td>
- </tr>
-</table>
-{/if}
-{/if}
+<input type="submit" name="test" value="Test submit()">
+
<p class='seperator'> </p>
<input type='hidden' name='goto_task_posted' value='1'>
<p style="text-align:right">
<input type='submit' name='save_goto_task' value='{t}Ok{/t}'>
-{if !$new}
- <input type='submit' name='apply_goto_task' value='{t}Apply{/t}'>
-{/if}
<input type='submit' name='close_goto_task' value='{t}Cancel{/t}'>
</p>