preserved.php 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627
  1. <?php return array (
  2. '31a19c88fcbd45eca7b7af14b54dd2d5' =>
  3. array (
  4. 'criteria' =>
  5. array (
  6. 'name' => 'login',
  7. ),
  8. 'object' =>
  9. array (
  10. 'name' => 'login',
  11. 'path' => '{core_path}components/login/',
  12. 'assets_path' => '{assets_path}components/login/',
  13. ),
  14. ),
  15. '00f7b5991b6b8ba82c7c2ee6e97a4821' =>
  16. array (
  17. 'criteria' =>
  18. array (
  19. 'key' => 'login.forgot_password_email_subject',
  20. ),
  21. 'object' =>
  22. array (
  23. 'key' => 'login.forgot_password_email_subject',
  24. 'value' => 'Password Retrieval Email',
  25. 'xtype' => 'textfield',
  26. 'namespace' => 'login',
  27. 'area' => 'security',
  28. 'editedon' => NULL,
  29. ),
  30. ),
  31. '25b173aa94033afc6ef3475365ec800f' =>
  32. array (
  33. 'criteria' =>
  34. array (
  35. 'key' => 'recaptcha.public_key',
  36. ),
  37. 'object' =>
  38. array (
  39. 'key' => 'recaptcha.public_key',
  40. 'value' => '',
  41. 'xtype' => 'textfield',
  42. 'namespace' => 'login',
  43. 'area' => 'reCaptcha',
  44. 'editedon' => NULL,
  45. ),
  46. ),
  47. 'd16a303ae7dc230a7196a0d255d1b4c5' =>
  48. array (
  49. 'criteria' =>
  50. array (
  51. 'key' => 'recaptcha.private_key',
  52. ),
  53. 'object' =>
  54. array (
  55. 'key' => 'recaptcha.private_key',
  56. 'value' => '',
  57. 'xtype' => 'textfield',
  58. 'namespace' => 'login',
  59. 'area' => 'reCaptcha',
  60. 'editedon' => NULL,
  61. ),
  62. ),
  63. '5b6e55e4e80734ff2a4cc4ec6da56548' =>
  64. array (
  65. 'criteria' =>
  66. array (
  67. 'key' => 'recaptcha.use_ssl',
  68. ),
  69. 'object' =>
  70. array (
  71. 'key' => 'recaptcha.use_ssl',
  72. 'value' => 'false',
  73. 'xtype' => 'combo-boolean',
  74. 'namespace' => 'login',
  75. 'area' => 'reCaptcha',
  76. 'editedon' => NULL,
  77. ),
  78. ),
  79. '952069b037f77600053263d0c7c1bd6c' =>
  80. array (
  81. 'criteria' =>
  82. array (
  83. 'category' => 'Login',
  84. ),
  85. 'object' =>
  86. array (
  87. 'id' => 21,
  88. 'parent' => 0,
  89. 'category' => 'Login',
  90. 'rank' => 0,
  91. ),
  92. ),
  93. '0cf9bd9002a62a04a913e7523972c975' =>
  94. array (
  95. 'criteria' =>
  96. array (
  97. 'name' => 'lgnLoginTpl',
  98. ),
  99. 'object' =>
  100. array (
  101. 'id' => 58,
  102. 'source' => 0,
  103. 'property_preprocess' => 0,
  104. 'name' => 'lgnLoginTpl',
  105. 'description' => '',
  106. 'editor_type' => 0,
  107. 'category' => 21,
  108. 'cache_type' => 0,
  109. 'snippet' => '<div class="loginForm">
  110. <div class="loginMessage">[[+errors]]</div>
  111. <div class="loginLogin">
  112. <form class="loginLoginForm" action="[[~[[*id]]]]" method="post">
  113. <fieldset class="loginLoginFieldset">
  114. <legend class="loginLegend">[[+actionMsg]]</legend>
  115. <label class="loginUsernameLabel">[[%login.username]]
  116. <input class="loginUsername" type="text" name="username" />
  117. </label>
  118. <label class="loginPasswordLabel">[[%login.password]]
  119. <input class="loginPassword" type="password" name="password" />
  120. </label>
  121. <input class="returnUrl" type="hidden" name="returnUrl" value="[[+request_uri]]" />
  122. [[+login.recaptcha_html]]
  123. <input class="loginLoginValue" type="hidden" name="service" value="login" />
  124. <span class="loginLoginButton"><input type="submit" name="Login" value="[[+actionMsg]]" /></span>
  125. </fieldset>
  126. </form>
  127. </div>
  128. </div>',
  129. 'locked' => 0,
  130. 'properties' => 'a:0:{}',
  131. 'static' => 0,
  132. 'static_file' => '',
  133. 'content' => '<div class="loginForm">
  134. <div class="loginMessage">[[+errors]]</div>
  135. <div class="loginLogin">
  136. <form class="loginLoginForm" action="[[~[[*id]]]]" method="post">
  137. <fieldset class="loginLoginFieldset">
  138. <legend class="loginLegend">[[+actionMsg]]</legend>
  139. <label class="loginUsernameLabel">[[%login.username]]
  140. <input class="loginUsername" type="text" name="username" />
  141. </label>
  142. <label class="loginPasswordLabel">[[%login.password]]
  143. <input class="loginPassword" type="password" name="password" />
  144. </label>
  145. <input class="returnUrl" type="hidden" name="returnUrl" value="[[+request_uri]]" />
  146. [[+login.recaptcha_html]]
  147. <input class="loginLoginValue" type="hidden" name="service" value="login" />
  148. <span class="loginLoginButton"><input type="submit" name="Login" value="[[+actionMsg]]" /></span>
  149. </fieldset>
  150. </form>
  151. </div>
  152. </div>',
  153. ),
  154. ),
  155. '88c00f1fc85f099c509a73460acac530' =>
  156. array (
  157. 'criteria' =>
  158. array (
  159. 'name' => 'lgnLogoutTpl',
  160. ),
  161. 'object' =>
  162. array (
  163. 'id' => 59,
  164. 'source' => 0,
  165. 'property_preprocess' => 0,
  166. 'name' => 'lgnLogoutTpl',
  167. 'description' => '',
  168. 'editor_type' => 0,
  169. 'category' => 21,
  170. 'cache_type' => 0,
  171. 'snippet' => '<div class="loginMessage">[[+errors]]</div>
  172. <br />
  173. <div class="loginLogin">
  174. <div class="loginRegister">
  175. <a href="[[+logoutUrl]]" title="[[+actionMsg]]">[[+actionMsg]]</a>
  176. </div>
  177. </div>',
  178. 'locked' => 0,
  179. 'properties' => 'a:0:{}',
  180. 'static' => 0,
  181. 'static_file' => '',
  182. 'content' => '<div class="loginMessage">[[+errors]]</div>
  183. <br />
  184. <div class="loginLogin">
  185. <div class="loginRegister">
  186. <a href="[[+logoutUrl]]" title="[[+actionMsg]]">[[+actionMsg]]</a>
  187. </div>
  188. </div>',
  189. ),
  190. ),
  191. '969daf401372a954bf718609c3646d71' =>
  192. array (
  193. 'criteria' =>
  194. array (
  195. 'name' => 'lgnErrTpl',
  196. ),
  197. 'object' =>
  198. array (
  199. 'id' => 60,
  200. 'source' => 0,
  201. 'property_preprocess' => 0,
  202. 'name' => 'lgnErrTpl',
  203. 'description' => '',
  204. 'editor_type' => 0,
  205. 'category' => 21,
  206. 'cache_type' => 0,
  207. 'snippet' => '<p class="error">[[+msg]]</p>',
  208. 'locked' => 0,
  209. 'properties' => 'a:0:{}',
  210. 'static' => 0,
  211. 'static_file' => '',
  212. 'content' => '<p class="error">[[+msg]]</p>',
  213. ),
  214. ),
  215. '7e438bd723c0734894efae69b37ca0af' =>
  216. array (
  217. 'criteria' =>
  218. array (
  219. 'name' => 'lgnForgotPassEmail',
  220. ),
  221. 'object' =>
  222. array (
  223. 'id' => 61,
  224. 'source' => 0,
  225. 'property_preprocess' => 0,
  226. 'name' => 'lgnForgotPassEmail',
  227. 'description' => '',
  228. 'editor_type' => 0,
  229. 'category' => 21,
  230. 'cache_type' => 0,
  231. 'snippet' => '[[%login.forgot_password_email_text? &username=`[[+username]]` &confirmUrl=`[[+confirmUrl]]` &password=`[[+password]]`]]
  232. ',
  233. 'locked' => 0,
  234. 'properties' => 'a:0:{}',
  235. 'static' => 0,
  236. 'static_file' => '',
  237. 'content' => '[[%login.forgot_password_email_text? &username=`[[+username]]` &confirmUrl=`[[+confirmUrl]]` &password=`[[+password]]`]]
  238. ',
  239. ),
  240. ),
  241. 'dab2ee104ee442b61cc06f9d3318faec' =>
  242. array (
  243. 'criteria' =>
  244. array (
  245. 'name' => 'lgnForgotPassSentTpl',
  246. ),
  247. 'object' =>
  248. array (
  249. 'id' => 62,
  250. 'source' => 0,
  251. 'property_preprocess' => 0,
  252. 'name' => 'lgnForgotPassSentTpl',
  253. 'description' => '',
  254. 'editor_type' => 0,
  255. 'category' => 21,
  256. 'cache_type' => 0,
  257. 'snippet' => '<h2>Your Login Information Has Been Sent</h2>
  258. <p>Your login information has been sent to the email address [[+email]].</p>',
  259. 'locked' => 0,
  260. 'properties' => 'a:0:{}',
  261. 'static' => 0,
  262. 'static_file' => '',
  263. 'content' => '<h2>Your Login Information Has Been Sent</h2>
  264. <p>Your login information has been sent to the email address [[+email]].</p>',
  265. ),
  266. ),
  267. 'd953c59b6b5bb09266eb9dae28ac9c44' =>
  268. array (
  269. 'criteria' =>
  270. array (
  271. 'name' => 'lgnForgotPassTpl',
  272. ),
  273. 'object' =>
  274. array (
  275. 'id' => 63,
  276. 'source' => 0,
  277. 'property_preprocess' => 0,
  278. 'name' => 'lgnForgotPassTpl',
  279. 'description' => '',
  280. 'editor_type' => 0,
  281. 'category' => 21,
  282. 'cache_type' => 0,
  283. 'snippet' => '<div class="loginFPErrors">[[+loginfp.errors]]</div>
  284. <div class="loginFP">
  285. <form class="loginFPForm" action="[[~[[*id]]]]" method="post">
  286. <fieldset class="loginFPFieldset">
  287. <legend class="loginFPLegend">[[%login.forgot_password]]</legend>
  288. <label class="loginFPUsernameLabel">[[%login.username]]
  289. <input class="loginFPUsername" type="text" name="username" value="[[+loginfp.post.username]]" />
  290. </label>
  291. <p>[[%login.or_forgot_username]]</p>
  292. <label class="loginFPEmailLabel">[[%login.email]]
  293. <input class="loginFPEmail" type="text" name="email" value="[[+loginfp.post.email]]" />
  294. </label>
  295. <input class="returnUrl" type="hidden" name="returnUrl" value="[[+loginfp.request_uri]]" />
  296. <input class="loginFPService" type="hidden" name="login_fp_service" value="forgotpassword" />
  297. <span class="loginFPButton"><input type="submit" name="login_fp" value="[[%login.reset_password]]" /></span>
  298. </fieldset>
  299. </form>
  300. </div>',
  301. 'locked' => 0,
  302. 'properties' => 'a:0:{}',
  303. 'static' => 0,
  304. 'static_file' => '',
  305. 'content' => '<div class="loginFPErrors">[[+loginfp.errors]]</div>
  306. <div class="loginFP">
  307. <form class="loginFPForm" action="[[~[[*id]]]]" method="post">
  308. <fieldset class="loginFPFieldset">
  309. <legend class="loginFPLegend">[[%login.forgot_password]]</legend>
  310. <label class="loginFPUsernameLabel">[[%login.username]]
  311. <input class="loginFPUsername" type="text" name="username" value="[[+loginfp.post.username]]" />
  312. </label>
  313. <p>[[%login.or_forgot_username]]</p>
  314. <label class="loginFPEmailLabel">[[%login.email]]
  315. <input class="loginFPEmail" type="text" name="email" value="[[+loginfp.post.email]]" />
  316. </label>
  317. <input class="returnUrl" type="hidden" name="returnUrl" value="[[+loginfp.request_uri]]" />
  318. <input class="loginFPService" type="hidden" name="login_fp_service" value="forgotpassword" />
  319. <span class="loginFPButton"><input type="submit" name="login_fp" value="[[%login.reset_password]]" /></span>
  320. </fieldset>
  321. </form>
  322. </div>',
  323. ),
  324. ),
  325. 'cec40d9ae4fb27ee043fe94ec85c2d0c' =>
  326. array (
  327. 'criteria' =>
  328. array (
  329. 'name' => 'lgnResetPassTpl',
  330. ),
  331. 'object' =>
  332. array (
  333. 'id' => 64,
  334. 'source' => 0,
  335. 'property_preprocess' => 0,
  336. 'name' => 'lgnResetPassTpl',
  337. 'description' => '',
  338. 'editor_type' => 0,
  339. 'category' => 21,
  340. 'cache_type' => 0,
  341. 'snippet' => '<div class="loginResetPass">
  342. <p class="loginResetPassHeader">[[+username]],</p>
  343. <p class="loginResetPassText">Your password has been reset. Please return <a href="[[+loginUrl]]">here</a> to log in.</p>
  344. </div>',
  345. 'locked' => 0,
  346. 'properties' => 'a:0:{}',
  347. 'static' => 0,
  348. 'static_file' => '',
  349. 'content' => '<div class="loginResetPass">
  350. <p class="loginResetPassHeader">[[+username]],</p>
  351. <p class="loginResetPassText">Your password has been reset. Please return <a href="[[+loginUrl]]">here</a> to log in.</p>
  352. </div>',
  353. ),
  354. ),
  355. '97d383edd2e66c31c617bb5741b50580' =>
  356. array (
  357. 'criteria' =>
  358. array (
  359. 'name' => 'lgnRegisterFormTpl',
  360. ),
  361. 'object' =>
  362. array (
  363. 'id' => 65,
  364. 'source' => 0,
  365. 'property_preprocess' => 0,
  366. 'name' => 'lgnRegisterFormTpl',
  367. 'description' => '',
  368. 'editor_type' => 0,
  369. 'category' => 21,
  370. 'cache_type' => 0,
  371. 'snippet' => '<div class="register">
  372. <div class="registerMessage">[[+error.message]]</div>
  373. <form class="form" action="[[~[[*id]]]]" method="post">
  374. <input type="hidden" name="nospam:blank" value="" />
  375. <label for="username">[[%register.username? &namespace=`login` &topic=`register`]]
  376. <span class="error">[[+error.username]]</span>
  377. </label>
  378. <input type="text" name="username:required:minLength=6" id="username" value="[[+username]]" />
  379. <label for="password">[[%register.password]]
  380. <span class="error">[[+error.password]]</span>
  381. </label>
  382. <input type="password" name="password:required:minLength=6" id="password" value="[[+password]]" />
  383. <label for="password_confirm">[[%register.password_confirm]]
  384. <span class="error">[[+error.password_confirm]]</span>
  385. </label>
  386. <input type="password" name="password_confirm:password_confirm=`password`" id="password_confirm" value="[[+password_confirm]]" />
  387. <label for="fullname">[[%register.fullname]]
  388. <span class="error">[[+error.fullname]]</span>
  389. </label>
  390. <input type="text" name="fullname:required" id="fullname" value="[[+fullname]]" />
  391. <label for="email">[[%register.email]]
  392. <span class="error">[[+error.email]]</span>
  393. </label>
  394. <input type="text" name="email:email" id="email" value="[[+email]]" />
  395. <br class="clear" />
  396. [[+register.recaptcha_html]]
  397. [[+error.recaptcha]]
  398. <div class="form-buttons">
  399. <input type="submit" name="login-register-btn" value="Register" />
  400. </div>
  401. </form>
  402. </div>',
  403. 'locked' => 0,
  404. 'properties' => 'a:0:{}',
  405. 'static' => 0,
  406. 'static_file' => '',
  407. 'content' => '<div class="register">
  408. <div class="registerMessage">[[+error.message]]</div>
  409. <form class="form" action="[[~[[*id]]]]" method="post">
  410. <input type="hidden" name="nospam:blank" value="" />
  411. <label for="username">[[%register.username? &namespace=`login` &topic=`register`]]
  412. <span class="error">[[+error.username]]</span>
  413. </label>
  414. <input type="text" name="username:required:minLength=6" id="username" value="[[+username]]" />
  415. <label for="password">[[%register.password]]
  416. <span class="error">[[+error.password]]</span>
  417. </label>
  418. <input type="password" name="password:required:minLength=6" id="password" value="[[+password]]" />
  419. <label for="password_confirm">[[%register.password_confirm]]
  420. <span class="error">[[+error.password_confirm]]</span>
  421. </label>
  422. <input type="password" name="password_confirm:password_confirm=`password`" id="password_confirm" value="[[+password_confirm]]" />
  423. <label for="fullname">[[%register.fullname]]
  424. <span class="error">[[+error.fullname]]</span>
  425. </label>
  426. <input type="text" name="fullname:required" id="fullname" value="[[+fullname]]" />
  427. <label for="email">[[%register.email]]
  428. <span class="error">[[+error.email]]</span>
  429. </label>
  430. <input type="text" name="email:email" id="email" value="[[+email]]" />
  431. <br class="clear" />
  432. [[+register.recaptcha_html]]
  433. [[+error.recaptcha]]
  434. <div class="form-buttons">
  435. <input type="submit" name="login-register-btn" value="Register" />
  436. </div>
  437. </form>
  438. </div>',
  439. ),
  440. ),
  441. '10d084d7588e33cc9a32e6e98f28a6e2' =>
  442. array (
  443. 'criteria' =>
  444. array (
  445. 'name' => 'lgnActivateEmailTpl',
  446. ),
  447. 'object' =>
  448. array (
  449. 'id' => 66,
  450. 'source' => 0,
  451. 'property_preprocess' => 0,
  452. 'name' => 'lgnActivateEmailTpl',
  453. 'description' => '',
  454. 'editor_type' => 0,
  455. 'category' => 21,
  456. 'cache_type' => 0,
  457. 'snippet' => '<p>[[+username]],</p>
  458. <p>Thanks for registering! To activate your new account, please click on the following link:</p>
  459. <p><a href="[[+confirmUrl]]">[[+confirmUrl]]</a></p>
  460. <p>After activating, you may login with your password and username:</p>
  461. <p>
  462. Username: <strong>[[+username]]</strong><br />
  463. Password: <strong>[[+password]]</strong></p>
  464. <p>If you did not request this message, please ignore it.</p>
  465. <p>Thanks,<br />
  466. <em>Site Administrator</em></p>',
  467. 'locked' => 0,
  468. 'properties' => 'a:0:{}',
  469. 'static' => 0,
  470. 'static_file' => '',
  471. 'content' => '<p>[[+username]],</p>
  472. <p>Thanks for registering! To activate your new account, please click on the following link:</p>
  473. <p><a href="[[+confirmUrl]]">[[+confirmUrl]]</a></p>
  474. <p>After activating, you may login with your password and username:</p>
  475. <p>
  476. Username: <strong>[[+username]]</strong><br />
  477. Password: <strong>[[+password]]</strong></p>
  478. <p>If you did not request this message, please ignore it.</p>
  479. <p>Thanks,<br />
  480. <em>Site Administrator</em></p>',
  481. ),
  482. ),
  483. 'd22ea77a9e54d2be32d1aedb08e045e6' =>
  484. array (
  485. 'criteria' =>
  486. array (
  487. 'name' => 'lgnActiveUser',
  488. ),
  489. 'object' =>
  490. array (
  491. 'id' => 67,
  492. 'source' => 0,
  493. 'property_preprocess' => 0,
  494. 'name' => 'lgnActiveUser',
  495. 'description' => '',
  496. 'editor_type' => 0,
  497. 'category' => 21,
  498. 'cache_type' => 0,
  499. 'snippet' => '<li>[[+username]]</li>',
  500. 'locked' => 0,
  501. 'properties' => 'a:0:{}',
  502. 'static' => 0,
  503. 'static_file' => '',
  504. 'content' => '<li>[[+username]]</li>',
  505. ),
  506. ),
  507. 'dfffc10b7b13f9e45a090c8164d7bb17' =>
  508. array (
  509. 'criteria' =>
  510. array (
  511. 'name' => 'lgnResetPassChangePassTpl',
  512. ),
  513. 'object' =>
  514. array (
  515. 'id' => 68,
  516. 'source' => 0,
  517. 'property_preprocess' => 0,
  518. 'name' => 'lgnResetPassChangePassTpl',
  519. 'description' => '',
  520. 'editor_type' => 0,
  521. 'category' => 21,
  522. 'cache_type' => 0,
  523. 'snippet' => '[[!+logcp.error_message:notempty=`<p style="color: red;">[[+logcp.error_message]]</p>`]]
  524. <form class="form inline" action="[[~[[*id]]]]" method="post">
  525. <input type="hidden" name="nospam:blank" value="" />
  526. <input type="hidden" name="lp" value="[[!+logcp.lp]]"/>
  527. <input type="hidden" name="lu" value="[[!+logcp.lu]]"/>
  528. <div class="ff">
  529. <label for="password_new">[[!%login.password_new]]
  530. <span class="error">[[+logcp.error.password_new]]</span>
  531. </label>
  532. <input type="password" name="password_new:required" id="password_new" value="[[+logcp.password_new]]" />
  533. </div>
  534. <div class="ff">
  535. <label for="password_new_confirm">[[!%login.password_new_confirm]]
  536. <span class="error">[[+logcp.error.password_new_confirm]]</span>
  537. </label>
  538. <input type="password" name="password_new_confirm:required" id="password_new_confirm" value="[[+logcp.password_new_confirm]]" />
  539. </div>
  540. <br class="clear" />
  541. <div class="form-buttons">
  542. <input type="submit" name="logcp-submit" value="[[!%login.change_password]]" />
  543. </div>
  544. </form>
  545. ',
  546. 'locked' => 0,
  547. 'properties' => 'a:0:{}',
  548. 'static' => 0,
  549. 'static_file' => '',
  550. 'content' => '[[!+logcp.error_message:notempty=`<p style="color: red;">[[+logcp.error_message]]</p>`]]
  551. <form class="form inline" action="[[~[[*id]]]]" method="post">
  552. <input type="hidden" name="nospam:blank" value="" />
  553. <input type="hidden" name="lp" value="[[!+logcp.lp]]"/>
  554. <input type="hidden" name="lu" value="[[!+logcp.lu]]"/>
  555. <div class="ff">
  556. <label for="password_new">[[!%login.password_new]]
  557. <span class="error">[[+logcp.error.password_new]]</span>
  558. </label>
  559. <input type="password" name="password_new:required" id="password_new" value="[[+logcp.password_new]]" />
  560. </div>
  561. <div class="ff">
  562. <label for="password_new_confirm">[[!%login.password_new_confirm]]
  563. <span class="error">[[+logcp.error.password_new_confirm]]</span>
  564. </label>
  565. <input type="password" name="password_new_confirm:required" id="password_new_confirm" value="[[+logcp.password_new_confirm]]" />
  566. </div>
  567. <br class="clear" />
  568. <div class="form-buttons">
  569. <input type="submit" name="logcp-submit" value="[[!%login.change_password]]" />
  570. </div>
  571. </form>
  572. ',
  573. ),
  574. ),
  575. 'a5aa2840670bb56169d8ba2cc2471090' =>
  576. array (
  577. 'criteria' =>
  578. array (
  579. 'name' => 'lgnExpiredTpl',
  580. ),
  581. 'object' =>
  582. array (
  583. 'id' => 69,
  584. 'source' => 0,
  585. 'property_preprocess' => 0,
  586. 'name' => 'lgnExpiredTpl',
  587. 'description' => '',
  588. 'editor_type' => 0,
  589. 'category' => 21,
  590. 'cache_type' => 0,
  591. 'snippet' => '<p><strong>Password Reset Information</strong></p>
  592. <p>Your password has already been reset or the link expired. If you need to reset your password again, click <a href="#">here</a>.</p>',
  593. 'locked' => 0,
  594. 'properties' => 'a:0:{}',
  595. 'static' => 0,
  596. 'static_file' => '',
  597. 'content' => '<p><strong>Password Reset Information</strong></p>
  598. <p>Your password has already been reset or the link expired. If you need to reset your password again, click <a href="#">here</a>.</p>',
  599. ),
  600. ),
  601. '656780bc5f9782f8a10212de3a983287' =>
  602. array (
  603. 'criteria' =>
  604. array (
  605. 'name' => 'ActiveUsers',
  606. ),
  607. 'object' =>
  608. array (
  609. 'id' => 52,
  610. 'source' => 0,
  611. 'property_preprocess' => 0,
  612. 'name' => 'ActiveUsers',
  613. 'description' => 'Shows a list of active, logged-in users.',
  614. 'editor_type' => 0,
  615. 'category' => 21,
  616. 'cache_type' => 0,
  617. 'snippet' => '/**
  618. * Login
  619. *
  620. * Copyright 2010 by Shaun McCormick <shaun+login@modx.com>
  621. *
  622. * Login is free software; you can redistribute it and/or modify it under the
  623. * terms of the GNU General Public License as published by the Free Software
  624. * Foundation; either version 2 of the License, or (at your option) any later
  625. * version.
  626. *
  627. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  628. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  629. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  630. *
  631. * You should have received a copy of the GNU General Public License along with
  632. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  633. * Place, Suite 330, Boston, MA 02111-1307 USA
  634. *
  635. * @package login
  636. */
  637. /**
  638. * Shows a list of active, signed-on users
  639. *
  640. * @var modX $modx
  641. * @var Login $login
  642. * @var array $scriptProperties
  643. *
  644. * @package login
  645. **/
  646. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  647. $login = new Login($modx,$scriptProperties);
  648. $controller = $login->loadController(\'ActiveUsers\');
  649. $output = $controller->run($scriptProperties);
  650. return $output;',
  651. 'locked' => 0,
  652. 'properties' => 'a:9:{s:3:"tpl";a:7:{s:4:"name";s:3:"tpl";s:4:"desc";s:20:"prop_activeusers.tpl";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:13:"lgnActiveUser";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"tplType";a:7:{s:4:"name";s:7:"tplType";s:4:"desc";s:24:"prop_activeusers.tplType";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:6:"sortBy";a:7:{s:4:"name";s:6:"sortBy";s:4:"desc";s:23:"prop_activeusers.sortBy";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"username";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"sortDir";a:7:{s:4:"name";s:7:"sortDir";s:4:"desc";s:24:"prop_activeusers.sortDir";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:5:"value";s:3:"ASC";s:4:"text";s:16:"opt_register.asc";}i:1;a:2:{s:5:"value";s:4:"DESC";s:4:"text";s:17:"opt_register.desc";}}s:5:"value";s:4:"DESC";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:5:"limit";a:7:{s:4:"name";s:5:"limit";s:4:"desc";s:22:"prop_activeusers.limit";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:2:"10";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:6:"offset";a:7:{s:4:"name";s:6:"offset";s:4:"desc";s:23:"prop_activeusers.offset";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"0";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"classKey";a:7:{s:4:"name";s:8:"classKey";s:4:"desc";s:25:"prop_activeusers.classKey";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:7:"modUser";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:39:"prop_activeusers.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"au.";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"toPlaceholder";a:7:{s:4:"name";s:13:"toPlaceholder";s:4:"desc";s:35:"prop_activeusers.toplaceholder_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  653. 'moduleguid' => '',
  654. 'static' => 0,
  655. 'static_file' => '',
  656. 'content' => '/**
  657. * Login
  658. *
  659. * Copyright 2010 by Shaun McCormick <shaun+login@modx.com>
  660. *
  661. * Login is free software; you can redistribute it and/or modify it under the
  662. * terms of the GNU General Public License as published by the Free Software
  663. * Foundation; either version 2 of the License, or (at your option) any later
  664. * version.
  665. *
  666. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  667. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  668. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  669. *
  670. * You should have received a copy of the GNU General Public License along with
  671. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  672. * Place, Suite 330, Boston, MA 02111-1307 USA
  673. *
  674. * @package login
  675. */
  676. /**
  677. * Shows a list of active, signed-on users
  678. *
  679. * @var modX $modx
  680. * @var Login $login
  681. * @var array $scriptProperties
  682. *
  683. * @package login
  684. **/
  685. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  686. $login = new Login($modx,$scriptProperties);
  687. $controller = $login->loadController(\'ActiveUsers\');
  688. $output = $controller->run($scriptProperties);
  689. return $output;',
  690. ),
  691. ),
  692. '3df27a7aa4a5b9bc8ea4dac06d7f2415' =>
  693. array (
  694. 'criteria' =>
  695. array (
  696. 'name' => 'ChangePassword',
  697. ),
  698. 'object' =>
  699. array (
  700. 'id' => 53,
  701. 'source' => 0,
  702. 'property_preprocess' => 0,
  703. 'name' => 'ChangePassword',
  704. 'description' => 'Processes a form for changing the password for a User.',
  705. 'editor_type' => 0,
  706. 'category' => 21,
  707. 'cache_type' => 0,
  708. 'snippet' => '/**
  709. * Login
  710. *
  711. * Copyright 2010 by Shaun McCormick <shaun+login@modx.com>
  712. *
  713. * Login is free software; you can redistribute it and/or modify it under the
  714. * terms of the GNU General Public License as published by the Free Software
  715. * Foundation; either version 2 of the License, or (at your option) any later
  716. * version.
  717. *
  718. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  719. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  720. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  721. *
  722. * You should have received a copy of the GNU General Public License along with
  723. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  724. * Place, Suite 330, Boston, MA 02111-1307 USA
  725. *
  726. * @package login
  727. */
  728. /**
  729. * ChangePassword snippet
  730. *
  731. * @var modX $modx
  732. * @var Login $login
  733. * @var array $scriptProperties
  734. *
  735. * @package login
  736. **/
  737. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  738. $login = new Login($modx,$scriptProperties);
  739. $controller = $login->loadController(\'ChangePassword\');
  740. $output = $controller->run($scriptProperties);
  741. return $output;',
  742. 'locked' => 0,
  743. 'properties' => 'a:9:{s:9:"submitVar";a:7:{s:4:"name";s:9:"submitVar";s:4:"desc";s:34:"prop_changepassword.submitvar_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:12:"logcp-submit";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:16:"fieldOldPassword";a:7:{s:4:"name";s:16:"fieldOldPassword";s:4:"desc";s:41:"prop_changepassword.fieldoldpassword_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:12:"password_old";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:16:"fieldNewPassword";a:7:{s:4:"name";s:16:"fieldNewPassword";s:4:"desc";s:41:"prop_changepassword.fieldnewpassword_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:12:"password_new";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:23:"fieldConfirmNewPassword";a:7:{s:4:"name";s:23:"fieldConfirmNewPassword";s:4:"desc";s:48:"prop_changepassword.fieldconfirmnewpassword_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:20:"password_new_confirm";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"preHooks";a:7:{s:4:"name";s:8:"preHooks";s:4:"desc";s:33:"prop_changepassword.prehooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"postHooks";a:7:{s:4:"name";s:9:"postHooks";s:4:"desc";s:34:"prop_changepassword.posthooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"redirectToLogin";a:7:{s:4:"name";s:15:"redirectToLogin";s:4:"desc";s:40:"prop_changepassword.redirecttologin_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"reloadOnSuccess";a:7:{s:4:"name";s:15:"reloadOnSuccess";s:4:"desc";s:40:"prop_changepassword.reloadonsuccess_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:42:"prop_changepassword.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:6:"logcp.";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  744. 'moduleguid' => '',
  745. 'static' => 0,
  746. 'static_file' => '',
  747. 'content' => '/**
  748. * Login
  749. *
  750. * Copyright 2010 by Shaun McCormick <shaun+login@modx.com>
  751. *
  752. * Login is free software; you can redistribute it and/or modify it under the
  753. * terms of the GNU General Public License as published by the Free Software
  754. * Foundation; either version 2 of the License, or (at your option) any later
  755. * version.
  756. *
  757. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  758. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  759. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  760. *
  761. * You should have received a copy of the GNU General Public License along with
  762. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  763. * Place, Suite 330, Boston, MA 02111-1307 USA
  764. *
  765. * @package login
  766. */
  767. /**
  768. * ChangePassword snippet
  769. *
  770. * @var modX $modx
  771. * @var Login $login
  772. * @var array $scriptProperties
  773. *
  774. * @package login
  775. **/
  776. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  777. $login = new Login($modx,$scriptProperties);
  778. $controller = $login->loadController(\'ChangePassword\');
  779. $output = $controller->run($scriptProperties);
  780. return $output;',
  781. ),
  782. ),
  783. '4ac3f5856e9d748214827829e639f768' =>
  784. array (
  785. 'criteria' =>
  786. array (
  787. 'name' => 'ConfirmRegister',
  788. ),
  789. 'object' =>
  790. array (
  791. 'id' => 54,
  792. 'source' => 0,
  793. 'property_preprocess' => 0,
  794. 'name' => 'ConfirmRegister',
  795. 'description' => 'Handles activation of registered user.',
  796. 'editor_type' => 0,
  797. 'category' => 21,
  798. 'cache_type' => 0,
  799. 'snippet' => '/**
  800. * Register
  801. *
  802. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  803. *
  804. * Register is free software; you can redistribute it and/or modify it under the
  805. * terms of the GNU General Public License as published by the Free Software
  806. * Foundation; either version 2 of the License, or (at your option) any later
  807. * version.
  808. *
  809. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  810. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  811. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  812. *
  813. * You should have received a copy of the GNU General Public License along with
  814. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  815. * Place, Suite 330, Boston, MA 02111-1307 USA
  816. *
  817. * @package login
  818. */
  819. /**
  820. * MODx Confirm Register Activation Snippet. Snippet to place on an activation
  821. * page that the user using the Register snippet would be sent to via the
  822. * activation email.
  823. *
  824. * @var modX $modx
  825. * @var Login $login
  826. * @var array $scriptProperties
  827. *
  828. * @package login
  829. */
  830. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  831. $login = new Login($modx,$scriptProperties);
  832. $controller = $login->loadController(\'ConfirmRegister\');
  833. $output = $controller->run($scriptProperties);
  834. return $output;',
  835. 'locked' => 0,
  836. 'properties' => 'a:7:{s:10:"redirectTo";a:7:{s:4:"name";s:10:"redirectTo";s:4:"desc";s:36:"prop_confirmregister.redirectto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:14:"redirectParams";a:7:{s:4:"name";s:14:"redirectParams";s:4:"desc";s:40:"prop_confirmregister.redirectparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:26:"redirectUnsetDefaultParams";a:7:{s:4:"name";s:26:"redirectUnsetDefaultParams";s:4:"desc";s:51:"prop_confirmregister.redirectUnsetDefaultParam_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"authenticate";a:7:{s:4:"name";s:12:"authenticate";s:4:"desc";s:38:"prop_confirmregister.authenticate_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:20:"authenticateContexts";a:7:{s:4:"name";s:20:"authenticateContexts";s:4:"desc";s:46:"prop_confirmregister.authenticatecontexts_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"errorPage";a:7:{s:4:"name";s:9:"errorPage";s:4:"desc";s:35:"prop_confirmregister.errorpage_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"activePage";a:7:{s:4:"name";s:10:"activePage";s:4:"desc";s:36:"prop_confirmregister.activepage_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  837. 'moduleguid' => '',
  838. 'static' => 0,
  839. 'static_file' => '',
  840. 'content' => '/**
  841. * Register
  842. *
  843. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  844. *
  845. * Register is free software; you can redistribute it and/or modify it under the
  846. * terms of the GNU General Public License as published by the Free Software
  847. * Foundation; either version 2 of the License, or (at your option) any later
  848. * version.
  849. *
  850. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  851. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  852. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  853. *
  854. * You should have received a copy of the GNU General Public License along with
  855. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  856. * Place, Suite 330, Boston, MA 02111-1307 USA
  857. *
  858. * @package login
  859. */
  860. /**
  861. * MODx Confirm Register Activation Snippet. Snippet to place on an activation
  862. * page that the user using the Register snippet would be sent to via the
  863. * activation email.
  864. *
  865. * @var modX $modx
  866. * @var Login $login
  867. * @var array $scriptProperties
  868. *
  869. * @package login
  870. */
  871. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  872. $login = new Login($modx,$scriptProperties);
  873. $controller = $login->loadController(\'ConfirmRegister\');
  874. $output = $controller->run($scriptProperties);
  875. return $output;',
  876. ),
  877. ),
  878. '293a32abf76e3a78d0f34932ce63819d' =>
  879. array (
  880. 'criteria' =>
  881. array (
  882. 'name' => 'ForgotPassword',
  883. ),
  884. 'object' =>
  885. array (
  886. 'id' => 55,
  887. 'source' => 0,
  888. 'property_preprocess' => 0,
  889. 'name' => 'ForgotPassword',
  890. 'description' => 'Displays a forgot password form.',
  891. 'editor_type' => 0,
  892. 'category' => 21,
  893. 'cache_type' => 0,
  894. 'snippet' => '/**
  895. * ForgotPassword
  896. *
  897. * Copyright 2010 by Jason Coward <jason@modx.com> and Shaun McCormick
  898. * <shaun@modx.com>
  899. *
  900. * ForgotPassword is free software; you can redistribute it and/or modify it
  901. * under the terms of the GNU General Public License as published by the Free
  902. * Software Foundation; either version 2 of the License, or (at your option) any
  903. * later version.
  904. *
  905. * ForgotPassword is distributed in the hope that it will be useful, but WITHOUT ANY
  906. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  907. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  908. *
  909. * You should have received a copy of the GNU General Public License along with
  910. * ForgotPassword; if not, write to the Free Software Foundation, Inc., 59 Temple
  911. * Place, Suite 330, Boston, MA 02111-1307 USA
  912. *
  913. * @package login
  914. */
  915. /**
  916. * MODx ForgotPassword Snippet. Displays a form for users who have forgotten
  917. * their password and gives them the ability to retrieve it.
  918. *
  919. * @package login
  920. */
  921. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  922. $login = new Login($modx,$scriptProperties);
  923. $controller = $login->loadController(\'ForgotPassword\');
  924. $output = $controller->run($scriptProperties);
  925. return $output;',
  926. 'locked' => 0,
  927. 'properties' => 'a:13:{s:8:"emailTpl";a:7:{s:4:"name";s:8:"emailTpl";s:4:"desc";s:33:"prop_forgotpassword.emailtpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:18:"lgnForgotPassEmail";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:11:"emailTplAlt";a:7:{s:4:"name";s:11:"emailTplAlt";s:4:"desc";s:36:"prop_forgotpassword.emailtplalt_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"emailTplType";a:7:{s:4:"name";s:12:"emailTplType";s:4:"desc";s:37:"prop_forgotpassword.emailtpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"sentTpl";a:7:{s:4:"name";s:7:"sentTpl";s:4:"desc";s:32:"prop_forgotpassword.senttpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:20:"lgnForgotPassSentTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:11:"sentTplType";a:7:{s:4:"name";s:11:"sentTplType";s:4:"desc";s:36:"prop_forgotpassword.senttpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:3:"tpl";a:7:{s:4:"name";s:3:"tpl";s:4:"desc";s:28:"prop_forgotpassword.tpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:16:"lgnForgotPassTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"tplType";a:7:{s:4:"name";s:7:"tplType";s:4:"desc";s:32:"prop_forgotpassword.tpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:6:"errTpl";a:7:{s:4:"name";s:6:"errTpl";s:4:"desc";s:31:"prop_forgotpassword.errtpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:9:"lgnErrTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"errTplType";a:7:{s:4:"name";s:10:"errTplType";s:4:"desc";s:35:"prop_forgotpassword.errtpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"emailSubject";a:7:{s:4:"name";s:12:"emailSubject";s:4:"desc";s:37:"prop_forgotpassword.emailsubject_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"resetResourceId";a:7:{s:4:"name";s:15:"resetResourceId";s:4:"desc";s:40:"prop_forgotpassword.resetresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"1";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"redirectTo";a:7:{s:4:"name";s:10:"redirectTo";s:4:"desc";s:35:"prop_forgotpassword.redirectto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:14:"redirectParams";a:7:{s:4:"name";s:14:"redirectParams";s:4:"desc";s:39:"prop_forgotpassword.redirectparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  928. 'moduleguid' => '',
  929. 'static' => 0,
  930. 'static_file' => '',
  931. 'content' => '/**
  932. * ForgotPassword
  933. *
  934. * Copyright 2010 by Jason Coward <jason@modx.com> and Shaun McCormick
  935. * <shaun@modx.com>
  936. *
  937. * ForgotPassword is free software; you can redistribute it and/or modify it
  938. * under the terms of the GNU General Public License as published by the Free
  939. * Software Foundation; either version 2 of the License, or (at your option) any
  940. * later version.
  941. *
  942. * ForgotPassword is distributed in the hope that it will be useful, but WITHOUT ANY
  943. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  944. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  945. *
  946. * You should have received a copy of the GNU General Public License along with
  947. * ForgotPassword; if not, write to the Free Software Foundation, Inc., 59 Temple
  948. * Place, Suite 330, Boston, MA 02111-1307 USA
  949. *
  950. * @package login
  951. */
  952. /**
  953. * MODx ForgotPassword Snippet. Displays a form for users who have forgotten
  954. * their password and gives them the ability to retrieve it.
  955. *
  956. * @package login
  957. */
  958. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  959. $login = new Login($modx,$scriptProperties);
  960. $controller = $login->loadController(\'ForgotPassword\');
  961. $output = $controller->run($scriptProperties);
  962. return $output;',
  963. ),
  964. ),
  965. 'eebb5510bab855ed82a550d3afc762b7' =>
  966. array (
  967. 'criteria' =>
  968. array (
  969. 'name' => 'isLoggedIn',
  970. ),
  971. 'object' =>
  972. array (
  973. 'id' => 56,
  974. 'source' => 0,
  975. 'property_preprocess' => 0,
  976. 'name' => 'isLoggedIn',
  977. 'description' => 'Checks to see if the user is logged in. If not, redirects to Unauthorized Page.',
  978. 'editor_type' => 0,
  979. 'category' => 21,
  980. 'cache_type' => 0,
  981. 'snippet' => '/**
  982. * isLoggedIn
  983. *
  984. * Copyright 2009-2011 by Shaun McCormick <shaun@modx.com>
  985. *
  986. * isLoggedIn is free software; you can redistribute it and/or modify it under the
  987. * terms of the GNU General Public License as published by the Free Software
  988. * Foundation; either version 2 of the License, or (at your option) any later
  989. * version.
  990. *
  991. * isLoggedIn is distributed in the hope that it will be useful, but WITHOUT ANY
  992. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  993. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  994. *
  995. * You should have received a copy of the GNU General Public License along with
  996. * isLoggedIn; if not, write to the Free Software Foundation, Inc., 59 Temple
  997. * Place, Suite 330, Boston, MA 02111-1307 USA
  998. *
  999. * @package login
  1000. */
  1001. /**
  1002. * MODx isLoggedIn Snippet. Will check to see if user is logged into the current
  1003. * or specific context. If not, redirects to unauthorized page.
  1004. *
  1005. * @package login
  1006. */
  1007. /* setup default properties */
  1008. $ctxs = !empty($ctxs) ? $ctxs : $modx->context->get(\'key\');
  1009. if (!is_array($ctxs)) $ctxs = explode(\',\',$ctxs);
  1010. if (!$modx->user->hasSessionContext($ctxs)) {
  1011. if (!empty($redirectTo)) {
  1012. $redirectParams = !empty($redirectParams) ? $modx->fromJSON($redirectParams) : \'\';
  1013. $url = $modx->makeUrl($redirectTo,\'\',$redirectParams,\'full\');
  1014. $modx->sendRedirect($url);
  1015. } else {
  1016. $modx->sendUnauthorizedPage();
  1017. }
  1018. }
  1019. return \'\';',
  1020. 'locked' => 0,
  1021. 'properties' => 'a:3:{s:8:"contexts";a:7:{s:4:"name";s:8:"contexts";s:4:"desc";s:29:"prop_isloggedin.contexts_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"redirectTo";a:7:{s:4:"name";s:10:"redirectTo";s:4:"desc";s:31:"prop_isloggedin.redirectto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:14:"redirectParams";a:7:{s:4:"name";s:14:"redirectParams";s:4:"desc";s:35:"prop_isloggedin.redirectparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1022. 'moduleguid' => '',
  1023. 'static' => 0,
  1024. 'static_file' => '',
  1025. 'content' => '/**
  1026. * isLoggedIn
  1027. *
  1028. * Copyright 2009-2011 by Shaun McCormick <shaun@modx.com>
  1029. *
  1030. * isLoggedIn is free software; you can redistribute it and/or modify it under the
  1031. * terms of the GNU General Public License as published by the Free Software
  1032. * Foundation; either version 2 of the License, or (at your option) any later
  1033. * version.
  1034. *
  1035. * isLoggedIn is distributed in the hope that it will be useful, but WITHOUT ANY
  1036. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1037. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1038. *
  1039. * You should have received a copy of the GNU General Public License along with
  1040. * isLoggedIn; if not, write to the Free Software Foundation, Inc., 59 Temple
  1041. * Place, Suite 330, Boston, MA 02111-1307 USA
  1042. *
  1043. * @package login
  1044. */
  1045. /**
  1046. * MODx isLoggedIn Snippet. Will check to see if user is logged into the current
  1047. * or specific context. If not, redirects to unauthorized page.
  1048. *
  1049. * @package login
  1050. */
  1051. /* setup default properties */
  1052. $ctxs = !empty($ctxs) ? $ctxs : $modx->context->get(\'key\');
  1053. if (!is_array($ctxs)) $ctxs = explode(\',\',$ctxs);
  1054. if (!$modx->user->hasSessionContext($ctxs)) {
  1055. if (!empty($redirectTo)) {
  1056. $redirectParams = !empty($redirectParams) ? $modx->fromJSON($redirectParams) : \'\';
  1057. $url = $modx->makeUrl($redirectTo,\'\',$redirectParams,\'full\');
  1058. $modx->sendRedirect($url);
  1059. } else {
  1060. $modx->sendUnauthorizedPage();
  1061. }
  1062. }
  1063. return \'\';',
  1064. ),
  1065. ),
  1066. 'd1659c708aba688d3d20c8a36d9f996a' =>
  1067. array (
  1068. 'criteria' =>
  1069. array (
  1070. 'name' => 'Login',
  1071. ),
  1072. 'object' =>
  1073. array (
  1074. 'id' => 57,
  1075. 'source' => 0,
  1076. 'property_preprocess' => 0,
  1077. 'name' => 'Login',
  1078. 'description' => 'Displays a login and logout form.',
  1079. 'editor_type' => 0,
  1080. 'category' => 21,
  1081. 'cache_type' => 0,
  1082. 'snippet' => '/**
  1083. * Login
  1084. *
  1085. * Copyright 2010 by Jason Coward <jason@modx.com> and Shaun McCormick
  1086. * <shaun@modx.com>
  1087. *
  1088. * Login is free software; you can redistribute it and/or modify it
  1089. * under the terms of the GNU General Public License as published by the Free
  1090. * Software Foundation; either version 2 of the License, or (at your option) any
  1091. * later version.
  1092. *
  1093. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  1094. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1095. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1096. *
  1097. * You should have received a copy of the GNU General Public License along with
  1098. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  1099. * Place, Suite 330, Boston, MA 02111-1307 USA
  1100. *
  1101. * @package login
  1102. */
  1103. /**
  1104. * MODx Login Snippet
  1105. *
  1106. * This snippet handles login POSTs, sending the user back to where they came from or to a specific
  1107. * location if specified in the POST.
  1108. *
  1109. * @package login
  1110. *
  1111. * @property textfield actionKey The REQUEST variable containing the action to take.
  1112. * @property textfield loginKey The actionKey for login.
  1113. * @property textfield logoutKey The actionKey for logout.
  1114. * @property boolean loginViaEmail Enable login via username or email address (either one!) [default: false]
  1115. * @property list tplType The type of template to expect for the views:
  1116. * modChunk - name of chunk to use
  1117. * file - full path to file to use as tpl
  1118. * embedded - the tpl is embedded in the page content
  1119. * inline - the tpl is inline content provided directly
  1120. * @property textfield loginTpl The template for the login view (content based on tplType)
  1121. * @property textfield logoutTpl The template for the logout view (content based on tplType)
  1122. * @property textfield errTpl The template for any errors that occur when processing an view
  1123. * @property list errTplType The type of template to expect for the error messages:
  1124. * modChunk - name of chunk to use
  1125. * file - full path to file to use as tpl
  1126. * inline - the tpl is inline content provided directly
  1127. * @property integer logoutResourceId An explicit resource id to redirect users to on logout
  1128. * @property string loginMsg The string to use for the login action. Defaults to
  1129. * the lexicon string "login".
  1130. * @property string logoutMsg The string to use for the logout action. Defaults
  1131. * to the lexicon string "login.logout"
  1132. */
  1133. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1134. $login = new Login($modx,$scriptProperties);
  1135. if (!is_object($login) || !($login instanceof Login)) return \'\';
  1136. $controller = $login->loadController(\'Login\');
  1137. $output = $controller->run($scriptProperties);
  1138. return $output;',
  1139. 'locked' => 0,
  1140. 'properties' => 'a:23:{s:9:"actionKey";a:7:{s:4:"name";s:9:"actionKey";s:4:"desc";s:25:"prop_login.actionkey_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:7:"service";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"loginKey";a:7:{s:4:"name";s:8:"loginKey";s:4:"desc";s:24:"prop_login.loginkey_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"login";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"logoutKey";a:7:{s:4:"name";s:9:"logoutKey";s:4:"desc";s:25:"prop_login.logoutkey_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:6:"logout";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"loginViaEmail";a:7:{s:4:"name";s:13:"loginViaEmail";s:4:"desc";s:29:"prop_login.loginviaemail_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"tplType";a:7:{s:4:"name";s:7:"tplType";s:4:"desc";s:23:"prop_login.tpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"loginTpl";a:7:{s:4:"name";s:8:"loginTpl";s:4:"desc";s:24:"prop_login.logintpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:11:"lgnLoginTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"logoutTpl";a:7:{s:4:"name";s:9:"logoutTpl";s:4:"desc";s:25:"prop_login.logouttpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:12:"lgnLogoutTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"preHooks";a:7:{s:4:"name";s:8:"preHooks";s:4:"desc";s:24:"prop_login.prehooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"postHooks";a:7:{s:4:"name";s:9:"postHooks";s:4:"desc";s:25:"prop_login.posthooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:6:"errTpl";a:7:{s:4:"name";s:6:"errTpl";s:4:"desc";s:22:"prop_login.errtpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:9:"lgnErrTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"errTplType";a:7:{s:4:"name";s:10:"errTplType";s:4:"desc";s:26:"prop_login.errtpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"loginResourceId";a:7:{s:4:"name";s:15:"loginResourceId";s:4:"desc";s:31:"prop_login.loginresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"0";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:19:"loginResourceParams";a:7:{s:4:"name";s:19:"loginResourceParams";s:4:"desc";s:35:"prop_login.loginresourceparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:16:"logoutResourceId";a:7:{s:4:"name";s:16:"logoutResourceId";s:4:"desc";s:32:"prop_login.logoutresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"0";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:20:"logoutResourceParams";a:7:{s:4:"name";s:20:"logoutResourceParams";s:4:"desc";s:36:"prop_login.logoutresourceparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"loginMsg";a:7:{s:4:"name";s:8:"loginMsg";s:4:"desc";s:24:"prop_login.loginmsg_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"logoutMsg";a:7:{s:4:"name";s:9:"logoutMsg";s:4:"desc";s:25:"prop_login.logoutmsg_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"redirectToPrior";a:7:{s:4:"name";s:15:"redirectToPrior";s:4:"desc";s:31:"prop_login.redirecttoprior_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:22:"redirectToOnFailedAuth";a:7:{s:4:"name";s:22:"redirectToOnFailedAuth";s:4:"desc";s:38:"prop_login.redirecttoonfailedauth_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"rememberMeKey";a:7:{s:4:"name";s:13:"rememberMeKey";s:4:"desc";s:29:"prop_login.remembermekey_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:10:"rememberme";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"contexts";a:7:{s:4:"name";s:8:"contexts";s:4:"desc";s:24:"prop_login.contexts_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"toPlaceholder";a:7:{s:4:"name";s:13:"toPlaceholder";s:4:"desc";s:29:"prop_login.toplaceholder_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:14:"recaptchaTheme";a:7:{s:4:"name";s:14:"recaptchaTheme";s:4:"desc";s:33:"prop_register.recaptchatheme_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:3:"red";s:4:"text";s:16:"opt_register.red";}i:1;a:2:{s:5:"value";s:5:"white";s:4:"text";s:18:"opt_register.white";}i:2;a:2:{s:5:"value";s:5:"clean";s:4:"text";s:18:"opt_register.clean";}i:3;a:2:{s:5:"value";s:10:"blackglass";s:4:"text";s:23:"opt_register.blackglass";}}s:5:"value";s:5:"clean";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1141. 'moduleguid' => '',
  1142. 'static' => 0,
  1143. 'static_file' => '',
  1144. 'content' => '/**
  1145. * Login
  1146. *
  1147. * Copyright 2010 by Jason Coward <jason@modx.com> and Shaun McCormick
  1148. * <shaun@modx.com>
  1149. *
  1150. * Login is free software; you can redistribute it and/or modify it
  1151. * under the terms of the GNU General Public License as published by the Free
  1152. * Software Foundation; either version 2 of the License, or (at your option) any
  1153. * later version.
  1154. *
  1155. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  1156. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1157. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1158. *
  1159. * You should have received a copy of the GNU General Public License along with
  1160. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  1161. * Place, Suite 330, Boston, MA 02111-1307 USA
  1162. *
  1163. * @package login
  1164. */
  1165. /**
  1166. * MODx Login Snippet
  1167. *
  1168. * This snippet handles login POSTs, sending the user back to where they came from or to a specific
  1169. * location if specified in the POST.
  1170. *
  1171. * @package login
  1172. *
  1173. * @property textfield actionKey The REQUEST variable containing the action to take.
  1174. * @property textfield loginKey The actionKey for login.
  1175. * @property textfield logoutKey The actionKey for logout.
  1176. * @property boolean loginViaEmail Enable login via username or email address (either one!) [default: false]
  1177. * @property list tplType The type of template to expect for the views:
  1178. * modChunk - name of chunk to use
  1179. * file - full path to file to use as tpl
  1180. * embedded - the tpl is embedded in the page content
  1181. * inline - the tpl is inline content provided directly
  1182. * @property textfield loginTpl The template for the login view (content based on tplType)
  1183. * @property textfield logoutTpl The template for the logout view (content based on tplType)
  1184. * @property textfield errTpl The template for any errors that occur when processing an view
  1185. * @property list errTplType The type of template to expect for the error messages:
  1186. * modChunk - name of chunk to use
  1187. * file - full path to file to use as tpl
  1188. * inline - the tpl is inline content provided directly
  1189. * @property integer logoutResourceId An explicit resource id to redirect users to on logout
  1190. * @property string loginMsg The string to use for the login action. Defaults to
  1191. * the lexicon string "login".
  1192. * @property string logoutMsg The string to use for the logout action. Defaults
  1193. * to the lexicon string "login.logout"
  1194. */
  1195. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1196. $login = new Login($modx,$scriptProperties);
  1197. if (!is_object($login) || !($login instanceof Login)) return \'\';
  1198. $controller = $login->loadController(\'Login\');
  1199. $output = $controller->run($scriptProperties);
  1200. return $output;',
  1201. ),
  1202. ),
  1203. '85fd17b268b739f5c470320949e0f35d' =>
  1204. array (
  1205. 'criteria' =>
  1206. array (
  1207. 'name' => 'Profile',
  1208. ),
  1209. 'object' =>
  1210. array (
  1211. 'id' => 58,
  1212. 'source' => 0,
  1213. 'property_preprocess' => 0,
  1214. 'name' => 'Profile',
  1215. 'description' => 'Displays Profile data for a User.',
  1216. 'editor_type' => 0,
  1217. 'category' => 21,
  1218. 'cache_type' => 0,
  1219. 'snippet' => '/**
  1220. * Profile
  1221. *
  1222. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1223. *
  1224. * Register is free software; you can redistribute it and/or modify it under the
  1225. * terms of the GNU General Public License as published by the Free Software
  1226. * Foundation; either version 2 of the License, or (at your option) any later
  1227. * version.
  1228. *
  1229. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  1230. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1231. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1232. *
  1233. * You should have received a copy of the GNU General Public License along with
  1234. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  1235. * Place, Suite 330, Boston, MA 02111-1307 USA
  1236. *
  1237. * @package login
  1238. */
  1239. /**
  1240. * MODx Profile Snippet. Sets Profile data for a user to placeholders
  1241. *
  1242. * @package login
  1243. */
  1244. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1245. $login = new Login($modx,$scriptProperties);
  1246. $controller = $login->loadController(\'Profile\');
  1247. return $controller->run($scriptProperties);',
  1248. 'locked' => 0,
  1249. 'properties' => 'a:3:{s:6:"prefix";a:7:{s:4:"name";s:6:"prefix";s:4:"desc";s:24:"prop_profile.prefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:4:"user";a:7:{s:4:"name";s:4:"user";s:4:"desc";s:22:"prop_profile.user_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:11:"useExtended";a:7:{s:4:"name";s:11:"useExtended";s:4:"desc";s:29:"prop_profile.useextended_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1250. 'moduleguid' => '',
  1251. 'static' => 0,
  1252. 'static_file' => '',
  1253. 'content' => '/**
  1254. * Profile
  1255. *
  1256. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1257. *
  1258. * Register is free software; you can redistribute it and/or modify it under the
  1259. * terms of the GNU General Public License as published by the Free Software
  1260. * Foundation; either version 2 of the License, or (at your option) any later
  1261. * version.
  1262. *
  1263. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  1264. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1265. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1266. *
  1267. * You should have received a copy of the GNU General Public License along with
  1268. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  1269. * Place, Suite 330, Boston, MA 02111-1307 USA
  1270. *
  1271. * @package login
  1272. */
  1273. /**
  1274. * MODx Profile Snippet. Sets Profile data for a user to placeholders
  1275. *
  1276. * @package login
  1277. */
  1278. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1279. $login = new Login($modx,$scriptProperties);
  1280. $controller = $login->loadController(\'Profile\');
  1281. return $controller->run($scriptProperties);',
  1282. ),
  1283. ),
  1284. 'a61021009c70c787fe3402d248b030b6' =>
  1285. array (
  1286. 'criteria' =>
  1287. array (
  1288. 'name' => 'Register',
  1289. ),
  1290. 'object' =>
  1291. array (
  1292. 'id' => 59,
  1293. 'source' => 0,
  1294. 'property_preprocess' => 0,
  1295. 'name' => 'Register',
  1296. 'description' => 'Handles forms for registering users on the front-end.',
  1297. 'editor_type' => 0,
  1298. 'category' => 21,
  1299. 'cache_type' => 0,
  1300. 'snippet' => '/**
  1301. * Register
  1302. *
  1303. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1304. *
  1305. * Register is free software; you can redistribute it and/or modify it under the
  1306. * terms of the GNU General Public License as published by the Free Software
  1307. * Foundation; either version 2 of the License, or (at your option) any later
  1308. * version.
  1309. *
  1310. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  1311. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1312. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1313. *
  1314. * You should have received a copy of the GNU General Public License along with
  1315. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  1316. * Place, Suite 330, Boston, MA 02111-1307 USA
  1317. *
  1318. * @package login
  1319. */
  1320. /**
  1321. * MODx Register Snippet. Handles User registrations.
  1322. *
  1323. * @package login
  1324. */
  1325. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1326. $login = new Login($modx,$scriptProperties);
  1327. $controller = $login->loadController(\'Register\');
  1328. $output = $controller->run($scriptProperties);
  1329. return $output;',
  1330. 'locked' => 0,
  1331. 'properties' => 'a:41:{s:9:"submitVar";a:7:{s:4:"name";s:9:"submitVar";s:4:"desc";s:28:"prop_register.submitvar_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"usergroups";a:7:{s:4:"name";s:10:"usergroups";s:4:"desc";s:29:"prop_register.usergroups_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"usergroupsField";a:7:{s:4:"name";s:15:"usergroupsField";s:4:"desc";s:34:"prop_register.usergroupsfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:19:"submittedResourceId";a:7:{s:4:"name";s:19:"submittedResourceId";s:4:"desc";s:38:"prop_register.submittedresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"usernameField";a:7:{s:4:"name";s:13:"usernameField";s:4:"desc";s:32:"prop_register.usernamefield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"username";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"passwordField";a:7:{s:4:"name";s:13:"passwordField";s:4:"desc";s:32:"prop_register.passwordfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"password";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:16:"validatePassword";a:7:{s:4:"name";s:16:"validatePassword";s:4:"desc";s:35:"prop_register.validatepassword_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:16:"generatePassword";a:7:{s:4:"name";s:16:"generatePassword";s:4:"desc";s:35:"prop_register.generatepassword_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"trimPassword";a:7:{s:4:"name";s:12:"trimPassword";s:4:"desc";s:31:"prop_register.trimpassword_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:22:"ensurePasswordStrength";a:7:{s:4:"name";s:22:"ensurePasswordStrength";s:4:"desc";s:41:"prop_register.ensurePasswordStrength_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:21:"passwordWordSeparator";a:7:{s:4:"name";s:21:"passwordWordSeparator";s:4:"desc";s:40:"prop_register.passwordWordSeparator_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:" ";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:30:"minimumStrongPasswordWordCount";a:7:{s:4:"name";s:30:"minimumStrongPasswordWordCount";s:4:"desc";s:49:"prop_register.minimumStrongPasswordWordCount_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"3";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:32:"maximumPossibleStrongerPasswords";a:7:{s:4:"name";s:32:"maximumPossibleStrongerPasswords";s:4:"desc";s:51:"prop_register.maximumPossibleStrongerPasswords_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:2:"25";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:33:"ensurePasswordStrengthSuggestions";a:7:{s:4:"name";s:33:"ensurePasswordStrengthSuggestions";s:4:"desc";s:52:"prop_register.ensurePasswordStrengthSuggestions_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"5";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"allowedFields";a:7:{s:4:"name";s:13:"allowedFields";s:4:"desc";s:32:"prop_register.allowedfields_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"emailField";a:7:{s:4:"name";s:10:"emailField";s:4:"desc";s:29:"prop_register.emailfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"email";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"persistParams";a:7:{s:4:"name";s:13:"persistParams";s:4:"desc";s:32:"prop_register.persistparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"preHooks";a:7:{s:4:"name";s:8:"preHooks";s:4:"desc";s:27:"prop_register.prehooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"postHooks";a:7:{s:4:"name";s:9:"postHooks";s:4:"desc";s:28:"prop_register.posthooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:11:"useExtended";a:7:{s:4:"name";s:11:"useExtended";s:4:"desc";s:30:"prop_register.useextended_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"excludeExtended";a:7:{s:4:"name";s:15:"excludeExtended";s:4:"desc";s:34:"prop_register.excludeextended_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"activation";a:7:{s:4:"name";s:10:"activation";s:4:"desc";s:29:"prop_register.activation_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"activationttl";a:7:{s:4:"name";s:13:"activationttl";s:4:"desc";s:32:"prop_register.activationttl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"180";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:20:"activationResourceId";a:7:{s:4:"name";s:20:"activationResourceId";s:4:"desc";s:39:"prop_register.activationresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"1";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"activationEmail";a:7:{s:4:"name";s:15:"activationEmail";s:4:"desc";s:34:"prop_register.activationemail_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:22:"activationEmailSubject";a:7:{s:4:"name";s:22:"activationEmailSubject";s:4:"desc";s:41:"prop_register.activationemailsubject_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:22:"activationEmailTplType";a:7:{s:4:"name";s:22:"activationEmailTplType";s:4:"desc";s:41:"prop_register.activationemailtpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:18:"activationEmailTpl";a:7:{s:4:"name";s:18:"activationEmailTpl";s:4:"desc";s:37:"prop_register.activationemailtpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:19:"lgnActivateEmailTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:21:"activationEmailTplAlt";a:7:{s:4:"name";s:21:"activationEmailTplAlt";s:4:"desc";s:40:"prop_register.activationemailtplalt_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:19:"moderatedResourceId";a:7:{s:4:"name";s:19:"moderatedResourceId";s:4:"desc";s:38:"prop_register.moderatedresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:26:"removeExpiredRegistrations";a:7:{s:4:"name";s:26:"removeExpiredRegistrations";s:4:"desc";s:45:"prop_register.removeexpiredregistrations_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:36:"prop_register.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:14:"recaptchaTheme";a:7:{s:4:"name";s:14:"recaptchaTheme";s:4:"desc";s:33:"prop_register.recaptchatheme_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:3:"red";s:4:"text";s:16:"opt_register.red";}i:1;a:2:{s:5:"value";s:5:"white";s:4:"text";s:18:"opt_register.white";}i:2;a:2:{s:5:"value";s:5:"clean";s:4:"text";s:18:"opt_register.clean";}i:3;a:2:{s:5:"value";s:10:"blackglass";s:4:"text";s:23:"opt_register.blackglass";}}s:5:"value";s:5:"clean";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"mathMinRange";a:7:{s:4:"name";s:12:"mathMinRange";s:4:"desc";s:31:"prop_register.mathminrange_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:2:"10";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"mathMaxRange";a:7:{s:4:"name";s:12:"mathMaxRange";s:4:"desc";s:31:"prop_register.mathmaxrange_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"100";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"mathField";a:7:{s:4:"name";s:9:"mathField";s:4:"desc";s:28:"prop_register.mathfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:4:"math";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"mathOp1Field";a:7:{s:4:"name";s:12:"mathOp1Field";s:4:"desc";s:31:"prop_register.mathop1field_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"op1";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"mathOp2Field";a:7:{s:4:"name";s:12:"mathOp2Field";s:4:"desc";s:31:"prop_register.mathop2field_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"op2";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:17:"mathOperatorField";a:7:{s:4:"name";s:17:"mathOperatorField";s:4:"desc";s:36:"prop_register.mathoperatorfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"operator";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:27:"preserveFieldsAfterRegister";a:7:{s:4:"name";s:27:"preserveFieldsAfterRegister";s:4:"desc";s:46:"prop_register.preservefieldsafterregister_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:26:"redirectUnsetDefaultParams";a:7:{s:4:"name";s:26:"redirectUnsetDefaultParams";s:4:"desc";s:44:"prop_register.redirectUnsetDefaultParam_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1332. 'moduleguid' => '',
  1333. 'static' => 0,
  1334. 'static_file' => '',
  1335. 'content' => '/**
  1336. * Register
  1337. *
  1338. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1339. *
  1340. * Register is free software; you can redistribute it and/or modify it under the
  1341. * terms of the GNU General Public License as published by the Free Software
  1342. * Foundation; either version 2 of the License, or (at your option) any later
  1343. * version.
  1344. *
  1345. * Register is distributed in the hope that it will be useful, but WITHOUT ANY
  1346. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1347. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1348. *
  1349. * You should have received a copy of the GNU General Public License along with
  1350. * Register; if not, write to the Free Software Foundation, Inc., 59 Temple
  1351. * Place, Suite 330, Boston, MA 02111-1307 USA
  1352. *
  1353. * @package login
  1354. */
  1355. /**
  1356. * MODx Register Snippet. Handles User registrations.
  1357. *
  1358. * @package login
  1359. */
  1360. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1361. $login = new Login($modx,$scriptProperties);
  1362. $controller = $login->loadController(\'Register\');
  1363. $output = $controller->run($scriptProperties);
  1364. return $output;',
  1365. ),
  1366. ),
  1367. '601d4b4474a956cdcfb6b63a43b1de29' =>
  1368. array (
  1369. 'criteria' =>
  1370. array (
  1371. 'name' => 'ResetPassword',
  1372. ),
  1373. 'object' =>
  1374. array (
  1375. 'id' => 60,
  1376. 'source' => 0,
  1377. 'property_preprocess' => 0,
  1378. 'name' => 'ResetPassword',
  1379. 'description' => 'Resets a password from a confirmation email.',
  1380. 'editor_type' => 0,
  1381. 'category' => 21,
  1382. 'cache_type' => 0,
  1383. 'snippet' => '/**
  1384. * ResetPassword
  1385. *
  1386. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1387. *
  1388. * ResetPassword is free software; you can redistribute it and/or modify it
  1389. * under the terms of the GNU General Public License as published by the Free
  1390. * Software Foundation; either version 2 of the License, or (at your option) any
  1391. * later version.
  1392. *
  1393. * ResetPassword is distributed in the hope that it will be useful, but WITHOUT ANY
  1394. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1395. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1396. *
  1397. * You should have received a copy of the GNU General Public License along with
  1398. * ResetPassword; if not, write to the Free Software Foundation, Inc., 59 Temple
  1399. * Place, Suite 330, Boston, MA 02111-1307 USA
  1400. *
  1401. * @package login
  1402. */
  1403. /**
  1404. * MODx ResetPassword Snippet. Snippet to place on an activation
  1405. * page that the user using the ForgotPassword snippet would be sent to via the
  1406. * reset email.
  1407. *
  1408. * @package login
  1409. */
  1410. if (empty($_REQUEST[\'lp\']) || empty($_REQUEST[\'lu\'])) {
  1411. return \'\';
  1412. }
  1413. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1414. $login = new Login($modx,$scriptProperties);
  1415. $controller = $login->loadController(\'ResetPassword\');
  1416. $output = $controller->run($scriptProperties);
  1417. return $output;',
  1418. 'locked' => 0,
  1419. 'properties' => 'a:3:{s:3:"tpl";a:7:{s:4:"name";s:3:"tpl";s:4:"desc";s:27:"prop_resetpassword.tpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:15:"lgnResetPassTpl";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:7:"tplType";a:7:{s:4:"name";s:7:"tplType";s:4:"desc";s:31:"prop_resetpassword.tpltype_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:5:"value";s:8:"modChunk";s:4:"text";s:18:"opt_register.chunk";}i:1;a:2:{s:5:"value";s:4:"file";s:4:"text";s:17:"opt_register.file";}i:2;a:2:{s:5:"value";s:6:"inline";s:4:"text";s:19:"opt_register.inline";}i:3;a:2:{s:5:"value";s:8:"embedded";s:4:"text";s:21:"opt_register.embedded";}}s:5:"value";s:8:"modChunk";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"loginResourceId";a:7:{s:4:"name";s:15:"loginResourceId";s:4:"desc";s:39:"prop_resetpassword.loginresourceid_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:1:"1";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1420. 'moduleguid' => '',
  1421. 'static' => 0,
  1422. 'static_file' => '',
  1423. 'content' => '/**
  1424. * ResetPassword
  1425. *
  1426. * Copyright 2010 by Shaun McCormick <shaun@modx.com>
  1427. *
  1428. * ResetPassword is free software; you can redistribute it and/or modify it
  1429. * under the terms of the GNU General Public License as published by the Free
  1430. * Software Foundation; either version 2 of the License, or (at your option) any
  1431. * later version.
  1432. *
  1433. * ResetPassword is distributed in the hope that it will be useful, but WITHOUT ANY
  1434. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1435. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1436. *
  1437. * You should have received a copy of the GNU General Public License along with
  1438. * ResetPassword; if not, write to the Free Software Foundation, Inc., 59 Temple
  1439. * Place, Suite 330, Boston, MA 02111-1307 USA
  1440. *
  1441. * @package login
  1442. */
  1443. /**
  1444. * MODx ResetPassword Snippet. Snippet to place on an activation
  1445. * page that the user using the ForgotPassword snippet would be sent to via the
  1446. * reset email.
  1447. *
  1448. * @package login
  1449. */
  1450. if (empty($_REQUEST[\'lp\']) || empty($_REQUEST[\'lu\'])) {
  1451. return \'\';
  1452. }
  1453. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1454. $login = new Login($modx,$scriptProperties);
  1455. $controller = $login->loadController(\'ResetPassword\');
  1456. $output = $controller->run($scriptProperties);
  1457. return $output;',
  1458. ),
  1459. ),
  1460. '53109f0cbea68960f07a783995a5c774' =>
  1461. array (
  1462. 'criteria' =>
  1463. array (
  1464. 'name' => 'UpdateProfile',
  1465. ),
  1466. 'object' =>
  1467. array (
  1468. 'id' => 61,
  1469. 'source' => 0,
  1470. 'property_preprocess' => 0,
  1471. 'name' => 'UpdateProfile',
  1472. 'description' => 'Allows front-end updating of a users own profile.',
  1473. 'editor_type' => 0,
  1474. 'category' => 21,
  1475. 'cache_type' => 0,
  1476. 'snippet' => '/**
  1477. * Login
  1478. *
  1479. * Copyright 2010-2012 by Shaun McCormick <shaun+login@modx.com>
  1480. *
  1481. * Login is free software; you can redistribute it and/or modify it under the
  1482. * terms of the GNU General Public License as published by the Free Software
  1483. * Foundation; either version 2 of the License, or (at your option) any later
  1484. * version.
  1485. *
  1486. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  1487. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1488. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1489. *
  1490. * You should have received a copy of the GNU General Public License along with
  1491. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  1492. * Place, Suite 330, Boston, MA 02111-1307 USA
  1493. *
  1494. * @package login
  1495. */
  1496. /**
  1497. * MODx UpdateProfile Snippet. Handles updating of User Profiles.
  1498. *
  1499. * @var modX $modx
  1500. * @var Login $login
  1501. * @var array $scriptProperties
  1502. *
  1503. * @package login
  1504. */
  1505. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1506. $login = new Login($modx,$scriptProperties);
  1507. $controller = $login->loadController(\'UpdateProfile\');
  1508. return $controller->run($scriptProperties);',
  1509. 'locked' => 0,
  1510. 'properties' => 'a:13:{s:9:"submitVar";a:7:{s:4:"name";s:9:"submitVar";s:4:"desc";s:33:"prop_updateprofile.submitvar_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:4:"user";a:7:{s:4:"name";s:4:"user";s:4:"desc";s:28:"prop_updateprofile.user_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"redirectToLogin";a:7:{s:4:"name";s:15:"redirectToLogin";s:4:"desc";s:39:"prop_updateprofile.redirecttologin_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"reloadOnSuccess";a:7:{s:4:"name";s:15:"reloadOnSuccess";s:4:"desc";s:39:"prop_updateprofile.reloadonsuccess_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:12:"syncUsername";a:7:{s:4:"name";s:12:"syncUsername";s:4:"desc";s:36:"prop_updateprofile.syncusername_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:10:"emailField";a:7:{s:4:"name";s:10:"emailField";s:4:"desc";s:34:"prop_updateprofile.emailfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"email";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:11:"useExtended";a:7:{s:4:"name";s:11:"useExtended";s:4:"desc";s:35:"prop_updateprofile.useextended_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:15:"excludeExtended";a:7:{s:4:"name";s:15:"excludeExtended";s:4:"desc";s:39:"prop_updateprofile.excludeextended_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:13:"allowedFields";a:7:{s:4:"name";s:13:"allowedFields";s:4:"desc";s:37:"prop_updateprofile.allowedfields_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:21:"allowedExtendedFields";a:7:{s:4:"name";s:21:"allowedExtendedFields";s:4:"desc";s:45:"prop_updateprofile.allowedextendedfields_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:8:"preHooks";a:7:{s:4:"name";s:8:"preHooks";s:4:"desc";s:32:"prop_updateprofile.prehooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:9:"postHooks";a:7:{s:4:"name";s:9:"postHooks";s:4:"desc";s:33:"prop_updateprofile.posthooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:41:"prop_updateprofile.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:16:"login:properties";s:4:"area";s:0:"";}}',
  1511. 'moduleguid' => '',
  1512. 'static' => 0,
  1513. 'static_file' => '',
  1514. 'content' => '/**
  1515. * Login
  1516. *
  1517. * Copyright 2010-2012 by Shaun McCormick <shaun+login@modx.com>
  1518. *
  1519. * Login is free software; you can redistribute it and/or modify it under the
  1520. * terms of the GNU General Public License as published by the Free Software
  1521. * Foundation; either version 2 of the License, or (at your option) any later
  1522. * version.
  1523. *
  1524. * Login is distributed in the hope that it will be useful, but WITHOUT ANY
  1525. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  1526. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  1527. *
  1528. * You should have received a copy of the GNU General Public License along with
  1529. * Login; if not, write to the Free Software Foundation, Inc., 59 Temple
  1530. * Place, Suite 330, Boston, MA 02111-1307 USA
  1531. *
  1532. * @package login
  1533. */
  1534. /**
  1535. * MODx UpdateProfile Snippet. Handles updating of User Profiles.
  1536. *
  1537. * @var modX $modx
  1538. * @var Login $login
  1539. * @var array $scriptProperties
  1540. *
  1541. * @package login
  1542. */
  1543. require_once $modx->getOption(\'login.core_path\',null,$modx->getOption(\'core_path\').\'components/login/\').\'model/login/login.class.php\';
  1544. $login = new Login($modx,$scriptProperties);
  1545. $controller = $login->loadController(\'UpdateProfile\');
  1546. return $controller->run($scriptProperties);',
  1547. ),
  1548. ),
  1549. );