Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/module_add.tpl.php
Строк: 77
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?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('main_menu'); ?>
            <div class="content clearfix">
                <?php if (isset($this->message) && $this->message): ?>
                <div class="toolTip tpGreen" >
                    <p class="clearfix">
                          <span><img src="<?php echo TPL_REL?>/images/icons/light-bulb-off.png" alt="Tip!" /><?php echo $this->message?></span>
                    </p>
                    <a class="close" title="Close"></a>
                </div>
                <?php endif; ?>
                <form id="module-install-form" enctype="multipart/form-data" method="post" action="<?php echo ADMIN_URL?>/index.php?q=module/add">
                    <?php if ($this->loaded): ?>
                    <input name="install" type="hidden" value="1" />
                    <input name="module" type="hidden" value="<?php echo $this->module?>" />
                    <fieldset>
                        <legend>Server Credentials</legend>
                        <div class="required">
                            <label for="hostname">Hostname: </label>
                            <input name="hostname" type="text" id="hostname" class="large" value="<?php echo $this->credentials['hostname']; ?>" />
                        </div>
                        <div class="required">
                            <label for="port">Port: </label>
                            <input name="port" type="text" id="port" class="small" value="<?php echo $this->credentials['port']; ?>" />
                        </div>
                        <div class="required">
                            <label for="username">Username: </label>
                            <input name="username" type="text" id="username" class="large" value="<?php echo $this->credentials['username']; ?>" />
                        </div>
                        <div class="required">
                            <label for="password">Password: </label>
                            <input name="password" type="password" id="password" class="large" value="" />
                        </div>
                        <div class="required">
                            <label for="basepath">Base Path: </label>
                            <input name="basepath" type="text" id="basepath" class="large" value="<?php echo $this->credentials['basepath']; ?>" />
                        </div>
                        <div class="required">
                            <label for="method">Connection Type: </label>
                            <?php foreach ($this->methods as $key => $value): ?>
                            <input name="method" type="radio" id="method-<?php echo $key?>" class="radio" value="<?php echo $key?>"<?php if ($this->credentials['method'] == $key): echo ' checked="checked"'; endif; ?> /> <?php echo e($value); ?>
                            <?php endforeach; ?>
                        </div>
                    </fieldset>
                    <?php else: ?>
                    <input name="upload" type="hidden" value="1" />
                    <fieldset>
                        <legend>Install from File</legend>
                        <div class="required">
                            <label for="file">File:</label>
                            <input name="file" type="file" id="file" />
                        </div>
                    </fieldset>
                    <?php endif; ?>
                    <div class="submit">
                        <input name="submit-install" type="submit" id="submit-install" class="button butDef" value="Install Module" />
                    </div>
                </form>
            </div>
        </div>
    </div>
Онлайн: 2
Реклама