Changeset 3259:5a42f6cb893f for inc/public
- Timestamp:
- 06/28/16 12:35:11 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r3172 r3259 1095 1095 category CDATA #IMPLIED -- get entries for specific categories only (multiple comma-separated categories can be specified. Use "!" as prefix to exclude a category) 1096 1096 no_category CDATA #IMPLIED -- get entries without category 1097 with_category CDATA #IMPLIED -- get entries with category 1097 1098 no_context (1|0) #IMPLIED -- Override context information 1098 1099 sortby (title|selected|author|date|id) #IMPLIED -- specify entries sort criteria (default : date) (multiple comma-separated sortby can be specified. Use "?asc" or "?desc" as suffix to provide an order for each sorby) … … 1153 1154 } 1154 1155 1156 if (isset($attr['with_category']) && $attr['with_category']) { 1157 $p .= "@\$params['sql'] .= ' AND P.cat_id IS NOT NULL ';\n"; 1158 } 1159 1155 1160 if (isset($attr['no_category']) && $attr['no_category']) { 1156 1161 $p .= "@\$params['sql'] .= ' AND P.cat_id IS NULL ';\n";
Note: See TracChangeset
for help on using the changeset viewer.