Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add '<browse>' links matching those in AdminUI #26921

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/ACL.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:a77f71abc7be09b3df836ddb6e5d2990)
* (GenCodeChecksum:e9000e92e55c139962db398047f4800c)
*/

/**
Expand Down Expand Up @@ -39,6 +39,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'add' => 'civicrm/acl/edit?reset=1&action=add',
'delete' => 'civicrm/acl/delete?reset=1&action=delete&id=[id]',
'update' => 'civicrm/acl/edit?reset=1&action=edit&id=[id]',
'browse' => 'civicrm/acl',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/ACLEntityRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:e66b252f62d0fa48cb74f49b3058aae5)
* (GenCodeChecksum:7229c30acb38b593ebfff2d9baf84bd0)
*/

/**
Expand Down Expand Up @@ -39,6 +39,7 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
'add' => 'civicrm/acl/entityrole?reset=1&action=add',
'delete' => 'civicrm/acl/entityrole?reset=1&action=delete&id=[id]',
'update' => 'civicrm/acl/entityrole?reset=1&action=update&id=[id]',
'browse' => 'civicrm/acl',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/ContactType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:7e48bb315c81d45e3d4ddb582396615d)
* (GenCodeChecksum:e4773f83a587c49fc7efc7a507b06fb8)
*/

/**
Expand Down Expand Up @@ -46,6 +46,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO {
'add' => 'civicrm/admin/options/subtype/edit?action=add&reset=1',
'update' => 'civicrm/admin/options/subtype/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/options/subtype/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/options/subtype',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:5cb6d58b6f91122093003d8c0db4fab1)
* (GenCodeChecksum:34853e01e303b4fe9111665cc7eb0fb5)
*/

/**
Expand Down Expand Up @@ -54,6 +54,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
'view' => 'civicrm/group/search?force=1&context=smog&gid=[id]&component_mode=1',
'update' => 'civicrm/group/edit?reset=1&action=update&id=[id]',
'delete' => 'civicrm/group/edit?reset=1&action=delete&id=[id]',
'browse' => 'civicrm/group',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/RelationshipType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/RelationshipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:0428f0893ca456c68bb6121eb047b0f7)
* (GenCodeChecksum:e729e1ecffeb6861f8dd1c7523612621)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Contact_DAO_RelationshipType extends CRM_Core_DAO {
'view' => 'civicrm/admin/reltype/edit?action=view&id=[id]&reset=1',
'update' => 'civicrm/admin/reltype/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/reltype/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/reltype',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contribute/DAO/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:fff705a45cbf2750018b57a05e5b1cb2)
* (GenCodeChecksum:7d36798b74d9cf8912d4b23b5abe2fc8)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
'add' => 'civicrm/admin/contribute/add?reset=1&action=add',
'update' => 'civicrm/admin/contribute/settings?reset=1&action=update&id=[id]',
'delete' => 'civicrm/admin/contribute?reset=1&action=delete&id=[id]',
'browse' => 'civicrm/admin/contribute',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/DAO/CustomGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:aa09bb4ab9224e33693159efddd64089)
* (GenCodeChecksum:7bcb3484fe1ff4d97feddb0d2ad981ec)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
'update' => 'civicrm/admin/custom/group/edit?action=update&reset=1&id=[id]',
'preview' => 'civicrm/admin/custom/group/preview?reset=1&gid=[id]',
'delete' => 'civicrm/admin/custom/group/delete?reset=1&id=[id]',
'browse' => 'civicrm/admin/custom/group',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/DAO/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:aa30e47b3e824d879677194f87538a4f)
* (GenCodeChecksum:8cdd8a0345692691b54720bd3568e5f0)
*/

/**
Expand Down Expand Up @@ -39,6 +39,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
'add' => 'civicrm/admin/job/add?reset=1&action=add',
'delete' => 'civicrm/admin/job/edit?reset=1&action=delete&id=[id]',
'update' => 'civicrm/admin/job/edit?reset=1&action=update&id=[id]',
'browse' => 'civicrm/admin/job',
];

/**
Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/DAO/LocationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class CRM_Core_DAO_LocationType extends CRM_Core_DAO {
* @var string[]
*/
protected static $_paths = [
'browse' => 'civicrm/admin/locationType',
'add' => 'civicrm/admin/locationType/edit?action=add&reset=1',
'update' => 'civicrm/admin/locationType/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/locationType/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/locationType',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/DAO/MailSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/MailSettings.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:f78519e347dec6f6fde41e14b7da4370)
* (GenCodeChecksum:2e7847f2338745c805f4d8c8939ac511)
*/

/**
Expand Down Expand Up @@ -39,6 +39,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
'add' => 'civicrm/admin/mailSettings/edit?action=add&reset=1',
'update' => 'civicrm/admin/mailSettings/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/mailSettings/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/mailSettings',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/DAO/UFField.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/UFField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:20802d4a0ef8e7729efdc58ecfec264e)
* (GenCodeChecksum:e07b4f9c58827ac1460403ab699905ab)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
'preview' => 'civicrm/admin/uf/group/preview?reset=1&gid=[uf_group_id]&fieldId=[id]',
'update' => 'civicrm/admin/uf/group/field/update?reset=1&action=update&id=[id]',
'delete' => 'civicrm/admin/uf/group/field/update?reset=1&action=delete&id=[id]',
'browse' => 'civicrm/admin/uf/group/field',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/DAO/UFGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/UFGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:0d970471c35ed280de73bc5f065278cf)
* (GenCodeChecksum:0b3f7d95cc8abdec20fb926e2edb2fbd)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
'preview' => 'civicrm/admin/uf/group/preview?reset=1&gid=[id]',
'update' => 'civicrm/admin/uf/group/update?action=update&reset=1&id=[id]',
'delete' => 'civicrm/admin/uf/group/update?action=delete&reset=1&id=[id]',
'browse' => 'civicrm/admin/uf/group',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Financial/DAO/FinancialAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Financial/FinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:c45c99d990c6bd6f7e29fe0fa5cd761d)
* (GenCodeChecksum:0551f4c3b00db2c2fa9f7265bfce9c84)
*/

/**
Expand Down Expand Up @@ -40,6 +40,7 @@ class CRM_Financial_DAO_FinancialAccount extends CRM_Core_DAO {
'add' => 'civicrm/admin/financial/financialAccount/edit?action=add&reset=1',
'update' => 'civicrm/admin/financial/financialAccount/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/financial/financialAccount/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/financial/financialAccount',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Financial/DAO/FinancialType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Financial/FinancialType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:97ab5fc26c36616ca7805c5578ed5657)
* (GenCodeChecksum:f34814d42721174a2f55bc744f497b6f)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
'add' => 'civicrm/admin/financial/financialType/edit?action=add&reset=1',
'update' => 'civicrm/admin/financial/financialType/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/financial/financialType/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/financial/financialType',
];

/**
Expand Down
3 changes: 2 additions & 1 deletion CRM/Financial/DAO/PaymentProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:beafb7d7c0f62e3e4ba0367d7b7f58af)
* (GenCodeChecksum:d3616bad5f2242f0fdb560d2b6d0cf87)
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
'add' => 'civicrm/admin/paymentProcessor/edit?action=add&reset=1',
'update' => 'civicrm/admin/paymentProcessor/edit?action=update&id=[id]&reset=1',
'delete' => 'civicrm/admin/paymentProcessor/edit?action=delete&id=[id]&reset=1',
'browse' => 'civicrm/admin/paymentProcessor',
];

/**
Expand Down
1 change: 1 addition & 0 deletions xml/schema/ACL/ACL.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<add>civicrm/acl/edit?reset=1&amp;action=add</add>
<delete>civicrm/acl/delete?reset=1&amp;action=delete&amp;id=[id]</delete>
<update>civicrm/acl/edit?reset=1&amp;action=edit&amp;id=[id]</update>
<browse>civicrm/acl</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/ACL/ACLEntityRole.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<add>civicrm/acl/entityrole?reset=1&amp;action=add</add>
<delete>civicrm/acl/entityrole?reset=1&amp;action=delete&amp;id=[id]</delete>
<update>civicrm/acl/entityrole?reset=1&amp;action=update&amp;id=[id]</update>
<browse>civicrm/acl</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Contact/ContactType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<add>civicrm/admin/options/subtype/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/options/subtype/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/options/subtype/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/options/subtype</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Contact/Group.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<view>civicrm/group/search?force=1&amp;context=smog&amp;gid=[id]&amp;component_mode=1</view>
<update>civicrm/group/edit?reset=1&amp;action=update&amp;id=[id]</update>
<delete>civicrm/group/edit?reset=1&amp;action=delete&amp;id=[id]</delete>
<browse>civicrm/group</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Contact/RelationshipType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<view>civicrm/admin/reltype/edit?action=view&amp;id=[id]&amp;reset=1</view>
<update>civicrm/admin/reltype/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/reltype/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/reltype</browse>
</paths>
<log>true</log>
<field>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Contribute/ContributionPage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<add>civicrm/admin/contribute/add?reset=1&amp;action=add</add>
<update>civicrm/admin/contribute/settings?reset=1&amp;action=update&amp;id=[id]</update>
<delete>civicrm/admin/contribute?reset=1&amp;action=delete&amp;id=[id]</delete>
<browse>civicrm/admin/contribute</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Core/CustomGroup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<update>civicrm/admin/custom/group/edit?action=update&amp;reset=1&amp;id=[id]</update>
<preview>civicrm/admin/custom/group/preview?reset=1&amp;gid=[id]</preview>
<delete>civicrm/admin/custom/group/delete?reset=1&amp;id=[id]</delete>
<browse>civicrm/admin/custom/group</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Core/Job.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<add>civicrm/admin/job/add?reset=1&amp;action=add</add>
<delete>civicrm/admin/job/edit?reset=1&amp;action=delete&amp;id=[id]</delete>
<update>civicrm/admin/job/edit?reset=1&amp;action=update&amp;id=[id]</update>
<browse>civicrm/admin/job</browse>
</paths>
<field>
<name>id</name>
Expand Down
2 changes: 1 addition & 1 deletion xml/schema/Core/LocationType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<add>1.1</add>
<log>true</log>
<paths>
<browse>civicrm/admin/locationType</browse>
<add>civicrm/admin/locationType/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/locationType/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/locationType/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/locationType</browse>
colemanw marked this conversation as resolved.
Show resolved Hide resolved
</paths>
<labelField>display_name</labelField>
<field>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Core/MailSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<add>civicrm/admin/mailSettings/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/mailSettings/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/mailSettings/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/mailSettings</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Core/UFField.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<preview>civicrm/admin/uf/group/preview?reset=1&amp;gid=[uf_group_id]&amp;fieldId=[id]</preview>
<update>civicrm/admin/uf/group/field/update?reset=1&amp;action=update&amp;id=[id]</update>
<delete>civicrm/admin/uf/group/field/update?reset=1&amp;action=delete&amp;id=[id]</delete>
<browse>civicrm/admin/uf/group/field</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Core/UFGroup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<preview>civicrm/admin/uf/group/preview?reset=1&amp;gid=[id]</preview>
<update>civicrm/admin/uf/group/update?action=update&amp;reset=1&amp;id=[id]</update>
<delete>civicrm/admin/uf/group/update?action=delete&amp;reset=1&amp;id=[id]</delete>
<browse>civicrm/admin/uf/group</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Financial/FinancialAccount.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<add>civicrm/admin/financial/financialAccount/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/financial/financialAccount/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/financial/financialAccount/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/financial/financialAccount</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Financial/FinancialType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<add>civicrm/admin/financial/financialType/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/financial/financialType/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/financial/financialType/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/financial/financialType</browse>
</paths>
<field>
<name>id</name>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Financial/PaymentProcessor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<add>civicrm/admin/paymentProcessor/edit?action=add&amp;reset=1</add>
<update>civicrm/admin/paymentProcessor/edit?action=update&amp;id=[id]&amp;reset=1</update>
<delete>civicrm/admin/paymentProcessor/edit?action=delete&amp;id=[id]&amp;reset=1</delete>
<browse>civicrm/admin/paymentProcessor</browse>
</paths>
<field>
<name>id</name>
Expand Down