index a53e0a83d7883ca015c256c658a7f54b1b7f955d..edd533f200a52f544a1e1eacbd5bde3f48723f9c 100644 (file)
<p class='seperator'> </p>
<br>
+<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
{if $is_new == "new"}
{t}The server must be saved before you can use the status flag.{/t}
+{elseif !$is_acc}
+ {t}The service must be saved before you can use the status flag.{/t}
{/if}
<br>
-<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
-<select name="action" title='{t}{/t}' {if $is_new == "new"} disabled {/if}>
+<select name="action" title='{t}{/t}'
+ {if $is_new == "new" || $is_acc == false} disabled {/if}
+>
<option value="none"> </option>
{html_options options=$Actions}
</select>
-<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}' {if $is_new == "new"} disabled {/if}>
+<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}'
+ {if $is_new == "new" || $is_acc == false} disabled {/if}
+>
<p class="seperator"> </p>
<p>