summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-12-01 02:15:53 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-12-01 02:15:53 +0000
commitef3b11491182b85ec459c42fe4e51f6a7ca5262b (patch)
treeefbe112e29fbc885f27fb5b0f6d45d31fb2501de /UI
parent62b8b04fb61061592f0c4202cbd2ac0125807982 (diff)
Default country can now be set.HEADmaster
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2422 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/Contact/contact.html1
-rw-r--r--UI/am-defaults.html6
2 files changed, 7 insertions, 0 deletions
diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html
index 070b6713..0c0bb43c 100644
--- a/UI/Contact/contact.html
+++ b/UI/Contact/contact.html
@@ -592,6 +592,7 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
} #' ?>
</div>
<div> <!-- TODO: Move to elements.html -CT -->
+ <?lsmb IF !country; country = default_country; END -?>
<?lsmb INCLUDE select element_data = {
text_attr = "name"
value_attr = "id"
diff --git a/UI/am-defaults.html b/UI/am-defaults.html
index c34de1f5..da4cbef0 100644
--- a/UI/am-defaults.html
+++ b/UI/am-defaults.html
@@ -69,6 +69,12 @@
<?lsmb PROCESS select element_data=selects.FX_loss ?>
</td>
</tr>
+ <tr>
+ <th align="right" nowrap="nowrap"><?lsmb text('Default Country') ?></th>
+ <td>
+<?lsmb PROCESS select element_data=selects.default_country ?>
+ </td>
+ </tr>
</table>
</td>
</tr>