. " var i,j;\n"
. " var ta = document.createElement('textarea');\n"
. " ta.setAttribute('name', Node.name+'[1]');\n"
- . " ta.setAttribute('cols', '74');\n"
+ . " ta.setAttribute('style', 'width:100%;');\n"
. " ta.setAttribute('rows', '10');\n"
. " if(data[1]) ta.value = data[1];\n"
. "\n"
<td valign="top">
<form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" id="rule" name="rule" onsubmit="return false;">
<table width="100%" class="bicol" cellspacing="1" cellpadding="1">
- <tr class="impair"><th><?php i18n('filter_rule_conf');?>
- </th></tr><tr class="impair"><td>
- <input type="hidden" value="0" id="ruleId" name="rule[id]" />
- <?php i18n('rule_name'); ?>
- <input type="text" size="60" value="" id="ruleName" name="rule[name]"
+ <tr><th><?php i18n('rule_name'); ?>
+ </th></tr><tr><td>
+ <input type="text" value="" id="ruleName" name="rule[name]" style="width: 100%;"
onfocus="text_onfocus(this,'<?php i18n('new_rule');?>')"
onblur="text_onblur(this,'<?php i18n('new_rule');?>')" />
- <br />
+ </td></tr>
+ <tr class="impair"><th><?php i18n('filter_rule_conf');?>
+ </th></tr><tr class="impair"><td>
<input type="radio" value="1" id="ruleAll1" name="rule[all]" /><?php i18n('all_matches');?>
<input type="radio" value="0" id="ruleAll0" name="rule[all]" /><?php i18n('one_match');?>
<br />
</td></tr><tr class="impair"><th><?php i18n('filter_actions_list');?>
</th></tr><tr class="impair"><td id="actionsRow">
</td></tr><tr class="impair"><td>
+ <input type="hidden" value="0" id="ruleId" name="rule[id]" />
<input type="submit" value="<?php i18n('new_match');?>" name="rule[new_match]" onclick="newMatch() "/>
<input type="submit" value="<?php i18n('new_action');?>" name="rule[new_action]" onclick="newAction()" />
<input type="submit" value="<?php i18n('submit');?>" name="rule[submit]" onclick="this.form.submit()" />
'new_rule' => '[ new rule ]',
'filter_rule_conf' => 'Global Options',
- 'rule_name' => 'Name of this rule : ',
+ 'rule_name' => 'Name of this rule',
'all_matches' => 'each match must be true',
'one_match' => 'only one match need to be true',
'blocking_rule' => 'stop after this rule if matched',
'new_rule' => '[ nvlle règle ]',
'filter_rule_conf' => 'Options globales',
- 'rule_name' => 'Nom pour cette règle : ',
+ 'rule_name' => 'Nom pour cette règle',
'all_matches' => 'chaque critère doit être validé',
'one_match' => 'un unique critère vérifié suffit',
'blocking_rule' => 'arrêter de filtrer après cette règle si applicable',