<?php if ($footer_message) { ?> <div id="footer-message"> <?php $bucket = _get_bucket(); if ($bucket != "home" && $bucket != "avc") { print "<img style=\"position:relative;top:16px;\" src=\"/css/images/leaf_rust_gold.jpg\">"; } print $footer_message; $date = date('Y'); print "<br />University of Prince Edward Island, 550 University Avenue, Charlottetown, PE, Canada C1A 4P3<br />\r\n\t\t© {$date} | University of Prince Edward Island | All Rights Reserved "; ?> </div> <?php } ?> <?php $logo_path = base_path() . path_to_theme() . "/images/" . get_newsflash_style(); ?> </div><!-- /footer --> <div style="clear:both"></div> <?php print $closure; ?> </div> <!-- /page --> </body> </html>
variable_set(str_replace('/', '_', 'theme_' . $theme_key . '_settings'), array_merge(theme_get_settings($theme_key), $defaults)); // Force refresh of Drupal internals theme_get_setting('', TRUE); } function get_newsflash_style() { $style = theme_get_setting('newsflash_style'); if (!$style) { $style = 'blue'; } if (isset($_COOKIE["newsflashstyle"])) { $style = $_COOKIE["newsflashstyle"]; } return $style; } $style = get_newsflash_style(); drupal_add_css(drupal_get_path('theme', 'newsflash') . '/css/' . $style . '.css', 'theme'); if (theme_get_setting('newsflash_iepngfix')) { drupal_add_js(drupal_get_path('theme', 'newsflash') . '/js/jquery.pngFix.js', 'theme'); } if (theme_get_setting('newsflash_suckerfish')) { drupal_add_css(drupal_get_path('theme', 'newsflash') . '/css/suckerfish_' . $style . '.css', 'theme'); } if (theme_get_setting('newsflash_uselocalcontent')) { $local_content = drupal_get_path('theme', 'newsflash') . '/' . theme_get_setting('newsflash_localcontentfile'); if (file_exists($local_content)) { drupal_add_css($local_content, 'theme'); } } function phptemplate_menu_links($links, $attributes = array()) {