1 <?xml version="1.0" encoding="UTF-8" ?>
3 This template provides meta data for editing URLs of the surfbar in the admin
6 @author Roland Haeder <webmaster@mxchange.org>
8 @copyright (c) 2003 - 2009 by Roland Haeder
9 @copyright (c) 2009 - 2012 by Mailer Developer Team
10 @license GNU GPL 2.0 or any newer version
11 @link http://mxchange.org
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation; either version 2 of the License, or
16 (at your option) any later version.
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
28 <admin-entry-meta-data>
30 Call-back function which should all following parameter handled over
31 to. This will always be type of string but we like homogene XMLs.
33 <callback-function type="string" value="adminEditEntriesConfirm" />
35 Name of the database table where the entries should be read/write from/to.
37 <database-table name="" type="string" value="surfbar_urls" />
39 And all column names to read/write, leave this list tag empty for all (*).
41 <database-column-list>
43 A column name list entry. The type is always string, or do you have
44 numerical column names?
46 <database-column-list-entry name="" type="string" table="" value="url_id" alias="" function="" />
47 <database-column-list-entry name="member_list" type="string" table="" value="url_userid" alias="" function="" />
48 <database-column-list-entry name="" type="string" table="" value="url" alias="" function="" />
49 </database-column-list>
51 "Filter" call-back functions to call back for piping the fetched data
52 through (can be left empty, no call-back function will be called)
54 <callback-function-list>
56 A call-back function list entry
58 <callback-function-list-entry name="" type="string" value="bigintval" />
59 <callback-function-list-entry name="member_list" type="string" value="addMemberSelectionBox" />
60 <callback-function-list-entry name="" type="string" value="" />
61 </callback-function-list>
63 Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
64 is provided, we have more than two parameters to handle over to the
65 call-back function. See function handleExtraValues() for details.
67 <extra-parameter-list>
69 A list entry for a single extra parameter. 'type' can now be: string,
70 int, float, bool, array. If the type 'array' is provided, the parser
71 searches for a tag called "extra-parameter-<value>-list(-entry)", by
72 <value> is the value from the 'value' attribute. Please check out the
78 <extra-parameter-list-entry name="" type="string" value="" />
80 A one-dimensional array with some entries
82 <extra-parameter-list-entry name="" type="array" value="member">
86 <extra-parameter-member-list>
88 A bool entry in the 'bar' array, all other types are added in a
91 <extra-parameter-member-list-entry name="" type="bool" value="false" />
92 <extra-parameter-member-list-entry name="" type="bool" value="true" />
93 <extra-parameter-member-list-entry name="" type="bool" value="true" />
95 The brackets [] are required for addMemberSelectionBox(),
96 please read there for details.
98 <extra-parameter-member-list-entry name="" type="string" value="url_userid[]" />
99 </extra-parameter-member-list>
100 </extra-parameter-list-entry>
104 <extra-parameter-list-entry name="" type="string" value="" />
105 </extra-parameter-list>
107 Columns for converting single time selections into a timestamp
112 Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
114 <enable-modify-entries name="" type="bool" value="false" />
116 The table column which should be taken for the ids (see first parameter).
117 This' type can again only be 'string' (remember why?).
119 <table-id-column name="" type="string" value="url_id" />
121 The table column which should be taken for user ids
122 This' type can again only be 'string' (remember why?).
124 <table-userid-column name="" type="string" value="url_userid" />
126 Raw userid column ($key) to skip which is always an invalid (?) entry
127 This' type can again only be 'string' (remember why?).
129 <raw-userid-column-key name="" type="string" value="url_userid" />
130 </admin-entry-meta-data>