From: Chuck Scott Date: Tue, 8 Oct 2019 14:34:15 +0000 (-0400) Subject: Merge branch 'feature/doctest' into develop X-Git-Tag: v1.0.0^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e9e18ff38ed494bc783e48c8de8ce68a226e00aa;p=prog%2Fglm-documentation.git Merge branch 'feature/doctest' into develop --- e9e18ff38ed494bc783e48c8de8ce68a226e00aa diff --cc TEST/GitDocTest.html index 346806e,04b42c5..0000000 deleted file mode 100644,100644 --- a/TEST/GitDocTest.html +++ /dev/null @@@ -1,253 -1,254 +1,0 @@@ -- -- -- -- -- -- -- - - -- -- -- --
    --
  1. --

    -- GLM - UI Elements – TEST – DEVELOP

    - UI Elements – TEST – A TEST HERE --
--


--
-- --

--

The --GLM UI Elements are a collection of HTML files that provide a means --to implement standarized user interface features and associated --elements for layout. Each element consists of one HTML file and in --some cases a pair of HTML files (start/end) that may be called along --with a set of parameters ($ui array) to generate all HTML code needed --to implement a certain user interface feature. In short, an entire --user input form can be created using only a sequence of $ui array --definitions and include statements for the UI html files. --

--

These - standardized UI Elements are designed to ANOTHER DEVELOP TEST include - support for all standard features including form field titles, input - fields, descriptive text, help tips, form validation, field error - messages, field error highlighting, form submission blocking on - error, page change warning if form data has been modified, responsive - layout, and compliance with audio page readers. All GLM UI Elements - assume that Foundation 6 XY Grid will be used to layout the contents. - That must be initialized for any of this to work.

-standardized UI Elements are designed to SOME OTHER TEST - ANOTHER -TEST include support for all standard features including form field -titles, input fields, descriptive text, help tips, form validation, -field error messages, field error highlighting, form submission -blocking on error, page change warning if form data has been -modified, responsive layout, and compliance with audio page readers. -All GLM UI Elements assume that Foundation 6 XY Grid will be used to -layout the contents. That must be initialized for any of this to -work.

--

These --GLM UI Elements should only exist once in a project so that there is --only one UI element of a specific type to update when the user --interface for these elements needs to be updated. Those changes will --therefore be consistent thoughout the project. --

--
    --
      --
    1. --

      Implementation

      --
    --
--

GLM --UI Elements are incorporated into a view (HTML file with Smarty --templating) by first defining the $ui array that controls a --particular UI element and then including the UI element as shown in --the following example.

--

--{* --cust_contact *}

--

--// - DEVELOP - TEST

-AND THEN SOME TEST

--

--{$ui --= [

--

--'field' --=> 'cust_contact',

--

--'value' --=> {$settings.cust_contact},

--

--'label' --=> 'Customer Contact E-Mail',

--

--'required' --=> false,

--

--'helpText' --=> 'Leave empty to prevent any E-mail from being sent for this --site.'

--

--]}

--

--{include --file="ui/f6/text.html"}

--

--
-- --

--

The --example above creates a standard text input field. There are three --parts to this. --

--


-- --

-- --


-- --

--

As --noted in the previous secion, some UI elements may have 2 separate --pieces. An example is below.

--


-- --

--

--{* --Grid Start *}

--

--{$ui --= [

--

--'sectionColor' --=> '#ffE',

--

--'nowrap' --=> true

--

--]}

--

--{include --file="ui/f6/grid-start.html"}

--

--
-- --

--

--*** --content here ****

--

--
-- --

--

--{* --Grid End *}

--

--{$ui --= [

--

--'noFoundationInit' --=> true

--

--]}

--

--{include --file="ui/f6/grid-end.html"}

--


-- --

--

In --this case there is a UI element that is used to start an area of the --view that will contain Foundation 6 XY grid content followed by a UI --element that ends that area and that may or may not initialize --Foundation 6.

--


-- --

--


-- --

--
    --
      --
    1. --

      GLM -- UI Element Reference

      --
    --
--

*** --NEED TO WRITE *** --

--

GLM --UI Elements are incorporated into a view (HTML file with Smarty --templating) by first defining the $ui array that controls a --particular UI element and then including the UI element as shown in --the following example.

--

--{* --cust_contact *}

--

--{$ui --= [

--

--'field' --=> 'cust_contact',

--

--'value' --=> {$settings.cust_contact},

--

--'label' --=> 'Customer Contact E-Mail',

--

--'required' --=> false,

--

--'helpText' --=> 'Leave empty to prevent any E-mail from being sent for this --site.'

--

--]}

--

--{include --file="ui/f6/text.html"}

--

--
-- --

--

The --example above creates a standard text input field. There are three --parts to this. --

--


-- --

-- -- diff --cc TEST/GitDocTest.rtf index 4603c15,d6ae007..0000000 deleted file mode 100644,100644 --- a/TEST/GitDocTest.rtf +++ /dev/null @@@ -1,197 -1,197 +1,0 @@@ --{\rtf1\ansi\deff3\adeflang1025 --{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}{\f6\froman\fprq2\fcharset0 Liberation Mono{\*\falt Courier New};}{\f7\fnil\fprq2\fcharset0 Lohit Devanagari;}{\f8\fnil\fprq2\fcharset0 Liberation Serif{\*\falt Times New Roman};}{\f9\fnil\fprq2\fcharset0 OpenSymbol{\*\falt Arial Unicode MS};}{\f10\fnil\fprq2\fcharset0 Liberation Mono{\*\falt Courier New};}{\f11\fnil\fprq2\fcharset0 Liberation Sans{\*\falt Arial};}} --{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red35\green38\blue39;} --{\stylesheet{\s0\snext0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033 Normal;} --{\s1\sbasedon25\snext1\sautoupd\ql\widctlpar\hyphpar0\sb240\sa120\brdrb\brdrs\brdrw15\brdrcf1\brsp20\keepn\ltrpar\cf1\ulnone\ulc0\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs36\lang1033 Heading 1;} --{\s2\sbasedon25\snext2\sautoupd\ql\widctlpar\hyphpar0\sb200\sa120\keepn\ltrpar\cf1\ul\ulc0\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs32\lang1033 Heading 2;} --{\s3\sbasedon25\snext3\ql\widctlpar\hyphpar0\sb140\sa120\keepn\ltrpar\cf1\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs28\lang1033 Heading 3;} --{\*\cs15\snext15 Numbering Symbols;} --{\*\cs16\snext16\dbch\af9\loch\f3\fs24 ListLabel 1;} --{\*\cs17\snext17\dbch\af9 ListLabel 2;} --{\*\cs18\snext18\dbch\af9 ListLabel 3;} --{\*\cs19\snext19\dbch\af9 ListLabel 4;} --{\*\cs20\snext20\dbch\af9 ListLabel 5;} --{\*\cs21\snext21\dbch\af9 ListLabel 6;} --{\*\cs22\snext22\dbch\af9 ListLabel 7;} --{\*\cs23\snext23\dbch\af9 ListLabel 8;} --{\*\cs24\snext24\dbch\af9 ListLabel 9;} --{\s25\sbasedon0\snext26\ql\widctlpar\hyphpar0\sb240\sa120\keepn\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f5\fs28\lang1033 Heading;} --{\s26\sbasedon0\snext26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033 Text Body;} --{\s27\sbasedon26\snext27\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033 List;} --{\s28\sbasedon0\snext28\ql\widctlpar\hyphpar0\sb120\sa120\ltrpar\cf1\i\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033 Caption;} --{\s29\sbasedon0\snext29\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033 Index;} --{\s30\sbasedon0\snext30\ql\widctlpar\hyphpar0\sb0\sa0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f6\fs20\lang1033 Preformatted Text;} --}{\*\listtable{\list\listtemplateid1 --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0}\listid1} --{\list\listtemplateid2 --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u8226 ?;}{\levelnumbers;}\f12\fi-360\li720} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9702 ?;}{\levelnumbers;}\f12\fi-360\li1080} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9642 ?;}{\levelnumbers;}\f12\fi-360\li1440} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u8226 ?;}{\levelnumbers;}\f12\fi-360\li1800} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9702 ?;}{\levelnumbers;}\f12\fi-360\li2160} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9642 ?;}{\levelnumbers;}\f12\fi-360\li2520} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u8226 ?;}{\levelnumbers;}\f12\fi-360\li2880} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9702 ?;}{\levelnumbers;}\f12\fi-360\li3240} --{\listlevel\levelnfc23\leveljc0\levelstartat1\levelfollow0{\leveltext \'01\u9642 ?;}{\levelnumbers;}\f12\fi-360\li3600}\listid2} --{\list\listtemplateid3 --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0} --{\listlevel\levelnfc255\leveljc0\levelstartat1\levelfollow2{\leveltext \'00;}{\levelnumbers;}\fi0\li0}\listid3} - }{\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}}{\*\generator LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3}{\info{\creatim\yr2019\mo4\dy24\hr18\min47}{\revtim\yr2019\mo10\dy8\hr10\min29}{\printim\yr0\mo0\dy0\hr0\min0}}{\*\userprops}\deftab720 -}{\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}}{\*\generator LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3}{\info{\creatim\yr2019\mo4\dy24\hr18\min47}{\revtim\yr2019\mo10\dy8\hr10\min27}{\printim\yr0\mo0\dy0\hr0\min0}}{\*\userprops}\deftab720 --\hyphauto0\viewscale160 --{\*\pgdsctbl --{\pgdsc0\pgdscuse451\pgwsxn12240\pghsxn15840\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Default Style;}} --\formshade{\*\pgdscno0}\paperh15840\paperw12240\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\sectunlocked1\pgndec\pgwsxn12240\pghsxn15840\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc --{\*\ftnsep\chftnsep}\pgndec\pard\plain \s1\ql\widctlpar\hyphpar0\sb240\sa120\brdrb\brdrs\brdrw15\brdrcf1\brsp20\keepn\ltrpar\cf1\ulnone\ulc0\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs36\lang1033{\listtext\pard\plain }\ilvl0\ls1 \li0\ri0\lin0\rin0\fi0\li0\ri0\lin0\rin0\fi0\sb240\sa120\brdrb\brdrs\brdrw15\brdrcf1\brsp20{\cf1\ulnone\ulc0\b\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs36\loch\f5\hich\af5 --GLM UI Elements}{\cf1\ulnone\ulc0\b0\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs36\loch\f5\hich\af5 - \u8211\'96 TEST - }{\cf1\ulnone\ulc0\b0\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs36\loch\f5\hich\af5 - DEVELOP} - \u8211\'96 TEST \u8211\'96 }{\cf1\ulnone\ulc0\b0\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs36\loch\f5\hich\af5 -A test here} --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 -- --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 --The GLM UI Elements are a collection of HTML files that provide a means to implement standarized user interface features and associated elements for layout. Each element consists of one HTML file and in some cases a pair of HTML files (start/end) that may be called along with a set of parameters ($ui array) to generate all HTML code needed to implement a certain user interface feature. In short, an entire user input form can be created using only a sequence of $ui array definitions and include statements for the UI html files. } --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 - These standardized UI Elements are THIS }{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 - DEVELOP }{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 - IS A TEST designed to include support for all standard features including form field titles, input fields, descriptive text, help tips, form validation, field error messages, field error highlighting, form submission blocking on error, page change warning if form data has been modified, responsive layout, and compliance with audio page readers. All GLM UI Elements assume that Foundation 6 XY Grid will be used to layout the contents. That must be initialized for any of this to work.} -These standardized UI Elements are }{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 -AND SOME HERE - }{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 -THIS IS A TEST designed to include support for all standard features including form field titles, input fields, descriptive text, help tips, form validation, field error messages, field error highlighting, form submission blocking on error, page change warning if form data has been modified, responsive layout, and compliance with audio page readers. All GLM UI Elements assume that Foundation 6 XY Grid will be used to layout the contents. That must be initialized for any of this to work.} --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 --These GLM UI Elements should only exist once in a project so that there is only one UI element of a specific type to update when the user interface for these elements needs to be updated. Those changes will therefore be consistent thoughout the project. } --\par \pard\plain \s2\ql\widctlpar\hyphpar0\sb200\sa120\keepn\ltrpar\cf1\ul\ulc0\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs32\lang1033{\listtext\pard\plain }\ilvl1\ls1 \li0\ri0\lin0\rin0\fi0\li0\ri0\lin0\rin0\fi0{\cf1\ul\ulc0\b\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs32\loch\f5\hich\af5 --Implementation} --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 --GLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{* cust_contact *\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 - // SOME }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 - DEVELOP }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 - OTHER STUFF} -// }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -SOME HERE --- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -SOME OTHER STUFF} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{$ui = [} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'field' => 'cust_contact',} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'value' => \{$settings.cust_contact\},} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'label' => 'Customer Contact E-Mail',} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'required' => false,} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.'} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --]\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{include file="ui/f6/text.html"\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs16\lang1033 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --The example above creates a standard text input field. There are three parts to this. } --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\listtext\pard\plain \u8226\'95\tab}\ilvl0\ls2 \li1440\ri0\lin1440\rin0\fi-360\li720\ri0\lin720\rin0\fi-360{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --At the top is a Smarty style commend that indicates the field that is being created. This makes it easy to scan down a file and identify certain UI elements.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\listtext\pard\plain \u8226\'95\tab}\ilvl0\ls2 \li1440\ri0\lin1440\rin0\fi-360\li720\ri0\lin720\rin0\fi-360{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --In the middle is the $ui assignment. It contains the information required to customize this UI element for the specified field. An explanation of the information that can be supplied is described at the top of each UI Element HTML file and in this document. (The information in the UI Element will be the definative information.)} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\listtext\pard\plain \u8226\'95\tab}\ilvl0\ls2 \li1440\ri0\lin1440\rin0\fi-360\li720\ri0\lin720\rin0\fi-360{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --At the bottom is the Smarty include statement that will cause the specific UI element to be included in the tempate at this point.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --As noted in the previous secion, some UI elements may have 2 separate pieces. An example is below.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{* Grid Start *\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{$ui = [} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'sectionColor' => '#ffE',} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'nowrap' => true} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --]\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{include file="ui/f6/grid-start.html"\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --*** content here ****} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{* Grid End *\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{$ui = [} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'noFoundationInit' => true} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --]\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{include file="ui/f6/grid-end.html"\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --In this case there is a UI element that is used to start an area of the view that will contain Foundation 6 XY grid content followed by a UI element that ends that area and that may or may not initialize Foundation 6.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\fs24\lang1033 -- } --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 -- --\par \pard\plain \s2\ql\widctlpar\hyphpar0\sb200\sa120\keepn\ltrpar\cf1\ul\ulc0\b\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f4\fs32\lang1033{\listtext\pard\plain }\ilvl1\ls1 \li0\ri0\lin0\rin0\fi0\li0\ri0\lin0\rin0\fi0{\cf1\ul\ulc0\b\kerning1\dbch\af7\langfe1033\dbch\af11\rtlch \ltrch\loch\fs32\loch\f5\hich\af5 --GLM UI Element Reference} --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 --*** NEED TO WRITE *** } --\par \pard\plain \s26\sl276\slmult1\ql\widctlpar\hyphpar0\sb0\sa140\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\loch\f3\fs24\lang1033\sl276\slmult1{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24 --GLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{* cust_contact *\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{$ui = [} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'field' => 'cust_contact',} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'value' => \{$settings.cust_contact\},} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'label' => 'Customer Contact E-Mail',} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'required' => false,} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\fs18\lang1033\loch\f6\hich\af6 -- }{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.'} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --]\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0{\cf17\kerning1\dbch\af10\langfe1033\dbch\af10\rtlch \ltrch\loch\fs18\lang1033\loch\f6\hich\af6 --\{include file="ui/f6/text.html"\}} --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\li720\ri0\lin720\rin0\fi0\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs16\lang1033 -- --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033{\cf1\kerning1\dbch\af8\langfe1033\rtlch \ltrch\loch\fs24\lang1033 --The example above creates a standard text input field. There are three parts to this. } --\par \pard\plain \s0\ql\widctlpar\hyphpar0\ltrpar\cf1\kerning1\dbch\af8\langfe1033\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1033\rtlch \ltrch\loch -- --\par } diff --cc TEST/GitDocTest.xml index bf841a8,e2104c5..0000000 deleted file mode 100644,100644 --- a/TEST/GitDocTest.xml +++ /dev/null @@@ -1,19 -1,19 +1,0 @@@ -- -- - 202019-04-24T18:47:00Z2019-10-08T10:30:48.062319922Z2620384248LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3 - 202019-04-24T18:47:00Z2019-10-08T10:28:39.310152768Z2626384148LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3 -- -- -- -- -- -- -- -- -- -- -- -- -- -- - GLM UI Elements – The GLM UI Elements are a collection of HTML files that provide a means to implement standarized user interface features and associated elements for layout. Each element consists of one HTML file and in some cases a pair of HTML files (start/end) that may be called along with a set of parameters ($ui array) to generate all HTML code needed to implement a certain user interface feature. In short, an entire user input form can be created using only a sequence of $ui array definitions and include statements for the UI html files. These standardized UI Elements are designed to include support for all standard features including form field titles, input fields, descriptive text, help tips, form validation, field error messages, field error highlighting, form submission blocking on error, page change warning if form data has been modified, responsive layout, and compliance with audio page readers. All GLM UI Elements assume that Foundation 6 XY Grid will be used to layout the contents. That must be initialized for any of this to work.These GLM UI Elements should only exist once in a project so that there is only one UI element of a specific type to update when the user interface for these elements needs to be updated. Those changes will therefore be consistent thoughout the project. ImplementationGLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.{* cust_contact *}// {$ui = [ 'field' => 'cust_contact', 'value' => {$settings.cust_contact}, 'label' => 'Customer Contact E-Mail', 'required' => false, 'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.']}{include file="ui/f6/text.html"}The example above creates a standard text input field. There are three parts to this. At the top is a Smarty style commend that indicates the field that is being created. This makes it easy to scan down a file and identify certain UI elements.In the middle is the $ui assignment. It contains the information required to customize this UI element for the specified field. An explanation of the information that can be supplied is described at the top of each UI Element HTML file and in this document. (The information in the UI Element will be the definative information.)At the bottom is the Smarty include statement that will cause the specific UI element to be included in the tempate at this point.As noted in the previous secion, some UI elements may have 2 separate pieces. An example is below.{* Grid Start *}{$ui = [ 'sectionColor' => '#ffE', 'nowrap' => true]}{include file="ui/f6/grid-start.html"} *** content here ****{* Grid End *}{$ui = [ 'noFoundationInit' => true]}{include file="ui/f6/grid-end.html"}In this case there is a UI element that is used to start an area of the view that will contain Foundation 6 XY grid content followed by a UI element that ends that area and that may or may not initialize Foundation 6. GLM UI Element Reference*** NEED TO WRITE *** GLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.{* cust_contact *}{$ui = [ 'field' => 'cust_contact', 'value' => {$settings.cust_contact}, 'label' => 'Customer Contact E-Mail', 'required' => false, 'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.']}{include file="ui/f6/text.html"}The example above creates a standard text input field. There are three parts to this. - GLM UI Elements – The GLM UI Elements are a collection of HTML files that provide a means to implement standarized user interface features and associated elements for layout. Each element consists of one HTML file and in some cases a pair of HTML files (start/end) that may be called along with a set of parameters ($ui array) to generate all HTML code needed to implement a certain user interface feature. In short, an entire user input form can be created using only a sequence of $ui array definitions and include statements for the UI html files. These standardized UI Elements are designed to include support for all standard features including form field titles, input fields, descriptive text, help tips, form validation, field error messages, field error highlighting, form submission blocking on error, page change warning if form data has been modified, responsive layout, and compliance with audio page readers. All GLM UI Elements assume that Foundation 6 XY Grid will be used to layout the contents. That must be initialized for any of this to work.These GLM UI Elements should only exist once in a project so that there is only one UI element of a specific type to update when the user interface for these elements needs to be updated. Those changes will therefore be consistent thoughout the project. ImplementationGLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.{* cust_contact *}// {$ui = [ 'field' => 'cust_contact', 'value' => {$settings.cust_contact}, 'label' => 'Customer Contact E-Mail', 'required' => false, 'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.']}{include file="ui/f6/text.html"}The example above creates a standard text input field. There are three parts to this. At the top is a Smarty style commend that indicates the field that is being created. This makes it easy to scan down a file and identify certain UI elements.In the middle is the $ui assignment. It contains the information required to customize this UI element for the specified field. An explanation of the information that can be supplied is described at the top of each UI Element HTML file and in this document. (The information in the UI Element will be the definative information.)At the bottom is the Smarty include statement that will cause the specific UI element to be included in the tempate at this point.As noted in the previous secion, some UI elements may have 2 separate pieces. An example is below.{* Grid Start *}{$ui = [ 'sectionColor' => '#ffE', 'nowrap' => true]}{include file="ui/f6/grid-start.html"} *** content here ****{* Grid End *}{$ui = [ 'noFoundationInit' => true]}{include file="ui/f6/grid-end.html"}In this case there is a UI element that is used to start an area of the view that will contain Foundation 6 XY grid content followed by a UI element that ends that area and that may or may not initialize Foundation 6. GLM UI Element Reference*** NEED TO WRITE *** GLM UI Elements are incorporated into a view (HTML file with Smarty templating) by first defining the $ui array that controls a particular UI element and then including the UI element as shown in the following example.{* cust_contact *}{$ui = [ 'field' => 'cust_contact', 'value' => {$settings.cust_contact}, 'label' => 'Customer Contact E-Mail', 'required' => false, 'helpText' => 'Leave empty to prevent any E-mail from being sent for this site.']}{include file="ui/f6/text.html"}The example above creates a standard text input field. There are three parts to this. --