CRM-15168 add titles to some xml fields
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 08:38:21 +0000 (20:38 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 08:38:21 +0000 (20:38 +1200)
xml/schema/ACL/ACL.xml
xml/schema/Batch/Batch.xml
xml/schema/Core/Address.xml
xml/schema/Core/UFGroup.xml
xml/schema/Core/UFJoin.xml
xml/schema/Core/UFMatch.xml
xml/schema/Core/WordReplacement.xml

index 62fc944b6ceae38429030a32000c60b07af5a2af..a735e3c5dbab2b05e79d52fec5f9cd1a612afcc8 100644 (file)
@@ -27,7 +27,7 @@
        <html>
          <type>Text</type>
        </html>
-       <add>1.6</add>       
+       <add>1.6</add>
     </field>
     <field>
         <name>deny</name>
@@ -37,8 +37,8 @@
         <comment>Is this ACL entry Allow  (0) or Deny (1) ?</comment>
         <html>
          <type>Radio</type>
-       </html>   
-        <add>1.6</add>             
+       </html>
+        <add>1.6</add>
     </field>
     <field>
         <name>entity_table</name>
@@ -51,6 +51,7 @@
     <field>
         <name>entity_id</name>
         <type>int unsigned</type>
+        <title>Entity ID</title>
         <comment>ID of the object possessing this ACL</comment>
         <add>1.6</add>
     </field>
@@ -62,6 +63,7 @@
     <field>
         <name>operation</name>
         <type>varchar</type>
+        <title>ACL Operation</title>
         <length>8</length>
         <required>true</required>
         <comment>What operation does this ACL entry control?</comment>
@@ -71,7 +73,7 @@
         <html>
           <type>Select</type>
         </html>
-        <add>1.6</add>        
+        <add>1.6</add>
     </field>
     <field>
         <name>object_table</name>
@@ -91,7 +93,7 @@
         <type>varchar</type>
         <length>64</length>
         <comment>If this is a grant/revoke entry, what table are we granting?</comment>
-        <add>1.6</add>    
+        <add>1.6</add>
     </field>
     <field>
         <name>acl_id</name>
index 7606115126b9f6f21816ddc04e3a323ed9c95c11..2841971a0133932f3587cc8cc8cad1def5fb232f 100644 (file)
@@ -8,6 +8,7 @@
   <add>3.3</add>
   <field>
     <name>id</name>
+    <title>Batch ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Unique Address ID</comment>
@@ -19,6 +20,7 @@
   </primaryKey>
   <field>
     <name>name</name>
+    <title>Batch Name</title>
     <type>varchar</type>
     <length>64</length>
     <comment>Variable name/programmatic handle for this batch.</comment>
@@ -44,6 +46,7 @@
   </field>
   <field>
     <name>title</name>
+    <title>Batch Title</title>
     <type>varchar</type>
     <length>64</length>
     <localizable>true</localizable>
@@ -55,6 +58,7 @@
   </field>
   <field>
     <name>description</name>
+    <title>Batch Description</title>
     <type>text</type>
     <comment>Description of this batch set.</comment>
     <localizable>true</localizable>
@@ -67,6 +71,7 @@
   </field>
   <field>
     <name>created_id</name>
+    <title>Batch Created By</title>
     <type>int unsigned</type>
     <comment>FK to Contact ID</comment>
     <add>3.3</add>
@@ -80,6 +85,7 @@
   </foreignKey>
   <field>
     <name>created_date</name>
+    <title>Batch Created Date</title>
     <type>datetime</type>
     <comment>When was this item created</comment>
     <add>3.3</add>
   </field>
   <field>
     <name>modified_id</name>
+    <title>Batch Modified By</title>
     <type>int unsigned</type>
     <comment>FK to Contact ID</comment>
     <add>3.3</add>
   </field>
   <field>
     <name>modified_date</name>
+    <title>Batch Modified Date</title>
     <type>datetime</type>
     <comment>When was this item created</comment>
     <add>3.3</add>
   </foreignKey>
   <field>
     <name>saved_search_id</name>
+    <title>Batch Smart Group</title>
     <type>int unsigned</type>
     <comment>FK to Saved Search ID</comment>
     <add>4.1</add>
   </foreignKey>
   <field>
     <name>status_id</name>
+    <title>Batch Status</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>fk to Batch Status options in civicrm_option_values</comment>
   </field>
   <field>
     <name>type_id</name>
+    <title>Batch Type</title>
     <type>int unsigned</type>
     <comment>fk to Batch Type options in civicrm_option_values</comment>
     <add>4.2</add>
   </field>
   <field>
     <name>mode_id</name>
+    <title>Batch Mode</title>
     <type>int unsigned</type>
     <comment>fk to Batch mode options in civicrm_option_values</comment>
     <add>4.2</add>
   </field>
   <field>
     <name>total</name>
+    <title>Batch Total</title>
     <type>decimal</type>
     <comment>Total amount for this batch.</comment>
     <add>4.2</add>
   </field>
   <field>
     <name>item_count</name>
+    <title>Batch Number of Items</title>
     <type>int unsigned</type>
     <comment>Number of items in a batch.</comment>
     <add>4.2</add>
   </field>
   <field>
     <name>payment_instrument_id</name>
+    <title>Batch Payment Instrument</title>
     <type>int unsigned</type>
     <comment>fk to Payment Instrument options in civicrm_option_values</comment>
     <pseudoconstant>
   </field>
   <field>
     <name>exported_date</name>
+    <title>Batch Exported Date</title>
     <type>datetime</type>
     <add>4.3</add>
   </field>
   <field>
     <name>data</name>
+    <title>Batch Data</title>
     <type>longtext</type>
     <comment>cache entered data</comment>
     <add>4.4</add>
index 25cb447f232895887a8ee1c1d1944239afdf19e0..9bee1de75501f0ebf6c5675382c7ac63de26fe56 100644 (file)
@@ -10,6 +10,7 @@
   <field>
       <name>id</name>
       <type>int unsigned</type>
+      <title>Address ID</title>
       <required>true</required>
       <comment>Unique Address ID</comment>
        <add>1.1</add>
@@ -20,6 +21,7 @@
   </primaryKey>
   <field>
       <name>contact_id</name>
+      <title>Contact ID</title>
       <type>int unsigned</type>
       <comment>FK to Contact ID</comment>
       <add>2.0</add>
@@ -66,6 +68,7 @@
   </index>
   <field>
        <name>is_billing</name>
+       <title>Is Billing Address</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Is this the billing address.</comment>
@@ -89,6 +92,7 @@
   </field>
   <field>
        <name>street_number</name>
+       <title>Street Number</title>
        <type>int</type>
        <export>true</export>
        <comment>Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.</comment>
   </field>
   <field>
        <name>street_number_suffix</name>
+       <title>Street Number Suffix</title>
        <type>varchar</type>
        <length>8</length>
        <export>true</export>
   </field>
   <field>
        <name>street_number_predirectional</name>
+       <title>Street Direction Prefix</title>
        <type>varchar</type>
        <length>8</length>
        <comment>Directional prefix, e.g. SE Main St, SE is the prefix.</comment>
   <field>
        <name>street_name</name>
        <type>varchar</type>
+       <title>Street Name</title>
        <length>64</length>
        <export>true</export>
        <comment>Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.</comment>
   </index>
   <field>
        <name>street_type</name>
+       <title>Street Type</title>
        <type>varchar</type>
        <length>8</length>
        <comment>St, Rd, Dr, etc.</comment>
   </field>
   <field>
        <name>street_number_postdirectional</name>
+       <title>Street Direction Suffix</title>
        <type>varchar</type>
        <length>8</length>
        <comment>Directional prefix, e.g. Main St S, S is the suffix.</comment>
   </field>
   <field>
        <name>street_unit</name>
+       <title>Street Unit</title>
        <type>varchar</type>
        <length>16</length>
        <export>true</export>
   </field>
   <field>
        <name>supplemental_address_3</name>
+       <title>Supplemental Address 3</title>
        <type>varchar</type>
        <length>96</length>
        <comment>Supplemental Address Information, Line 3</comment>
   <field>
       <name>county_id</name>
       <type>int unsigned</type>
+      <title>County</title>
       <comment>Which County does this address belong to.</comment>
       <pseudoconstant>
         <table>civicrm_county</table>
   </field>
   <field>
        <name>usps_adc</name>
+       <title>USPS Code</title>
        <type>varchar</type>
        <length>32</length>
        <comment>USPS Bulk mailing code.</comment>
   </foreignKey>
   <field>
        <name>geo_code_1</name>
+       <title>Latitude</title>
        <type>float</type>
        <import>true</import>
        <headerPattern>/geo/i</headerPattern>
   </field>
   <field>
        <name>geo_code_2</name>
+       <title>Longitude</title>
        <type>float</type>
        <comment>Longitude</comment>
        <import>true</import>
   </field>
   <field>
        <name>manual_geo_code</name>
+       <title>Is manually geocoded</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Is this a manually entered geo code</comment>
   </field>
   <field>
        <name>timezone</name>
+       <title>Timezone</title>
        <type>varchar</type>
        <length>8</length>
        <comment>Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".</comment>
index 19db8bf78942ab88ea546c9dd54b2cd6b9f5d156..e9ae71bad852b21d7dcc22605ffde5aa8b3b2205 100644 (file)
@@ -9,6 +9,7 @@
   <log>true</log>
   <field>
       <name>id</name>
+      <title>Profile ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Unique table ID</comment>
@@ -20,6 +21,7 @@
   </primaryKey>
   <field>
        <name>is_active</name>
+       <title>Profile Is Active</title>
        <type>boolean</type>
        <default>1</default>
        <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
@@ -27,6 +29,7 @@
   </field>
   <field>
        <name>group_type</name>
+       <title>Profile Group Type</title>
        <type>varchar</type>
        <length>255</length>
        <import>true</import>
@@ -83,6 +86,7 @@
   </field>
   <field>
      <name>help_post</name>
+      <title>Profile Post Text</title>
      <type>text</type>
      <localizable>true</localizable>
      <comment>Description and/or help text to display after fields in form.</comment>
@@ -95,6 +99,7 @@
   </field>
   <field>
       <name>weight</name>
+      <title>Profile Weight</title>
       <type>int</type>
       <required>true</required>
       <default>1</default>
   </field>
   <field>
        <name>limit_listings_group_id</name>
+       <title>Profile Search Limit Group</title>
        <type>int unsigned</type>
        <comment>Group id, foriegn key from civicrm_group</comment>
       <add>1.4</add>
   </field>
   <field>
     <name>is_reserved</name>
+    <title>Profile Is Reserved</title>
     <type>boolean</type>
     <comment>Is this group reserved for use by some other CiviCRM functionality?</comment>
     <add>3.0</add>
   </field>
   <field>
     <name>name</name>
+    <title>Profile Name</title>
     <type>varchar</type>
     <length>64</length>
     <comment>Name of the UF group for directly addressing it in the codebase</comment>
   </field>
   <field>
     <name>created_id</name>
+    <title>Profile Created By</title>
     <type>int unsigned</type>
     <comment>FK to civicrm_contact, who created this UF group</comment>
     <add>3.0</add>
     <add>3.0</add>
   </field>
   <field>
-       <name>is_proximity_search</name>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should we include proximity search feature in this profile search form?</comment>
-       <add>3.2</add>
+    <name>is_proximity_search</name>
+    <title>Include Proximity Search?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should we include proximity search feature in this profile search form?</comment>
+    <add>3.2</add>
   </field>
 </table>
index 76a4845499034312efba10a11ac2dc4e75516231..3b463b90475c0b7ee957d78593562e4dba09074c 100644 (file)
@@ -9,6 +9,7 @@
   <log>true</log>
   <field>
       <name>id</name>
+      <title>UF Join ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Unique table ID</comment>
@@ -20,6 +21,7 @@
   </primaryKey>
   <field>
        <name>is_active</name>
+       <title>Profile Use is active</title>
        <type>boolean</type>
         <default>1</default>
        <comment>Is this join currently active?</comment>
@@ -27,6 +29,7 @@
   </field>
   <field>
        <name>module</name>
+       <title>Profile Module</title>
        <type>varchar</type>
        <length>64</length>
        <required>true</required>
@@ -35,6 +38,7 @@
   </field>
   <field>
        <name>entity_table</name>
+       <title>Profile Entity Table</title>
        <type>varchar</type>
        <length>64</length>
        <comment>Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.</comment>
@@ -42,6 +46,7 @@
   </field>
   <field>
        <name>entity_id</name>
+       <title>Profile Entity ID</title>
        <type>int unsigned</type>
        <comment>Foreign key to the referenced item.</comment>
        <add>1.3</add>
@@ -60,6 +65,7 @@
   </index>
   <field>
       <name>weight</name>
+      <title>Profile Weight</title>
       <type>int</type>
       <required>true</required>
       <default>1</default>
@@ -68,6 +74,7 @@
   </field>
   <field>
       <name>uf_group_id</name>
+      <title>Profile ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Which form does this field belong to.</comment>
@@ -89,6 +96,7 @@
   </foreignKey>
   <field>
        <name>module_data</name>
+       <title>Profile Use Data</title>
        <type>longtext</type>
        <comment>Json serialized array of data used by the ufjoin.module</comment>
        <add>4.5</add>
index 6f6de437fe98e18de5795427ba0f11c1fb677059..a4481d27fd098f81319f101bb97f728c25241b52 100644 (file)
@@ -9,6 +9,7 @@
   <log>true</log>
   <field>
       <name>id</name>
+      <title>UF Match ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>System generated ID.</comment>
@@ -20,6 +21,7 @@
   </primaryKey>
   <field>
       <name>domain_id</name>
+      <title>UF Match Domain ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Which Domain is this match entry for</comment>
@@ -38,6 +40,7 @@
   </foreignKey>
   <field>
        <name>uf_id</name>
+       <title>CMS ID</title>
        <type>int unsigned</type>
        <required>true</required>
        <comment>UF ID</comment>
   </index>
   <field>
        <name>uf_name</name>
+       <title>CMS Unique Identifier</title>
        <type>varchar</type>
        <length>128</length>
        <comment>UF Name</comment>
        <add>1.9.kabissa</add>
   </field>
   <field>
-       <name>contact_id</name>
+      <name>contact_id</name>
+      <title>CiviCRM Contact ID</title>
       <type>int unsigned</type>
       <comment>FK to Contact ID</comment>
       <add>1.1</add>
@@ -79,6 +84,7 @@
   </field>
   <field>
     <name>language</name>
+    <title>Preferred Language</title>
     <type>varchar</type>
     <length>5</length>
     <comment>UI language preferred by the given user/contact</comment>
index 70654aa77c9eee590ad82ae4996ff3ee43701a71..e3a544ce29d8fcacd27676f539eb604b5124466f 100644 (file)
@@ -8,6 +8,7 @@
   <add>4.4</add>
   <field>
     <name>id</name>
+    <title>Word Replacement ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Word replacement ID</comment>
@@ -19,6 +20,7 @@
   </primaryKey>
   <field>
     <name>find_word</name>
+    <title>Replaced Word</title>
     <type>varchar</type>
     <length>255</length>
     <collate>utf8_bin</collate>
@@ -27,6 +29,7 @@
   </field>
   <field>
     <name>replace_word</name>
+    <title>Replacement Word</title>
     <type>varchar</type>
     <length>255</length>
     <collate>utf8_bin</collate>
     <add>4.4</add>
   </index>
   <field>
-       <name>match_type</name>
-       <type>varchar</type>
-       <length>16</length>
-       <default>"wildcardMatch"</default>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getWordReplacementMatchType</callback>
-       </pseudoconstant>
-       <add>4.4</add>
-       <html>
-         <type>Select</type>
-       </html>
+     <name>match_type</name>
+     <title>Word Replacement Match Type</title>
+     <type>varchar</type>
+     <length>16</length>
+     <default>"wildcardMatch"</default>
+     <pseudoconstant>
+       <callback>CRM_Core_SelectValues::getWordReplacementMatchType</callback>
+     </pseudoconstant>
+     <add>4.4</add>
+     <html>
+       <type>Select</type>
+     </html>
   </field>
   <field>
     <name>domain_id</name>
+    <title>Word Replacement Domain ID</title>
     <type>int unsigned</type>
     <pseudoconstant>
       <table>civicrm_domain</table>