alecpl
2008-06-15 e58df3adc9b4182c232c94178d024bb4a89c2290
program/include/main.inc
@@ -503,22 +503,6 @@
/**
 * Check if a specific template exists
 *
 * @param string Template name
 * @return boolean True if template exists
 */
function template_exists($name)
  {
  global $CONFIG;
  $skin_path = $CONFIG['skin_path'];
  // check template file
  return is_file("$skin_path/templates/$name.html");
  }
/**
 * Create a HTML table based on the given data
 *
 * @param  array  Named table attributes