Файл: adultscript-2.0.3-pro/files/admin/templates/default/channel_network_add.tpl.php
Строк: 63
<?php defined('_VALID') or die('Restricted Access!'); ?>
<script type="text/javascript">
$(document).ready(function() {
$("#name").keyup(function() {
$("#slug").val(convertToSlug($(this).val()));
});
});
</script>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('channel_menu'); ?>
<div class="content clearfix">
<form id="channel-add-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=channel/network/add">
<fieldset>
<legend>Network Information</legend>
<div class="required">
<label for="username">Username</label>
<input name="username" type="text" id="username" class="large" maxlength="32" value="<?php echo e($this->network['username']); ?>" />
</div>
<div class="required">
<label for="name">Name</label>
<input name="name" type="text" id="name" class="mega" maxlength="100" value="<?php echo e($this->network['name']); ?>" />
</div>
<div class="required">
<label for="slug">Slug</label>
<input name="slug" type="text" id="slug" class="mega" maxlength="100" value="<?php echo e($this->network['slug']); ?>" />
</div>
<div class="optional">
<label for="description">Description</label>
<textarea name="description" id="description" class="mega" rows="3"><?php echo e($this->network['description']); ?></textarea>
</div>
</fieldset>
<div class="submit">
<input name="submit-add-network" type="submit" id="submit-add-network" class="button butDef" value=" Add Network " />
</div>
</form>
</div>
</div>
</div>