* Cleaned up a couple things in the fence config menu.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 5 years ago
parent b8c0577b54
commit 00b9bce669
  1. 1
      Anvil/Tools/Striker.pm
  2. 1
      cgi-bin/striker
  3. 2
      html/skins/alteeve/anvil.html
  4. 4
      share/words.xml

@ -160,6 +160,7 @@ sub get_fence_data
next if $name eq "version"; next if $name eq "version";
next if $name eq "delay"; next if $name eq "delay";
next if $name eq "separator"; next if $name eq "separator";
next if $name =~ /snmp(.*?)_path/;
my $unique = exists $hash_ref->{unique} ? $hash_ref->{unique} : 0; my $unique = exists $hash_ref->{unique} ? $hash_ref->{unique} : 0;
my $required = exists $hash_ref->{required} ? $hash_ref->{required} : 0; my $required = exists $hash_ref->{required} ? $hash_ref->{required} : 0;

@ -1672,6 +1672,7 @@ sub process_fences
$anvil->data->{form}{body} = $anvil->Template->get({file => "anvil.html", name => "fence-agent-configuration", variables => { $anvil->data->{form}{body} = $anvil->Template->get({file => "anvil.html", name => "fence-agent-configuration", variables => {
description => $agent_description, description => $agent_description,
options => $option_form, options => $option_form,
note => $anvil->Words->string({key => "striker_0218", variables => { name => $fence_agent }}),
}}); }});
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { 'form::body' => $anvil->data->{form}{body} }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { 'form::body' => $anvil->data->{form}{body} }});
} }

@ -79,7 +79,7 @@
&nbsp; &nbsp;
</td> </td>
<td class="subtle_text"> <td class="subtle_text">
#!string!striker_0218!# #!variable!note!#
</td> </td>
</tr> </tr>
<tr> <tr>

@ -1083,10 +1083,10 @@ If you are comfortable that the target has changed for a known reason, you can s
<key name="striker_0212">How Many?</key> <key name="striker_0212">How Many?</key>
<key name="striker_0213">Configure fence devices:</key> <key name="striker_0213">Configure fence devices:</key>
<key name="striker_0214">List of fence agents installed on this system:</key> <key name="striker_0214">List of fence agents installed on this system:</key>
<key name="striker_0215">Configuring #!data!cgi::fence_agent::value!#.</key> <key name="striker_0215">Configuring '#!data!cgi::fence_agent::value!#'</key>
<key name="striker_0216">Configure device #!variable!number!#:</key> <key name="striker_0216">Configure device #!variable!number!#:</key>
<key name="striker_0217">Options description (from the agent's metadata):</key> <key name="striker_0217">Options description (from the agent's metadata):</key>
<key name="striker_0218">Note: Names and descriptions come from the fence agent itself</key> <key name="striker_0218">Note: Names and descriptions come from the fence agent itself. If you need more help, please run 'man #!variable!name!#' at the command line.</key>
<key name="striker_0219">Required field</key> <key name="striker_0219">Required field</key>
<!-- These are generally units and appended to numbers --> <!-- These are generally units and appended to numbers -->

Loading…
Cancel
Save