Unzer/views/smarty/admin/channels/new.tpl

184 lines
7.1 KiB
Smarty
Raw Normal View History

[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"
>
<!-- Optional theme -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
crossorigin="anonymous"
>
<style>
.container {
margin : 0;
}
@media (min-width : 1200px) {
.container {
width : 970px;
}
}
.form-group label.control-label {
text-align : left;
margin-bottom : 5px;
}
.form-group label.control-label span.d3helppanel {
float : right;
}
@media (max-width : 991px) {
.form-group label.control-label span.d3helppanel {
padding-left : 10px;
}
}
.form-group input.form-control {
font-size : 14px;
padding-left : 15px;
}
.form-group input.form-control.d3number {
width : 80px;
display : inline-block;
}
.form-group label.checkbox-inline {
vertical-align : top;
}
</style>
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="oxid" value="[{$oxid}]">
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassname()}]">
</form>
<div class="container">
[{if $basicLicenceInformation}]
<div class="row">
<div class="col-xs-12">
<div class="alert alert-warning">
[{$basicLicenceInformation}]
</div>
</div>
</div>
[{/if}]
<div class="row">
<div class="col-xs-12">
<form class="form-horizontal" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="oxid" value="[{$oxid}]">
<input type="hidden" name="fnc" value="addNewConfig">
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassname()}]">
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayActive">
[{oxmultilang ident="GENERAL_ACTIVE"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_GENERAL_ACTIVE"}]
</div>
<div class="col-md-8">
<label class="checkbox-inline">
<input type="hidden" name="editval[isActive]" value="0">
<input type="checkbox" id="d3HeidelpayActive" name="editval[isActive]" value="1" [{$readonly}]>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayTestConfig">
[{oxmultilang ident="D3UNZER_CONFIG_ISTESTCONFIG"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3UNZER_CONFIG_ISTESTCONFIG"}]
</div>
<div class="col-md-8">
<label class="checkbox-inline">
<input type="hidden" name="editval[isTestConfig]" value="0">
<input type="checkbox" id="d3HeidelpayTestConfig" name="editval[isTestConfig]" value="1" [{$readonly}]>
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayTitle">
[{oxmultilang ident="GENERAL_TITLE"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3UNZER_CONFIG_TITLE"}]
</div>
<div class="col-md-8">
<input class="form-control"
id="d3HeidelpayTitle"
required
type="text"
maxlength="255"
name="editval[title]"
value="" [{$readonly}]>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayPaymentType">
[{oxmultilang ident="D3DYN_HEIDELPAY_PAYTYPE"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3UNZER_CONFIG_PAYMENTTYPE"}]
</div>
<div class="col-md-8">
<select class="form-control"
id="d3HeidelpayPaymentType"
name="editval[paymentType]"
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PAYTYPE"}]"
>
[{foreach from=$paymentTypeList key="paymentId" item="heidelPayment"}]
<option value="[{$paymentId}]">
[{oxmultilang ident="D3_UNZER_CHANNEL_"|cat:$paymentId|upper}]
</option>
[{/foreach}]
</select>
</div>
</div>
[{if $showChannel}]
<div class="form-group">
<label class="control-label col-md-3" for="d3HeidelpayChannel">
[{oxmultilang ident="D3UNZER_CONFIG_CHANNEL"}]
</label>
<div class="col-md-1">
[{oxinputhelp ident="HELP_D3UNZER_CONFIG_CHANNEL"}]
</div>
<div class="col-md-8">
<input class="form-control"
id="d3HeidelpayChannel"
required
type="text"
maxlength="64"
name="editval[channel]"
value="" [{$readonly}]>
</div>
</div>
[{/if}]
<div class="form-group">
<div class="alert alert-info" style="padding:5px;text-align:right;">
<button class="btn btn-primary" type="submit">
[{oxmultilang ident="GENERAL_SAVE"}]
</button>
</div>
</div>
</form>
</div>
</div>
</div>
[{include file="bottomitem.tpl"}]