Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/channel_network_edit.tpl.php
Строк: 90
<?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_network_menu'); ?>
            <div class="content clearfix">
                <?php if ($this->network): ?>
                <form id="channel-add-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=channel/network/edit&id=<?php echo $this->network['network_id']; ?>">
                    <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>
                    <fieldset>
                        <legend>Network Properties</legend>
                        <div class="required">
                              <label for="total_channels">Total Channels</label>
                            <input name="total_channels" type="text" id="total_channels" class="medium" value="<?php echo e($this->network['total_channels']); ?>" />
                        </div>
                        <div class="required">
                              <label for="total_videos">Total Videos</label>
                            <input name="total_videos" type="text" id="total_videos" class="medium" value="<?php echo e($this->network['total_videos']); ?>" />
                        </div>
                    </fieldset>
                    <div class="submit">
                        <input name="submit-edit-network" type="submit" id="submit-edit-network" class="button butDef" value=" Edit Network " />
                    </div>
                </form>
                <?php else: ?>
                <div class="none">Invalid network!</div>
                <?php endif; ?>
            </div>
        </div>
    </div>
Онлайн: 4
Реклама