EditTheme

Description

Shows an interface for editing a template or other theme file from the admin center.

Syntax

void EditTheme ()


Notes

  • Accessed at index.php?action=theme;sa=edit (action=admin;area=theme;sa=edit in 2.0)
  • Requires the admin_forum permission
  • Uses the Themes template
  • Part of the manage_themes adminIndex
  • If no theme is specified in the URL (;th=theme_id), loads a list of all available themes and uses the theme_list subtemplate, giving the admin the option to edit index.template.php or style.css for each theme
  • If a theme IS specified, loads up all files in that theme and lets the admin edit any of them that are appropriately chmodded (except images of course)
Advertisement: