Перейти к содержанию

Модуль:CTD: различия между версиями

м
нет описания правки
мНет описания правки
мНет описания правки
Строка 137: Строка 137:
if isempty(view) then view = 'подсказка' end
if isempty(view) then view = 'подсказка' end
if isempty(term_type) then term_type = 'понятие' end
if isempty(term_type) then term_type = 'понятие' end
if isempty(style) then style = 'серый' end
--if isempty(style) then style = 'серый' end


-- define term to show, i.e. with accent and diacritic
-- define term to show, i.e. with accent and diacritic
Строка 209: Строка 209:


-- DEBUG
-- DEBUG
--text = '<p>DEBUG: view: '.. view .."; term: ".. term .."; term to show: ".. term_to_show .."; description: ".. description .."; origin: ".. origin ..'</p>'.. text
--text = '- view ='.. view ..'\n- type ='.. term_type ..'\n- style ='.. tostring(style) ..'\n- text ='.. text ..'\n'
--text = 'text='.. text ..'; view='.. view ..'; type='.. term_type ..'; style='.. style
--return  text .. reference  
--return  text .. reference  
     return frame:preprocess( text .. reference )
     return frame:preprocess( text .. reference )
end
end


return ctd
return ctd