Changeset View
Changeset View
Standalone View
Standalone View
core/units/content/content_config.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
'content_edit' => Array ('prefixes' => Array ('content'), 'format' => '#content_status# - !la_title_General!'), | 'content_edit' => Array ('prefixes' => Array ('content'), 'format' => '#content_status# - !la_title_General!'), | ||||
), | ), | ||||
'TableName' => TABLE_PREFIX . 'PageContent', | 'TableName' => TABLE_PREFIX . 'PageContent', | ||||
'ListSQLs' => Array ( | 'ListSQLs' => Array ( | ||||
'' => ' SELECT %1$s.* %2$s | '' => ' SELECT %1$s.* %2$s | ||||
FROM %1$s | FROM %1$s | ||||
JOIN ' . TABLE_PREFIX . '%3$sPageRevisions pr ON pr.PageId = %1$s.PageId AND pr.RevisionId = %1$s.RevisionId' | LEFT JOIN ' . TABLE_PREFIX . '%3$sPageRevisions pr ON pr.PageId = %1$s.PageId AND pr.RevisionId = %1$s.RevisionId', | ||||
), | ), | ||||
'ListSortings' => Array ( | 'ListSortings' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'Sorting' => Array ('ContentNum' => 'asc', 'RevisionNumber' => 'desc'), | 'Sorting' => Array ('ContentNum' => 'asc', 'RevisionNumber' => 'desc'), | ||||
) | ) | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'PageContentId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'PageContentId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'ContentNum' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'ContentNum' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'PageId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'PageId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'RevisionId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'RevisionId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Content' => Array ( | 'Content' => Array ( | ||||
'type' => 'string', 'max_len' => 65536, | 'type' => 'string', 'max_len' => 65536, | ||||
'formatter' => 'kMultiLanguage', 'using_fck' => 1, | 'formatter' => 'kMultiLanguage', 'using_fck' => 1, | ||||
'default' => '' | 'default' => '' | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |