d0f0f3a99c8006f65555a318a48695a4cf443c99
[mailer.git] / templates / xml / admin / admin_undelete_show_surfbar_urls.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 This template provides meta data for undeleting URLs of the surfbar in the
4 admin area.
5
6 @author         Roland Haeder <webmaster@mxchange.org>
7 @version        0.2.1-FINAL
8 @copyright      (c) 2003 - 2009 by Roland Haeder
9 @copyright      (c) 2009 - 2011 by Mailer Developer Team
10 @license        GNU GPL 2.0 or any newer version
11 @link           http://www.mxchange.org
12
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.
17
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.
22
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,
26 MA  02110-1301  USA
27 //-->
28 <admin-entry-meta-data>
29         <!--
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.
32         //-->
33         <admin-callback-function type="string" value="adminUndeleteEntriesConfirm" />
34         <!--
35         Array index from HTTP POST data array for identifying every data row
36         //-->
37         <post-data-identify-index name="" type="string" value="url_id" />
38         <!--
39         Name of the database table where the entries should be read/write from/to.
40         //-->
41         <database-table name="" type="string" value="surfbar_urls" />
42         <!--
43         The following three lists must have the same count of list entries, else an
44         error may occur.
45         //-->
46         <!--
47         And all column names to read/write, leave this list tag empty for all (*).
48         //-->
49         <database-column-list>
50                 <!--
51                 A column name list entry. The type is always string, or do you have
52                 numerical column names?
53                 //-->
54                 <database-column-list-entry name="" type="string" value="url_id" />
55                 <database-column-list-entry name="" type="string" value="url_userid" />
56                 <database-column-list-entry name="" type="string" value="url" />
57                 <database-column-list-entry name="" type="string" value="url_registered" />
58                 <database-column-list-entry name="" type="string" value="url_status" />
59         </database-column-list>
60         <!--
61         "Filter" call-back functions to call back for piping the fetched data
62         through (can be left empty, no call-back function will be called)
63         //-->
64         <callback-function-list>
65                 <!--
66                 A call-back function list entry
67                 //-->
68                 <callback-function-list-entry name="" type="string" value="bigintval" />
69                 <callback-function-list-entry name="" type="string" value="generateUserProfileLink" />
70                 <callback-function-list-entry name="" type="string" value="generateFrametesterUrl" />
71                 <callback-function-list-entry name="" type="string" value="" /> <!-- No callback function! //-->
72                 <callback-function-list-entry name="" type="string" value="translateSurfbarUrlStatus" />
73         </callback-function-list>
74         <!--
75         Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
76         is provided, we have more than two parameters to handle over to the
77         call-back function. See function handleExtraValues() for details.
78         //-->
79         <extra-parameter-list>
80                 <!--
81                 A list entry for a single extra parameter. 'type' can now be: string,
82                 int, float, bool, array. If the type 'array' is provided, the parser searches
83                 for a tag called "extra-parameter-<value>-list(-entry)", by <value>
84                 is the value from the 'value' attribute. Please check out the examples below.
85                 //-->
86                 <!--
87                 A simple string example, int and float are similar.
88                 //-->
89                 <extra-parameter-list-entry name="" type="string" value="" />
90                 <extra-parameter-list-entry name="" type="string" value="" />
91                 <extra-parameter-list-entry name="" type="string" value="" />
92                 <extra-parameter-list-entry name="" type="string" value="" />
93                 <extra-parameter-list-entry name="" type="string" value="" />
94         </extra-parameter-list>
95         <!--
96         Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
97         //-->
98         <enable-modify-entries name="" type="bool" value="false" />
99         <!--
100         The table column which should be taken for the ids (see first parameter).
101         This' type can again only be 'string' (remember why?).
102         //-->
103         <table-id-column name="" type="string" value="url_id" />
104         <!--
105         The table column which should be taken for user ids
106         This' type can again only be 'string' (remember why?).
107         //-->
108         <table-userid-column name="" type="string" value="url_userid" />
109         <!--
110         Raw userid column ($key) to skip which is always an invalid (?) entry
111         This' type can again only be 'string' (remember why?).
112         //-->
113         <raw-userid-column-key name="" type="string" value="url_userid" />
114 </admin-entry-meta-data>