Commit f9cff02a authored by Franco Fichtner's avatar Franco Fichtner

services: more style and fixes for dyndns types

parent 26032f66
...@@ -88,7 +88,7 @@ function rfc2136_configure_do($verbose = false, $int = '', $updatehost = '', $fo ...@@ -88,7 +88,7 @@ function rfc2136_configure_do($verbose = false, $int = '', $updatehost = '', $fo
{ {
global $config; global $config;
if (!rfc_2136_enabled()) { if (!rfc2136_enabled()) {
return; return;
} }
......
...@@ -398,14 +398,14 @@ include("head.inc"); ...@@ -398,14 +398,14 @@ include("head.inc");
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input name="Submit" type="submit" class="btn btn-primary" value="<?= gettext("Save") ?>" onclick="enable_change(true)" /> <button name="submit" type="submit" class="btn btn-primary" value="save" onclick="enable_change(true)"><?= gettext('Save') ?></button>
<?php <?php
if (isset($id)): ?> if (isset($id)): ?>
<button name="force" type="submit" class="btn btn-primary" value="force" onclick="enable_change(true)"><?= gettext('Save and Force Update') ?></button>
<input name="id" type="hidden" value="<?= $id ?>" /> <input name="id" type="hidden" value="<?= $id ?>" />
<input name="force" type="submit" class="btn btn-primary" value="<?= gettext("Save & Force Update") ?>" onclick="enable_change(true)" />
<?php <?php
endif; ?> endif; ?>
<a href="services_dyndns.php" class="btn btn-default"><?= gettext("Cancel") ?></a> <a href="services_dyndns.php" class="btn btn-default"><?= gettext('Cancel') ?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -247,12 +247,12 @@ include("head.inc"); ...@@ -247,12 +247,12 @@ include("head.inc");
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input name="save" type="submit" class="btn btn-primary" value="<?=gettext("Save");?>" onclick="enable_change(true)" /> <button name="save" type="submit" class="btn btn-primary" value="save" onclick="enable_change(true)"><?= gettext('Save') ?></button>
<input name="force" type="submit" class="btn btn-primary" value="<?=gettext("Save &amp; Force Update");?>" onclick="enable_change(true)" />
<a href="services_rfc2136.php"><input name="Cancel" type="button" class="btn btn-default" value="<?=gettext("Cancel");?>" /></a>
<?php if (isset($id)): ?> <?php if (isset($id)): ?>
<button name="force" type="submit" class="btn btn-primary" value="force" onclick="enable_change(true)"><?= gettext('Save and Force Update') ?></button>
<input name="id" type="hidden" value="<?=$id;?>" /> <input name="id" type="hidden" value="<?=$id;?>" />
<?php endif; ?> <?php endif; ?>
<a href="services_rfc2136.php" class="btn btn-default"><?= gettext('Cancel') ?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
......
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