Forumlar / National / Russian / Тех. поддержка / Запросы документации

Принимаем вопросы от населения

Kabak
#46465 2023-04-10 09:29
#46464 webitproff:

дайте то что я просил, если хотите помощи, а так кусками картину не совсем реконструируешь

Добавлено 1 минута спустя:

что имеено сейчас нужно? стили или дублирование убрать?

 

smiley

login.tpl

XML/XHTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!-- BEGIN: MAIN -->
 
<section class="flex_block_style_1">
    <div class="div_block_login">
        <div class="div_block_default div_title_login">
            {USERS_AUTH_TITLE}
        </div>
        <div class="login_block">
        <!-- IF {PHP.usr.id} -->
            <p>{PHP.L.users_loggedinas} <strong>{PHP.usr.name}</strong>.<br/>{PHP.L.users_logoutfirst}</p>
            <p><a class="button" href="{PHP.sys.xk|cot_url('login','out=1&x=$this', '', 0, 1)}">{PHP.L.Logout}</a></p>
            <!-- ELSE -->
            <form name="login" action="{USERS_AUTH_SEND}" method="post">
                <table class="table_Style_2">
                    <tr>
                        <td class="td_Style2">{PHP.L.users_nameormail}:</td>
                        <td class="td_Style2">{USERS_AUTH_USER}</td>
                    </tr>
                    <tr>
                        <td class="td_Style2">{PHP.L.Password}:</td>
                        <td class="td_Style2">{USERS_AUTH_PASSWORD}</td>
                    </tr>
                    <tr>
                        <td class="td_Style2" colspan="2">
                            <div class="flex_block">
                                <label class="loging_checkbox">{USERS_AUTH_REMEMBER}
                                    <div class="checkmark"></div>
                                </label>
                                <div class="center">{PHP.L.users_rememberme}</div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="td_Style2">
                            <button class="button1 login_button" type="submit" name="rlogin" value="0">{PHP.L.Login}</button>
                        </td>
                    </tr>
                </table>
            </form>
        <!-- ENDIF -->
        </div>
 
    </div>
 
    <aside class="div_info_block_1_28">
        <div>
            {FILE "./{PHP.cfg.themes_dir}/{PHP.cfg.defaulttheme}/inc/contact.tpl"}
        </div>
 
<!-- BEGIN: USERS_AUTH_MAINTENANCE -->
        <div>
            <h4>{PHP.L.users_maintenance1}</h4>
            <p>{PHP.L.users_maintenance2}</p>
        </div>
<!-- END: USERS_AUTH_MAINTENANCE -->
    </aside>
 
</section>
<!-- END: MAIN -->

my_skin.php

PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/* ====================
[BEGIN_COT_THEME]
Name=Forest
Version=1.0.0
Schemes=default:Default
[END_COT_THEME]
==================== */
 
/**
 * Cotonti Model Theme
 *
 * @package Cotonti
 * @copyright (c)
 * @license
 */
 
defined('COT_CODE') or die('Wrong URL');
 
$R['form_guest_remember'] = '<input type="checkbox" name="rremember" class="checkmark" />';
$R['form_guest_remember_forced'] = '<input type="checkbox" name="rremember" checked="checked" disabled="disabled" class="checkmark" />';  

 

 

убрать дублирование