]> 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 e2d1f7e6de218477218682043d0569338d8ad805..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,19 +30,11 @@ 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 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 type="string" value="surfbar_urls" />
-       <!--
-       The following three lists must have the same count of list entries, else an
-       error may occur.
-       //-->
+       <database-table name="" type="string" value="surfbar_urls" />
        <!--
        And all column names to read/write, leave this list tag empty for all (*).
        //-->
@@ -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="" 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
@@ -64,8 +58,10 @@ MA  02110-1301  USA
                A call-back function list entry
                //-->
                <callback-function-list-entry name="" type="string" value="bigintval" />
-               <callback-function-list-entry name="" type="string" value="addMemberSelectionBox" />
-               <callback-function-list-entry name="" type="string" value="" /> <!-- No callback function! //-->
+               <callback-function-list-entry name="member_list" type="string" value="addMemberSelectionBox" />
+               <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,12 +71,13 @@ 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.
                //-->
                <!--
-               A simple string example, int and float are similar.
+               Dummy entry
                //-->
                <extra-parameter-list-entry name="" type="string" value="" />
                <!--
@@ -102,31 +99,72 @@ MA  02110-1301  USA
                                The brackets [] are required for addMemberSelectionBox(),
                                please read there for details.
                                //-->
-                               <extra-parameter-member-list-entry name="" type="bool" value="url_userid[]" />
-                       </extra-parameter-bar-list>
+                               <extra-parameter-member-list-entry name="" type="string" value="url_userid[]" />
+                       </extra-parameter-member-list>
                </extra-parameter-list-entry>
                <!--
-               A simple string example, int and float are similar.
+               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 type="bool" value="false" />
+       <enable-modify-entries name="" type="bool" value="false" />
        <!--
        The table column which should be taken for the ids (see first parameter).
        This' type can again only be 'string' (remember why?).
        //-->
-       <table-id-column type="string" value="url_id" />
+       <table-id-column name="" type="string" value="url_id" />
        <!--
        The table column which should be taken for user ids
        This' type can again only be 'string' (remember why?).
        //-->
-       <table-userid-column type="string" value="url_userid" />
+       <table-userid-column name="" type="string" value="url_userid" />
        <!--
        Raw userid column ($key) to skip which is always an invalid (?) entry
        This' type can again only be 'string' (remember why?).
        //-->
-       <raw-userid-column-key type="string" value="url_userid" />
+       <raw-userid-column-key name="" type="string" value="url_userid" />
+       <!--
+       Cache file to delete
+       //-->
+       <cache-file name="" type="string" value="" />
 </admin-entry-meta-data>