1 <?xml version="1.0" encoding="UTF-8" ?>
3 This template provides meta data for doing edits on 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 - 2011 by Mailer Developer Team
10 @license GNU GPL 2.0 or any newer version
11 @link http://www.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 <admin-callback-function type="string" value="adminEditEntriesConfirm" />
35 Array index from HTTP POST data array for identifying every data row
37 <post-data-identify-index name="" type="string" value="url_id" />
39 Name of the database table where the entries should be read/write from/to.
41 <database-table name="" type="string" value="surfbar_urls" />
43 The following three lists must have the same count of list entries, else an
47 And all column names to read/write, leave this list tag empty for all (*).
49 <database-column-list>
50 </database-column-list>
52 "Filter" call-back functions to call back for piping the fetched data
53 through (can be left empty, no call-back function will be called)
55 <callback-function-list>
56 </callback-function-list>
58 Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
59 is provided, we have more than two parameters to handle over to the
60 call-back function. See function handleExtraValues() for details.
62 <extra-parameter-list>
63 </extra-parameter-list>
65 Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
67 <enable-modify-entries name="" type="bool" value="true" />
69 The table column which should be taken for the ids (see first parameter).
70 This' type can again only be 'string' (remember why?).
72 <table-id-column name="" type="string" value="url_id" />
74 The table column which should be taken for user ids
75 This' type can again only be 'string' (remember why?).
77 <table-userid-column name="" type="string" value="url_userid" />
79 Raw userid column ($key) to skip which is always an invalid (?) entry
80 This' type can again only be 'string' (remember why?).
82 <raw-userid-column-key name="" type="string" value="url_userid" />
83 </admin-entry-meta-data>