* or rename to prefix1_function_name (prefix2_function_name), etc.
*/
-$a = get_app();
-$a->theme_info = array(
- 'family' => 'dispy',
- 'version' => '1.2.2'
-);
-
function dispy_init(&$a) {
+ $a->theme_info = array(
+ 'family' => 'dispy',
+ 'version' => '1.2.2'
+ );
+ set_template_engine($a, 'smarty3');
+
/** @purpose set some theme defaults
*/
$cssFile = null;
<script type="text/javascript">
$(document).ready(function() {
// Select all links with lightbox class
- $("a.lightbox").fancybox();
+ $("a.lightbox").colorbox({maxHeight:"90%"});
$('.group-edit-icon').hover(
function() {
$url = $a->get_baseurl($ssl_state);
$aside['$url'] = $url;
- $tpl = file_get_contents(dirname(__file__) . '/communityhome.tpl');
+ $tpl = get_markup_template('communityhome.tpl');
return $a->page['aside_bottom'] = replace_macros($tpl, $aside);
}
$a = get_app();
$baseurl = $a->get_baseurl($ssl_state);
$bottom['$baseurl'] = $baseurl;
- $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
+ $tpl = get_markup_template('bottom.tpl');
return $a->page['bottom'] = replace_macros($tpl, $bottom);
}