]> git.mxchange.org Git - mailer.git/blobdiff - templates/xml/admin/admin_list_nickname_history.xml
Heacy rewrite/cleanup:
[mailer.git] / templates / xml / admin / admin_list_nickname_history.xml
index 8c263407bbc6e74d6bb6ed3a00a995dddc042900..8b1072007833929d1255ea3afec15254be1f2924 100644 (file)
@@ -5,7 +5,7 @@ This template provides meta data for listing nickname-change history entries.
 @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 - 2013 by Mailer Developer Team
 @license       GNU GPL 2.0 or any newer version
 @link          http://mxchange.org
 
@@ -28,9 +28,9 @@ MA  02110-1301  USA
        <!--
        Call-back function, the extracted data from this XML will then be re-read
        from that function. The most common function this XML uses is
-       adminListEntries() so mostly you can leave this alone unless you have JOINs.
+       doGenericListEntries() so mostly you can leave this alone unless you have JOINs.
        //-->
-       <callback-function type="string" value="adminListEntries" />
+       <callback-function type="string" value="doGenericListEntries" />
        <!--
        Now we need information which template should be loaded and which functions
        shall be called back. So lets start with the main list template. This mostly
@@ -64,6 +64,7 @@ MA  02110-1301  USA
                        always be set), alias (again can be left empty) and SQL function
                        (can also be left empty) which shall be applied on the column.
                        //-->
+                       <select-data-from-list-entry type="string" table="" value="history_id" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="history_userid" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="history_value" alias="" function="" />
                        <select-data-from-list-entry type="string" table="" value="history_added" alias="history_added" function="UNIX_TIMESTAMP" />
@@ -88,7 +89,7 @@ MA  02110-1301  USA
                        - condition = look-up condition
                        - look-for  = What to look for
                        //-->
-                       <where-select-from-list-entry type="string" table="" value="history_userid" condition="EQUALS" look-for="$userid" />
+                       <where-select-from-list-entry type="string" table="" value="history_userid" condition="EQUALS" look-for="$content[userid]" />
                </where-select-from-list>
                <!--
                Columns to perform the ORDER BY statement (GROUP BY is not yet supported)