@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | * <base_url>/copyright.php after deploying the software |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 23 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 24 | 24 | |
| 25 | 25 | $auth = new \web\lib\admin\Authentication(); |
| 26 | 26 | $loggerInstance = new \core\common\Logging(); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | $instId = $my_inst->identifier; |
| 36 | 36 | // delete the IdP and send user to enrollment |
| 37 | 37 | $my_inst->destroy(); |
| 38 | - $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP " . $instId); |
|
| 38 | + $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP ".$instId); |
|
| 39 | 39 | header("Location: overview_user.php"); |
| 40 | 40 | exit; |
| 41 | 41 | } |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | // flush all IdP attributes and send user to creation wizard |
| 53 | 53 | $my_inst->flushAttributes(); |
| 54 | - $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP starting over" . $instId); |
|
| 54 | + $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP starting over".$instId); |
|
| 55 | 55 | header("Location: edit_participant.php?inst_id=$instId&wizard=true"); |
| 56 | 56 | exit; |
| 57 | 57 | } |
@@ -77,15 +77,15 @@ discard block |
||
| 77 | 77 | $myInstOriginal = $validator->existingIdP($_GET['inst_id'], $_SESSION['user']); |
| 78 | 78 | $instId = $myInstOriginal->identifier; |
| 79 | 79 | |
| 80 | -$hello = _("To whom it may concern,") . "\n\n"; |
|
| 81 | -$bye = _("This mail is merely a cross-check because these changes can be security-relevant. If the change was expected, you do not need to take any action.") . "\n\n" . |
|
| 82 | - _("Greetings, ") . "\n\n" . |
|
| 80 | +$hello = _("To whom it may concern,")."\n\n"; |
|
| 81 | +$bye = _("This mail is merely a cross-check because these changes can be security-relevant. If the change was expected, you do not need to take any action.")."\n\n". |
|
| 82 | + _("Greetings, ")."\n\n". |
|
| 83 | 83 | \config\Master::APPEARANCE['productname_long']; |
| 84 | 84 | |
| 85 | 85 | switch ($_POST['submitbutton']) { |
| 86 | 86 | case web\lib\common\FormElements::BUTTON_DELETE: |
| 87 | 87 | $myInstOriginal->destroy(); |
| 88 | - $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP " . $instId); |
|
| 88 | + $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP ".$instId); |
|
| 89 | 89 | header("Location: overview_user.php"); |
| 90 | 90 | exit; |
| 91 | 91 | case web\lib\common\FormElements::BUTTON_FLUSH_AND_RESTART: |
@@ -95,9 +95,9 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | // flush all IdP attributes and send user to creation wizard |
| 97 | 97 | $myInstOriginal->flushAttributes(); |
| 98 | - $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP starting over" . $instId); |
|
| 99 | - $text = $hello . |
|
| 100 | - sprintf(_("the %s %s / %s / (previously known as) '%s' has deleted all properties and is starting over freshly. This means that its not recognisable by its name any more, and it may assume a different name in the future. You will get another mail if and when the name change happens."), $ui->nomenclatureInst, strtoupper($myInstOriginal->federation), $myInstOriginal->identifier, $myInstOriginal->name) . "\n\n" . |
|
| 98 | + $loggerInstance->writeAudit($_SESSION['user'], "DEL", "IdP starting over".$instId); |
|
| 99 | + $text = $hello. |
|
| 100 | + sprintf(_("the %s %s / %s / (previously known as) '%s' has deleted all properties and is starting over freshly. This means that its not recognisable by its name any more, and it may assume a different name in the future. You will get another mail if and when the name change happens."), $ui->nomenclatureInst, strtoupper($myInstOriginal->federation), $myInstOriginal->identifier, $myInstOriginal->name)."\n\n". |
|
| 101 | 101 | $bye; |
| 102 | 102 | $fed = new core\Federation($myInstOriginal->federation); |
| 103 | 103 | foreach ($fed->listFederationAdmins() as $id) { |
@@ -116,19 +116,19 @@ discard block |
||
| 116 | 116 | exit(0); |
| 117 | 117 | } |
| 118 | 118 | $inst_name = $myInstOriginal->name; |
| 119 | - echo "<h1>" . sprintf(_("Submitted attributes for IdP '%s'"), $inst_name) . "</h1>"; |
|
| 119 | + echo "<h1>".sprintf(_("Submitted attributes for IdP '%s'"), $inst_name)."</h1>"; |
|
| 120 | 120 | echo "<table>"; |
| 121 | 121 | echo $optionParser->processSubmittedFields($myInstOriginal, $_POST, $_FILES); |
| 122 | 122 | echo "</table>"; |
| 123 | 123 | // delete cached logo, if present |
| 124 | - $dir = ROOT . '/web/downloads/logos/'; |
|
| 125 | - $globResult = glob($dir . $myInstOriginal->identifier . "_*.png"); |
|
| 124 | + $dir = ROOT.'/web/downloads/logos/'; |
|
| 125 | + $globResult = glob($dir.$myInstOriginal->identifier."_*.png"); |
|
| 126 | 126 | if ($globResult === FALSE) { // we should catch the improbable error condition |
| 127 | 127 | $globResult = []; |
| 128 | 128 | } |
| 129 | 129 | array_map('unlink', $globResult); |
| 130 | 130 | $loggerInstance->debug(4, "UNLINK from $dir\n"); |
| 131 | - $loggerInstance->writeAudit($_SESSION['user'], "MOD", "IdP " . $myInstOriginal->identifier . " - attributes changed"); |
|
| 131 | + $loggerInstance->writeAudit($_SESSION['user'], "MOD", "IdP ".$myInstOriginal->identifier." - attributes changed"); |
|
| 132 | 132 | |
| 133 | 133 | // re-instantiate ourselves... profiles need fresh data |
| 134 | 134 | $myInstReinstantiated = $validator->existingIdP($_GET['inst_id'], $_SESSION['user']); |
@@ -137,10 +137,10 @@ discard block |
||
| 137 | 137 | if (count($significantChanges) > 0) { |
| 138 | 138 | // send a notification/alert mail to someone we know is in charge |
| 139 | 139 | /// were made to the *Identity Provider* *LU* / integer number of IdP / (previously known as) Name |
| 140 | - $text = $hello . sprintf(_("significant changes were made to the %s %s / %s / (previously known as) '%s'."), $ui->nomenclatureInst, strtoupper($myInstOriginal->federation), $myInstOriginal->identifier, $myInstOriginal->name) . "\n\n"; |
|
| 140 | + $text = $hello.sprintf(_("significant changes were made to the %s %s / %s / (previously known as) '%s'."), $ui->nomenclatureInst, strtoupper($myInstOriginal->federation), $myInstOriginal->identifier, $myInstOriginal->name)."\n\n"; |
|
| 141 | 141 | if (isset($significantChanges[\core\IdP::INSTNAME_CHANGED])) { |
| 142 | - $text .= sprintf(_("The %s has changed its name. The details are below:"), $ui->nomenclatureInst) . "\n\n"; |
|
| 143 | - $text .= $significantChanges[\core\IdP::INSTNAME_CHANGED] . "\n\n"; |
|
| 142 | + $text .= sprintf(_("The %s has changed its name. The details are below:"), $ui->nomenclatureInst)."\n\n"; |
|
| 143 | + $text .= $significantChanges[\core\IdP::INSTNAME_CHANGED]."\n\n"; |
|
| 144 | 144 | } |
| 145 | 145 | $text .= $bye; |
| 146 | 146 | // (currently, send hard-wired to NRO - future: for linked insts, check eduroam DBv2 and send to registered admins directly) |
@@ -156,12 +156,12 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | if (isset(\config\ConfAssistant::CONSORTIUM['ssid']) && count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0) { |
| 158 | 158 | foreach (\config\ConfAssistant::CONSORTIUM['ssid'] as $ssidname) { |
| 159 | - $ssids[] = $ssidname . " " . (isset(\config\ConfAssistant::CONSORTIUM['tkipsupport']) && \config\ConfAssistant::CONSORTIUM['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)") ); |
|
| 159 | + $ssids[] = $ssidname." ".(isset(\config\ConfAssistant::CONSORTIUM['tkipsupport']) && \config\ConfAssistant::CONSORTIUM['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)")); |
|
| 160 | 160 | } |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | foreach ($myInstReinstantiated->getAttributes("media:SSID") as $ssidname) { |
| 164 | - $ssids[] = $ssidname['value'] . " " . _("(WPA2/AES)"); |
|
| 164 | + $ssids[] = $ssidname['value']." "._("(WPA2/AES)"); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | echo "<table>"; |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | if (count($ssids) > 0) { |
| 170 | 170 | $printedlist = ""; |
| 171 | 171 | foreach ($ssids as $names) { |
| 172 | - $printedlist = $printedlist . "$names "; |
|
| 172 | + $printedlist = $printedlist."$names "; |
|
| 173 | 173 | } |
| 174 | 174 | echo $uiElements->boxOkay(sprintf(_("Your installers will configure the following SSIDs: <strong>%s</strong>"), $printedlist), _("SSIDs configured")); |
| 175 | 175 | } |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | // did we get an email address? then, show the silverbullet jumpstart button |
| 198 | 198 | // otherwise, issue a smartass comment |
| 199 | 199 | if (count($my_inst->getAttributes("support:email")) > 0) { |
| 200 | - echo "<form method='post' action='edit_silverbullet.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>" . sprintf(_("Continue to %s properties"), \core\ProfileSilverbullet::PRODUCTNAME) . "</button></form>"; |
|
| 200 | + echo "<form method='post' action='edit_silverbullet.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>".sprintf(_("Continue to %s properties"), \core\ProfileSilverbullet::PRODUCTNAME)."</button></form>"; |
|
| 201 | 201 | } else { |
| 202 | 202 | echo "<table>"; |
| 203 | 203 | echo $uiElements->boxError(sprintf(_("You did not submit an e-mail address. This is required for %s. Please go to the %s dashboard and edit your helpdesk settings to include a helpdesk e-mail address."), core\ProfileSilverbullet::PRODUCTNAME, $ui->nomenclatureInst), _("No support e-mail!")); |
@@ -205,10 +205,10 @@ discard block |
||
| 205 | 205 | } |
| 206 | 206 | } |
| 207 | 207 | if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_RADIUS'] == "LOCAL") { |
| 208 | - echo "<br/><form method='post' action='edit_profile.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>" . _("Continue to RADIUS/EAP profile definition") . "</button></form>"; |
|
| 208 | + echo "<br/><form method='post' action='edit_profile.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>"._("Continue to RADIUS/EAP profile definition")."</button></form>"; |
|
| 209 | 209 | } |
| 210 | 210 | } |
| 211 | - echo "<br/><form method='post' action='overview_user.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>" . _("Continue to dashboard") . "</button></form>"; |
|
| 211 | + echo "<br/><form method='post' action='overview_user.php?inst_id=$my_inst->identifier' accept-charset='UTF-8'><button type='submit'>"._("Continue to dashboard")."</button></form>"; |
|
| 212 | 212 | |
| 213 | 213 | break; |
| 214 | 214 | default: |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * <base_url>/copyright.php after deploying the software |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 22 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 23 | 23 | |
| 24 | 24 | $auth = new \web\lib\admin\Authentication(); |
| 25 | 25 | $deco = new \web\lib\admin\PageDecoration(); |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $inst_name = $my_inst->name; |
| 40 | 40 | |
| 41 | 41 | if ($wizardStyle) { |
| 42 | - echo $deco->defaultPagePrelude(sprintf(_("%s: %s enrollment wizard (step 2)"), \config\Master::APPEARANCE['productname'], $uiElements->nomenclatureParticipant)); |
|
| 42 | + echo $deco->defaultPagePrelude(sprintf(_("%s: %s enrollment wizard (step 2)"), \config\Master::APPEARANCE['productname'], $uiElements->nomenclatureParticipant)); |
|
| 43 | 43 | } else { |
| 44 | 44 | echo $deco->defaultPagePrelude(sprintf(_("%s: Editing %s '%s'"), \config\Master::APPEARANCE['productname'], $uiElements->nomenclatureParticipant, $inst_name)); |
| 45 | 45 | } |
@@ -94,12 +94,12 @@ discard block |
||
| 94 | 94 | </table> |
| 95 | 95 | </div> |
| 96 | 96 | <?php |
| 97 | - echo "<form enctype='multipart/form-data' action='edit_participant_result.php?inst_id=$my_inst->identifier" . ($wizardStyle ? "&wizard=true" : "") . "' method='post' accept-charset='UTF-8'> |
|
| 98 | - <input type='hidden' name='MAX_FILE_SIZE' value='" . \config\Master::MAX_UPLOAD_SIZE . "'>"; |
|
| 97 | + echo "<form enctype='multipart/form-data' action='edit_participant_result.php?inst_id=$my_inst->identifier".($wizardStyle ? "&wizard=true" : "")."' method='post' accept-charset='UTF-8'> |
|
| 98 | + <input type='hidden' name='MAX_FILE_SIZE' value='" . \config\Master::MAX_UPLOAD_SIZE."'>"; |
|
| 99 | 99 | |
| 100 | 100 | if ($wizardStyle) { |
| 101 | - echo "<p>" . |
|
| 102 | - sprintf(_("Hello, newcomer. The %s is new to us. This wizard will ask you several questions about it, so that we can generate beautiful profiles for you in the end. All of the information below is optional, but it is important to fill out as many fields as possible for the benefit of your end users."), $uiElements->nomenclatureParticipant) . "</p>"; |
|
| 101 | + echo "<p>". |
|
| 102 | + sprintf(_("Hello, newcomer. The %s is new to us. This wizard will ask you several questions about it, so that we can generate beautiful profiles for you in the end. All of the information below is optional, but it is important to fill out as many fields as possible for the benefit of your end users."), $uiElements->nomenclatureParticipant)."</p>"; |
|
| 103 | 103 | } |
| 104 | 104 | $optionDisplay = new web\lib\admin\OptionDisplay($idpoptions, "IdP"); |
| 105 | 105 | ?> |
@@ -107,11 +107,11 @@ discard block |
||
| 107 | 107 | <legend><strong><?php echo _("General Information"); ?></strong></legend> |
| 108 | 108 | <?php |
| 109 | 109 | if ($wizardStyle) { |
| 110 | - echo "<p>" . |
|
| 111 | - _("Some properties are valid across all deployment profiles. This is the place where you can describe those properties in a fine-grained way. The solicited information is used as follows:") . "</p> |
|
| 110 | + echo "<p>". |
|
| 111 | + _("Some properties are valid across all deployment profiles. This is the place where you can describe those properties in a fine-grained way. The solicited information is used as follows:")."</p> |
|
| 112 | 112 | <ul> |
| 113 | - <li>" . _("<strong>Logo</strong>: When you submit a logo, we will embed this logo into all installers where a custom logo is possible. We accept any image format, but for best results, we suggest SVG. If you don't upload a logo, we will use the generic logo instead (see top-right corner of this page).") . "</li> |
|
| 114 | - <li>" . sprintf(_("<strong>Name</strong>: The %s may have names in multiple languages. It is recommended to always populate at least the 'default/other' language, as it is used as a fallback if the system does not have a name in the exact language the user requests a download in."),$uiElements->nomenclatureParticipant) . "</li>"; |
|
| 113 | + <li>" . _("<strong>Logo</strong>: When you submit a logo, we will embed this logo into all installers where a custom logo is possible. We accept any image format, but for best results, we suggest SVG. If you don't upload a logo, we will use the generic logo instead (see top-right corner of this page).")."</li> |
|
| 114 | + <li>" . sprintf(_("<strong>Name</strong>: The %s may have names in multiple languages. It is recommended to always populate at least the 'default/other' language, as it is used as a fallback if the system does not have a name in the exact language the user requests a download in."), $uiElements->nomenclatureParticipant)."</li>"; |
|
| 115 | 115 | echo "</ul>"; |
| 116 | 116 | } |
| 117 | 117 | echo $optionDisplay->prefilledOptionTable("general"); |
@@ -125,47 +125,47 @@ discard block |
||
| 125 | 125 | <legend><strong><?php echo _("Media Properties"); ?></strong></legend> |
| 126 | 126 | <?php |
| 127 | 127 | if ($wizardStyle) { |
| 128 | - echo "<p>" . |
|
| 129 | - sprintf(_("In this section, you define on which media %s should be configured on user devices."), \config\ConfAssistant::CONSORTIUM['display_name']) . "</p> |
|
| 128 | + echo "<p>". |
|
| 129 | + sprintf(_("In this section, you define on which media %s should be configured on user devices."), \config\ConfAssistant::CONSORTIUM['display_name'])."</p> |
|
| 130 | 130 | <ul>"; |
| 131 | 131 | echo "<li>"; |
| 132 | - echo "<strong>" . ( count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional SSIDs:") : _("SSIDs:")) . " </strong>"; |
|
| 132 | + echo "<strong>".(count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional SSIDs:") : _("SSIDs:"))." </strong>"; |
|
| 133 | 133 | if (count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0) { |
| 134 | 134 | $ssidlist = ""; |
| 135 | 135 | foreach (\config\ConfAssistant::CONSORTIUM['ssid'] as $ssid) { |
| 136 | - $ssidlist .= ", '<strong>" . $ssid . "</strong>'"; |
|
| 136 | + $ssidlist .= ", '<strong>".$ssid."</strong>'"; |
|
| 137 | 137 | } |
| 138 | 138 | $ssidlist = substr($ssidlist, 2); |
| 139 | 139 | echo sprintf(ngettext("We will always configure this SSID for WPA2/AES: %s.", "We will always configure these SSIDs for WPA2/AES: %s.", count(\config\ConfAssistant::CONSORTIUM['ssid'])), $ssidlist); |
| 140 | 140 | if (\config\ConfAssistant::CONSORTIUM['tkipsupport']) { |
| 141 | - echo " " . _("They will also be configured for WPA/TKIP if the device supports multiple encryption types."); |
|
| 141 | + echo " "._("They will also be configured for WPA/TKIP if the device supports multiple encryption types."); |
|
| 142 | 142 | } |
| 143 | - echo "<br/>" . sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $uiElements->displayName("media:SSID")); |
|
| 143 | + echo "<br/>".sprintf(_("It is also possible to define custom additional SSIDs with the option '%s' below."), $uiElements->displayName("media:SSID")); |
|
| 144 | 144 | } else { |
| 145 | 145 | echo _("Please configure which SSIDs should be configured in the installers."); |
| 146 | 146 | } |
| 147 | - echo " " . _("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible."); |
|
| 147 | + echo " "._("By default, we will only configure the SSIDs with WPA2/AES encryption. By using the '(with WPA/TKIP)' option you can specify that we should include legacy support for WPA/TKIP where possible."); |
|
| 148 | 148 | echo "</li>"; |
| 149 | 149 | |
| 150 | 150 | echo "<li>"; |
| 151 | - echo "<strong>" . ( count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional Hotspot 2.0 / Passpoint Consortia:") : _("Hotspot 2.0 / Passpoint Consortia:")) . " </strong>"; |
|
| 151 | + echo "<strong>".(count(\config\ConfAssistant::CONSORTIUM['ssid']) > 0 ? _("Additional Hotspot 2.0 / Passpoint Consortia:") : _("Hotspot 2.0 / Passpoint Consortia:"))." </strong>"; |
|
| 152 | 152 | if (count(\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi']) > 0) { |
| 153 | 153 | $consortiumlist = ""; |
| 154 | 154 | foreach (\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi'] as $oi) { |
| 155 | - $consortiumlist .= ", '<strong>" . $oi . "</strong>'"; |
|
| 155 | + $consortiumlist .= ", '<strong>".$oi."</strong>'"; |
|
| 156 | 156 | } |
| 157 | 157 | $consortiumlist = substr($consortiumlist, 2); |
| 158 | 158 | echo sprintf(ngettext("We will always configure this Consortium OI: %s.", "We will always configure these Consortium OIs: %s.", count(\config\ConfAssistant::CONSORTIUM['interworking-consortium-oi'])), $consortiumlist); |
| 159 | 159 | |
| 160 | - echo "<br/>" . sprintf(_("It is also possible to define custom additional OIs with the option '%s' below."), $uiElements->displayName("media:consortium_OI")); |
|
| 160 | + echo "<br/>".sprintf(_("It is also possible to define custom additional OIs with the option '%s' below."), $uiElements->displayName("media:consortium_OI")); |
|
| 161 | 161 | } else { |
| 162 | 162 | echo _("Please configure which Consortium OIs should be configured in the installers."); |
| 163 | 163 | } |
| 164 | 164 | echo "</li>"; |
| 165 | - echo "<li><strong>" . _("Support for wired IEEE 802.1X:") . " </strong>" |
|
| 166 | - . _("If you want to configure your users' devices with IEEE 802.1X support for wired ethernet, please check the corresponding box. Note that this makes the installation process a bit more difficult on some platforms (Windows: needs administrator privileges; Apple: attempting to install a profile with wired support on a device without an active wired ethernet card will fail).") . |
|
| 165 | + echo "<li><strong>"._("Support for wired IEEE 802.1X:")." </strong>" |
|
| 166 | + . _("If you want to configure your users' devices with IEEE 802.1X support for wired ethernet, please check the corresponding box. Note that this makes the installation process a bit more difficult on some platforms (Windows: needs administrator privileges; Apple: attempting to install a profile with wired support on a device without an active wired ethernet card will fail)."). |
|
| 167 | 167 | "</li>"; |
| 168 | - echo "<li><strong>" . _("Removal of bootstrap/onboarding SSIDs:") . " </strong>" |
|
| 168 | + echo "<li><strong>"._("Removal of bootstrap/onboarding SSIDs:")." </strong>" |
|
| 169 | 169 | . _("If you use a captive portal to distribute configurations, you may want to unconfigure/disable that SSID after the bootstrap process. With this option, the SSID will either be removed, or be defined as 'Only connect manually'.") |
| 170 | 170 | . "</li>"; |
| 171 | 171 | echo "</ul>"; |
@@ -181,16 +181,16 @@ discard block |
||
| 181 | 181 | echo "<p>"._("This section can be used to upload specific Terms of Use for your users and to display details of how your users can reach your local helpdesk.")."</p>"; |
| 182 | 182 | |
| 183 | 183 | if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_RADIUS'] == "LOCAL") { |
| 184 | - echo "<p>" . |
|
| 184 | + echo "<p>". |
|
| 185 | 185 | |
| 186 | - sprintf(_("Do you provide helpdesk services for your users? If so, it would be nice if you would tell us the pointers to this helpdesk."),$uiElements->nomenclatureParticipant) . "</p>" . |
|
| 187 | - "<p>" . |
|
| 188 | - _("If you enter a value here, it will be added to the installers for all your users, and will be displayed on the download page. If you operate separate helpdesks for different user groups (we call this 'profiles') specify per-profile helpdesk information later in this wizard. If you operate no help desk at all, just leave these fields empty.") . "</p>"; |
|
| 186 | + sprintf(_("Do you provide helpdesk services for your users? If so, it would be nice if you would tell us the pointers to this helpdesk."), $uiElements->nomenclatureParticipant)."</p>". |
|
| 187 | + "<p>". |
|
| 188 | + _("If you enter a value here, it will be added to the installers for all your users, and will be displayed on the download page. If you operate separate helpdesks for different user groups (we call this 'profiles') specify per-profile helpdesk information later in this wizard. If you operate no help desk at all, just leave these fields empty.")."</p>"; |
|
| 189 | 189 | if (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_SILVERBULLET'] == "LOCAL") { |
| 190 | - echo "<p>" . sprintf(_("For %s deployments, providing at least a local e-mail contact is required."), core\ProfileSilverbullet::PRODUCTNAME) ." " . _("This is the contact point for your end users' level 1 support.") . "</p>"; |
|
| 190 | + echo "<p>".sprintf(_("For %s deployments, providing at least a local e-mail contact is required."), core\ProfileSilverbullet::PRODUCTNAME)." "._("This is the contact point for your end users' level 1 support.")."</p>"; |
|
| 191 | 191 | } |
| 192 | 192 | } elseif (\config\Master::FUNCTIONALITY_LOCATIONS['CONFASSISTANT_SILVERBULLET'] == "LOCAL") { |
| 193 | - echo "<p>". _("Providing at least a local support e-mail contact is required.")." "._("This is the contact point for your end users' level 1 support.")."</p>"; |
|
| 193 | + echo "<p>"._("Providing at least a local support e-mail contact is required.")." "._("This is the contact point for your end users' level 1 support.")."</p>"; |
|
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | } |
@@ -200,8 +200,8 @@ discard block |
||
| 200 | 200 | <button type='button' class='newoption' onclick='getXML("support")'><?php echo _("Add new option"); ?></button></fieldset> |
| 201 | 201 | <?php |
| 202 | 202 | if ($wizardStyle) { |
| 203 | - echo "<p>" . sprintf(_("When you are sure that everything is correct, please click on %sContinue ...%s"), "<button type='submit' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_CONTINUE . "'>", "</button>") . "</p></form>"; |
|
| 203 | + echo "<p>".sprintf(_("When you are sure that everything is correct, please click on %sContinue ...%s"), "<button type='submit' name='submitbutton' value='".web\lib\common\FormElements::BUTTON_CONTINUE."'>", "</button>")."</p></form>"; |
|
| 204 | 204 | } else { |
| 205 | - echo "<div><button type='submit' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_SAVE . "'>" . _("Save data") . "</button> <button type='button' class='delete' name='abortbutton' value='abort' onclick='javascript:window.location = \"overview_user.php\"'>" . _("Discard changes") . "</button></div></form>"; |
|
| 205 | + echo "<div><button type='submit' name='submitbutton' value='".web\lib\common\FormElements::BUTTON_SAVE."'>"._("Save data")."</button> <button type='button' class='delete' name='abortbutton' value='abort' onclick='javascript:window.location = \"overview_user.php\"'>"._("Discard changes")."</button></div></form>"; |
|
| 206 | 206 | } |
| 207 | 207 | echo $deco->footer(); |