Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/language_edit.tpl.php
Строк: 56
<?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 echo $this->fetch('language_menu'); ?>
                <?php if ($this->lang): ?>
                <form id="language-edit-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=language/edit&amp;code=<?php echo $this->lang['code']; ?>">
                    <fieldset>
                        <legend>Language Information</legend>
                        <div class="required">
                            <label for="name">Name:</label>
                            <input name="name" type="text" id="name" class="large" value="<?php echo e($this->lang['name']); ?>" />
                        </div>
                        <div class="required">
                            <label for="flag">Flag:</label>
                            <input name="flag" type="text" id="flag" class="small" value="<?php echo e($this->lang['flag']); ?>" />
                            <img src="<?php echo MEDIA_URL?>/flags/<?php echo e($this->lang['flag']); ?>.png" alt="<?php echo e($this->lang['flag']),'.png'?>" />
                        </div>
                        <div class="optional">
                            <label for="status">Status:</label>
                            <input name="status" type="radio" id="status" class="radio" value="1"<?php if ($this->lang['status'] == '1'): echo ' checked="checked"'; endif; ?> /> Active &nbsp;
                            <input name="status" type="radio" class="radio" value="0"<?php if ($this->lang['status'] == '0'): echo ' checked="checked"'; endif; ?> /> Disabled
                        </div>
                    </fieldset>
                    <div class="submit">
                        <input name="submit-edit" type="submit" id="submit-edit" class="button butDef" value=" Update " />
                    </div>
                </form>
                <?php else: ?>
                <div class="none">Invalid language! Are you sure this language exists!?</div>
                <?php endif; ?>
            </div>
        </div>
    </div>
Онлайн: 1
Реклама