Changeset 154 for trunk/bin/module_maker/skel/public.php
- Timestamp:
- Jun 8, 2006 5:36:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/skel/public.php
r143 r154 38 38 WHERE %PRIMARY_KEY% = '" . $db->escapeString(getFormData('%PRIMARY_KEY%')) . "' 39 39 AND publish = 'true' 40 <##>AND (publish_date <= CURDATE() OR publish_date = '0000-00-00')41 <##>AND (expire_date > CURDATE() OR expire_date = '0000-00-00')40 __///__AND (publish_date <= CURDATE() OR publish_date = '0000-00-00') 41 __///__AND (expire_date > CURDATE() OR expire_date = '0000-00-00') 42 42 "); 43 43 if (!$item = mysql_fetch_assoc($qid)) { … … 54 54 55 55 // Set title and main template. 56 $nav->addPage($item[' <##>']);56 $nav->addPage($item['__///__']); 57 57 $main_template = '%PUBLIC_DETAIL_TEMPLATE%'; 58 58
Note: See TracChangeset
for help on using the changeset viewer.