Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Implementation of HOOK_theme().
- */
- function myzen_theme($existing, $type, $theme, $path) {
- watchdog("zen hook",dvr($existing, $return=TRUE, NULL), NULL, WATCHDOG_NOTICE, NULL);
- $hooks = zen_theme($existing, $type, $theme, $path);
- $hooks['more_link'] = array( 'arguments' => array('url' => NULL, 'title' => NULL), );
- watchdog("zen hook",dvr($hooks, $return=TRUE, NULL), NULL, WATCHDOG_NOTICE, NULL);
- // @TODO: Needs detailed comments. Patches welcome!
- return $hooks;
- }
- function myzen_more_link($url, $title) {
- watchdog("template.php","myzen_more_link");
- return '<div class="more-link">' . t('<a href="@link" title="@title">(XXX more ... )</a>', array('@link' => check_url($url), '@title' => $title)) . '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment