]> git.mxchange.org Git - mailer.git/blobdiff - templates/xml/admin/admin_edit_show_surfbar_urls.xml
Mailer project continued (heavy refactoring):
[mailer.git] / templates / xml / admin / admin_edit_show_surfbar_urls.xml
index 7ab4786f2461a0bb46855327f7195fc22912ab20..466d00bf80869a64fff19d676ade3daff914b88e 100644 (file)
@@ -6,9 +6,9 @@ area.
 @author                Roland Haeder <webmaster@mxchange.org>
 @version       0.2.1-FINAL
 @copyright     (c) 2003 - 2009 by Roland Haeder
-@copyright     (c) 2009 - 2011 by Mailer Developer Team
+@copyright     (c) 2009 - 2012 by Mailer Developer Team
 @license       GNU GPL 2.0 or any newer version
-@link          http://www.mxchange.org
+@link          http://mxchange.org
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -30,20 +30,12 @@ MA  02110-1301  USA
        Call-back function which should all following parameter handled over
        to. This will always be type of string but we like homogene XMLs.
        //-->
-       <admin-callback-function type="string" value="adminEditEntriesConfirm" />
-       <!--
-       Array index from HTTP POST data array for identifying every data row
-       //-->
-       <post-data-identify-index name="" type="string" value="url_id" />
+       <callback-function type="string" value="adminEditEntriesConfirm" />
        <!--
        Name of the database table where the entries should be read/write from/to.
        //-->
        <database-table name="" type="string" value="surfbar_urls" />
        <!--
-       The following three lists must have the same count of list entries, else an
-       error may occur.
-       //-->
-       <!--
        And all column names to read/write, leave this list tag empty for all (*).
        //-->
        <database-column-list>
@@ -51,9 +43,11 @@ MA  02110-1301  USA
                A column name list entry. The type is always string, or do you have
                numerical column names?
                //-->
-               <database-column-list-entry name="" type="string" value="url_id" />
-               <database-column-list-entry name="member_list" type="string" value="url_userid" />
-               <database-column-list-entry name="" type="string" value="url" />
+               <database-column-list-entry name="" type="string" table="" value="url_id" alias="" function="" />
+               <database-column-list-entry name="member_list" type="string" table="" value="url_userid" alias="" function="" />
+               <database-column-list-entry name="" type="string" table="" value="url" alias="" function="" />
+               <database-column-list-entry name="reload_list" type="string" table="" value="url_fixed_reload" alias="" function="" />
+               <database-column-list-entry name="waiting_list" type="string" table="" value="url_fixed_waiting" alias="" function="" />
        </database-column-list>
        <!--
        "Filter" call-back functions to call back for piping the fetched data
@@ -65,7 +59,9 @@ MA  02110-1301  USA
                //-->
                <callback-function-list-entry name="" type="string" value="bigintval" />
                <callback-function-list-entry name="member_list" type="string" value="addMemberSelectionBox" />
-               <callback-function-list-entry name="" type="string" value="" /> <!-- No callback function! //-->
+               <callback-function-list-entry name="" type="string" value="" />
+               <callback-function-list-entry name="reload_list" type="string" value="createTimeSelections" />
+               <callback-function-list-entry name="waiting_list" type="string" value="createTimeSelections" />
        </callback-function-list>
        <!--
        Extra parameters (2nd, 3rd, ...) for above call-back functions. If an array
@@ -75,9 +71,10 @@ MA  02110-1301  USA
        <extra-parameter-list>
                <!--
                A list entry for a single extra parameter. 'type' can now be: string,
-               int, float, bool, array. If the type 'array' is provided, the parser searches
-               for a tag called "extra-parameter-<value>-list(-entry)", by <value>
-               is the value from the 'value' attribute. Please check out the examples below.
+               int, float, bool, array. If the type 'array' is provided, the parser
+               searches for a tag called "extra-parameter-<value>-list(-entry)", by
+               <value> is the value from the 'value' attribute. Please check out the
+               examples below.
                //-->
                <!--
                Dummy entry
@@ -109,8 +106,45 @@ MA  02110-1301  USA
                Dummy entry
                //-->
                <extra-parameter-list-entry name="" type="string" value="" />
+               <!--
+               A one-dimensional array with some entries
+               //-->
+               <extra-parameter-list-entry name="" type="array" value="reload">
+                       <!--
+                       Our 'reload' array
+                       //-->
+                       <extra-parameter-reload-list>
+                               <!--
+                               A bool entry in the 'reload' array, all other types are added in a
+                               similar way.
+                               //-->
+                               <extra-parameter-reload-list-entry name="" type="string" value="url_fixed_reload" />
+                               <extra-parameter-reload-list-entry name="" type="string" value="WDhms" />
+                       </extra-parameter-reload-list>
+               </extra-parameter-list-entry>
+               <!--
+               A one-dimensional array with some entries
+               //-->
+               <extra-parameter-list-entry name="" type="array" value="waiting">
+                       <!--
+                       Our 'waiting' array
+                       //-->
+                       <extra-parameter-waiting-list>
+                               <!--
+                               A bool entry in the 'waiting' array, all other types are added in a
+                               similar way.
+                               //-->
+                               <extra-parameter-waiting-list-entry name="" type="string" value="url_fixed_waiting" />
+                               <extra-parameter-waiting-list-entry name="" type="string" value="ms" />
+                       </extra-parameter-waiting-list>
+               </extra-parameter-list-entry>
        </extra-parameter-list>
        <!--
+       Columns for converting single time selections into a timestamp
+       //-->
+       <time-columns-list>
+       </time-columns-list>
+       <!--
        Wether to 'edit/delete/change' (change) the entries (true) or just read them for displaying (false)
        //-->
        <enable-modify-entries name="" type="bool" value="false" />
@@ -129,4 +163,8 @@ MA  02110-1301  USA
        This' type can again only be 'string' (remember why?).
        //-->
        <raw-userid-column-key name="" type="string" value="url_userid" />
+       <!--
+       Cache file to delete
+       //-->
+       <cache-file name="" type="string" value="" />
 </admin-entry-meta-data>