-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INTERIM-147 Use token for site URL (#152)
* INTERIM-147 Use tokens for site URL if available * INTERIM-147 Token isn't a module * INTERIM-147 Fix extra slash in urls
- Loading branch information
Showing
4 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<p><a href="https://www.iastate.edu" id="isu_footer_wordmark"><img src="<?php print $GLOBALS['base_url'] . '/' . drupal_get_path('theme', 'suitcase_interim') . '/images/isu_stacked.svg'; ?>" alt="Iowa State University" /></a></p> | ||
<p><a href="https://www.iastate.edu" id="isu_footer_wordmark"><img src="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']) . drupal_get_path('theme', 'suitcase_interim') . '/images/isu_stacked.svg'; ?>" alt="Iowa State University" /></a></p> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<ul class="menu"> | ||
<li class="first leaf"> | ||
<a href="<?php print $GLOBALS['base_url']; ?>/site-index"><i class="fa fa-list-ul" aria-hidden="true"></i>Site Index</a> | ||
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>site-index"><i class="fa fa-list-ul" aria-hidden="true"></i>Site Index</a> | ||
</li> | ||
<li class="last leaf"> | ||
<a href="<?php print $GLOBALS['base_url']; ?>/sitemap" title="Display a site map with RSS feeds."><i class="fa fa-sitemap" aria-hidden="true"></i>Site map</a> | ||
<a href="<?php print (module_exists('token_filter') ? '[site:url]' : $GLOBALS['base_path']); ?>sitemap" title="Display a site map with RSS feeds."><i class="fa fa-sitemap" aria-hidden="true"></i>Site map</a> | ||
</li> | ||
</ul> |
This file contains 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