99 lines
4.3 KiB
PHP
99 lines
4.3 KiB
PHP
<?php include(realpath(dirname(__FILE__)."/../../$mfLayoutPackage")."/header.php"); ?>
|
|
<!-- start page title -->
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box">
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="<?=self::getUrl("Dashboard")?>"><?=MFAPPNAME_SLUG?></a></li>
|
|
<li class="breadcrumb-item"><a href="<?=self::getUrl("Voicenumberblock")?>">Rufnummernblöcke</a></li>
|
|
<li class="breadcrumb-item active"><?=($block->id) ? "bearbeiten" : "Neu" ?></li>
|
|
</ol>
|
|
</div>
|
|
<h4 class="page-title">Objekte</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end page title -->
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
|
|
<div class="card bg-light">
|
|
<div class="card-body">
|
|
<h4 class="header-title mb-2"><?=($block->id) ? "Rufnummernblock bearbeiten" : "Neuer Rufnummernblock"?></h4>
|
|
|
|
<form class="form-horizontal" method="post" action="<?=self::getUrl("Voicenumberblock", "save")?>">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
|
|
<input type="hidden" name="id" value="<?=$block->id?>" />
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="name">Name</label>
|
|
<div class="col-lg-10">
|
|
<input type="name" class="form-control" name="name" id="name" value="<?=$block->name?>" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="countrycode">Country Code *</label>
|
|
<div class="col-lg-10">
|
|
<input type="countrycode" class="form-control" name="countrycode" id="countrycode" value="<?=$block->countrycode?>" />
|
|
<small class="font-italic">Beispiel: 43</small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="areacode">Area Code *</label>
|
|
<div class="col-lg-10">
|
|
<input type="text" class="form-control" name="areacode" id="areacode" value="<?=$block->areacode?>" />
|
|
<small class="font-italic">Beispiel: 3115</small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="first">Erste Nummer *</label>
|
|
<div class="col-lg-10">
|
|
<input type="text" class="form-control" name="first" id="first" value="<?=($block->id) ? $block->short_first : ""?>" />
|
|
<small class="font-italic">Beispiel: 4080010</small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="last">Letzte Nummer *</label>
|
|
<div class="col-lg-10">
|
|
<input type="text" class="form-control" name="last" id="last" value="<?=($block->id) ? $block->short_last : ""?>" />
|
|
<small class="font-italic">Beispiel: 4080099</small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2 col-form-label" for="comment">Kommentar</label>
|
|
<div class="col-lg-10">
|
|
<textarea id="note" class="form-control" name="comment" rows="5"><?=$block->comment?></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label class="col-lg-2"></label>
|
|
<div class="col-lg-10">
|
|
<button type="submit" class="btn btn-primary">Speichern</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<?php include(realpath(dirname(__FILE__)."/../../$mfLayoutPackage")."/footer.php"); ?>
|