diff --git a/plugins/gofon/macro/class_divListMacros.inc b/plugins/gofon/macro/class_divListMacros.inc
index c549e9cab5fc330062c034b74a8cecdfdffda2d3..1ab12136faea67482208af0a8087de8888cdca92 100755 (executable)
/* Result page will look like a headpage */
$this->SetHeadpageMode();
- $this->SetInformation(_("This menu allows you to add, edit and remove selected macros. ".
- "You may want to use the range selector on top of the macro listbox, ".
- "when working with a large number of macros."));
+ $this->SetInformation(_("This menu allows you to add, edit and remove selected macros. You may want to use the range selector on top of the macro listbox, when working with a large number of macros."));
$this->EnableAplhabet (true);
/* set Page header */
$this->AddHeader(array("string" => " ", "attach" => "style='text-align:center;width:20px;'"));
- $this->AddHeader(array("string" => _("Username")." / "._("Department"), "attach" => "style=''"));
+ $this->AddHeader(array("string" => _("macro name")." / "._("Department"), "attach" => "style=''"));
$this->AddHeader(array("string" => _("Visible"), "attach" => "style='width:50px;'"));
$this->AddHeader(array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'" ));
{
$action = "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
- name='user_edit_%KEY%' title='"._("Edit user")."'>";
+ name='user_edit_%KEY%' title='"._("Edit macro")."'>";
$action .= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."'
- name='user_del_%KEY%' title='"._("Delete user")."'>";
+ name='user_del_%KEY%' title='"._("Delete macro")."'>";
$empty = "<img class='center' src='images/nothing.png' style='width:16px;height:16px;' alt=''>";
$macroimg = "<img class='center' src='images/list_macro.png' alt='"._("Macro")."' title='%s'>";
}
$field1 = array("string" => sprintf($macroimg,$val['dn']), "attach" => "style='text-align:center;width:20px;'");
- $field2 = array("string" => sprintf($editlink,$key,$display), "attach" => "style='' title='dn: ".@LDAP::fix($val['dn'])."'");
+ $field2 = array("string" => sprintf($editlink,$key,$display), "attach" => "style='' title='".preg_replace('/ /', ' ', @LDAP::fix($val['dn']))."'");
$field3 = array("string" => $pic1, "attach" => "style='width:50px;'");
$field4 = array("string" => preg_replace("/%KEY%/", "$key", $action), "attach" => "style='width:60px;border-right:0px;text-align:right;'");