Code Monkey home page Code Monkey logo

Comments (7)

Maratakziaplus avatar Maratakziaplus commented on June 19, 2024

Согласен

from icms2.

globator88 avatar globator88 commented on June 19, 2024

В принципе нужная вещь. Но пока можно на странице регистрации написать что "Регистрируясь вы соглашаетесь..." и дать ссылку на правила сайта.

from icms2.

nomad48 avatar nomad48 commented on June 19, 2024

Я так сделал пока: в файле ...\templates\ваш_шаблон\controllers\auth\registration.tpl.php
`controller->options['is_reg_enabled']){ ?>

<p><?php echo $this->controller->options['reg_reason']; ?></p>
<?php return; ?>
renderForm($form, $user, array( 'action' => href_to('auth', 'register'), 'method' => 'post', 'append_html' => $captcha_html, 'submit' => array( 'title' => LANG_CONTINUE ) ), $errors); ?>

Нажимая кнопку «Продолжить», Вы принимаете условия Пользовательского соглашения

<script> ``` function toggleGroups(){ if ($('select#group_id').length == 0){ return false; } var group_id = $('select#group_id').val(); $('.groups-limit').hide(); $('.group-' + group_id).show(); $('fieldset').each(function(){ if ($('.field:visible', $(this)).length==0) { $(this).hide(); } if ($('.group-' + group_id, $(this)).length>0) { $(this).show(); } }); } $(document).ready(function(){ if ($('select#group_id').length == 0){ return false; } $('select#group_id').change(function(){ toggleGroups(); }); }); toggleGroups(); ``` </script>`

from icms2.

my-instantcms avatar my-instantcms commented on June 19, 2024

http://www.instantcms.ru/forum/thread23178.html#221384

from icms2.

nomad48 avatar nomad48 commented on June 19, 2024

@my-instantcms о хорошее решение, попробую. Спасибо.

from icms2.

EnotAlex avatar EnotAlex commented on June 19, 2024

поддерживаю, но это должно быть в коробке, потом просто замучаетесь изменять каждую приблуду после обновления.

from icms2.

fuzegit avatar fuzegit commented on June 19, 2024

#1253

from icms2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.