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
<?php if (theme_get_setting('features_title')): ?> | |
<div class="features-title"> | |
<?php $featurestitle = theme_get_setting('features_title'); ?> | |
<?php print check_markup($featurestitle['value'], $featurestitle['format']); ?> | |
</div> | |
<?php endif; ?> |
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
<?php if (theme_get_setting('new_logo')): ?> | |
<div class="new-logo"> | |
<?php | |
$fid = theme_get_setting('new_logo'); | |
$image_url = file_create_url(file_load($fid)->uri); | |
?> | |
<img src="<?php echo $image_url; ?>"/> | |
</div> | |
<?php endif; ?> |
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 THEMENAME_form_system_theme_settings_alter(&$form, $form_state, $form_id = NULL){ | |
// Set up the a fieldset (group) for general information | |
$form['general_info'] = array( | |
'#type' => 'fieldset', | |
'#title' => t('General Information'), | |
'#description' => t('General contact information for Duke Health & Fitness Center.'), | |
); | |
$form['general_info']['address'] = array( | |
'#type' => 'textfield', | |
'#title' => t('Address'), |
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
<?php | |
$block = module_invoke('views', 'block_view', 'my_viewname-block'); | |
print render($block); | |
?> |
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
AuthName "Restricted Area" | |
AuthType Basic | |
AuthUserFile /full/path/name/.htpasswd | |
require valid-user |
NewerOlder