Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2013-12-09-17-00-10
[civicrm-core.git] / CRM / Admin / Page / PdfFormats.php
index 106bfa9c01de0702c6ebfc27850a45f76e13b336..88f4f4549bf23610e34a2febb48c6d96f341fae3 100644 (file)
@@ -124,7 +124,16 @@ class CRM_Admin_Page_PdfFormats extends CRM_Core_Page_Basic {
     // Add action links to each of the PDF Page Formats
     $action = array_sum(array_keys($this->links()));
     foreach ($pdfFormatList as & $format) {
-      $format['action'] = CRM_Core_Action::formLink(self::links(), $action, array('id' => $format['id']));
+      $format['action'] = CRM_Core_Action::formLink(
+        self::links(),
+        $action,
+        array('id' => $format['id']),
+        ts('more'),
+        FALSE,
+        'pdfFormat.manage.action',
+        'PdfFormat',
+        $format['id']
+      );
     }
 
     // Order Label Formats by weight