X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FPage%2FContactType.php;h=72c86fe7587f9911a871f84821f2833bbfdb1d09;hb=4fd26f71c62960fbbb738a549bb595926f1eb70b;hp=14b1ee6021f449a9cd52b1bd5fb2b4e69834925d;hpb=6628866da4eb17b8ff190928d8afdbee11526ae6;p=civicrm-core.git diff --git a/CRM/Admin/Page/ContactType.php b/CRM/Admin/Page/ContactType.php index 14b1ee6021..72c86fe758 100644 --- a/CRM/Admin/Page/ContactType.php +++ b/CRM/Admin/Page/ContactType.php @@ -1,7 +1,7 @@ - array( + CRM_Core_Action::UPDATE => array( 'name' => ts('Edit'), 'url' => 'civicrm/admin/options/subtype', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Contact Type'), ), - CRM_Core_Action::DISABLE => - array( + CRM_Core_Action::DISABLE => array( 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Contact Type'), ), - CRM_Core_Action::ENABLE => - array( + CRM_Core_Action::ENABLE => array( 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Contact Type'), ), - CRM_Core_Action::DELETE => - array( + CRM_Core_Action::DELETE => array( 'name' => ts('Delete'), 'url' => 'civicrm/admin/options/subtype', 'qs' => 'action=delete&id=%%id%%', @@ -155,6 +151,8 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic { /** * Get user context. * + * @param null $mode + * * @return string user context. */ function userContext($mode = NULL) {