Hello!

I'm trying to configure template_map so that our users are only allowed
to change the displayed templates names (and common_dir) but not the
internal names or the filenames. This makes sense if you want to create
pages in different languages.

When I'm using something like this

name1:                          'Template 1'
name2:                          'Template 2'
name3:                          'Template 3'

template_map:                   ${name1} builtin-long builtin-long \
                                ${name2} builtin-short builtin-short \
                                ${name3} user1 ${common_dir}/user1.html

I get names like 1}, 2}, 3} displayed in the format menu.

But this works fine:

name_I:                         'Template 1'
name_II:                        'Template 2'
name_III:                       'Template 3'

template_map:                   ${name_I} builtin-long builtin-long \
                                ${name_II} builtin-short builtin-short \
                                ${name_III} user1
${common_dir}/user1.html


Is this a bug or a feature?


Thanks in advance


Berthold Cogel

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to