Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an "id" attribute to <txp:file_download_list /> #15

Closed
ghost opened this issue Oct 4, 2014 · 3 comments
Closed

Add an "id" attribute to <txp:file_download_list /> #15

ghost opened this issue Oct 4, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2014

From r.wetzlmayr on July 06, 2009 12:03:07

rsilletti reports:

Provides a new "id" attribute and query segment for file_download_list to
allow filtering by file id or comma delimited list of ids.

--- /Library/Apache2/htdocs/fournine/textpattern/publish/taghandlers.php
( revision 3243 )
+++ /Library/Apache2/htdocs/fournine/textpattern/publish/taghandlers.php
(working copy)
@@ -3267,6 +3267,7 @@
global $thisfile;

     extract(lAtts(array(
  •        'id'       => '',
         'break'    => br,
         'category' => '',
         'class'    => __FUNCTION__,
    

    @@ -3285,6 +3286,7 @@

     $where = array('1=1');
     if ($category) $where[] = "category IN ('".join("','",
    

    doSlash(do_list($category)))."')";

  •    if ($id) $where[] = "id IN ('".join("','",
    

    doSlash(do_list($id)))."')";
    if ($status) $where[] = "status = '".doSlash($status)."'";

     $qparts = array(
    

Related discussion: http://forum.textpattern.com/viewtopic.php?id=28935

Original issue: http://code.google.com/p/textpattern/issues/detail?id=11

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on July 07, 2009 04:50:09

Owner: r.wetzlmayr

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on July 07, 2009 05:01:01

This issue was closed by r3245 .

Status: Fixed

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on June 01, 2010 04:16:18

Status: Resolved

@ghost ghost closed this as completed Oct 4, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants