This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once dirname(__FILE__).'/config.core.php'; | |
| include_once MODX_CORE_PATH . 'model/modx/modx.class.php'; | |
| $modx= new modX(); | |
| $modx->initialize('mgr'); | |
| $modx->setLogLevel(modX::LOG_LEVEL_INFO); | |
| $modx->setLogTarget(XPDO_CLI_MODE ? 'ECHO' : 'HTML'); | |
| header("Content-type: text/plain"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // provider id => array of packages | |
| $listPackagesToInstall = array( | |
| 1 => array( // standart modx provider | |
| 'sdStore' | |
| , 'translit' | |
| , 'TinyMCE' | |
| , 'FormIt' | |
| , 'Analytics' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTML: | |
| <div class="wrapper"> | |
| <div class="tabs"> | |
| <span class="tab">Вкладка 1</span> | |
| <span class="tab">Вкладка 2</span> | |
| <span class="tab">Вкладка 3</span> | |
| </div> | |
| <div class="tab_content"> | |
| <div class="tab_item">Содержимое 1</div> | |
| <div class="tab_item">Содержимое 2</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Non-responsive overrides for Bootstrap 3 | |
| * | |
| * Utilize the following CSS to disable the responsive-ness of the container, | |
| * grid system, and navbar. | |
| */ | |
| /* Reset the container */ | |
| .container { | |
| max-width: none !important; | |
| width: 970px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //E-mail Ajax Send | |
| //Documentation & Example: https://github.com/agragregra/uniMail | |
| $("form").submit(function() { //Change | |
| var th = $(this); | |
| $.ajax({ | |
| type: "POST", | |
| url: "mail.php", //Change | |
| data: th.serialize() | |
| }).done(function() { | |
| alert("Thank you!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Аякс отправка форм | |
| //Документация: http://api.jquery.com/jquery.ajax/ | |
| $("#form, #form2").submit(function(e) { | |
| e.preventDefault; | |
| $.ajax({ | |
| type: "POST", | |
| url: "mail.php", | |
| data: $(this).serialize() | |
| }).done(function() { | |
| alert("Спасибо за заявку!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #loader { | |
| background: none repeat scroll 0 0 #ffffff; | |
| bottom: 0; | |
| height: 100%; | |
| left: 0; | |
| position: fixed; | |
| right: 0; | |
| top: 0; | |
| width: 100%; | |
| z-index: 9999; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="top" title="Наверх"><i class="fa fa-angle-double-up"></i></div> | |
| .top | |
| position: fixed | |
| bottom: 25px | |
| background-color: #E0E0E0 | |
| border-radius: 10em | |
| color: #666 | |
| font-size: 26px | |
| width: 50px |
NewerOlder