Commit 44476dba authored by Franco Fichtner's avatar Franco Fichtner

www: last bits of feedback

Submitted by: Curt Dox
parent 1af95608
......@@ -138,7 +138,7 @@ $crash_report_header = sprintf(
echo "<p><strong>" . gettext("Unfortunately we have detected at least one programming bug.") . "</strong></p>";
echo "<p><br/>" . sprintf(gettext("Would you like to submit this crash report to the %s developers?"), $g['product_name']) . "</p>";
echo "<p><button name=\"Submit\" type=\"submit\" class=\"btn btn-primary\" value=\"yes\">" . gettext('Yes') . "</button> ";
echo "<button name=\"Submit\" type=\"submit\" class=\"btn btn-primary\" value=\"no\">" . gettext('No') . "</button></p>";
echo "<button name=\"Submit\" type=\"submit\" class=\"btn btn-default\" value=\"no\">" . gettext('No') . "</button></p>";
echo "<p><br/><i>" . gettext("Please-double check the contents to ensure you are comfortable submitting the following information:") . "</i></p>";
echo "<textarea readonly=\"readonly\" style=\"max-width: none;\" rows=\"24\" cols=\"80\" name=\"crashreports\">{$crash_reports}</textarea></p>";
}
......
......@@ -345,7 +345,7 @@ function check_everything() {
<td valign="top" class="vtable">Filter descriptions</td>
<td class="vtable">
<select name="filterdescriptions" id="filterdescriptions" class="form-control">
<option value="0"<?=!isset($pconfig['filterdescriptions'])?" selected=\"selected\"":""?>>Dont load descriptions</option>
<option value="0"<?=!isset($pconfig['filterdescriptions'])?" selected=\"selected\"":""?>>Omit descriptions</option>
<option value="1"<?=($pconfig['filterdescriptions'])==="1"?" selected=\"selected\"":""?>>Display as column</option>
<option value="2"<?=($pconfig['filterdescriptions'])==="2"?" selected=\"selected\"":""?>>Display as second row</option>
</select>
......
......@@ -45,9 +45,12 @@ $if = $_GET['if'];
if ($_POST['if'])
$if = $_POST['if'];
if (!$_GET['if'])
$savemsg = gettext("The DHCPv6 Server can only be enabled on interfaces configured with static IP addresses") .
gettext("Only interfaces configured with a static IP will be shown") . ".";
if (!$_GET['if']) {
$savemsg = gettext(
"The DHCPv6 Server can only be enabled on interfaces configured with static " .
"IP addresses. Only interfaces configured with a static IP will be shown."
);
}
$iflist = get_configured_interface_with_descr();
$iflist = array_merge($iflist, get_configured_pppoe_server_interfaces());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment