diff --git a/doc/README-translation.txt b/doc/README-translation.txt index 3bf340a..ea4557a 100644 --- a/doc/README-translation.txt +++ b/doc/README-translation.txt @@ -1,2 +1,2 @@ -Please see http://phpldapadmin.sourceforge.net/Translate now for information on +Please see http://phpldapadmin.sourceforge.net/wiki/index.php/Translate now for information on translating PLA. diff --git a/lib/TemplateRender.php b/lib/TemplateRender.php index bf6e99d..1ebb03b 100644 --- a/lib/TemplateRender.php +++ b/lib/TemplateRender.php @@ -1212,7 +1212,7 @@ class TemplateRender extends PageRender { $layout = '%s%s'; if (isAjaxEnabled()) - return sprintf($layout,IMGDIR,'add.png',_('Add'), + return sprintf($this->layout['actionajax'],IMGDIR,'add.png',_('Add'), htmlspecialchars($href),_('Add new attribute to this object'), htmlspecialchars($href),str_replace('\'','\\\'',_('Add new attribute')),_('Add new attribute')); else