You are here

THEMING.txt in Revisioning 7

If you wish to override the way the revisions table is constructed,
implement in your own module the function below.

If you decided to do so, don't forget to register your theme_hook() via
<module>_theme() in a manner similar to what is done in revisioning_theme(),
file revisioning_theme.inc.

/*
 * Custom alternative to the way Revisioning module themes its revisions table.
 * @param $header
 * @param $rows
 * @return themed HTML, see for instance /includes/theme.inc/theme_table() and
 *         diff.module/theme_diff_table()
 *
 * @ingroup themeable
 */
 function theme_table_revisions($header, $rows) {
 }

File

THEMING.txt
View source
  1. If you wish to override the way the revisions table is constructed,
  2. implement in your own module the function below.
  3. If you decided to do so, don't forget to register your theme_hook() via
  4. _theme() in a manner similar to what is done in revisioning_theme(),
  5. file revisioning_theme.inc.
  6. /*
  7. * Custom alternative to the way Revisioning module themes its revisions table.
  8. * @param $header
  9. * @param $rows
  10. * @return themed HTML, see for instance /includes/theme.inc/theme_table() and
  11. * diff.module/theme_diff_table()
  12. *
  13. * @ingroup themeable
  14. */
  15. function theme_table_revisions($header, $rows) {
  16. }