Index: branches/5.2.x/units/articles/articles_event_handler.php =================================================================== diff -u -N -r16026 -r16311 --- branches/5.2.x/units/articles/articles_event_handler.php (.../articles_event_handler.php) (revision 16026) +++ branches/5.2.x/units/articles/articles_event_handler.php (.../articles_event_handler.php) (revision 16311) @@ -1,6 +1,6 @@ getObject(); /* @var $object kDBItem */ - if ( !$object->GetField('Excerpt') || $this->Application->GetVar('generate_excerpt') ) { + if ( !$object->GetField('Excerpt') || $object->GetDBField('GenerateExcerpt') ) { $excerpt = strip_tags($object->GetField('Body')); Index: branches/5.2.x/units/articles/articles_config.php =================================================================== diff -u -N -r16147 -r16311 --- branches/5.2.x/units/articles/articles_config.php (.../articles_config.php) (revision 16147) +++ branches/5.2.x/units/articles/articles_config.php (.../articles_config.php) (revision 16311) @@ -1,6 +1,6 @@ Array ('type' => 'int', 'default' => 0), 'CachedNavbar' => Array ('type' => 'string', 'default' => ''), 'ParentPath' => Array ('type' => 'string', 'default' => ''), + 'GenerateExcerpt' => array( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options' => array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, + 'default' => 0, + ), // for primary image 'AltName' => Array ('type' => 'string', 'default' => ''), Index: branches/5.2.x/admin_templates/articles/articles_edit.tpl =================================================================== diff -u -N -r15722 -r16311 --- branches/5.2.x/admin_templates/articles/articles_edit.tpl (.../articles_edit.tpl) (revision 15722) +++ branches/5.2.x/admin_templates/articles/articles_edit.tpl (.../articles_edit.tpl) (revision 16311) @@ -68,10 +68,16 @@ - +
- + + + +
@@ -129,4 +135,4 @@ } - \ No newline at end of file +