# HG changeset patch # User Trần H. Trung # Date 1748770552 -25200 # Node ID fd765cdf20ffea1541db82d8f9d555abe4fef956 # Parent e22c550003bb80ae3397a14430da27391fa779ea mod_invites_page: rename variables to keep consistant style diff -r e22c550003bb -r fd765cdf20ff mod_invites_page/mod_invites_page.lua --- a/mod_invites_page/mod_invites_page.lua Sun Jun 01 16:25:41 2025 +0700 +++ b/mod_invites_page/mod_invites_page.lua Sun Jun 01 16:35:52 2025 +0700 @@ -94,10 +94,10 @@ return rendered_apps; end -local templatePath = module:get_option_string("invites_template_html", "html"); +local template_path = module:get_option_string("invites_page_template_path", "html"); local function template_get(filename, lang) - local template = lang and templatePath.."/"..filename.."."..lang..".html" - or templatePath.."/"..filename..".html"; + local template = lang and template_path.."/"..filename.."."..lang..".html" + or template_path.."/"..filename..".html"; return assert(module:load_resource(template):read("*a")); end