Caching of XML/email templates finished:
[mailer.git] / templates / xml / admin_list_data_template.xml
index 16f5d5856329a94a44641409b1e2b4fa400e1b3a..e0e63fb882a0e5c734bce8cd77a7540351d5925f 100644 (file)
@@ -6,9 +6,9 @@ of it is not yet implemented (e.g. the table join part).
 @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
@@ -17,22 +17,22 @@ the Free Software Foundation; either version 2 of the License, or
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
-MA  02110-1301  USA
+MA 02110-1301 USA
 //-->
 <admin-list-data>
        <!--
        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.
        Use adminListJoinEntries for JOINs:
        //-->
-       <callback-function type="string" value="adminListEntries" />
+       <callback-function type="string" value="doGenericListEntries" />
        <!--
        //-->
        <!--
@@ -117,11 +117,7 @@ MA  02110-1301  USA
                        - condition = look-up condition
                        - look-for  = What to look for
                        //-->
-                       <where-select-from-list-entry type="string" table="dt" value="userid" condition="EQUALS" look-for="$userid" />
-                       <!--
-                       How the next described column shall be logical linked to the above.
-                       //-->
-                       <where-condition type="string" condition="AND" />
+                       <where-select-from-list-entry type="string" table="dt" value="userid" condition="EQUALS" look-for="$content[userid]" />
                        <!--
                        The second column to perform the WHERE statement on. NOT-EQUALS is an alias for '!='.
                        //-->
@@ -180,4 +176,8 @@ MA  02110-1301  USA
                        </callback-extra-parameter-list>
                </column-callback-list-entry>
        </column-callback-list>
+       <!--
+       How the named column shall be logical linked to the above.
+       //-->
+       <where-condition type="string" name="status" condition="AND" />
 </admin-list-data>