Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/www/core/cache_back/resource/web/resources/ |
<?php return array ( 'resourceClass' => 'modDocument', 'resource' => array ( 'id' => 59, 'type' => 'document', 'contentType' => 'text/html', 'pagetitle' => 'Getting Started', 'longtitle' => 'Getting Started', 'description' => 'Getting Started', 'alias' => 'getting-started', 'link_attributes' => '', 'published' => 1, 'pub_date' => 0, 'unpub_date' => 0, 'parent' => 0, 'isfolder' => 0, 'introtext' => '<strong>PA LAND CHOICES</strong> empowers all of us to be involved citizens who can influence the policies that make our communities places we want to live. By understanding the system and becoming active participants, we can protect what we love and change what we don’t. ', 'content' => '<h5>Dive in.</h5> <h5>Embrace information and insight.</h5> <h5>Learn from others.</h5> <h5>Create the future you’d like to see</h5> <div id="what" class="parent parent-what"><a href="#"><span>WHAT</span> - Guiding teachers in bringing <em>place-based</em> learning to life</a></div> <div class="child"> <p>PA Land Choices is a collection of sequential activities to educate and motivate participants to become involved in their local community and to conserve their natural resources. The activities are easy to use and available through workshops or downloading on this website. The information is self contained and based on data from a variety of sources. The concepts are simple. The activities are fun and engaging.</p> <p>Each activity guides the learner to understand the power of choice by analyzing the forces that create change in their community and region. It challenges the learner to become involved in creating the communities of the future. It reflects the importance of natural resources, green spaces, public lands and public spaces. It promotes civic responsibility through place-based education and service-learning.</p> <p><strong>Celebrate Communities and Local Government!</strong></p> <p>PA Land Choices is a celebration of the people of Pennsylvania represented by the communities in which they live. Because these communities are distinct in character and leadership, this curriculum is easily adapted to suit the uniqueness and flavor of any region. PA Land Choices recognizes that citizen education is imperative for the success of communities.</p> <p>This curriculum appeals to a diverse audience, including citizens, municipal officials, community leaders and educators. It encourages participation by a variety of community constituents and is most valuable if it involves a diverse representation of the community.</p> </div> <div id="why" class="parent parent-why"><a href="#"><span>WHY</span> - <em>Empowering students</em> to help shape their communities</a></div> <div class="child"> <p>PA Land Choices is about you, your community and its resources. It is about your role and your right to participate in your local government...a democratic process that impacts the places you know best...your neighborhoods and communities. The purpose of the program is to empower you as a citizen—young or old, teacher or community leader, student or parent—to become involved in the choices that improve your community character and collectively guide Pennsylvania toward a healthy, sustainable future.</p> <p><strong>PA Land Choices is based on the following goals:</strong></p> <ul> <li>To increase citizen involvement in shaping the future of our communities and the Commonwealth;</li> <li>To promote conservation of natural and historic resources, the value of public land and the responsibility of land ownership;</li> <li>To encourage citizens in defining and promoting healthy, sustainable communities; and</li> <li>To understand the role of local government and the tools available for guiding growth, protecting regional character and promoting resources.</li> </ul> </div> <div id="who" class="parent parent-who"><a href="#"><span>WHO</span> - Governments, organizations, community members – <em>and You</em></a></div> <div class="child"> <p><strong>PA Land Choices is for all Citizens</strong></p> <p>PA Land Choices is a collection of original activities developed for use by educators and community leaders to help teach citizens – young and old – about the importance of personal involvement, understanding our civic responsibility to local government and the power of our choices in a changing environment. Programs are directed and implemented locally and address local investigations and local service opportunities.</p> <p>You may be a municipal official, a college professor, a community forester or a county planner. PA Land Choices provides engaging group activities taking participants through a step by step process; first examining the changes in Pennsylvania’s past and present, then focusing on the personal involvement of each citizen in community projects, local government, and the protection of natural resources and important ecological lands. Citizen programs can be delivered in a variety of circumstances and length of time deemed appropriate for the audience. To request a PA Land Choices program for your community or organization, contact the PA Land Choices Coordinator or a state park educator.</p> </div> <div id="how" class="parent parent-how"><a href="#"><span>HOW</span> - Integrating standards, service learning, and <em>community needs</em></a></div> <div class="child"> <p><strong>PA Land Choices is adapted for Educators and Administrators</strong></p> <p>Activities have been aligned to state academic standards in Social Studies and Environment and Ecology for application in public school programs in grades 6- 12. It has been utilized successfully for college courses and adapted for younger grades. PA Land Choices is offered through teacher workshops which have been granted Act 48 status by the Pennsylvania Department of Education. Act 48 teacher workshops require a minimum of 16 hours. Workshops have been endorsed at the Governor’s Institute for Social Studies and the Governor’s Institute for Environment and Ecology.</p> <p>For classrooms, it is a model for place-based education, focusing student learning on communities and familiar places, addressing standards in civics and geography. It encourages citizenship through public stewardship and service learning. It provides students with connections to projects in their community and on public lands throughout the Commonwealth. The educational activities can be applied in a week-long social studies unit or during a series of class periods teaching about local environmental responsibility. It can be scheduled as a one day experience or applied in an integrated program of multidisciplinary education. It could be used in classrooms conducting Project Citizen or with Project Learning Tree.</p> </div> <div id="begin" class="parent parent-begin"><a href="#"><span>BEGIN</span> - Take the first step into the Curriulum: <em>Making Choices</em></a></div> <div class="child"> <p>The choices we make will impact Pennsylvania for generations to come, so it is the responsibility of each of us to guide our communities toward a sustainable future. When we understand our role in the decision-making process, we become empowered to create the sustainable communities we desire.</p> <p><a href="introduction-getting-started.html">Let\'s get started >></a></p> </div>', 'richtext' => 1, 'template' => 7, 'menuindex' => 1, 'searchable' => 1, 'cacheable' => 1, 'createdby' => 1, 'createdon' => 1351198115, 'editedby' => 1, 'editedon' => 1373997379, 'deleted' => 0, 'deletedon' => 0, 'deletedby' => 0, 'publishedon' => 1351193940, 'publishedby' => 1, 'menutitle' => 'Introduction', 'donthit' => 0, 'privateweb' => 0, 'privatemgr' => 0, 'content_dispo' => 0, 'hidemenu' => 0, 'class_key' => 'modDocument', 'context_key' => 'web', 'content_type' => 1, 'uri' => 'getting-started.html', 'uri_override' => 0, 'hide_children_in_tree' => 0, 'show_in_tree' => 1, 'properties' => NULL, 'page-hero' => array ( 0 => 'page-hero', 1 => 'img/heros/getting-started-hero.jpg', 2 => 'text', 3 => NULL, 4 => 'image', ), 'sidebar' => array ( 0 => 'sidebar', 1 => '<p>[[$gs-sidebar]]</p>', 2 => 'default', 3 => NULL, 4 => 'richtext', ), '_content' => '<html> <head> <meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" /> <title>Pennsylvania Land Choices - Getting Started</title> <link REL="SHORTCUT ICON" HREF="img/favicon.ico"> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'> <link href="css.css" rel="stylesheet" type="text/css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#header li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); $(this).parent().parent().removeClass(\'not-active\'); }); $("#header li.not-active img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("#sub-interest li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); }); $("#interests li img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("div.parent a").click(function () { $(this).parent().next(\'.child\').toggle(\'slow\'); $(this).parent().toggleClass(\'open\'); return false; }); }); function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } </script> <script type="text/javascript"> $(document).ready(function() { var param = document.URL.split(\'#\')[1]; if (param == \'what\'){ $(\'.parent-what\').next(\'.child\').toggle(\'slow\'); $(\'.parent-what\').toggleClass(\'open\'); } else if (param == \'who\'){ $(\'.parent-who\').next(\'.child\').toggle(\'slow\'); $(\'.parent-who\').toggleClass(\'open\'); } else if (param == \'why\'){ $(\'.parent-why\').next(\'.child\').toggle(\'slow\'); $(\'.parent-why\').toggleClass(\'open\'); } else if (param == \'how\'){ $(\'.parent-how\').next(\'.child\').toggle(\'slow\'); $(\'.parent-how\').toggleClass(\'open\'); } else if (param == \'begin\'){ $(\'.parent-begin\').next(\'.child\').toggle(\'slow\'); $(\'.parent-begin\').toggleClass(\'open\'); } else { } }); </script> </head> <body onLoad="MM_preloadImages(\'img/nav-1-on.png\',\'img/nav-2-on.png\',\'img/nav-3-on.png\',\'img/nav-4-on.png\')"> <div id="wrap"> <div id="header"> <a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a> <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p> <ul> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`59` &then=`active` &else=`` ]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`2` &then=`active` &else=`` ]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`58` &then=`active` &else=`` ]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`57` &then=`active` &else=`` ]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li> </ul> </div> <!-- end header --> <div id="content" class="white"> <div style="padding:10px 35px 35px 40px;"> <h1>Getting Started</h1> <div class="page-hero getting-started-hero"> <img src="/~palandch/assets/components/phpthumbof/cache/getting-started-hero.f8615ec6eebbf5dcf0aff89aa65e7a1659.jpg" alt="Story" /> <h2><strong>PA LAND CHOICES</strong> empowers all of us to be involved citizens who can influence the policies that make our communities places we want to live. By understanding the system and becoming active participants, we can protect what we love and change what we don’t. </h2> </div><!-- end story hero --> </div> <div class="page-content"> <h5>Dive in.</h5> <h5>Embrace information and insight.</h5> <h5>Learn from others.</h5> <h5>Create the future you’d like to see</h5> <div id="what" class="parent parent-what"><a href="#"><span>WHAT</span> - Guiding teachers in bringing <em>place-based</em> learning to life</a></div> <div class="child"> <p>PA Land Choices is a collection of sequential activities to educate and motivate participants to become involved in their local community and to conserve their natural resources. The activities are easy to use and available through workshops or downloading on this website. The information is self contained and based on data from a variety of sources. The concepts are simple. The activities are fun and engaging.</p> <p>Each activity guides the learner to understand the power of choice by analyzing the forces that create change in their community and region. It challenges the learner to become involved in creating the communities of the future. It reflects the importance of natural resources, green spaces, public lands and public spaces. It promotes civic responsibility through place-based education and service-learning.</p> <p><strong>Celebrate Communities and Local Government!</strong></p> <p>PA Land Choices is a celebration of the people of Pennsylvania represented by the communities in which they live. Because these communities are distinct in character and leadership, this curriculum is easily adapted to suit the uniqueness and flavor of any region. PA Land Choices recognizes that citizen education is imperative for the success of communities.</p> <p>This curriculum appeals to a diverse audience, including citizens, municipal officials, community leaders and educators. It encourages participation by a variety of community constituents and is most valuable if it involves a diverse representation of the community.</p> </div> <div id="why" class="parent parent-why"><a href="#"><span>WHY</span> - <em>Empowering students</em> to help shape their communities</a></div> <div class="child"> <p>PA Land Choices is about you, your community and its resources. It is about your role and your right to participate in your local government...a democratic process that impacts the places you know best...your neighborhoods and communities. The purpose of the program is to empower you as a citizen—young or old, teacher or community leader, student or parent—to become involved in the choices that improve your community character and collectively guide Pennsylvania toward a healthy, sustainable future.</p> <p><strong>PA Land Choices is based on the following goals:</strong></p> <ul> <li>To increase citizen involvement in shaping the future of our communities and the Commonwealth;</li> <li>To promote conservation of natural and historic resources, the value of public land and the responsibility of land ownership;</li> <li>To encourage citizens in defining and promoting healthy, sustainable communities; and</li> <li>To understand the role of local government and the tools available for guiding growth, protecting regional character and promoting resources.</li> </ul> </div> <div id="who" class="parent parent-who"><a href="#"><span>WHO</span> - Governments, organizations, community members – <em>and You</em></a></div> <div class="child"> <p><strong>PA Land Choices is for all Citizens</strong></p> <p>PA Land Choices is a collection of original activities developed for use by educators and community leaders to help teach citizens – young and old – about the importance of personal involvement, understanding our civic responsibility to local government and the power of our choices in a changing environment. Programs are directed and implemented locally and address local investigations and local service opportunities.</p> <p>You may be a municipal official, a college professor, a community forester or a county planner. PA Land Choices provides engaging group activities taking participants through a step by step process; first examining the changes in Pennsylvania’s past and present, then focusing on the personal involvement of each citizen in community projects, local government, and the protection of natural resources and important ecological lands. Citizen programs can be delivered in a variety of circumstances and length of time deemed appropriate for the audience. To request a PA Land Choices program for your community or organization, contact the PA Land Choices Coordinator or a state park educator.</p> </div> <div id="how" class="parent parent-how"><a href="#"><span>HOW</span> - Integrating standards, service learning, and <em>community needs</em></a></div> <div class="child"> <p><strong>PA Land Choices is adapted for Educators and Administrators</strong></p> <p>Activities have been aligned to state academic standards in Social Studies and Environment and Ecology for application in public school programs in grades 6- 12. It has been utilized successfully for college courses and adapted for younger grades. PA Land Choices is offered through teacher workshops which have been granted Act 48 status by the Pennsylvania Department of Education. Act 48 teacher workshops require a minimum of 16 hours. Workshops have been endorsed at the Governor’s Institute for Social Studies and the Governor’s Institute for Environment and Ecology.</p> <p>For classrooms, it is a model for place-based education, focusing student learning on communities and familiar places, addressing standards in civics and geography. It encourages citizenship through public stewardship and service learning. It provides students with connections to projects in their community and on public lands throughout the Commonwealth. The educational activities can be applied in a week-long social studies unit or during a series of class periods teaching about local environmental responsibility. It can be scheduled as a one day experience or applied in an integrated program of multidisciplinary education. It could be used in classrooms conducting Project Citizen or with Project Learning Tree.</p> </div> <div id="begin" class="parent parent-begin"><a href="#"><span>BEGIN</span> - Take the first step into the Curriulum: <em>Making Choices</em></a></div> <div class="child"> <p>The choices we make will impact Pennsylvania for generations to come, so it is the responsibility of each of us to guide our communities toward a sustainable future. When we understand our role in the decision-making process, we become empowered to create the sustainable communities we desire.</p> <p><a href="introduction-getting-started.html">Let\'s get started >></a></p> </div> </div><!-- end page-content --> <div class="sidebar"> <p><div id="gs-sidebar"><a class="pdf" title="Welcome to PA Land Choices" href="pdfs/GettingStarted_Welcome.pdf" target="_blank">Welcome to PA Land Choices <span>»</span></a> <a class="pdf" title="Alignment to Pennsylvania Academic Standards" href="pdfs/GettingStarted_Alignment.pdf" target="_blank">Alignment to Pennsylvania Academic Standards <span>»</span></a> <a class="gs-link-last" title="The Curriculum: Getting Started…Making Choices" href="introduction-getting-started.html"><em>The Curriculum:</em> Getting Started…Making Choices</a></div></p> </div> <div class="clear"></div> </div> <!-- end content --> <div id="footer"> <p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p> <p><a href="contact-us.html" title="Contact Us">Contact Us</a> | <a href="terms-of-use.html" title="Terms Of Use">Terms of Use</a></p> <p class="copyright">Copyright © 2013 Pennsylvania DCNR. All Rights Reserved.</p> <a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a> <a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a> </div><!-- end footer --> </div><!-- end wrap --> </body> </html>', '_isForward' => false, ), 'contentType' => array ( 'id' => 1, 'name' => 'HTML', 'description' => 'HTML content', 'mime_type' => 'text/html', 'file_extensions' => '.html', 'headers' => NULL, 'binary' => 0, ), 'policyCache' => array ( ), 'elementCache' => array ( '[[*pagetitle]]' => 'Getting Started', '[[$head]]' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" /> <title>Pennsylvania Land Choices - Getting Started</title> <link REL="SHORTCUT ICON" HREF="img/favicon.ico"> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'> <link href="css.css" rel="stylesheet" type="text/css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#header li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); $(this).parent().parent().removeClass(\'not-active\'); }); $("#header li.not-active img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("#sub-interest li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); }); $("#interests li img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("div.parent a").click(function () { $(this).parent().next(\'.child\').toggle(\'slow\'); $(this).parent().toggleClass(\'open\'); return false; }); }); function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } </script>', '[[$getting-started-jquery]]' => '<script type="text/javascript"> $(document).ready(function() { var param = document.URL.split(\'#\')[1]; if (param == \'what\'){ $(\'.parent-what\').next(\'.child\').toggle(\'slow\'); $(\'.parent-what\').toggleClass(\'open\'); } else if (param == \'who\'){ $(\'.parent-who\').next(\'.child\').toggle(\'slow\'); $(\'.parent-who\').toggleClass(\'open\'); } else if (param == \'why\'){ $(\'.parent-why\').next(\'.child\').toggle(\'slow\'); $(\'.parent-why\').toggleClass(\'open\'); } else if (param == \'how\'){ $(\'.parent-how\').next(\'.child\').toggle(\'slow\'); $(\'.parent-how\').toggleClass(\'open\'); } else if (param == \'begin\'){ $(\'.parent-begin\').next(\'.child\').toggle(\'slow\'); $(\'.parent-begin\').toggleClass(\'open\'); } else { } }); </script>', '[[UltimateParent]]' => '59', '[[$header]]' => '<div id="header"> <a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a> <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p> <ul> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`59` &then=`active` &else=`` ]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`2` &then=`active` &else=`` ]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`58` &then=`active` &else=`` ]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li> <li class="not-active [[!If? &subject=`59` &operator=`EQ` &operand=`57` &then=`active` &else=`` ]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li> </ul> </div> <!-- end header -->', '[[*page-hero:phpthumbof=`w=872&h=255&zc=1`]]' => '/~palandch/assets/components/phpthumbof/cache/getting-started-hero.f8615ec6eebbf5dcf0aff89aa65e7a1659.jpg', '[[*introtext]]' => '<strong>PA LAND CHOICES</strong> empowers all of us to be involved citizens who can influence the policies that make our communities places we want to live. By understanding the system and becoming active participants, we can protect what we love and change what we don’t. ', '[[~61]]' => 'introduction-getting-started.html', '[[$gs-sidebar]]' => '<div id="gs-sidebar"><a class="pdf" title="Welcome to PA Land Choices" href="pdfs/GettingStarted_Welcome.pdf" target="_blank">Welcome to PA Land Choices <span>»</span></a> <a class="pdf" title="Alignment to Pennsylvania Academic Standards" href="pdfs/GettingStarted_Alignment.pdf" target="_blank">Alignment to Pennsylvania Academic Standards <span>»</span></a> <a class="gs-link-last" title="The Curriculum: Getting Started…Making Choices" href="introduction-getting-started.html"><em>The Curriculum:</em> Getting Started…Making Choices</a></div>', '[[*sidebar]]' => '<p><div id="gs-sidebar"><a class="pdf" title="Welcome to PA Land Choices" href="pdfs/GettingStarted_Welcome.pdf" target="_blank">Welcome to PA Land Choices <span>»</span></a> <a class="pdf" title="Alignment to Pennsylvania Academic Standards" href="pdfs/GettingStarted_Alignment.pdf" target="_blank">Alignment to Pennsylvania Academic Standards <span>»</span></a> <a class="gs-link-last" title="The Curriculum: Getting Started…Making Choices" href="introduction-getting-started.html"><em>The Curriculum:</em> Getting Started…Making Choices</a></div></p>', '[[~57]]' => 'contact-us.html', '[[~67]]' => 'terms-of-use.html', '[[$footer]]' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p> <p><a href="contact-us.html" title="Contact Us">Contact Us</a> | <a href="terms-of-use.html" title="Terms Of Use">Terms of Use</a></p> <p class="copyright">Copyright © 2013 Pennsylvania DCNR. All Rights Reserved.</p> <a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a> <a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>', ), 'sourceCache' => array ( 'modChunk' => array ( 'head' => array ( 'fields' => array ( 'id' => 8, 'source' => 1, 'property_preprocess' => false, 'name' => 'head', 'description' => 'The Home Page head content', 'editor_type' => 0, 'category' => 1, 'cache_type' => 0, 'snippet' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" /> <title>[[++site_name]] - [[*pagetitle]]</title> <link REL="SHORTCUT ICON" HREF="img/favicon.ico"> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'> <link href="css.css" rel="stylesheet" type="text/css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#header li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); $(this).parent().parent().removeClass(\'not-active\'); }); $("#header li.not-active img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("#sub-interest li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); }); $("#interests li img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("div.parent a").click(function () { $(this).parent().next(\'.child\').toggle(\'slow\'); $(this).parent().toggleClass(\'open\'); return false; }); }); function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } </script>', 'locked' => false, 'properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" /> <title>[[++site_name]] - [[*pagetitle]]</title> <link REL="SHORTCUT ICON" HREF="img/favicon.ico"> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'> <link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'> <link href="css.css" rel="stylesheet" type="text/css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#header li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); $(this).parent().parent().removeClass(\'not-active\'); }); $("#header li.not-active img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("#sub-interest li.active img").each(function () { var src = $(this).attr(\'src\'); $(this).attr(\'src\', src.replace("-off", "-on")); }); $("#interests li img").hover( function(){this.src = this.src.replace("-off","-on");}, function(){this.src = this.src.replace("-on","-off"); }); $("div.parent a").click(function () { $(this).parent().next(\'.child\').toggle(\'slow\'); $(this).parent().toggleClass(\'open\'); return false; }); }); function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } </script>', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), 'getting-started-jquery' => array ( 'fields' => array ( 'id' => 35, 'source' => 1, 'property_preprocess' => false, 'name' => 'getting-started-jquery', 'description' => '', 'editor_type' => 0, 'category' => 12, 'cache_type' => 0, 'snippet' => '<script type="text/javascript"> $(document).ready(function() { var param = document.URL.split(\'#\')[1]; if (param == \'what\'){ $(\'.parent-what\').next(\'.child\').toggle(\'slow\'); $(\'.parent-what\').toggleClass(\'open\'); } else if (param == \'who\'){ $(\'.parent-who\').next(\'.child\').toggle(\'slow\'); $(\'.parent-who\').toggleClass(\'open\'); } else if (param == \'why\'){ $(\'.parent-why\').next(\'.child\').toggle(\'slow\'); $(\'.parent-why\').toggleClass(\'open\'); } else if (param == \'how\'){ $(\'.parent-how\').next(\'.child\').toggle(\'slow\'); $(\'.parent-how\').toggleClass(\'open\'); } else if (param == \'begin\'){ $(\'.parent-begin\').next(\'.child\').toggle(\'slow\'); $(\'.parent-begin\').toggleClass(\'open\'); } else { } }); </script>', 'locked' => false, 'properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '<script type="text/javascript"> $(document).ready(function() { var param = document.URL.split(\'#\')[1]; if (param == \'what\'){ $(\'.parent-what\').next(\'.child\').toggle(\'slow\'); $(\'.parent-what\').toggleClass(\'open\'); } else if (param == \'who\'){ $(\'.parent-who\').next(\'.child\').toggle(\'slow\'); $(\'.parent-who\').toggleClass(\'open\'); } else if (param == \'why\'){ $(\'.parent-why\').next(\'.child\').toggle(\'slow\'); $(\'.parent-why\').toggleClass(\'open\'); } else if (param == \'how\'){ $(\'.parent-how\').next(\'.child\').toggle(\'slow\'); $(\'.parent-how\').toggleClass(\'open\'); } else if (param == \'begin\'){ $(\'.parent-begin\').next(\'.child\').toggle(\'slow\'); $(\'.parent-begin\').toggleClass(\'open\'); } else { } }); </script>', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), 'header' => array ( 'fields' => array ( 'id' => 1, 'source' => 1, 'property_preprocess' => false, 'name' => 'header', 'description' => 'Global Header', 'editor_type' => 0, 'category' => 1, 'cache_type' => 0, 'snippet' => '<div id="header"> <a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a> <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p> <ul> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`59` &then=`active` &else=`` ]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`2` &then=`active` &else=`` ]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`58` &then=`active` &else=`` ]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`57` &then=`active` &else=`` ]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li> </ul> </div> <!-- end header -->', 'locked' => false, 'properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '<div id="header"> <a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a> <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p> <ul> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`59` &then=`active` &else=`` ]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`2` &then=`active` &else=`` ]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`58` &then=`active` &else=`` ]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li> <li class="not-active [[!If? &subject=`[[UltimateParent]]` &operator=`EQ` &operand=`57` &then=`active` &else=`` ]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li> </ul> </div> <!-- end header -->', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), 'gs-sidebar' => array ( 'fields' => array ( 'id' => 36, 'source' => 1, 'property_preprocess' => false, 'name' => 'gs-sidebar', 'description' => '', 'editor_type' => 0, 'category' => 12, 'cache_type' => 0, 'snippet' => '<div id="gs-sidebar"><a class="pdf" title="Welcome to PA Land Choices" href="pdfs/GettingStarted_Welcome.pdf" target="_blank">Welcome to PA Land Choices <span>»</span></a> <a class="pdf" title="Alignment to Pennsylvania Academic Standards" href="pdfs/GettingStarted_Alignment.pdf" target="_blank">Alignment to Pennsylvania Academic Standards <span>»</span></a> <a class="gs-link-last" title="The Curriculum: Getting Started…Making Choices" href="[[~61]]"><em>The Curriculum:</em> Getting Started…Making Choices</a></div>', 'locked' => false, 'properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '<div id="gs-sidebar"><a class="pdf" title="Welcome to PA Land Choices" href="pdfs/GettingStarted_Welcome.pdf" target="_blank">Welcome to PA Land Choices <span>»</span></a> <a class="pdf" title="Alignment to Pennsylvania Academic Standards" href="pdfs/GettingStarted_Alignment.pdf" target="_blank">Alignment to Pennsylvania Academic Standards <span>»</span></a> <a class="gs-link-last" title="The Curriculum: Getting Started…Making Choices" href="[[~61]]"><em>The Curriculum:</em> Getting Started…Making Choices</a></div>', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), 'footer' => array ( 'fields' => array ( 'id' => 6, 'source' => 1, 'property_preprocess' => false, 'name' => 'footer', 'description' => 'Global Footer', 'editor_type' => 0, 'category' => 1, 'cache_type' => 0, 'snippet' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p> <p><a href="[[~57]]" title="Contact Us">Contact Us</a> | <a href="[[~67]]" title="Terms Of Use">Terms of Use</a></p> <p class="copyright">Copyright © 2013 Pennsylvania DCNR. All Rights Reserved.</p> <a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a> <a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>', 'locked' => false, 'properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p> <p><a href="[[~57]]" title="Contact Us">Contact Us</a> | <a href="[[~67]]" title="Terms Of Use">Terms of Use</a></p> <p class="copyright">Copyright © 2013 Pennsylvania DCNR. All Rights Reserved.</p> <a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a> <a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), ), 'modSnippet' => array ( 'UltimateParent' => array ( 'fields' => array ( 'id' => 12, 'source' => 0, 'property_preprocess' => false, 'name' => 'UltimateParent', 'description' => 'Return the "ultimate" parent of a resource.', 'editor_type' => 0, 'category' => 0, 'cache_type' => 0, 'snippet' => '/** * @name UltimateParent * @version 1.3 * @author Susan Ottwell <sottwell@sottwell.com> March 2006 * @author Al B <> May 18, 2007 * @author S. Hamblett <shamblett@cwazy.co.uk> * @author Shaun McCormick <shaun@modx.com> * @author Jason Coward <modx@modx.com> * * @param &id The id of the document whose parent you want to find. * @param &top The top node for the search. * @param &topLevel The top level node for the search (root = level 1) * * @license Public Domain, use as you like. * * @example [[UltimateParent? &id=`45` &top=`6`]] * Will find the ultimate parent of document 45 if it is a child of document 6; * otherwise it will return 45. * * @example [[UltimateParent? &topLevel=`2`]] * Will find the ultimate parent of the current document at a depth of 2 levels * in the document hierarchy, with the root level being level 1. * * This snippet travels up the document tree from a specified document and * returns the "ultimate" parent. Version 2.0 was rewritten to use the new * getParentIds function features available only in MODx 0.9.5 or later. * * Based on the original UltimateParent 1.x snippet by Susan Ottwell * <sottwell@sottwell.com>. The topLevel parameter was introduced by staed and * adopted here. */ if (!isset($modx)) return \'\'; $top = isset($top) && intval($top) ? $top : 0; $id= isset($id) && intval($id) ? intval($id) : $modx->resource->get(\'id\'); $topLevel= isset($topLevel) && intval($topLevel) ? intval($topLevel) : 0; if ($id && $id != $top) { $pid = $id; $pids = $modx->getParentIds($id); if (!$topLevel || count($pids) >= $topLevel) { while ($parentIds= $modx->getParentIds($id, 1)) { $pid = array_pop($parentIds); if ($pid == $top) { break; } $id = $pid; $parentIds = $modx->getParentIds($id); if ($topLevel && count($parentIds) < $topLevel) { break; } } } } return $id;', 'locked' => false, 'properties' => NULL, 'moduleguid' => '', 'static' => false, 'static_file' => '', 'content' => '/** * @name UltimateParent * @version 1.3 * @author Susan Ottwell <sottwell@sottwell.com> March 2006 * @author Al B <> May 18, 2007 * @author S. Hamblett <shamblett@cwazy.co.uk> * @author Shaun McCormick <shaun@modx.com> * @author Jason Coward <modx@modx.com> * * @param &id The id of the document whose parent you want to find. * @param &top The top node for the search. * @param &topLevel The top level node for the search (root = level 1) * * @license Public Domain, use as you like. * * @example [[UltimateParent? &id=`45` &top=`6`]] * Will find the ultimate parent of document 45 if it is a child of document 6; * otherwise it will return 45. * * @example [[UltimateParent? &topLevel=`2`]] * Will find the ultimate parent of the current document at a depth of 2 levels * in the document hierarchy, with the root level being level 1. * * This snippet travels up the document tree from a specified document and * returns the "ultimate" parent. Version 2.0 was rewritten to use the new * getParentIds function features available only in MODx 0.9.5 or later. * * Based on the original UltimateParent 1.x snippet by Susan Ottwell * <sottwell@sottwell.com>. The topLevel parameter was introduced by staed and * adopted here. */ if (!isset($modx)) return \'\'; $top = isset($top) && intval($top) ? $top : 0; $id= isset($id) && intval($id) ? intval($id) : $modx->resource->get(\'id\'); $topLevel= isset($topLevel) && intval($topLevel) ? intval($topLevel) : 0; if ($id && $id != $top) { $pid = $id; $pids = $modx->getParentIds($id); if (!$topLevel || count($pids) >= $topLevel) { while ($parentIds= $modx->getParentIds($id, 1)) { $pid = array_pop($parentIds); if ($pid == $top) { break; } $id = $pid; $parentIds = $modx->getParentIds($id); if ($topLevel && count($parentIds) < $topLevel) { break; } } } } return $id;', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( ), ), 'phpthumbof' => array ( 'fields' => array ( 'id' => 10, 'source' => 0, 'property_preprocess' => false, 'name' => 'phpthumbof', 'description' => 'A custom output filter that generates thumbnails securely with phpThumb.', 'editor_type' => 0, 'category' => 0, 'cache_type' => 0, 'snippet' => '/** * phpThumbOf * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * phpThumbOf is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) any * later version. * * phpThumbOf is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * phpThumbOf; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA * * @package phpthumbof */ /** * A custom output filter for phpThumb * * @var modX $modx * @var array $scriptProperties * @var phpThumbOf $phpThumbOf * @var string $input * @var string|array $options * * @package phpthumbof */ if (empty($modx)) return \'\'; if (!$modx->loadClass(\'modPhpThumb\',$modx->getOption(\'core_path\').\'model/phpthumb/\',true,true)) { $modx->log(modX::LOG_LEVEL_ERROR,\'[phpThumbOf] Could not load modPhpThumb class.\'); return \'\'; } if (empty($input)) { $modx->log(modX::LOG_LEVEL_DEBUG,\'[phpThumbOf] Empty image path passed, aborting.\'); return \'\'; } $modelPath = $modx->getOption(\'phpthumbof.core_path\',null,$modx->getOption(\'core_path\').\'components/phpthumbof/\').\'model/\'; require_once $modelPath.\'phpthumbof/phpthumbof.class.php\'; $phpThumbOf = new phpThumbOf($modx,$scriptProperties); $phpThumbOf->getCacheDirectory(); $phpThumbOf->ensureCacheDirectoryIsWritable(); $thumbnail = $phpThumbOf->createThumbnailObject(); $thumbnail->setInput($input); $thumbnail->setOptions($options); $thumbnail->initializeService(); return $thumbnail->render();', 'locked' => false, 'properties' => NULL, 'moduleguid' => '', 'static' => false, 'static_file' => '', 'content' => '/** * phpThumbOf * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * phpThumbOf is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) any * later version. * * phpThumbOf is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * phpThumbOf; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA * * @package phpthumbof */ /** * A custom output filter for phpThumb * * @var modX $modx * @var array $scriptProperties * @var phpThumbOf $phpThumbOf * @var string $input * @var string|array $options * * @package phpthumbof */ if (empty($modx)) return \'\'; if (!$modx->loadClass(\'modPhpThumb\',$modx->getOption(\'core_path\').\'model/phpthumb/\',true,true)) { $modx->log(modX::LOG_LEVEL_ERROR,\'[phpThumbOf] Could not load modPhpThumb class.\'); return \'\'; } if (empty($input)) { $modx->log(modX::LOG_LEVEL_DEBUG,\'[phpThumbOf] Empty image path passed, aborting.\'); return \'\'; } $modelPath = $modx->getOption(\'phpthumbof.core_path\',null,$modx->getOption(\'core_path\').\'components/phpthumbof/\').\'model/\'; require_once $modelPath.\'phpthumbof/phpthumbof.class.php\'; $phpThumbOf = new phpThumbOf($modx,$scriptProperties); $phpThumbOf->getCacheDirectory(); $phpThumbOf->ensureCacheDirectoryIsWritable(); $thumbnail = $phpThumbOf->createThumbnailObject(); $thumbnail->setInput($input); $thumbnail->setOptions($options); $thumbnail->initializeService(); return $thumbnail->render();', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( ), ), 'If' => array ( 'fields' => array ( 'id' => 15, 'source' => 0, 'property_preprocess' => false, 'name' => 'If', 'description' => 'Simple if (conditional) snippet', 'editor_type' => 0, 'category' => 0, 'cache_type' => 0, 'snippet' => '/** * If * * Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick * <shaun@modx.com> * * If is free software; you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * If is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * If; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package if */ /** * Simple if (conditional) snippet * * @package if */ if (!empty($debug)) { print_r($scriptProperties); if (!empty($die)) die(); } $modx->parser->processElementTags(\'\',$subject,true,true); $output = \'\'; $operator = !empty($operator) ? $operator : \'\'; $operand = !isset($operand) ? \'\' : $operand; if (isset($subject)) { if (!empty($operator)) { $operator = strtolower($operator); switch ($operator) { case \'!=\': case \'neq\': case \'not\': case \'isnot\': case \'isnt\': case \'unequal\': case \'notequal\': $output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'<\': case \'lt\': case \'less\': case \'lessthan\': $output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'>\': case \'gt\': case \'greater\': case \'greaterthan\': $output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'<=\': case \'lte\': case \'lessthanequals\': case \'lessthanorequalto\': $output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'>=\': case \'gte\': case \'greaterthanequals\': case \'greaterthanequalto\': $output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'isempty\': case \'empty\': $output = empty($subject) ? $then : (isset($else) ? $else : \'\'); break; case \'!empty\': case \'notempty\': case \'isnotempty\': $output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\'); break; case \'isnull\': case \'null\': $output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\'); break; case \'inarray\': case \'in_array\': case \'ia\': $operand = explode(\',\',$operand); $output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\'); break; case \'==\': case \'=\': case \'eq\': case \'is\': case \'equal\': case \'equals\': case \'equalto\': default: $output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\')); break; } } } if (!empty($debug)) { var_dump($output); } unset($subject); return $output;', 'locked' => false, 'properties' => array ( 'subject' => array ( 'name' => 'subject', 'desc' => 'The data being affected.', 'type' => 'textfield', 'options' => '', 'value' => '', 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'The data being affected.', 'area_trans' => '', ), 'operator' => array ( 'name' => 'operator', 'desc' => 'The type of conditional.', 'type' => 'list', 'options' => array ( 0 => array ( 'value' => 'EQ', 'text' => 'EQ', 'name' => 'EQ', ), 1 => array ( 'value' => 'NEQ', 'text' => 'NEQ', 'name' => 'NEQ', ), 2 => array ( 'value' => 'LT', 'text' => 'LT', 'name' => 'LT', ), 3 => array ( 'value' => 'GT', 'text' => 'GT', 'name' => 'GT', ), 4 => array ( 'value' => 'LTE', 'text' => 'LTE', 'name' => 'LTE', ), 5 => array ( 'value' => 'GT', 'text' => 'GTE', 'name' => 'GTE', ), 6 => array ( 'value' => 'EMPTY', 'text' => 'EMPTY', 'name' => 'EMPTY', ), 7 => array ( 'value' => 'NOTEMPTY', 'text' => 'NOTEMPTY', 'name' => 'NOTEMPTY', ), 8 => array ( 'value' => 'ISNULL', 'text' => 'ISNULL', 'name' => 'ISNULL', ), 9 => array ( 'value' => 'inarray', 'text' => 'INARRAY', 'name' => 'INARRAY', ), ), 'value' => 'EQ', 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'The type of conditional.', 'area_trans' => '', ), 'operand' => array ( 'name' => 'operand', 'desc' => 'When comparing to the subject, this is the data to compare to.', 'type' => 'textfield', 'options' => '', 'value' => '', 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'When comparing to the subject, this is the data to compare to.', 'area_trans' => '', ), 'then' => array ( 'name' => 'then', 'desc' => 'If conditional was successful, output this.', 'type' => 'textfield', 'options' => '', 'value' => '', 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'If conditional was successful, output this.', 'area_trans' => '', ), 'else' => array ( 'name' => 'else', 'desc' => 'If conditional was unsuccessful, output this.', 'type' => 'textfield', 'options' => '', 'value' => '', 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'If conditional was unsuccessful, output this.', 'area_trans' => '', ), 'debug' => array ( 'name' => 'debug', 'desc' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.', 'type' => 'combo-boolean', 'options' => '', 'value' => false, 'lexicon' => NULL, 'area' => '', 'desc_trans' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.', 'area_trans' => '', ), ), 'moduleguid' => '', 'static' => false, 'static_file' => '', 'content' => '/** * If * * Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick * <shaun@modx.com> * * If is free software; you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * If is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * If; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package if */ /** * Simple if (conditional) snippet * * @package if */ if (!empty($debug)) { print_r($scriptProperties); if (!empty($die)) die(); } $modx->parser->processElementTags(\'\',$subject,true,true); $output = \'\'; $operator = !empty($operator) ? $operator : \'\'; $operand = !isset($operand) ? \'\' : $operand; if (isset($subject)) { if (!empty($operator)) { $operator = strtolower($operator); switch ($operator) { case \'!=\': case \'neq\': case \'not\': case \'isnot\': case \'isnt\': case \'unequal\': case \'notequal\': $output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'<\': case \'lt\': case \'less\': case \'lessthan\': $output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'>\': case \'gt\': case \'greater\': case \'greaterthan\': $output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'<=\': case \'lte\': case \'lessthanequals\': case \'lessthanorequalto\': $output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'>=\': case \'gte\': case \'greaterthanequals\': case \'greaterthanequalto\': $output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\')); break; case \'isempty\': case \'empty\': $output = empty($subject) ? $then : (isset($else) ? $else : \'\'); break; case \'!empty\': case \'notempty\': case \'isnotempty\': $output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\'); break; case \'isnull\': case \'null\': $output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\'); break; case \'inarray\': case \'in_array\': case \'ia\': $operand = explode(\',\',$operand); $output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\'); break; case \'==\': case \'=\': case \'eq\': case \'is\': case \'equal\': case \'equals\': case \'equalto\': default: $output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\')); break; } } } if (!empty($debug)) { var_dump($output); } unset($subject); return $output;', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( ), ), ), 'modTemplateVar' => array ( 'page-hero' => array ( 'fields' => array ( 'id' => 6, 'source' => 1, 'property_preprocess' => false, 'type' => 'image', 'name' => 'page-hero', 'caption' => 'Enter the Page main image here', 'description' => '', 'editor_type' => 0, 'category' => 0, 'locked' => false, 'elements' => '', 'rank' => 0, 'display' => 'text', 'default_text' => '', 'properties' => array ( ), 'input_properties' => array ( ), 'output_properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), 'sidebar' => array ( 'fields' => array ( 'id' => 7, 'source' => 1, 'property_preprocess' => false, 'type' => 'richtext', 'name' => 'sidebar', 'caption' => 'Enter the Sidebar HTML here', 'description' => '', 'editor_type' => 0, 'category' => 0, 'locked' => false, 'elements' => '', 'rank' => 0, 'display' => 'default', 'default_text' => '', 'properties' => array ( ), 'input_properties' => array ( ), 'output_properties' => array ( ), 'static' => false, 'static_file' => '', 'content' => '', ), 'policies' => array ( 'web' => array ( ), ), 'source' => array ( 'id' => 1, 'name' => 'Filesystem', 'description' => '', 'class_key' => 'sources.modFileMediaSource', 'properties' => array ( ), 'is_stream' => true, ), ), ), ), );