Add CSS class for page and table titles
authorJoey Schulze <joey@infodrom.org>
Tue, 22 Feb 2011 21:34:51 +0000 (22:34 +0100)
committerJoey Schulze <joey@infodrom.org>
Tue, 22 Feb 2011 21:34:51 +0000 (22:34 +0100)
lib/mask.php

index 9ca428a..6a647ce 100644 (file)
@@ -253,7 +253,7 @@ function build_mask($name, $mask)
 
       $second = build_grid($name, $mask['second'], 'second');
       if (array_key_exists('title', $mask['second']))
-       $grid[] = sprintf('<h3>%s</h3>', $mask['second']['title']);
+       $grid[] = sprintf('<h3 class="title2">%s</h3>', $mask['second']['title']);
       $grid = array_merge($grid, $second);
     }
   } else
@@ -281,7 +281,7 @@ function build_mask($name, $mask)
     $title .= ' &ndash; ' . $mask['subtitle'];
 
   $head = array();
-  $head[] = sprintf('<h3>%s</h3>', $title);
+  $head[] = sprintf('<h3 class="title">%s</h3>', $title);
 
   if (array_key_exists('html', $mask) &&
       !array_key_exists('details', $mask) &&