westdc-zf1/application/default/views/scripts/account/application-add.phtml

44 lines
1.6 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('网站接入');
$this->headTitle()->setSeparator(' - ');
?>
<div class="row">
<div class="span3">
<div class="well sidebar-nav">
<?= $this->partial('/account/left.phtml'); ?>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<h3>应用接入</h3>
<hr />
<?php if(!empty($this->msg)) { ?>
<?= $this->msg ?>
<?php }else{?>
<?php if(!empty($this->error)) { ?>
<?= $this->error ?>
<?php } ?>
<form action="" method="post" class="form-horizontal">
<div class="control-group ">
<label class="control-label" for="name">名称</label>
<div class="controls">
<input type="text" id="name" name="name" value="<?php echo empty($this->info['name']) ? "":$this->info['name']; ?>" />
</div>
</div>
<div class="control-group ">
<label class="control-label" for="name">重定向地址</label>
<div class="controls">
<input type="text" id="uri" name="uri" value="<?php echo empty($this->info['uri']) ? "":$this->info['uri']; ?>" />
</div>
</div>
<div class="form-actions">
<input type="hidden" name="submit" value="submit" />
<button type="submit" class="btn btn-primary">确定</button>
<button type="button" class="btn">取消</button>
</div>
</form>
<?php }?>
</div><!--/span-->
</div><!--/row-->