mailer project continued:
[mailer.git] / templates / xml / admin / admin_lock_do_surfbar_urls.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 This template provides meta data for doing un-/locking on URLs of the surfbar
4 in the 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 - 2012 by Mailer Developer Team
10 @license        GNU GPL 2.0 or any newer version
11 @link           http://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         <callback-function type="string" value="adminLockEntriesConfirm" />
34         <!--
35         Name of the database table where the entries should be read/write from/to.
36         //-->
37         <database-table name="" type="string" value="surfbar_urls" />
38         <!--
39         The following three lists must have the same count of list entries, else an
40         error may occur.
41         //-->
42         <!--
43         And all column names to read/write, leave this list tag empty for all (*).
44         //-->
45         <database-column-list>
46         </database-column-list>
47         <!--
48         "Filter" call-back functions to call back for piping the fetched data
49         through (can be left empty, no call-back function will be called)
50         //-->
51         <callback-function-list>
52         </callback-function-list>
53         <!--
54         Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
55         is provided, we have more than two parameters to handle over to the
56         call-back function. See function handleExtraValues() for details.
57         //-->
58         <extra-parameter-list>
59         </extra-parameter-list>
60         <!--
61         Informations for changing status
62         //-->
63         <status-change-column name="" type="string" value="url_status" />
64         <!--
65         Status change array.
66         //-->
67         <status-change-list>
68                 <status-change-list-entry name="url_status" type="string" old="ACTIVE" value="LOCKED" />
69                 <status-change-list-entry name="url_status" type="string" old="PENDING" value="LOCKED" />
70                 <status-change-list-entry name="url_status" type="string" old="LOCKED" value="ACTIVE" />
71         </status-change-list>
72         <!--
73         Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
74         //-->
75         <enable-modify-entries name="" type="bool" value="true" />
76         <!--
77         The table column which should be taken for the ids (see first parameter).
78         This' type can again only be 'string' (remember why?).
79         //-->
80         <table-id-column name="" type="string" value="url_id" />
81         <!--
82         The table column which should be taken for user ids
83         This' type can again only be 'string' (remember why?).
84         //-->
85         <table-userid-column name="" type="string" value="url_userid" />
86         <!--
87         Raw userid column ($key) to skip which is always an invalid (?) entry
88         This' type can again only be 'string' (remember why?).
89         //-->
90         <raw-userid-column-key name="" type="string" value="url_userid" />
91         <!--
92         Cache file to delete
93         //-->
94         <cache-file name="" type="string" value="" />
95 </admin-entry-meta-data>