Navigation

Search

makeStyleChanges

Description

Makes all necessary changes to the CSS in the old template.

Syntax

bool makeStyleChanges (string &$old_template)



Parameter &$old_template

Expected type: String
Description: The name of the old template file (see convert_template)



Return value

Expected type: Boolean
Description: True if successful or false if there's no style info to change.


Notes

  • Called from convert_template
  • Upgrades and converts old CSS classes
  • Adds some new CSS classes
  • Does not create a new stylesheet - instead keeping everything in the style block in the existing file
View all versions of this function