Skip to content

Commit

Permalink
Merge pull request #120 from isubit/INTERIM-65
Browse files Browse the repository at this point in the history
INTERIM-65 Change wordmark link default
  • Loading branch information
njbooher authored Jun 5, 2017
2 parents 41e5ee7 + 2f03876 commit 88211a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/region--branding.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<?php if ($show_isu_nameplate): ?>
<?php if (theme_get_setting('default_logo', 'suitcase_interim')): ?>
<a id="isu_header_wordmark" href="<?php ($level_1_url) ? print $level_1_url : 'http://www.iastate.edu' ?>" title="Iowa State University Homepage"><img src="<?php print $wordmark_image; ?>" alt="Iowa State University"></a>
<a id="isu_header_wordmark" href="<?php print $level_1_url; ?>" title="Iowa State University Homepage"><img src="<?php print $wordmark_image; ?>" alt="Iowa State University"></a>
<?php else: ?>
<a id="isu_header_wordmark" href="<?php ($level_1_url) ? print $level_1_url : 'http://www.iastate.edu' ?>" title="<?php print $site_name; ?>"><img src="<?php print $wordmark_image; ?>" alt="Iowa State University - <?php print $site_name; ?>"></a>
<a id="isu_header_wordmark" href="<?php print $level_1_url; ?>" title="<?php print $site_name; ?>"><img src="<?php print $wordmark_image; ?>" alt="Iowa State University - <?php print $site_name; ?>"></a>
<?php endif; ?>
<?php endif; ?>

Expand Down
4 changes: 2 additions & 2 deletions theme-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function suitcase_interim_form_system_theme_settings_alter(&$form, &$form_state)
$form['suitcase_interim_config']['suitcase_interim_config_logo']['suitcase_interim_config_level_1_url'] = array(
'#type' => 'textfield',
'#title' => t('Wordmark URL'),
'#description' => t('Full URL the Iowa State University wordmark should link to. Defaults to \'http://www.iastate.edu/\''),
'#default_value' => variable_get('suitcase_interim_config_level_1_url', 'http://www.iastate.edu/'),
'#description' => t('Full URL the Iowa State University wordmark should link to. Defaults to site\'s homepage.'),
'#default_value' => variable_get('suitcase_interim_config_level_1_url', $GLOBALS['base_url']),
'#weight' => 2,
);

Expand Down

0 comments on commit 88211a9

Please sign in to comment.