mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-47080 theme: call format_string on site shortname
This commit is contained in:
parent
fb385cb7af
commit
ba41742ea2
@ -38,7 +38,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -39,7 +39,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -44,7 +44,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -48,7 +48,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex <?php echo $hideclass; ?>">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -38,7 +38,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -41,7 +41,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -42,7 +42,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -53,7 +53,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top<?php echo $html->navbarclass ?> moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="workaround-collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -41,7 +41,9 @@ echo $OUTPUT->doctype() ?>
|
||||
<header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
|
||||
<nav role="navigation" class="navbar-inner">
|
||||
<div class="container-fluid">
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
|
||||
<a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
|
||||
format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
|
||||
?></a>
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user