@@ -62,9 +62,9 @@ discard block |
||
| 62 | 62 | } |
| 63 | 63 | public function printMenu($menu = NULL, $id=NULL) { |
| 64 | 64 | $menu = $menu ?? $this->menu; |
| 65 | - if(count($menu) == 0) { |
|
| 66 | - return; |
|
| 67 | - } |
|
| 65 | + if(count($menu) == 0) { |
|
| 66 | + return; |
|
| 67 | + } |
|
| 68 | 68 | $out = "\n<ul>\n"; |
| 69 | 69 | foreach ($menu as $menuItem) { |
| 70 | 70 | $itemVisibility = $menuItem['visibility'] ?? 'all'; |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $out .= $this->printMenuItem($menuItem['text'], $link, $class); |
| 81 | 81 | $out .= $this->printMenu($submenu,$iD); |
| 82 | 82 | $out .= "</li>\n"; |
| 83 | - } |
|
| 83 | + } |
|
| 84 | 84 | } |
| 85 | 85 | $out .= '</ul>'; |
| 86 | 86 | return($out); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | <div id="user_info"></div> <!-- this will be filled with the profile contact information --> |
| 50 | 50 | <div id="sb_info"> |
| 51 | 51 | <?php |
| 52 | - switch ($statusInfo['errorcode']) { |
|
| 52 | + switch ($statusInfo['errorcode']) { |
|
| 53 | 53 | case "GENERATOR_CONSUMED": |
| 54 | 54 | echo $uiElements->boxError(_("You attempted to download an installer that was already downloaded before. Please request a new token from your administrator instead."), _("Attempt to re-use download link"), TRUE) . "<p>"; |
| 55 | 55 | break; |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | echo "<div id='sb_download_message'><p>".sprintf(_("You can now download a personalised %s installation program."), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']); |
| 150 | - // echo sprintf(_("The installation program is <span class='emph'>strictly personal</span>, to be used <span class='emph'>only on this device (%s)</span>, and it is <span class='emph'>not permitted to share</span> this information with anyone."), $statusInfo['OS']['display']); |
|
| 150 | + // echo sprintf(_("The installation program is <span class='emph'>strictly personal</span>, to be used <span class='emph'>only on this device (%s)</span>, and it is <span class='emph'>not permitted to share</span> this information with anyone."), $statusInfo['OS']['display']); |
|
| 151 | 151 | echo sprintf(_("The installation program is <span class='emph'>strictly personal</span>, to be used <span class='emph'>only on this device (%s)</span>, and it is <span class='emph'>not permitted to share</span> this information with anyone."), $statusInfo['OS']['display']); |
| 152 | 152 | echo "<p style='color:red;'>" . _("When the system detects abuse such as sharing login data with others, all access rights for you will be revoked and you may be sanctioned by your local eduroam administrator.") . "</p>"; |
| 153 | 153 | echo "<p>" . _("During the installation process, you will be asked for the following import PIN. This only happens once during the installation. You do not have to write down this PIN.") . "</p></div>"; |