@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | ?> |
| 28 | 28 | <?php |
| 29 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 29 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 30 | 30 | |
| 31 | 31 | $deco = new \web\lib\admin\PageDecoration(); |
| 32 | 32 | $validator = new \web\lib\common\InputValidation(); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | if (!isset($_GET['deployment_id'])) { |
| 38 | 38 | $my_inst->newDeployment(\core\AbstractDeployment::DEPLOYMENTTYPE_MANAGED); |
| 39 | - header("Location: overview_sp.php?inst_id=" . $my_inst->identifier); |
|
| 39 | + header("Location: overview_sp.php?inst_id=".$my_inst->identifier); |
|
| 40 | 40 | exit(0); |
| 41 | 41 | } |
| 42 | 42 | |
@@ -52,9 +52,9 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | $addParam = ''; |
| 54 | 54 | foreach ($response as $idx=>$val) { |
| 55 | - $addParam = $addParam . "&res[$idx]=$val"; |
|
| 55 | + $addParam = $addParam."&res[$idx]=$val"; |
|
| 56 | 56 | } |
| 57 | - header("Location: overview_sp.php?inst_id=" . $my_inst->identifier . $addParam); |
|
| 57 | + header("Location: overview_sp.php?inst_id=".$my_inst->identifier.$addParam); |
|
| 58 | 58 | exit(0); |
| 59 | 59 | } |
| 60 | 60 | |
@@ -65,9 +65,9 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | $addParam = ''; |
| 67 | 67 | foreach ($response as $idx=>$val) { |
| 68 | - $addParam = $addParam . "&res[$idx]=$val"; |
|
| 68 | + $addParam = $addParam."&res[$idx]=$val"; |
|
| 69 | 69 | } |
| 70 | - header("Location: overview_sp.php?inst_id=" . $my_inst->identifier . $addParam); |
|
| 70 | + header("Location: overview_sp.php?inst_id=".$my_inst->identifier.$addParam); |
|
| 71 | 71 | exit(0); |
| 72 | 72 | } |
| 73 | 73 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | $res = $deployment->setRADIUSconfig(); |
| 90 | 90 | $addParam = "&res=$res"; |
| 91 | 91 | } |
| 92 | - header("Location: overview_sp.php?inst_id=" . $my_inst->identifier . $addParam); |
|
| 92 | + header("Location: overview_sp.php?inst_id=".$my_inst->identifier.$addParam); |
|
| 93 | 93 | exit(0); |
| 94 | 94 | } |
| 95 | 95 | } |
@@ -117,12 +117,12 @@ discard block |
||
| 117 | 117 | echo $uiElements->instLevelInfoBoxes($my_inst); |
| 118 | 118 | $deploymentOptions = $deployment->getAttributes(); |
| 119 | 119 | echo "<form enctype='multipart/form-data' action='edit_hotspot.php?inst_id=$my_inst->identifier&deployment_id=$deployment->identifier' method='post' accept-charset='UTF-8'> |
| 120 | - <input type='hidden' name='MAX_FILE_SIZE' value='" . \config\Master::MAX_UPLOAD_SIZE . "'>"; |
|
| 120 | + <input type='hidden' name='MAX_FILE_SIZE' value='".\config\Master::MAX_UPLOAD_SIZE."'>"; |
|
| 121 | 121 | $optionDisplay = new \web\lib\admin\OptionDisplay($deploymentOptions, "Profile"); |
| 122 | 122 | ?> |
| 123 | 123 | <?php |
| 124 | 124 | echo "<fieldset class='option_container' id='managedsp_override'> |
| 125 | - <legend><strong>" . _("Options for this deployment") . "</strong></legend>"; |
|
| 125 | + <legend><strong>" . _("Options for this deployment")."</strong></legend>"; |
|
| 126 | 126 | ?> |
| 127 | 127 | <table> |
| 128 | 128 | <tr> |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | <!-- input for VLAN identifier for home users--> |
| 141 | 141 | <td> |
| 142 | 142 | <span id='vlan_label'> |
| 143 | - <?php echo sprintf(_("VLAN tag for own users%s:"), ($vlan === NULL ? "" : " " . _("(unset with '0')"))); ?> |
|
| 143 | + <?php echo sprintf(_("VLAN tag for own users%s:"), ($vlan === NULL ? "" : " "._("(unset with '0')"))); ?> |
|
| 144 | 144 | </span> |
| 145 | 145 | </td> |
| 146 | 146 | <td> |
@@ -155,10 +155,10 @@ discard block |
||
| 155 | 155 | </table> |
| 156 | 156 | <?php |
| 157 | 157 | echo $optionDisplay->prefilledOptionTable("managedsp"); |
| 158 | - echo "<button type='button' class='newoption' onclick='getXML(\"managedsp\")'>" . _("Add new option") . "</button>"; |
|
| 158 | + echo "<button type='button' class='newoption' onclick='getXML(\"managedsp\")'>"._("Add new option")."</button>"; |
|
| 159 | 159 | echo "</fieldset>"; |
| 160 | 160 | |
| 161 | 161 | |
| 162 | - echo "<p><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_sp.php?inst_id=$my_inst->identifier\"'>" . _("Discard changes") . "</button></p></form>"; |
|
| 162 | + echo "<p><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_sp.php?inst_id=$my_inst->identifier\"'>"._("Discard changes")."</button></p></form>"; |
|
| 163 | 163 | echo $deco->footer(); |
| 164 | 164 | |