Added update_year.sh (still not fully flexible) and updated all years with it.
[mailer.git] / templates / xml / admin / admin_edit_show_user_subid.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 This template provides meta data for editing user's sub ids.
4
5 @author         Roland Haeder <webmaster@mxchange.org>
6 @version        0.2.1-FINAL
7 @copyright      (c) 2003 - 2009 by Roland Haeder
8 @copyright      (c) 2009 - 2015 by Mailer Developer Team
9 @license        GNU GPL 2.0 or any newer version
10 @link           http://mxchange.org
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
25 MA  02110-1301  USA
26 //-->
27 <admin-entry-meta-data>
28         <!--
29         Call-back function which should all following parameter handled over
30         to. This will always be type of string but we like homogene XMLs.
31         //-->
32         <callback-function type="string" value="adminEditEntriesConfirm" />
33         <!--
34         Name of the database table where the entries should be read/write from/to.
35         //-->
36         <database-table name="" type="string" value="user_subids" />
37         <!--
38         And all column names to read/write, leave this list tag empty for all (*).
39         //-->
40         <database-column-list>
41                 <!--
42                 A column name list entry. The type is always string, or do you have
43                 numerical column names?
44                 //-->
45                 <database-column-list-entry name="" type="string" table="" value="id" alias="" function="" />
46                 <database-column-list-entry name="added_list" type="string" table="" value="subid_added" alias="subid_added" function="UNIX_TIMESTAMP" />
47                 <database-column-list-entry name="" type="string" table="" value="subid" alias="" function="" />
48         </database-column-list>
49         <!--
50         "Filter" call-back functions to call back for piping the fetched data
51         through (can be left empty, no call-back function will be called)
52         //-->
53         <callback-function-list>
54                 <!--
55                 A call-back function list entry
56                 //-->
57                 <callback-function-list-entry name="" type="string" value="bigintval" />
58                 <callback-function-list-entry name="added_list" type="string" value="generateDateTime" />
59         </callback-function-list>
60         <!--
61         Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
62         is provided, we have more than two parameters to handle over to the
63         call-back function. See function handleExtraValues() for details.
64         //-->
65         <extra-parameter-list>
66                 <!--
67                 A one-dimensional array with some entries
68                 //-->
69                 <extra-parameter-list-entry name="" type="array" value="member">
70                         <!--
71                         Our 'member' array
72                         //-->
73                         <extra-parameter-member-list>
74                                 <!--
75                                 A bool entry in the 'member' array, all other types are added in a
76                                 similar way.
77                                 //-->
78                                 <extra-parameter-member-list-entry name="" type="bool" value="false" />
79                                 <extra-parameter-member-list-entry name="" type="bool" value="true" />
80                                 <extra-parameter-member-list-entry name="" type="bool" value="true" />
81                                 <!--
82                                 The brackets [] are required for addMemberSelectionBox(),
83                                 please read there for details.
84                                 //-->
85                                 <extra-parameter-member-list-entry name="" type="string" value="userid[]" />
86                         </extra-parameter-member-list>
87                 </extra-parameter-list-entry>
88         </extra-parameter-list>
89         <!--
90         Columns for converting single time selections into a timestamp
91         //-->
92         <time-columns-list>
93         </time-columns-list>
94         <!--
95         Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
96         //-->
97         <enable-modify-entries name="" type="bool" value="false" />
98         <!--
99         The table column which should be taken for the ids (see first parameter).
100         This' type can again only be 'string' (remember why?).
101         //-->
102         <table-id-column name="" type="string" value="id" />
103         <!--
104         The table column which should be taken for user ids
105         This' type can again only be 'string' (remember why?).
106         //-->
107         <table-userid-column name="" type="string" value="userid" />
108         <!--
109         Raw userid column ($key) to skip which is always an invalid (?) entry
110         This' type can again only be 'string' (remember why?).
111         //-->
112         <raw-userid-column-key name="" type="string" value="userid" />
113         <!--
114         Cache file to delete
115         //-->
116         <cache-file name="" type="string" value="" />
117 </admin-entry-meta-data>