fix: 修复TODO列表PHP语法错误

- 移动端TODO列表:在第243行添加缺失的<?php endif; ?>
- 桌面端TODO列表:在第954行添加缺失的<?php endif; ?>
- 修复'unexpected end of file'和'unexpected token endif'语法错误
- 确保所有if-else-endif标签正确配对
This commit is contained in:
2026-01-23 13:17:24 +08:00
parent 53a2f7afb5
commit c64dc0c9d6

View File

@@ -239,6 +239,7 @@ $author_desc = get_option('argon_sidebar_author_description');
<?php endif; ?> <?php endif; ?>
<?php endif; ?> <?php endif; ?>
</ul> </ul>
<?php endif; ?>
<?php <?php
// 移动端验证码容器 // 移动端验证码容器
if (!$mobile_is_author && argon_is_todo_captcha_enabled()) : if (!$mobile_is_author && argon_is_todo_captcha_enabled()) :
@@ -949,6 +950,7 @@ $author_desc = get_option('argon_sidebar_author_description');
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
<?php endif; ?> <?php endif; ?>
<?php endif; ?>
</ul> </ul>
<?php if (!$is_author && argon_is_todo_captcha_enabled()) : <?php if (!$is_author && argon_is_todo_captcha_enabled()) :
$captcha_type = get_option('argon_captcha_type', 'math'); $captcha_type = get_option('argon_captcha_type', 'math');