Created
September 11, 2012 19:49
-
-
Save kraigh/3701542 to your computer and use it in GitHub Desktop.
jnet5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function jnet5_preprocess_panels_pane(&$vars) { | |
$tgpath = '/tg' | |
$hrpath = '/hr' | |
$wcpath = '/wc' | |
$blpath = '/bl' | |
$visitmenu = '<div href="#" class="button radius dropdown">Visit A Church<ul><li><a href="' . $tgpath . '">Tower Grove</a></li><li><a href="' . $hrpath . '">Hanley Road</a></li><li><a href="' . $wcpath . '">West County</a></li><li><a href="' . $blpath . '">Belleville</a></li></ul></div>'; | |
$vars['content'] = str_replace('[visit_a_church]', $visitmenu, $vars['content']); | |
$selectmenu = '<div href="#" class="button radius dropdown">Select A Church<ul><li><a href="' . $tgpath . '">Tower Grove</a></li><li><a href="' . $hrpath . '">Hanley Road</a></li><li><a href="' . $wcpath . '">West County</a></li><li><a href="' . $blpath . '">Belleville</a></li></ul></div>'; | |
$vars['content'] = str_replace('[select_a_church]', $selectmenu, $vars['content']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment