Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e67606816f
Fetching contributors…

Cannot retrieve contributors at this time

78 lines (71 sloc) 2.43 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?lsmb form.titlebar ?></title>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex,nofollow" />
</head>
<?lsmb PROCESS elements.html ?>
<body>
<form method="post" action="<?lsmb form.script ?>">
<table width="100%"><col width="25%" align="right"><col><col>
<tr><th colspan="2" class="listtop"><?lsmb text('System Defaults') ?></th>
<?lsmb FOREACH GROUP IN default_settings ?>
<tr><th colspan="2" class="listheading"><?lsmb GROUP.title ?></th></tr>
<?lsmb FOREACH ITEM IN GROUP.items ?>
<tr>
<th align="right"><?lsmb ITEM.label ?></th>
<td>
<?lsmb
IF ITEM.type == 'YES_NO';
IF form.${ITEM.name};
YES="CHECKED";
NO=undef;
ELSE;
NO="CHECKED";
YES=undef;
END;
PROCESS input element_data = {
name = ITEM.name
type = 'radio'
label = text('Yes')
value = 1
checked = YES
};
PROCESS input element_data = {
name = ITEM.name
type = 'radio'
label = text('No')
value = 0
checked = NO
};
ELSIF ITEM.type == 'SELECT_ONE';
PROCESS select element_data= selects.${ITEM.name};
ELSE;
PROCESS input element_data = {
name = ITEM.name
type = 'text'
value = form.${ITEM.name}
};
END; ?>
</td>
</tr>
<?lsmb END # FOREACH ITEM ?>
<?lsmb END # FOREACH GROUP ?>
</table>
<hr size="3" noshade="noshade" />
<?lsmb FOREACH hidden IN hiddens.keys;
PROCESS input element_data={
type => 'hidden',
name => hidden,
value => hiddens.item(hidden)
}; END;
PROCESS button element_data={name => 'action', value => 'save_defaults' text => text('Save')} ?>
</form>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.