This file contains 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 | |
if (!$Referral = $modx->getService('referral', 'Referral', $modx->getOption('referral_core_path', null, $modx->getOption('core_path') . 'components/referral/') . 'model/referral/')) { | |
return 'Could not load Referral class!'; | |
} | |
$start = microtime(true); | |
//$Referral->GeneratePaths(); |
This file contains 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
Пересмотреть правило 1 юзер = 1 договор. | |
Короче, нужно неограниченное количество договоров. | |
Пользователь должен создавать договор в личном кабинете и заполнять его форму по соответсвующим полям. (форма договора одинаковая, но их может быть множество) | |
Пользователь может редактировать. (После окончательного статуса кнопка "рекдактировать" для пользователя не активна) | |
Менеджер должен просматривать договор и присваивать статутсы договорам: готов, не готов, подписан и пр. | |
К каждому договорму пользователь должен иметь возможность прикреплять документа. (Сканы документов - 2 -4 шт) | |
Админ в админке должен иметь возможность просматривать прикрепленные документы! |
This file contains 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
<script type="text/javascript"> | |
// This a demo combo, instead use your own with your processor to load your "options" | |
var msfavoritesXtype = function(config) { | |
Ext.apply(config, { | |
store: new Ext.data.SimpleStore({ | |
fields: ["data","value"] | |
,data: [ | |
[_('msfavorites_opt_0'), "0"] | |
,[_('msfavorites_opt_1'), "1"] | |
,[_('msfavorites_opt_2'), "2"] |
This file contains 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
{ | |
"0": { | |
"stage": { | |
"1": 0, | |
"2": 0, | |
"3": 0 | |
} | |
}, | |
"fields": { | |
"tab_contract": { |
This file contains 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 | |
/* | |
* WP Import, Ver 2015.01.04 | |
* (C) 2015 by ZoRg Soft | |
* MODx Notes - WP Import модуь для импорта записей из Wordpress | |
* http://agarkov.org/modx-x/evo-wpimport | |
*/ | |
$theme = $modx->config['manager_theme']; | |
$basePath = $modx->config['base_path']; |
This file contains 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 | |
class YleyCompaniesUsersGetListProcessor extends modProcessor{ | |
public static function getInstance(modX &$modx,$className,$properties = array()) { | |
switch($properties['type']){ | |
case 'company__': | |
$className = require_once dirname(__FILE__).'/users/getlist.class.php'; | |
break; |
This file contains 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
<section class="product-section" id="msProduct"> | |
[[msGallery? | |
&tplRow=`@INLINE | |
<div class="slide"> | |
<a data-rel="lightbox" href="[[+url]]" class="center"><img src="[[+187x301]]" title="[[+name]]" alt="[[+description]]" width="187" height="301"> | |
</a> | |
</div> | |
` | |
&tplOuter=`@INLINE <div class="slideset">[[+rows]]</div>` |
This file contains 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="product-slideshow"> | |
<div class="pager-carousel"> | |
<a class="btn-prev" href="#">Назад</a> | |
<div class="mask-holder"> | |
<div class="pager-mask"> | |
<div class="pager-slideset"> | |
[[+rows]] | |
</div> | |
</div> |
This file contains 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="pager-slide"> | |
<a class="center" href="#"><img src="[[+59x95]]" title="[[+name]]" alt="[[+description]]" width="59" height="95"> | |
</a> | |
</div> |
This file contains 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 | |
$installPackages = array( | |
'sdStore' | |
, 'translit' | |
, 'SanitizeUpload' | |
, 'TinyMCE' | |
, 'FormIt' | |
, 'Analytics' | |
, 'Big Brother' |