THAI: Update Promotion layout
This commit is contained in:
parent
1d06d8f72d
commit
d79c75387b
56 changed files with 8393 additions and 11618 deletions
|
|
@ -326,7 +326,7 @@
|
|||
if multi_pro_gen:
|
||||
out_xml('<Max> 4 </Max>\r\n')
|
||||
elif recommend_page:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
out_xml('<Max> 12 </Max>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
|
|
@ -337,13 +337,17 @@
|
|||
out_xml('<Column> 2 </Column>\r\n')
|
||||
else:
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
if recommend_page:
|
||||
out_xml(';layout_mode\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
if "all" in verbose:
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
out_xml('\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\tVar block_index_move = 0\r\n')
|
||||
if recommend_page:
|
||||
out_xml('\t\t;banner_shifting\r\n')
|
||||
|
||||
out_xml('</Script>\r\n')
|
||||
|
||||
|
|
@ -395,6 +399,9 @@
|
|||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
|
||||
if re.match(r'^\w.*', spl[14].strip()):
|
||||
str_con += f'Var={spl[14].strip()},'
|
||||
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
|
|
@ -1108,6 +1115,9 @@
|
|||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
|
||||
if re.match(r'^\w.*', spl[14].strip()):
|
||||
str_con += f'Var={spl[14].strip()},'
|
||||
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue