Skip to content
Browse files

Updated File Structure

Signed-off-by: Jamie Rothwell <jamie@lymegrove.com>
  • Loading branch information...
0 parents commit 48a8464ab890518db456e008c24f67dc9e597a1c @lymegrove committed Nov 19, 2011
Showing with 22,035 additions and 0 deletions.
  1. +9 −0 _activity-feed.php.bak
  2. +132 −0 _activity_feed-iphone.php
  3. +109 −0 _activity_feed-normal.php
  4. +9 −0 _activity_feed.php
  5. +65 −0 _footer-iphone.php
  6. +91 −0 _footer-normal.php
  7. +9 −0 _footer.php
  8. +9 −0 _footer.php.bak
  9. +118 −0 _header-iphone.php
  10. +134 −0 _header-normal.php
  11. +9 −0 _header.php
  12. +23 −0 _sidebar-iphone-single.php
  13. +23 −0 _sidebar-iphone.php
  14. +44 −0 _sidebar-normal-single.php
  15. +65 −0 _sidebar-normal.php
  16. +9 −0 _sidebar-single.php
  17. +9 −0 _sidebar.php
  18. +9 −0 _sidebar.php.bak
  19. +18 −0 contact.php
  20. +10 −0 css/ie.css
  21. +13 −0 css/ie6.css
  22. +567 −0 css/main.css
  23. +16 −0 error_log
  24. +119 −0 global-forms.css
  25. +9 −0 header.php.bak
  26. +2 −0 home.php
  27. BIN images/ad.jpg
  28. BIN images/blogback.jpg
  29. BIN images/bokeh.jpg
  30. BIN images/credits.gif
  31. BIN images/diggback.gif
  32. BIN images/headerBG.png
  33. BIN images/innerBG.png
  34. BIN images/me_twitter.jpg
  35. BIN images/meancouver-footer-iphone.png
  36. BIN images/meancouverFooter.png
  37. BIN images/meancouverFullBg.jpg
  38. BIN images/meancouverTitle-iphone.png
  39. BIN images/meancouverTitle.png
  40. BIN images/osfback.png
  41. BIN images/twitterback.jpg
  42. BIN images/twitterdither.gif
  43. BIN images/twittertail.gif
  44. BIN images/vimeoback.jpg
  45. BIN images/youtubeback.gif
  46. BIN img/h/apple-touch-icon.png
  47. BIN img/h/splash.png
  48. BIN img/l/apple-touch-icon-precomposed.png
  49. BIN img/l/apple-touch-icon.png
  50. BIN img/l/splash.png
  51. BIN img/m/apple-touch-icon.png
  52. +1,716 −0 iphone.css
  53. +2 −0 items.php
  54. +86 −0 js/config.js
  55. +3 −0 js/ie8.js
  56. +36 −0 js/jquery.fittext.js
  57. +8,316 −0 js/libs/jquery-1.5.1.js
  58. +16 −0 js/libs/jquery-1.5.1.min.js
  59. +8,981 −0 js/libs/jquery-1.6.2.js
  60. +18 −0 js/libs/jquery-1.6.2.min.js
  61. +4 −0 js/libs/modernizr-2.0.6.min.js
  62. +14 −0 js/libs/modernizr-custom.js
  63. +7 −0 js/libs/respond.min.js
  64. +2 −0 js/mylibs/.gitignore
  65. +147 −0 js/mylibs/helper.js
  66. +20 −0 js/plugins.js
  67. +39 −0 js/profiling/yahoo-profiling.js
  68. +79 −0 js/script.js
  69. +39 −0 js/yahoo-profiling.js
  70. +597 −0 main.css
  71. +23 −0 privacy.html
  72. +52 −0 reset.css
  73. +27 −0 rss_feed.php
  74. +81 −0 single-iphone.php
  75. +91 −0 single-normal.php
  76. +9 −0 single.php
9 _activity-feed.php.bak
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_activity_feed-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_activity_feed-normal');
+
+} ?>
132 _activity_feed-iphone.php
@@ -0,0 +1,132 @@
+<section id="main_container">
+
+ <?php if (isset($tag)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Items tagged with <?php echo $tag?></p>
+ <?php endif; ?>
+
+ <?php if (isset($query)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Search for <?php echo $query?></p>
+ <?php endif; ?>
+
+ <?php if (isset($site)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Items from <?php echo $site?></p>
+ <?php endif; ?>
+ <article>
+ <ul id="activity_list">
+ <?php if ($items): $i = 1; foreach ($items as $item): ?>
+ <!-- begin conditional content -->
+ <li class="item <?php echo $item->get_feed_class()?> <?php if ($i % 3 == 0): ?> last<?php endif; ?>">
+ <p class="site_info" style="background-size: 16px 16px;background:#000 url(<?php echo $item->get_feed_icon()?>) 3px center no-repeat">Posted at <a href="<?php echo $this->config->item('base_url')?>items/site/<?php echo $item->get_feed_domain()?>"><?php echo $item->get_feed_domain()?></a></p>
+ <div class="item_inner">
+
+ <!-- domain-specific boxes -->
+
+ <?php if ($item->get_feed_domain() == 'opensourcefood.com'): ?>
+ <div class="osf_fold"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"></a></div>
+ <img src="<?php echo $item->get_image()?>" alt="" />
+ <p class="osf_recipe"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a><span><?php echo word_limiter(strip_tags($item->get_content()), 28)?></span></p>
+
+ <?php elseif ($item->get_feed_domain() == 'twitter.com'): ?>
+ <p class="twitter_user"><a href="<?php echo $this->config->item('base_url')?>items/site/<?php echo $item->get_feed_domain()?>"><img src="<?php echo $this->config->item('theme_folder')?>images/me_twitter.jpg" alt="" /></a></p>
+ <p class="twitter_tweet"><?php echo $item->get_title()?></p>
+
+ <?php elseif ($item->get_feed_domain() == 'careerjet.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouver.en.craigslist.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouver.kijiji.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'simplyhired.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'bctechnology.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'eluta.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouverjobs.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'workopolis.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'monster.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vimeo.com'): ?>
+ <?php echo $item->get_video()?>
+ <p class="vimeo_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+
+ <?php elseif ($item->get_feed_domain() == 'youtube.com'): ?>
+ <?php echo $item->get_video()?>
+ <p class="youtube_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 8)?></p>
+
+ <?php elseif ($item->get_feed_domain() == 'digg.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'flickr.com'): ?>
+ <p class="activity_image_text"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a><span class="activity_image_content"></span></p>
+ <a class="activity_image" href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>" style="background: url(<?php echo $item->item_data[$item->get_feed_class()]['image']['m']?>) center center no-repeat"></a>
+
+ <?php elseif (!$item->feed_id): //this means it came from Sweetcron itself ?>
+ <div class="inner_container">
+ <p class="blog_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p class="blog_cite">A blog post</p>
+ </div>
+
+ <?php else: //generic container with instructions ?>
+ <div class="inner_container instructions">
+ <p><strong>The Boxy theme does not have a custom style for this type of item.</strong></p>
+ <p>You can create one by editing the <code>_activity_feed.php</code> and <code>main.css</code> files.</p>
+ <p>Please read the <a href="http://code.google.com/p/sweetcron/wiki/Themes">Theme Docs</a> and <a href="http://code.google.com/p/sweetcron/wiki/API">API</a> for more information.</p>
+ </div>
+
+ <?php endif; ?>
+
+ </div>
+ <p class="date"><?php echo $item->get_human_date()?> | <a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>#disqus_thread">Comments &raquo;</a></p>
+
+ </li>
+
+ <?php $i++; endforeach; endif; ?>
+ </ul>
+ </article>
+ <div class="clear"></div>
+ <p id="pagination">Page: <?php echo $pages?></p>
+
+</section>
109 _activity_feed-normal.php
@@ -0,0 +1,109 @@
+<article id="main_container">
+
+ <?php if (isset($tag)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Items tagged with <?php echo $tag?></p>
+ <?php endif; ?>
+
+ <?php if (isset($query)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Search for <?php echo $query?></p>
+ <?php endif; ?>
+
+ <?php if (isset($site)): ?>
+ <p id="breadcrumb"><a href="<?php echo $this->config->item('base_url')?>">Home</a> &rsaquo; Items from <?php echo $site?></p>
+ <?php endif; ?>
+
+ <ul id="activity_list">
+ <?php if ($items): $i = 1; foreach ($items as $item): ?>
+ <!-- begin conditional content -->
+ <li class="item <?php echo $item->get_feed_class()?> <?php if ($i % 3 == 0): ?> last<?php endif; ?>">
+ <p class="site_info" style="background-size: 16px 16px;background: url(<?php echo $item->get_feed_icon()?>) 3px center no-repeat">Posted at <a href="<?php echo $this->config->item('base_url')?>items/site/<?php echo $item->get_feed_domain()?>"><?php echo $item->get_feed_domain()?></a></p>
+ <div class="item_inner">
+
+ <!-- domain-specific boxes -->
+
+ <?php if ($item->get_feed_domain() == 'careerjet.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouver.en.craigslist.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouver.kijiji.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'simplyhired.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'bctechnology.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'eluta.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'vancouverjobs.ca'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'workopolis.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'monster.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif ($item->get_feed_domain() == 'digg.com'): ?>
+ <div class="inner_container">
+ <p class="digg_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p><?php echo word_limiter(strip_tags($item->get_content()), 38)?></p>
+ </div>
+
+ <?php elseif (!$item->feed_id): //this means it came from Sweetcron itself ?>
+ <div class="inner_container">
+ <p class="blog_title"><a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>"><?php echo $item->get_title()?></a></p>
+ <p class="blog_cite">A blog post</p>
+ </div>
+
+ <?php else: //generic container with instructions ?>
+ <div class="inner_container instructions">
+ <p><strong>The Boxy theme does not have a custom style for this type of item.</strong></p>
+ <p>You can create one by editing the <code>_activity_feed.php</code> and <code>main.css</code> files.</p>
+ <p>Please read the <a href="http://code.google.com/p/sweetcron/wiki/Themes">Theme Docs</a> and <a href="http://code.google.com/p/sweetcron/wiki/API">API</a> for more information.</p>
+ </div>
+
+ <?php endif; ?>
+
+ </div>
+ <p class="date"><?php echo $item->get_human_date()?> | <a href="<?php echo $item->get_permalink()?>/<?php echo $item->get_name()?>#disqus_thread">Comments &raquo;</a></p>
+
+ </li>
+
+ <?php $i++; endforeach; endif; ?>
+ </ul>
+ <div class="clear"></div>
+ <p id="pagination">Page: <?php echo $pages?></p>
+
+</article>
9 _activity_feed.php
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_activity_feed-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_activity_feed-normal');
+
+} ?>
65 _footer-iphone.php
@@ -0,0 +1,65 @@
+</div>
+<footer id="contentinfo" class="body">
+<a id="credits" href="http://meancouver.com"><img src="<?php echo $this->config->item('theme_folder')?>images/meancouver-footer-iphone.png" alt="" /></a>
+</footer>
+</div> <!-- end of #container -->
+
+
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
+<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.2.js"%3E%3C/script%3E'))</script>
+
+
+<!-- scripts concatenated and minified via ant build script-->
+<script src="js/plugins.js"></script>
+<script src="js/script.js"></script>
+<!-- end concatenated and minified scripts-->
+<script>
+// Rewritten version
+// By @mathias, @cheeaun and @jdalton
+
+(function(doc) {
+
+ var addEvent = 'addEventListener',
+ type = 'gesturestart',
+ qsa = 'querySelectorAll',
+ scales = [1, 1],
+ meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
+
+ function fix() {
+ meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
+ doc.removeEventListener(type, fix, true);
+ }
+
+ if ((meta = meta[meta.length - 1]) && addEvent in doc) {
+ fix();
+ scales = [.25, 1.6];
+ doc[addEvent](type, fix, true);
+ }
+
+}(document));
+</script>
+
+<!--[if lt IE 7 ]>
+<script src="js/libs/dd_belatedpng.js"></script>
+<script> DD_belatedPNG.fix('img, .png_bg'); </script>
+<![endif]-->
+
+<!-- yui profiler and profileviewer - remove for production -->
+<script src="js/profiling/yahoo-profiling.min.js"></script>
+<script src="js/profiling/config.js"></script>
+<!-- end profiling code -->
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-6556750-3']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
+</body>
+</html>
91 _footer-normal.php
@@ -0,0 +1,91 @@
+<div class="footerBannerFullRes">
+<script type="text/javascript"><!--
+google_ad_client = "ca-pub-7220126959042532";
+/* MeancouverFooterBanner */
+google_ad_slot = "1177782283";
+google_ad_width = 468;
+google_ad_height = 60;
+//-->
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+</div>
+
+<footer id="contentinfo" class="body">
+<a href="privacy.html" target="_blank">Privacy Policy</a>
+<?php
+ /* A sidebar in the footer? Yep. You can can customize
+ * your footer with three columns of widgets.
+ */
+ get_sidebar( 'footer' );
+ ?>
+
+<a id="credits" href="http://meancouver.com"><img src="<?php echo $this->config->item('theme_folder')?>images/meancouverFooter.png" alt="Meancouver" title="Meancouver" /></a>
+
+
+</footer>
+</div> <!-- end of #container -->
+<?php wp_footer(); ?>
+
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
+<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.2.js"%3E%3C/script%3E'))</script>
+
+
+<!-- scripts concatenated and minified via ant build script-->
+<script src="js/plugins.js"></script>
+<script src="js/script.js"></script>
+<script>
+// Rewritten version
+// By @mathias, @cheeaun and @jdalton
+
+(function(doc) {
+
+ var addEvent = 'addEventListener',
+ type = 'gesturestart',
+ qsa = 'querySelectorAll',
+ scales = [1, 1],
+ meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
+
+ function fix() {
+ meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
+ doc.removeEventListener(type, fix, true);
+ }
+
+ if ((meta = meta[meta.length - 1]) && addEvent in doc) {
+ fix();
+ scales = [.25, 1.6];
+ doc[addEvent](type, fix, true);
+ }
+
+}(document));
+</script>
+<!-- end concatenated and minified scripts-->
+
+
+<!--[if lt IE 7 ]>
+<script src="js/libs/dd_belatedpng.js"></script>
+<script> DD_belatedPNG.fix('img, .png_bg'); </script>
+<![endif]-->
+
+<!-- yui profiler and profileviewer - remove for production -->
+<script src="js/profiling/yahoo-profiling.min.js"></script>
+<script src="js/profiling/config.js"></script>
+<!-- end profiling code -->
+
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-6556750-3']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
+</body>
+</html>
9 _footer.php
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_footer-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_footer-normal');
+
+} ?>
9 _footer.php.bak
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_footer-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_footer-normal');
+
+} ?>
118 _header-iphone.php
@@ -0,0 +1,118 @@
+<?php
+/**
+ * The Header for our theme.
+ *
+ * Displays all of the <head> section and everything up till <div id="main">
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?><!DOCTYPE html>
+<!--[if IE 6]>
+<html id="ie6" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 7]>
+<html id="ie7" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 8]>
+<html id="ie8" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
+<html <?php language_attributes(); ?>>
+<!--<![endif]-->
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta name="viewport" content="width=device-width" />
+<title>
+<?php echo $this->config->item('lifestream_title')?> &rsaquo;
+<?php
+ /*
+ * Print the <title> tag based on what is being viewed.
+ */
+ // Add the blog name.
+ bloginfo( 'name' );
+
+ // Add the blog description for the home/front page.
+ $site_description = get_bloginfo( 'description', 'display' );
+ if ( $site_description && ( is_home() || is_front_page() ) )
+ echo " | $site_description";
+
+ // Add a page number if necessary:
+ if ( $paged >= 2 || $page >= 2 )
+ echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
+
+ ?> &rsaquo; <?php echo $page_name?></title>
+<link rel="profile" href="http://gmpg.org/xfn/11" />
+<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/iphone.css" />
+<meta name="geo.region" content="CA-BC" />
+<meta name="geo.placename" content="Vancouver" />
+<meta name="geo.position" content="49.261226;-123.113927" />
+<meta name="ICBM" content="49.261226, -123.113927" />
+<!--[if lt IE 9]>
+<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
+<![endif]-->
+<?php
+ /* We add some JavaScript to pages with the comment form
+ * to support sites with threaded comments (when in use).
+ */
+ if ( is_singular() && get_option( 'thread_comments' ) )
+ wp_enqueue_script( 'comment-reply' );
+
+ /* Always have wp_head() just before the closing </head>
+ * tag of your theme, or you will break many plugins, which
+ * generally use this hook to add elements to <head> such
+ * as styles, scripts, and meta tags.
+ */
+ wp_head();
+?>
+</head>
+
+<body <?php body_class(); ?>>
+<div id="page" class="hfeed">
+ <header id="branding" role="banner">
+ <hgroup>
+ <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img alt="Meancouver" title="Meancouver" src="<?php echo get_stylesheet_directory_uri() ?>/images/meancouverTitle.png" /></a></span></h1>
+ <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
+ </hgroup>
+ <?php
+ // Check to see if the header image has been removed
+ $header_image = get_header_image();
+ if ( ! empty( $header_image ) ) :
+ ?>
+
+ <?php endif; // end check for removed header image ?>
+
+
+
+ <nav id="access" role="navigation">
+ <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
+ <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
+ <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
+ <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
+ <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
+ </nav><!-- #access -->
+ </header><!-- #branding -->
+<p>&nbsp;</p>
+<script type="text/javascript"><!--
+window.googleAfmcRequest = {
+ client: 'ca-mb-pub-7220126959042532',
+ ad_type: 'text_image',
+ output: 'html',
+ channel: '9225418063',
+ format: '200x200_as',
+ oe: 'utf8',
+ color_border: '000000',
+ color_bg: '000000',
+ color_link: 'FFFFFF',
+ color_text: 'CCCCCC',
+ color_url: '999999',
+};
+//--></script>
+<script type="text/javascript"
+ src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"></script>
+
+
+ <div id="main">
+<section id="center_box">
134 _header-normal.php
@@ -0,0 +1,134 @@
+<?php
+/**
+ * The Header for our theme.
+ *
+ * Displays all of the <head> section and everything up till <div id="main">
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?><!DOCTYPE html>
+<!--[if IE 6]>
+<html id="ie6" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 7]>
+<html id="ie7" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if IE 8]>
+<html id="ie8" <?php language_attributes(); ?>>
+<![endif]-->
+<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
+<html <?php language_attributes(); ?>>
+<!--<![endif]-->
+<head>
+<meta charset="<?php bloginfo( 'charset' ); ?>" />
+<meta name="viewport" content="width=device-width" />
+<title>
+<?php echo $this->config->item('lifestream_title')?> &rsaquo;
+<?php
+ /*
+ * Print the <title> tag based on what is being viewed.
+ */
+ // Add the blog name.
+ bloginfo( 'name' );
+
+ // Add the blog description for the home/front page.
+ $site_description = get_bloginfo( 'description', 'display' );
+ if ( $site_description && ( is_home() || is_front_page() ) )
+ echo " | $site_description";
+
+ // Add a page number if necessary:
+ if ( $paged >= 2 || $page >= 2 )
+ echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
+
+ ?> &rsaquo; <?php echo $page_name?></title>
+<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
+ <link rel="profile" href="http://gmpg.org/xfn/11" />
+<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
+<meta name="geo.region" content="CA-BC" />
+<meta name="geo.placename" content="Vancouver" />
+<meta name="geo.position" content="49.261226;-123.113927" />
+<meta name="ICBM" content="49.261226, -123.113927" />
+<!--[if lt IE 9]>
+<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
+<![endif]-->
+<?php
+ /* We add some JavaScript to pages with the comment form
+ * to support sites with threaded comments (when in use).
+ */
+ if ( is_singular() && get_option( 'thread_comments' ) )
+ wp_enqueue_script( 'comment-reply' );
+
+ /* Always have wp_head() just before the closing </head>
+ * tag of your theme, or you will break many plugins, which
+ * generally use this hook to add elements to <head> such
+ * as styles, scripts, and meta tags.
+ */
+ wp_head();
+?>
+</head>
+
+<body <?php body_class(); ?>>
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) {return;}
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
+<div class="adsenseHeader"><script type="text/javascript"><!--
+google_ad_client = "ca-pub-7220126959042532";
+/* meancouverHeaderLeaderboard */
+google_ad_slot = "4406578087";
+google_ad_width = 728;
+google_ad_height = 90;
+//-->
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+<div id="page" class="hfeed">
+ <header id="branding" role="banner">
+ <hgroup>
+ <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img alt="Meancouver" title="Meancouver" src="<?php echo get_stylesheet_directory_uri() ?>/images/meancouverTitle.png" /></a></span></h1>
+ <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
+ </hgroup>
+
+ <?php
+ // Check to see if the header image has been removed
+ $header_image = get_header_image();
+ if ( ! empty( $header_image ) ) :
+ ?>
+
+ <?php endif; // end check for removed header image ?>
+
+
+
+ <nav id="access" role="navigation">
+ <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
+ <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
+ <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
+ <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
+ <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
+ </nav><!-- #access -->
+ </header><!-- #branding -->
+
+
+ <div id="main">
+<div class="adsenseHeader"><script type="text/javascript"><!--
+google_ad_client = "ca-pub-7220126959042532";
+/* meancouver Link Ad Header */
+google_ad_slot = "1723788729";
+google_ad_width = 728;
+google_ad_height = 15;
+//-->
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+<section id="center_box">
9 _header.php
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_header-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_header-normal');
+
+} ?>
23 _sidebar-iphone-single.php
@@ -0,0 +1,23 @@
+<aside id="sidebar_container">
+<section>
+<h3>Search</h3>
+ <form id="search_form" method="post" action="<?php echo $this->config->item('base_url')?>items/do_search">
+ <p><input type="text" name="query" class="text_input" value="<?php if (isset($query)): echo $query; endif;?>" /> <input type="submit" /></p>
+ </form>
+ </section>
+
+<section>
+<div id="explanation">
+ <p>Vancouver is a beautiful place to live in but finding a job on these mean streets can be tough. Meancouver is the Vancouver area's leading niche job aggregator for tech jobs.</p>
+ </div>
+ </section>
+<section>
+<h3>Popular Tags</h3>
+ <ul class="tag_list">
+ <?php foreach($popular_tags as $tag): ?>
+ <li><a href="<?php echo $this->config->item('base_url')?>items/tag/<?php echo $tag->slug?>"><?php echo $tag->name?></a></li>
+ <?php endforeach; ?>
+ </ul>
+</section>
+
+</aside>
23 _sidebar-iphone.php
@@ -0,0 +1,23 @@
+<aside id="sidebar_container">
+<section>
+<h3>Search</h3>
+ <form id="search_form" method="post" action="<?php echo $this->config->item('base_url')?>items/do_search">
+ <p><input type="text" name="query" class="text_input" value="<?php if (isset($query)): echo $query; endif;?>" /> <input type="submit" /></p>
+ </form>
+ </section>
+
+<section>
+<div id="explanation">
+ <p>Vancouver is a beautiful place to live in but finding a job on these mean streets can be tough. Meancouver is the Vancouver area's leading niche job aggregator for tech jobs.</p>
+ </div>
+ </section>
+<section>
+<h3>Popular Tags</h3>
+ <ul class="tag_list">
+ <?php foreach($popular_tags as $tag): ?>
+ <li><a href="<?php echo $this->config->item('base_url')?>items/tag/<?php echo $tag->slug?>"><?php echo $tag->name?></a></li>
+ <?php endforeach; ?>
+ </ul>
+</section>
+
+</aside>
44 _sidebar-normal-single.php
@@ -0,0 +1,44 @@
+<aside id="sidebar_container">
+<?php if (function_exists('smcf')) : ?>
+ <?php smcf(); ?>
+<?php endif; ?>
+ <div id="explanation">
+ <p>Vancouver is a beautiful place to live in but finding a job on these mean streets can be tough. Meancouver is the Vancouver area's leading niche job aggregator for tech jobs.</p>
+ </div>
+ <div class="adsenseSidebarFullResSingle">
+ <script type="text/javascript"><!--
+google_ad_client = "ca-pub-7220126959042532";
+/* MeancouverSingleAds */
+google_ad_slot = "4208333646";
+google_ad_width = 200;
+google_ad_height = 90;
+//-->
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+<script id="dlvr-widget" src="http://widgets.dlvr.it/f7d80b870a39695bcab247791162f182_3AnY0X6DBf5bXcaWpvbl0uaTeCcVLg0wsoyGVnIBlKdhNKEOnIXG9htIC3F_2BeuSoALeVyAiBpiTZv6cA_3D_3D" type="text/javascript"></script>
+<script type="text/javascript">
+ DlvrWidget({
+ width:300,
+ items:5,
+ widgetbg:'ffffff',
+ widgetborder:'CCCCCC',
+ titlecolor:'CCCCCC',
+ containerbg:'F9F9F9',
+ containerborder:'CCCCCC',
+ linkcolor:'86D8D5',
+ textcolor:'45240D'
+ }).render();
+</script>
+ <!-- h3>Popular Tags</h3>
+ <ul class="tag_list">
+ <?php foreach($popular_tags as $tag): ?>
+ <li><a href="<?php echo $this->config->item('base_url')?>items/tag/<?php echo $tag->slug?>"><?php echo $tag->name?></a></li>
+ <?php endforeach; ?>
+ </ul-->
+
+
+</aside>
+</section>
65 _sidebar-normal.php
@@ -0,0 +1,65 @@
+<aside id="sidebar_container">
+<?php if (function_exists('smcf')) : ?>
+ <?php smcf(); ?>
+<?php endif; ?>
+
+ <div id="explanation">
+ <p>Vancouver is a beautiful place to live in but finding a job on these mean streets can be tough. Meancouver is the Vancouver area's leading niche job aggregator for tech jobs.</p>
+ </div>
+<div class="adsenseSidebarFullRes">
+ <script type="text/javascript"><!--
+google_ad_client = "ca-pub-7220126959042532";
+/* Meancouver 300x250, created 11/13/08 */
+google_ad_slot = "0303022851";
+google_ad_width = 300;
+google_ad_height = 250;
+//-->
+</script>
+<script type="text/javascript"
+src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+<script id="dlvr-widget" src="http://widgets.dlvr.it/f7d80b870a39695bcab247791162f182_3AnY0X6DBf5bXcaWpvbl0uaTeCcVLg0wsoyGVnIBlKdhNKEOnIXG9htIC3F_2BeuSoALeVyAiBpiTZv6cA_3D_3D" type="text/javascript"></script>
+<script type="text/javascript">
+ DlvrWidget({
+ width:300,
+ items:5,
+ widgetbg:'ffffff',
+ widgetborder:'CCCCCC',
+ titlecolor:'CCCCCC',
+ containerbg:'F9F9F9',
+ containerborder:'CCCCCC',
+ linkcolor:'86D8D5',
+ textcolor:'45240D'
+ }).render();
+</script>
+ <!--h3>Popular Tags</h3>
+ <ul class="tag_list">
+ <?php foreach($popular_tags as $tag): ?>
+ <li><a href="<?php echo $this->config->item('base_url')?>items/tag/<?php echo $tag->slug?>"><?php echo $tag->name?></a></li>
+ <?php endforeach; ?>
+ </ul-->
+
+ <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
+
+ <!-- aside id="archives" class="widget">
+ <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
+ <ul>
+ <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
+ </ul>
+ </aside>
+
+ <aside id="meta" class="widget">
+ <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
+ <ul>
+ <?php wp_register(); ?>
+ <li><?php wp_loginout(); ?></li>
+ <?php wp_meta(); ?>
+ </ul>
+ </aside -->
+
+ <?php endif; // end sidebar widget area ?>
+
+
+</aside>
+</section>
9 _sidebar-single.php
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-iphone-single');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-normal-single');
+
+} ?>
9 _sidebar.php
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-normal');
+
+} ?>
9 _sidebar.php.bak
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_sidebar-normal');
+
+} ?>
18 contact.php
@@ -0,0 +1,18 @@
+<article id="main_container">
+<div id="single_container">
+
+ <script type="text/javascript">var host = (("https:" == document.location.protocol) ? "https://secure." : "http://");document.write(unescape("%3Cscript src='" + host + "wufoo.com/scripts/embed/form.js' type='text/javascript'%3E%3C/script%3E"));</script>
+
+<script type="text/javascript">
+var z7x3k7 = new WufooForm();
+z7x3k7.initialize({
+'userName':'meancouver',
+'formHash':'z7x3k7',
+'autoResize':true,
+'height':'340',
+'header':'show'});
+z7x3k7.display();
+</script>
+ </div>
+</article>
+<?php $this->load->view('themes/'.$this->config->item('theme').'/_sidebar')?>
10 css/ie.css
@@ -0,0 +1,10 @@
+@charset "UTF-8";
+/* CSS Document */
+
+/*
+ Name: IE6 & 7 fixes
+ Description: CSS Fixes for IE7 and IE6
+ Coder: Enrique Ramirez
+ Coder URI: http://enrique-ramirez.com
+*/
+#banner h1 {line-height: 1;}
13 css/ie6.css
@@ -0,0 +1,13 @@
+@charset "UTF-8";
+/* CSS Document */
+
+/*
+ Name: IE6 fixes
+ Description: CSS Fixes for IE6 and below.
+ Coder: Enrique Ramirez
+ Coder URI: http://enrique-ramirez.com
+*/
+#banner h1 {line-height: 1;}
+#featured figure {display: inline;}
+#posts-list footer {left: -190px;}
+#extras .social {width: 165px;}
567 css/main.css
@@ -0,0 +1,567 @@
+@charset "UTF-8";
+/* CSS Document */
+
+/*
+ Name: Smashing HTML5
+ Date: July 2009
+ Description: Sample layout for HTML5 and CSS3 goodness.
+ Version: 1.0
+ Author: Enrique Ramírez
+ Autor URI: http://enrique-ramirez.com
+*/
+
+/* Imports */
+@import url("reset.css");
+@import url("global-forms.css");
+
+/* Typography
+---------------------------------------------------------------------------------------- */
+
+body {
+ font-family: "Lucida Grande", Arial, Helvetica, sans serif;
+ font-size: 12px;
+ color: #000;
+ line-height: 1.7em;
+}
+
+ul#activity_list li.item.yongfook_com div.item_inner {
+ font-family: Georgia, 'Times New Roman', Times, serif;
+}
+
+h1 {
+ font-size: 28px;
+}
+
+a {
+ color: #3399ff;
+}
+
+a:hover {
+ color: #003399;
+}
+
+div#aboutme h3 {
+ color: #333;
+}
+
+ul#navigation li.current a, ul#navigation li a:hover {
+ color: black;
+}
+
+ul#activity_list li.item p.date, p.original_link a, p.activity_image_text span, p.site_info a, div#aboutme, p.blog_cite, div#single_header p, ul#navigation li a, p.osf_recipe {
+ color: #999;
+}
+
+p.vimeo_title a, li.item.digg_com div.item_inner a, ul#activity_list li.item.youtube_com div.item_inner a, p.osf_recipe a, header h1 a {
+ color: white;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner {
+ color: #fd8585;
+}
+
+li.item.digg_com div.item_inner {
+ color: #7698b7;
+}
+
+div#explanation {
+ color: #999933;
+}
+
+div#explanation strong {
+ color: #666633;
+}
+
+input.text_input {
+ font-size: 13px;
+}
+
+h2, div#explanation, div#single_container, ul#navigation li, p.osf_recipe {
+ font-size: 15px;
+}
+
+p#pagination, ul#activity_list li.item.yongfook_com div.item_inner, div#single_container h3, div#single_container h4, div#single_container h5 {
+ font-size: 20px;
+}
+
+div#single_container h2 {
+ font-size: 25px;
+}
+
+ul#activity_list li.item p.date {
+ font-size: 9px;
+}
+
+p.blog_cite, p.site_info, p.date, p.original_link, p.activity_image_text, div#aboutme, footer, ul#activity_list li.item.youtube_com div.item_inner, p.osf_recipe span {
+ font-size: 10px;
+}
+
+p.activity_image_text a, p.twitter_tweet, p.vimeo_title, li.item.digg_com div.item_inner a, div#explanation strong, p#pagination, ul#activity_list li.item.youtube_com div.item_inner a, ul#activity_list li.item.yongfook_com div.item_inner, div#single_header, div#single_container strong, ul.item_tag_list, ul#navigation li, p.osf_recipe, div.instructions strong {
+ font-weight: bold;
+}
+
+ul#activity_list li.item.yongfook_com div.item_inner p.blog_cite {
+ font-weight: normal;
+}
+
+p.original_link a, p.activity_image_text a, p.site_info a, p.vimeo_title a, li.item.digg_com div.item_inner a, ul#activity_list li.item.youtube_com div.item_inner a, ul#navigation li a, p.osf_recipe a, header h1 a {
+ text-decoration: none;
+}
+
+p.original_link a:hover, p.activity_image_text a:hover, li.item.digg_com div.item_inner a:hover {
+ text-decoration: underline;
+}
+
+p.vimeo_title, ul#activity_list li.item.youtube_com div.item_inner, ul#activity_list li.item.yongfook_com div.item_inner {
+ text-align: center;
+}
+
+div#single_header h2 {
+ line-height: 1.1em;
+}
+
+p.activity_image_text {
+ line-height: 1.5em;
+}
+
+p.twitter_tweet, div#aboutme, ul#activity_list li.item.youtube_com div.item_inner {
+ line-height: 1.6em;
+}
+
+
+/* Positioning
+---------------------------------------------------------------------------------------- */
+
+body {
+ background: white;
+}
+
+div.center_box {
+ width: 980px;
+ margin: 0 auto;
+ position: relative;
+}
+
+section.center_box {
+ width: 980px;
+ margin: 0 auto;
+ position: relative;
+}
+
+header {
+ background: #99ccff;
+ width:100%
+ }
+
+header div.center_box {
+ height: 150px;
+}
+
+header h1 {
+ position: absolute;
+ top: 50px;
+ left: 0;
+}
+
+header h1 a {
+ border: 1px solid #b8dbfe;
+ border-style: none none solid none;
+}
+
+header h1 a:hover {
+ border: 1px solid white;
+ border-style: none none solid none;
+}
+
+ul#navigation {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+}
+
+ul#navigation li {
+ float: left;
+ margin-right: 1px;
+}
+
+ul#navigation li a {
+ float: left;
+ padding: 8px 15px;
+ background: white url(images/blogback.jpg) bottom left no-repeat;
+}
+
+ul#navigation li.current a {
+ background: white;
+}
+
+div#main_container {
+ margin: 15px 0 0 0;
+ width: 663px;
+ float: left;
+}
+
+aside#sidebar_container {
+ display: inline;
+ width: 300px;
+ float: left;
+ margin: 15px 0 0 15px;
+}
+
+p.site_info {
+ padding: 3px 3px 3px 22px;
+}
+
+ul#activity_list {
+ float: left;
+}
+
+ul#activity_list li.item {
+ width: 211px;
+ margin: 0 15px 15px 0;
+ float: left;
+ overflow: hidden;
+}
+
+div.item_inner {
+ border: 1px solid #CCC;
+ height: 250px;
+ overflow: hidden;
+ position: relative;
+}
+
+ul#activity_list li.item.last {
+ margin-right: 0;
+}
+
+li.item img, div#single_container img {
+ display: block;
+}
+
+ul.item_tag_list li {
+ display: inline;
+}
+
+div.clear {
+ clear: both;
+}
+
+p#breadcrumb, p#pagination {
+ margin-bottom: 15px;
+ padding: 3px;
+ border: 1px solid #CCC;
+ border-style: dotted none;
+}
+
+p#pagination {
+ padding: 10px 0;
+}
+
+aside#sidebar_container h3 {
+ border: 1px solid #CCC;
+ border-style: none none solid none;
+ margin: 10px 0 5px 0;
+}
+
+aside#sidebar_container div#aboutme_blurb h3 {
+ margin-top: 0;
+ border: none;
+}
+
+ul.tag_list li {
+ display: inline;
+ margin: 0 5px 0 0;
+}
+
+div#comments_container {
+ border: 1px solid #EEE;
+ border-style: solid none none none;
+ padding: 10px 0;
+ margin-top: 20px;
+}
+
+div.ad_container img {
+ display: block;
+}
+
+div.ad_container.bottom {
+ margin: 15px 0;
+}
+
+form#search_form {
+ margin: 8px 0 0 0;
+}
+
+form#mailing_list {
+ margin-top: 15px;
+ background: white url(images/mailinglist.gif) 0 0 no-repeat;
+ border: 1px solid #CCC;
+}
+
+form#mailing_list p {
+ padding: 70px 10px 10px 10px;
+}
+
+input.text_input {
+ background: #FFFFCC;
+ width: 180px;
+}
+
+div#explanation {
+ background: #FFFFCC;
+ padding: 10px;
+ margin: 15px 0;
+}
+
+div#aboutme_blurb {
+ width: 180px;
+ border: 1px solid #EEE;
+ border-style: none solid none none;
+ padding: 0 15px 0 0;
+ float: left;
+ margin-right: 15px;
+}
+
+div#aboutme ul {
+ list-style-type: disc;
+}
+
+div#aboutme ul li {
+ padding-bottom: 5px;
+}
+
+div#aboutme h3, div#aboutme ul, div#aboutme p {
+ margin-left: 20px;
+}
+
+div#aboutme h3 {
+ margin-bottom: 5px;
+}
+
+p.sidebar_small_banner img {
+ display: block;
+ margin-bottom: 10px;
+}
+
+footer {
+ clear: both;
+}
+
+footer {
+ background: #EEE;
+ padding: 8px;
+ position: relative;
+}
+
+a#credits {
+ position: absolute;
+ right: 10px;
+ top: 6px;
+}
+
+div#single_header {
+ padding: 10px 0 15px 0;
+}
+
+div#single_content p, div#single_container object, div#single_container img, div#single_container ul, div#single_container ol {
+ margin-bottom: 15px;
+}
+
+div#single_container img {
+ border: 1px solid #CCC;
+ padding: 5px;
+}
+
+div#single_container h3, div#single_container h4, div#single_container h5 {
+ border: 1px solid #CCC;
+ border-style: none none dotted none;
+ padding-bottom: 8px;
+ margin-bottom: 8px;
+ margin-top: 25px;
+}
+
+p#original_permalink span {
+ background: #FFFFCC;
+}
+
+div.activity_list_inner img {
+ float: left;
+ margin-right: 10px;
+}
+
+li.activity_item {
+ clear: both;
+}
+
+/* Per-Domain Styling
+---------------------------------------------------------------------------------------- */
+
+li.item.flickr_com {
+ background: white url(images/flickrlogo.gif) center center no-repeat;
+}
+
+li.item.flickr_com p.site_info {
+ background: blue;
+}
+
+li.item.vimeo_com div.item_inner {
+ background: #80ceff url(images/vimeoback.jpg) bottom center no-repeat;
+}
+
+li.item.vimeo_com div.item_inner object {
+ border: 1px solid white;
+ border-style: none none solid none;
+}
+
+ul#activity_list li.item.twitter_com div.item_inner {
+ background: url(images/twitterback.jpg);
+}
+
+p.vimeo_title a {
+ border: 1px solid #a7dafa;
+ border-style: none none solid none;
+}
+
+p.vimeo_title a:hover {
+ border: 1px solid white;
+ border-style: none none solid none;
+}
+
+p.twitter_user {
+ margin: 10px 0 0 10px;
+ padding-bottom: 10px;
+ background: transparent url(images/twittertail.gif) bottom 60px no-repeat;
+}
+
+p.twitter_user img {
+ display: block;
+ border: 1px solid #999;
+}
+
+p.twitter_tweet {
+ background: white;
+ padding: 8px 10px;
+ overflow: hidden;
+ background: white url(images/twitterdither.gif) bottom left repeat-x;
+ border: 1px solid #DDD;
+ border-style: none none solid none;
+ margin: 0 10px;
+}
+
+ul#activity_list li.item.digg_com div.item_inner {
+ background: #1b5790 url(images/diggback.gif) bottom right no-repeat;
+}
+
+li.item.digg_com div.item_inner a {
+ border: 1px solid #7698b7;
+ border-style: none none dotted none;
+ display: block;
+ padding-bottom: 5px;
+ margin-bottom: 5px;
+}
+
+div.inner_container {
+ padding: 8px 10px;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner {
+ background: #FE3333 url(images/youtubeback.gif) bottom left repeat-x;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner object {
+ border: 1px solid white;
+ border-style: none none solid none;
+ margin-bottom: 7px;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner p {
+ padding: 0 10px;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner a {
+ border: 1px solid #f07777;
+ border-style: none none solid none;
+}
+
+ul#activity_list li.item.youtube_com div.item_inner a:hover {
+ border: 1px solid white;
+ border-style: none none solid none;
+}
+
+ul#activity_list li.item.yongfook_com div.item_inner {
+ background: white url(images/blogback.jpg) bottom left no-repeat;
+}
+
+p.blog_title, p.blog_cite {
+ margin: 15px 0 20px 0;
+}
+
+ul#activity_list li.item.yongfook_com div.item_inner img {
+ display: inline;
+}
+
+li.item.opensourcefood_com img {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ z-index: 0;
+}
+
+div.osf_fold a {
+ height: 250px;
+ width: 211px;
+ background: transparent url(images/osfback.png) bottom right no-repeat;
+ z-index: 1000;
+ position: absolute;
+}
+
+p.osf_recipe {
+ position: absolute;
+ z-index: 1001;
+ top: 10px;
+ left: 10px;
+ width: 190px;
+}
+
+p.osf_recipe a {
+ border: 1px solid #333;
+ border-style: none none solid none;
+}
+
+p.osf_recipe a:hover {
+ border: 1px solid white;
+ border-style: none none solid none;
+}
+
+p.osf_recipe span {
+ margin-top: 3px;
+ display: block;
+ width: 180px;
+}
+
+a.activity_image {
+ display: block;
+ height: 250px;
+}
+
+p.activity_image_text {
+ position: absolute;
+ top: 0;
+ padding: 3px 5px;
+ background: black;
+}
+
+div.instructions code {
+ background: #FFFFCC;
+}
+
+
+/* IE Fixes (lulz)
+---------------------------------------------------------------------------------------- */
+
+body {
+ word-wrap: break-word;
+}
+
+
+/* 3rd Party
+---------------------------------------------------------------------------------------- */
16 error_log
@@ -0,0 +1,16 @@
+[20-Oct-2011 11:11:24] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_footer-iphone.php on line 3
+[20-Oct-2011 11:11:56] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-single.php on line 7
+[20-Oct-2011 11:11:58] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/items.php on line 1
+[20-Oct-2011 11:12:29] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/single.php on line 7
+[20-Oct-2011 11:12:40] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_header.php on line 7
+[20-Oct-2011 11:19:19] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/rss_feed.php on line 3
+[20-Oct-2011 11:19:42] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-iphone-single.php on line 4
+[20-Oct-2011 11:20:02] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/single-normal.php on line 5
+[20-Oct-2011 11:23:57] PHP Fatal error: Call to undefined function get_sidebar() in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_footer-normal.php on line 22
+[20-Oct-2011 11:29:31] PHP Fatal error: Call to undefined function language_attributes() in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_header-normal.php on line 13
+[20-Oct-2011 11:34:12] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-iphone.php on line 4
+[20-Oct-2011 11:34:23] PHP Warning: Invalid argument supplied for foreach() in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-normal-single.php on line 37
+[20-Oct-2011 11:35:04] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar.php on line 7
+[20-Oct-2011 11:35:59] PHP Warning: Invalid argument supplied for foreach() in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-normal.php on line 38
+[20-Oct-2011 11:35:59] PHP Fatal error: Call to undefined function dynamic_sidebar() in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/_sidebar-normal.php on line 43
+[20-Oct-2011 11:36:39] PHP Fatal error: Using $this when not in object context in /home/rothwell/public_html/meancouver/tech-jobs/system/application/views/themes/meancouverHTML5/contact.php on line 18
119 global-forms.css
@@ -0,0 +1,119 @@
+/*
+ Name: Global Form Styles
+ Description: Default styling for forms.
+ Message classes borrowed from
+ http://www.blueprintcss.org/
+ Coder: Enrique Ramirez
+ Coder URI: http://enrique-ramirez.com
+*/
+
+fieldset {
+ background: #f9f9f9;
+ margin: 1.5em;
+ padding: 2em;
+
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+}
+legend {font-size: 1.25em; margin-bottom: 0 !important; margin-bottom: 1.429em; padding: 0 .5em;}
+label {font-size: 1.1em; height: 25px; line-height: 25px;}
+
+ /* Input Types */
+ input[type='text'],
+ input[type='email'],
+ input[type='url'],
+ textarea {
+ background: #fff;
+ border: 1px solid #eee;
+ color: #999;
+ font-family: inherit;
+ font-size: inherit;
+ padding: 2px;
+ }
+ input[type='text']:hover,
+ input[type='email']:hover,
+ input[type='url']:hover,
+ textarea:hover {
+ background: #FFFBEF;
+ border-color: #ff0;
+ cursor: text;
+ }
+ input[type='text']:focus,
+ input[type='email']:focus,
+ input[type='url']:focus,
+ textarea:focus {
+ background: #ffC;
+ border-color: #ff1;
+ color: #0d0d0d;
+ }
+
+ input[type='checkbox'], input[type='radio'] {
+ display: block;
+ margin-top: 4px;
+ }
+
+ input[type='submit'] {
+ background: #C74350;
+ border: 0;
+ border-radius: 5px;
+ color: #fff;
+ cursor: pointer;
+ font-family: inherit;
+ font-size: inherit;
+ padding: .3em 2em;
+ text-shadow: 1px 1px 1px #000;
+ }
+
+ input:required, textarea:required {outline: 1px solid #C74350;}
+
+ /* Textarea */
+ textarea {width: 99%; margin-bottom: 7px;}
+
+ /* Alignments */
+ div.left {margin-left: 1em;}
+ div.right {margin-right: 1em;}
+
+ .labels-left label, div.left label {
+ clear: left;
+ float: left;
+ margin-right: .5em;
+ text-align: right;
+ }
+ .labels-left input, div.left input, .labels-left select, div.left select {float: left;}
+
+ .labels-right label, div.right label {
+ float: left;
+ margin-left: .5em;
+ text-align: right;
+ }
+ .labels-right input, div.right input, .labels-right select, div.right select {clear: left; float: left;}
+
+ .labels-top label, div.top label {display: block;}
+ .labels-top input, div.top input {margin-bottom: 0;}
+
+ /* Columns */
+ .columns-2 div.column1, .columns-2 div.column2 {float: left; width: 48%;}
+ .columns-2 input.text {width: 150px;}
+
+ .columns-3 div.column1, .columns-3 div.column2, .columns-3 div.column3 {float: left; width: 33%;}
+ .columns-3 input.text {width: 120px;}
+
+ .columns-2 div.left, .columns-2 div.right, .columns-2 div.top {width: 32%;}
+ .columns-3 div.left, .columns-3 div.right, .columns-3 div.top {width: 29%;}
+
+/* Messages classes */
+.req {color: #C74350;}
+.error,.notice, .success {
+ padding: .2em;
+ margin-bottom: 1em;
+ border: 2px solid #ddd;
+}
+
+.error {background: #FBE3E4; border-color: #FBC2C4; color: #8a1f11;}
+.notice {background: #FFF6BF; border-color: #FFD324; color: #514721;}
+.success {background: #E6EFC2; border-color: #C6D880; color: #264409;}
+
+.error a {color: #8a1f11;}
+.notice a {color: #514721;}
+.success a {color: #264409;}
9 header.php.bak
@@ -0,0 +1,9 @@
+<?php if (stristr($_SERVER['HTTP_USER_AGENT'], "iPhone")){
+
+$this->load->view('themes/'.$this->config->item('theme').'/_header-iphone');
+
+}else{
+
+$this->load->view('themes/'.$this->config->item('theme').'/_header-normal');
+
+} ?>
2 home.php
@@ -0,0 +1,2 @@
+<?php $this->load->view('themes/'.$this->config->item('theme').'/_activity_feed')?>
+<?php $this->load->view('themes/'.$this->config->item('theme').'/_sidebar')?>
BIN images/ad.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/blogback.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/bokeh.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/credits.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/diggback.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/headerBG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/innerBG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/me_twitter.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/meancouver-footer-iphone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/meancouverFooter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/meancouverFullBg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/meancouverTitle-iphone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/meancouverTitle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/osfback.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/twitterback.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/twitterdither.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/twittertail.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/vimeoback.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN images/youtubeback.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/h/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/h/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/l/apple-touch-icon-precomposed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/l/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/l/splash.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN img/m/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,716 iphone.css
1,716 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
2 items.php
@@ -0,0 +1,2 @@
+<?php $this->load->view('themes/'.$this->config->item('theme').'/_activity_feed')?>
+<?php $this->load->view('themes/'.$this->config->item('theme').'/_sidebar')?>
86 js/config.js
@@ -0,0 +1,86 @@
+function Config(dataIslandId){var me=this;var fileName;var req;var id=dataIslandId;var multispaceRe=/\s{2,}/g;var crRe=/\n/g;var values=new Array();var xml=null;var funcArray=new Array();me.getXML=function(){return xml;}
+function content(tag,removeMultispaces){var r="";if(tag&&tag.firstChild&&tag.firstChild.nodeValue){r=tag.firstChild.nodeValue;}
+if(removeMultispaces){r=r.replace(multispaceRe,' ');}
+return r;}
+function getArrayValues(tag){var childNodes=DOMHelpers.getAllChildElements(tag);var returnValue=new Array();for(var i=0;i<childNodes.length;i++){var childNode=childNodes[i]
+returnValue[childNode.nodeName]=XMLHelpers.nodeToObject(childNode)}
+return returnValue;}
+function cloneObject(obj){for(i in obj){this[i]=what[obj];}}
+me.getValue=function(s,defaultValue){if(values){var theValue=values[s];if(theValue!=null){return theValue}
+else{return defaultValue}}
+else
+if(defaultValue){return defaultValue;}
+else{return null;}}
+me.getNormalizedValue=function(s,defaultValue){var crRe=new RegExp("\n","g");var r=me.getValue(s,defaultValue);if(typeof(r)=='string'){return r.replace(crRe,' ');}
+else{return r;}}
+me.getScriptedValue=function(s,macros,defaultValue){var r=me.getNormalizedValue(s,defaultValue);switch(typeof(r)){case"string":return resolveMacrosInString(r,macros);break;case"object":var arr=me.getValue(s,defaultValue);var cloneArr=new Array();for(var i in arr){var obj=arr[i];var cloneObj=new Object();for(var property in obj){if(typeof(obj[property])=='string'){cloneObj[property]=resolveMacrosInString(obj[property],macros);}}
+cloneArr[i]=cloneObj;}
+return cloneArr;break;default:return null;}}
+function resolveMacrosInString(string,macros){for(i in macros){var value=macros[i]
+if(!value){value="";}
+var reString='@'+i+'@';var re=new RegExp(reString,'g');string=string.replace(re,value)}
+return string;}
+me.getScriptedValueByPriority=function(newMacro,oldMacro,macros,defaultValue){var newMacroValue=me.getScriptedValue(newMacro,macros,defaultValue);if(newMacroValue){return newMacroValue;}
+else{return me.getScriptedValue(oldMacro,macros,defaultValue);}}
+me.getIntegerValue=function(s,defaultValue){return parseInt(me.getValue(s,defaultValue));}
+function setValue(name,valueToSet){values[name]=valueToSet;}
+me.init=function(){if(EventHelpers.hasPageLoadHappened(arguments))
+return;var configComment=document.getElementById(id);if(!configComment){return;}
+var data=StringHelpers.uncommentHTML(configComment.innerHTML).trim();if(data.indexOf('xml=')==0){fileName=data.split('=')[1];req=XMLHelpers.getXMLHttpRequest(fileName,getOuterConfigRequestHandler,'GET','',false)
+getOuterConfigRequestHandler();}
+else{if(!configComment){alert('no config island. Exiting.');return;}