updated: to the new Ezc API
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -336,7 +336,13 @@ void item_run(Info & i)
|
||||
ezc_generator.SkipNewLine(gen_skip_new_line);
|
||||
ezc_generator.RecognizeSpecialChars(gen_use_special_chars);
|
||||
ezc_generator.SetMax(config->ezc_max_elements, config->ezc_max_loop_elements);
|
||||
ezc_generator.Generate(item_run_content, *p);
|
||||
/*
|
||||
* !! IMPROVE ME
|
||||
* add blocks and variables
|
||||
* hmm may they are not needed here?
|
||||
*/
|
||||
ezc_generator.SetPattern(*p);
|
||||
ezc_generator.Generate(item_run_content);
|
||||
|
||||
item_print_content(i.out, item_run_content.Str(), cur->request->item.content_type);
|
||||
}
|
||||
@@ -733,7 +739,13 @@ void item_tab_run(Info & i)
|
||||
ezc_generator.SkipNewLine(gen_skip_new_line);
|
||||
ezc_generator.RecognizeSpecialChars(gen_use_special_chars);
|
||||
ezc_generator.SetMax(config->ezc_max_elements, config->ezc_max_loop_elements);
|
||||
ezc_generator.Generate(item_run_content, *p);
|
||||
/*
|
||||
* !! IMPROVE ME
|
||||
* add blocks and variables
|
||||
* hmm may they are not needed here?
|
||||
*/
|
||||
ezc_generator.SetPattern(*p);
|
||||
ezc_generator.Generate(item_run_content);
|
||||
item_print_content(i.out, item_run_content.Str(), cur->request->item_tab[item_index].content_type);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user