<adminGroup>System Settings</adminGroup>
<weight>500</weight>
</item>
- <item>
+ <item>
+ <path>civicrm/admin/sms/provider/edit</path>
+ <title>Sms Providers</title>
+ <desc>To configure a sms provider</desc>
+ <page_callback>CRM_SMS_Form_Provider</page_callback>
+ <access_arguments>administer CiviCRM</access_arguments>
+ <adminGroup>System Settings</adminGroup>
+ <weight>501</weight>
+ </item>
+ <item>
<path>civicrm/sms/send</path>
<title>New Mass SMS</title>
<page_callback>CRM_SMS_Controller_Send</page_callback>
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ea1cbd7f1f11e5665fff00358476e535)
+ * (GenCodeChecksum:2d570203bb9be927ba5276f3c2043d45)
*/
/**
* @var string[]
*/
protected static $_paths = [
- 'add' => 'civicrm/admin/sms/provider?reset=1&action=add',
- 'delete' => 'civicrm/admin/sms/provider?reset=1&action=delete&id=[id]',
- 'update' => 'civicrm/admin/sms/provider?reset=1&action=update&id=[id]',
+ 'add' => 'civicrm/admin/sms/provider/edit?reset=1&action=add',
+ 'delete' => 'civicrm/admin/sms/provider/edit?reset=1&action=delete&id=[id]',
+ 'update' => 'civicrm/admin/sms/provider/edit?reset=1&action=update&id=[id]',
+ 'browse' => 'civicrm/admin/sms/provider?reset=1',
];
/**
public function preProcess() {
- $this->_id = $this->get('id');
+ $this->_id = CRM_Utils_Request::retrieve('id', 'Integer', $this);
$this->setPageTitle(ts('SMS Provider'));
<comment>Table to add different sms providers </comment>
<add>4.2</add>
<paths>
- <add>civicrm/admin/sms/provider?reset=1&action=add</add>
- <delete>civicrm/admin/sms/provider?reset=1&action=delete&id=[id]</delete>
- <update>civicrm/admin/sms/provider?reset=1&action=update&id=[id]</update>
+ <add>civicrm/admin/sms/provider/edit?reset=1&action=add</add>
+ <delete>civicrm/admin/sms/provider/edit?reset=1&action=delete&id=[id]</delete>
+ <update>civicrm/admin/sms/provider/edit?reset=1&action=update&id=[id]</update>
+ <browse>civicrm/admin/sms/provider?reset=1</browse>
</paths>
<title>SMS Provider</title>
<field>