This prevents the
spam-bots, which crawl websites looking for email addresses, from discovering this email
address. The form of encryption is very limited and is not a guaranteed way of beating
spam-bots.
Parameters mail Email address
[mailto] Create mailto link; default is true
[text] Alternative text to show
[email] text is an email address; default is true
Returns A JavaScript string used to display an email address
Grid
The grid types are used for displaying a dataset's item elements in a form in a table
in the backend. There are seven grid types, each of which represents handles a
common field found used in the database.
Before we begin there are some important things that need to be in place. The
form must be called adminForm, and it must include two hidden fields, one called
boxchecked with the default value 0 and one called task used to determine which
task a controller will execute.
We'll use grid.id and grid.published as an example. Imagine we have a database
table with the primary key id, a field called published, which we use to determine if
an item is visible, and a field called name.
Pages:
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279