-- James Ehly -- jamesehly.com :: ehlydesign.com -- 05.25.2007 -- ResourceInstaller 0.1 beta -- Templates INSERT INTO `modx_site_templates` VALUES (0, 'Home Page Template', '', 0, 1, '', 0, '{{Head}}\r\n\r\n\r\n
\r\n\r\n{{Banner}}\r\n\r\n{{Content}}\r\n\r\n{{Footer}}\r\n\r\n
\r\n\r\n\r\n\r\n', 0); INSERT INTO `modx_site_templates` VALUES (0, 'Inside Page Template', '', 0, 1, '', 0, '{{Head}}\r\n\r\n\r\n
\r\n\r\n{{Banner}}\r\n\r\n{{Content}}\r\n\r\n{{Footer}}\r\n\r\n
\r\n\r\n\r\n\r\n', 0); -- Template Variables INSERT INTO `modx_site_tmplvars` VALUES (0, 'text', 'MetaKeywords', 'MetaKeywords', '', 0, 0, 0, '', 0, 'htmlentities', '', ''); INSERT INTO `modx_site_tmplvars` VALUES (0, 'textarea', 'MetaDescription', 'MetaDescription', '', 0, 0, 0, '', 0, 'htmlentities', '', ''); INSERT INTO `modx_site_tmplvars` VALUES (0, 'textarea', 'ExtraHeadScripts', 'ExtraHeadScripts', '', 0, 0, 0, '', 0, '', '', ''); INSERT INTO `modx_site_tmplvars` VALUES (0, 'image', 'SectionImage', 'SectionImage', '', 0, 0, 0, '', 0, '', '', '@INHERIT'); -- INSERT INTO `modx_site_tmplvars` VALUES (0, 'textarea', 'TestimonyText', 'TestimonyText', '', 0, 0, 0, '', 0, '', '', '@INHERIT'); -- INSERT INTO `modx_site_tmplvars` VALUES (0, 'textareamini', 'TestimonyCredit', 'TestimonyCredit', '', 0, 0, 0, '', 0, '', '', '@INHERIT'); -- Chunks INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'Head', '', 0, 2, 0, '\r\n\r\n\r\n\r\n [[Title]]\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n[*ExtraHeadScripts*]\r\n\r\n', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'Banner', '', 0, 2, 0, '', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'Content', '', 0, 2, 0, '', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'Footer', '', 0, 2, 0, '', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'wfOuterTpl', '', 0, 3, 0, '[+wf.wrapper+]', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'DittoBlogCall', '', 0, 3, 0, '\r\n\r\n\r\n
\r\n\r\n[!Ditto? &id=`blog` &tpl=`DittoBlogTpl` &parents=`5` &dateSource=`pub_date` &extenders=`dateFilter,summary` &paginate=`1` &paginateAlwaysShowLinks=`1` &dateFormat=`%B %e, %Y` &display=`5`!]\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\nShowing [+blog_start+] - [+blog_stop+] of [+blog_total+] Articles\r\n\r\n [+blog_previous+] \r\nPage [+blog_currentPage+] of [+blog_totalPages+] \r\n[+blog_next+] \r\n
\r\n\r\n\r\n
\r\n\r\n[!Reflect?id=`blog` &config=`wordpress` &dateSource=`pub_date` &targetID=`5` &getDocuments=`1` &dittoSnippetParameters=`parents:5`!]\r\n\r\n
', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'DittoBlogTpl', '', 0, 3, 0, '
\r\n

[+pagetitle+]

\r\n
[+date+]
\r\n
[+summary+]
\r\n
\r\n', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'BlogFooter', '', 0, 3, 0, '\r\n[!Jot? &moderated=`1` &captcha=`1` ¬ify=`1`!]', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'eFormContactUs', '', 0, 0, 0, '[!eForm? &formid=`feedbackForm` &to=`[email_here]` &bcc=`[email_here]` &tpl=`eFeedBackForm` &report=`eFeedbackReport` &gotoid=`36` &vericode=`1` &subject=`[(site_name)] Contact from [+fname+] [+lname+]` &replyto=`email`!]', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'eFeedBackForm', 'Contact Form', 0, 0, 0, '

[+validationmessage+]

\r\n
\r\n \r\n\r\n \r\n


\r\n

\r\n\r\n


\r\n

\r\n \r\n


\r\n

\r\n\r\n


\r\n

\r\n\r\n


\r\n

\r\n\r\n


\r\n

\r\n\r\n


\r\n

\r\n\r\n


\r\n

\r\n\r\n


\r\n

\r\n \r\n


\r\n

\r\n\r\n

\r\n Please enter the anti-spam code:

\r\n \r\n \r\n \r\n
\r\n verification code \r\n \r\n  \r\n
\r\n \r\n \r\n

\r\n
', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'eFeedbackReport', 'Contact Email', 0, 0, 0, '

This is a response sent by [+fname+] [+lname+] using the feedback form on the website. The details of the message follow below:

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
First Name:[+fname+]
Last Name:[+lname+]
Email:[+email+]
Address1:[+address1+]
Address2:[+address2+]
City:[+city+]
State:[+state+]
Zip:[+zip+]
Phone:[+phone+]
Comments:
[+comments+]
\r\n

You can use this link to reply: [+email+]

', 0); INSERT INTO `modx_site_htmlsnippets` VALUES (0, 'eFeedbackThanks', 'Contact Thanks', 0, 0, 0, '

Thank you for contacting [(site_name)]!

\r\n

Your message has been sent, and you will be contacted as soon as possible.

\r\n

Please take this opportunity to visit the rest our our site:

\r\n[[Wayfinder?startId=`0` &level=`1`]]', 0); -- Snippets INSERT INTO `modx_site_snippets` VALUES (0, 'Title', 'Prints output for title tag', 0, 0, 0, '\r\n/* Title\r\n * Prints output for title tag\r\n */\r\n// set parameters\r\nif (empty($titleDelimiter)) {\r\n $titleDelimiter = '' - '';\r\n}\r\nif (!isset($printSiteName)) {\r\n $psn = true;\r\n}\r\n$ab = (isset($appendBefore)) ? $appendBefore.'' '' : '''';\r\n$af = (isset($appendAfter)) ? '' ''.$appendAfter : '''';\r\n\r\n// set variable\r\n$arr = $modx->getTemplateVar(''pagetitle'');\r\n$pt = $arr[''value''];\r\n$arr = $modx->getTemplateVar(''longtitle'');\r\n$lt = $arr[''value''];\r\n$sn = $modx->config[''site_name''];\r\n\r\n// print title\r\nprint $ab;\r\nif (!empty($lt)) {\r\n print $lt;\r\n print ($psn) ? $titleDelimiter.$sn:'''';\r\n} else if (!empty($pt)) {\r\n print $pt;\r\n print ($psn) ? $titleDelimiter.$sn:'''';\r\n} else {\r\n print $sn;\r\n}\r\nprint $af;\r\n', 0, '', ', '); INSERT INTO `modx_site_snippets` VALUES (0, 'CurrentYear', '', 0, 0, 0, '\r\nprint date(''Y'');\r\n', 0, '', ', '); INSERT INTO `modx_site_snippets` VALUES (0, 'GetParentTitle', '', 0, 0, 0, '\r\n$upt_array = $modx->getDocument( $modx->runSnippet(''UltimateParent''), ''pagetitle'');\r\necho $upt_array[''pagetitle''];\r\n', 0, '', ', '); INSERT INTO `modx_site_snippets` VALUES (0, 'GetSubTitle', '', 0, 0, 0, '\r\nif ($modx->runSnippet(''UltimateParent'') != $modx->documentObject[''id'']) {\r\n echo "

".$modx->documentObject[''pagetitle'']." ".$modx->runSnippet(''ReflectIfStatementTitle'')."

";\r\n}\r\n', 0, '', ', '); INSERT INTO `modx_site_snippets` VALUES (0, 'eformEvents', '', 0, 0, 0, '\r\n//functions for eForm events\r\nfunction insertData( &$fields )\r\n{\r\n global $modx;\r\n if (!mysql_query("DESC modx_eform_reg_results")) {\r\n $sql="CREATE TABLE modx_eform_reg_results (\r\n `id` int(10) unsigned NOT NULL auto_increment,\r\n `fname` varchar(30) NOT NULL,\r\n `lname` varchar(30) NOT NULL,\r\n `email` varchar(100) NOT NULL,\r\n `date` timestamp NOT NULL,\r\n PRIMARY KEY (`id`)\r\n ) TYPE=MyISAM AUTO_INCREMENT=1 ;";\r\n $query1=$modx->db->query($sql);\r\n }\r\n $modx->db->query("INSERT INTO modx_eform_reg_results \r\n VALUES(0,''{$fields[''fname'']}'',''{$fields[''lname'']}'',''{$fields[''email'']}'',NOW())");\r\n return true;\r\n}\r\n//return empty string\r\nreturn '''';\r\n', 0, '', ', '); -- Categories INSERT INTO `modx_categories` VALUES (0, 'HTML Templates'); INSERT INTO `modx_categories` VALUES (0, 'HTML Chunks'); INSERT INTO `modx_categories` VALUES (0, 'Snippet Chunks');