Permalink
Browse files

Framework agnosticism

  • Loading branch information...
1 parent 1ad932e commit 48216526c807f48c8410b88b4e577206c9c600e2 @rauchg committed Oct 25, 2009
Showing with 1,272 additions and 1,039 deletions.
  1. +4 −5 apps/frontend/config/view.yml
  2. +2 −4 apps/frontend/modules/feed/actions/actions.class.php
  3. +0 −2 apps/frontend/modules/pages/templates/guidelinesSuccess.php
  4. +1 −1 apps/frontend/modules/plugin/templates/_bit.php
  5. +4 −47 apps/frontend/templates/layout.php
  6. +1 −1 cache/.gitignore
  7. +1 −1 log/.gitignore
  8. +0 −334 web/css/main.css
  9. +4 −8 web/css/{forge.css → pluginskit.css}
  10. BIN web/images/book.png
  11. BIN web/images/gradient.png
  12. BIN web/images/icon.png
  13. BIN web/images/mediatemple.png
  14. BIN web/images/mootools.png
  15. BIN web/images/mucca.png
  16. BIN web/images/remooz/closebox.gif
  17. BIN web/images/remooz/remo_bg_e.png
  18. BIN web/images/remooz/remo_bg_n.png
  19. BIN web/images/remooz/remo_bg_ne.png
  20. BIN web/images/remooz/remo_bg_nw.png
  21. BIN web/images/remooz/remo_bg_s.png
  22. BIN web/images/remooz/remo_bg_se.png
  23. BIN web/images/remooz/remo_bg_sw.png
  24. BIN web/images/remooz/remo_bg_w.png
  25. BIN web/images/remooz/spinner.gif
  26. BIN web/images/subtitle.png
  27. BIN web/images/{remooz → zoom}/closebox.png
  28. BIN web/images/zoom/spacer.gif
  29. BIN web/images/zoom/zoom-caption-fill.png
  30. BIN web/images/zoom/zoom-caption-l.png
  31. BIN web/images/zoom/zoom-caption-r.png
  32. BIN web/images/zoom/zoom-shadow1.png
  33. BIN web/images/zoom/zoom-shadow2.png
  34. BIN web/images/zoom/zoom-shadow3.png
  35. BIN web/images/zoom/zoom-shadow4.png
  36. BIN web/images/zoom/zoom-shadow5.png
  37. BIN web/images/zoom/zoom-shadow6.png
  38. BIN web/images/zoom/zoom-shadow7.png
  39. BIN web/images/zoom/zoom-shadow8.png
  40. BIN web/images/zoom/zoom-spin-1.png
  41. BIN web/images/zoom/zoom-spin-10.png
  42. BIN web/images/zoom/zoom-spin-11.png
  43. BIN web/images/zoom/zoom-spin-12.png
  44. BIN web/images/zoom/zoom-spin-2.png
  45. BIN web/images/zoom/zoom-spin-3.png
  46. BIN web/images/zoom/zoom-spin-4.png
  47. BIN web/images/zoom/zoom-spin-5.png
  48. BIN web/images/zoom/zoom-spin-6.png
  49. BIN web/images/zoom/zoom-spin-7.png
  50. BIN web/images/zoom/zoom-spin-8.png
  51. BIN web/images/zoom/zoom-spin-9.png
  52. +318 −0 web/js/fancyzoom.html.js
  53. +761 −0 web/js/fancyzoom.js
  54. +0 −636 web/js/forge.js
  55. +176 −0 web/js/pluginskit.js
@@ -3,15 +3,14 @@ default:
content-type: text/html
metas:
- title: MooTools Plugins
- description: Directory of MooTools plugins contributed by the community.
- keywords: mootools plugins, javascript plugins, mootools addons, mootools ui, mootools widgets, widgets, addons, plugins
+ title: PluginsKit
+ description: Plugins directory
language: en
robots: index, follow
- stylesheets: [forge.css]
+ stylesheets: [screen.css, print.css: {media: print}, pluginskit.css]
- javascripts: [mootools-1.2.2-core+more.js, lighter.js, forge.js]
+ javascripts: [mootools-1.2.2-core+more.js, lighter.js, pluginskit.js, fancyzoom.js, fancyzoom.html.js]
has_layout: on
layout: layout
@@ -14,11 +14,10 @@ class feedActions extends sfActions
private function getFeed($format = 'atom1'){
$feed = sfFeedPeer::newInstance($format);
- $feed->setTitle('MooTools Plugins - Latest');
+ $feed->setTitle('PluginsKit - Latest');
$feed->setLink('@homepage');
$feedImage = new sfFeedImage();
- $feedImage->setFavicon('http://www.mootools.net/assets/icons/icon.png');
$feedImage->setLink('@homepage');
$feed->setImage($feedImage);
@@ -33,8 +32,7 @@ public function executeRecent(sfWebRequest $request){
$c->setLimit(20);
$plugins = PluginPeer::doSelect($c);
- // FIXME: if $plugins is empty, sfFeed asXml fails miserably
- foreach ($plugins as $plugin)
+ foreach ((array) $plugins as $plugin)
{
$item = new sfFeedItem();
$item->setTitle($plugin->getTitle());
@@ -10,8 +10,6 @@
<li class="block">If there's text included from the script, make sure to include mechanisms for easy translation. One way is to integrate it with Lang.js from MooTools More.</li>
<li class="block">Think what events and callbacks might be useful for people who want to extend the default behavior, and include them.</li>
<li class="block">Separate into files. If you have come up with a class to do some essential functionality, and you bundle another class which extends it, make sure they're in separate files.</li>
- <li class="block">If you want to build a grade A+ plugin, stick to the <a href="http://wiki.github.com/mootools/mootools-core/syntax-and-coding-style-conventions">MooTools Coding Style conventions.</a></li>
-
</ol>
</div>
@@ -1,7 +1,7 @@
<?php use_helper('Text') ?>
<li>
<a href="<?php echo url_for('plugin', array('slug' => $plugin->getSlug())) ?>">
- <span class="name"><?php echo highlight_text($plugin->getTitle(), isset($search) ? $search : '') ?> <?php if ($plugin->isOfficial()) echo image_tag('/images/icon.png', 'alt=Official plugin title=Official plugin') ?></span>
+ <span class="name"><?php echo highlight_text($plugin->getTitle(), isset($search) ? $search : '') ?> <?php if ($plugin->isOfficial()) echo image_tag('/images/official.png', 'alt=Official plugin title=Official plugin') ?></span>
<span class="downloads" title="Downloads"><?php echo (int) $plugin->getDownloadsCount() ?></span>
<span class="project_thumb"><?php echo thumbnail_for($plugin) ?></span>
</a>
@@ -2,39 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-
- <meta name="author" content="Valerio Proietti, mad4milk" />
- <meta name="copyright" content="copyright 2006 www.mad4milk.net" />
- <meta name="description" content="mootools, a super lightweight web2.0 javascript framework" />
- <meta name="keywords" content="mootools,moo.fx,javascript effects,javascript framework,ajax framework,moo.ajax" />
<meta name="robots" content="all" />
-
- <!--
-
- ____ _ __ __ __ __
- ___ __ / __'\ _\'\ __ ___ __ /\_\/\ \ /\ \ / / web 2.0 beta
- /\ \_/ '\ /\ \Z\ \ / __ \ /__\ /\ \_/ '\\/_/\ \ \ \ \ \ /__
- \ \ __/\ \\ \ __ \ /\ \Z\ \ / \Z\\\ \ __/\ \ __\ \ \___\ \ _ '\
- \ \_\ \ \_\\ \_\ \ \\ \_____\/\____ \\ \_\ \ \_\/\ \\ \____\\ \_\ \_\
- \/_/ \/_/ \/_/\/_/ \/_____/\/___/\_\\/_/ \/_/\ \_\\/____/ \/_/\/_/
- \/_/ \/_/ be happy.
-
- -->
-
- <!-- Shortcut Icons -->
-
- <link href="/images/icon.png" rel="shortcut icon" type="image/x-icon" />
- <link href="/images/ipod-icon.png" rel="apple-touch-icon" />
-
- <!-- BluePrint -->
-
- <link href="/css/screen.css" rel="stylesheet" type="text/css" media="screen" />
- <link href="/css/print.css" rel="stylesheet" type="text/css" media="print" />
-
- <!-- StyleSheets -->
-
- <link href="/css/layout.css" rel="stylesheet" type="text/css" media="screen" />
- <link href="/css/main.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Section Specific -->
@@ -52,21 +20,10 @@
<div id="header">
<div class="container">
- <a href="http://mediatemple.net" id="mediatemple"><span>in partnership with mediatemple</span></a>
-
<div id="logo">
- <h1><a href="<?php echo url_for('@homepage') ?>"><span>MooTools</span></a></h1>
- <h2><span>a compact javascript framework</span></h2>
+ <h1><a href="<?php echo url_for('@homepage') ?>"><span>PluginsKit</span></a></h1>
+ <h2><span>a plugins repository</span></h2>
</div>
-
- <div id="navigation">
- <a href="/" class="first">Home</a>
- <a href="#">Download</a>
- <a href="#">Docs</a>
- <a href="#">Plugins</a>
- <a href="#">Blog</a>
- <a href="#">Demos</a>
- </div>
</div>
</div>
@@ -90,8 +47,8 @@
<div id="footer">
<div class="container">
- <p class="copy"><a href="http://mad4milk.net" id="mucca"></a></p>
- <p>copyright &copy;2006-2009 <a href="http://mad4milk.net">Valerio Proietti</a></p>
+ <hr />
+ <p>Powered by PluginsKit by <a href="http://devthought.com">Guillermo Rauch</a></p>
</div>
</div>
View
@@ -1 +1 @@
-*
+*
View
@@ -1 +1 @@
-*
+*
Oops, something went wrong.

0 comments on commit 4821652

Please sign in to comment.