Results 1 to 3 of 3

Thread: Can you add {strip}{/strip} to js_config.tpl

Threaded View

  1. #1
    Senior Member
    Join Date
    Dec 2023
    Posts
    161

    Can you add {strip}{/strip} to js_config.tpl

    Is it inadvisable to add strip tags to js_config.tpl for the langauge lines?

    It looks so much better with strip added so it doesn't look so huge in the top of the source of the page... first test seemed to work ok, but do some browsers choke on this if they're not one per line?

    var lang = new Array();
    lang['add_photo'] = 'Add a Picture';lang['photo'] = 'Picture';lang['notice_listing_removed_from_favorites'] = ...

    instead of
    lang['add_photo'] = 'Add a Picture';
    lang['photo'] = 'Picture';
    lang['notice_listing_removed_from_favorites'] = ...

    Or do these have to remain one per line?
    Last edited by Horizon; February 23, 2024 at 10:17 AM.