Changeset 9233
- Timestamp:
- 08/11/08 18:11:47 (5 months ago)
- Files:
-
- branches/0.8/jaws/html/gadgets/Quotes/Actions.php (modified) (1 diff)
- branches/0.8/jaws/html/gadgets/Quotes/HTML.php (modified) (3 diffs)
- branches/0.8/jaws/html/gadgets/Quotes/Map.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/0.8/jaws/html/gadgets/Quotes/Actions.php
r8067 r9233 18 18 $actions['Admin'] = array('AdminAction'); 19 19 $actions['QuoteGroups'] = array('AdminAction'); 20 21 /* Standalone actions */ 22 $actions['QuotesByGroup'] = array('StandaloneAction'); branches/0.8/jaws/html/gadgets/Quotes/HTML.php
r8783 r9233 45 45 } 46 46 47 /** 48 * Displays quotes by group 49 * 50 * @access public 51 * @return template content 52 */ 47 53 function ViewGroupQuotes() 48 54 { … … 51 57 $layoutGadget = $GLOBALS['app']->LoadGadget('Quotes', 'LayoutHTML'); 52 58 return $layoutGadget->Display($gid); 59 } 60 61 /** 62 * Displays quotes by group in standalone mode 63 * 64 * @access public 65 * @return template content 66 */ 67 function QuotesByGroup() 68 { 69 $xss = $GLOBALS['app']->loadClass('XSS', 'Jaws_XSS'); 70 header($xss->filter($_SERVER['SERVER_PROTOCOL'])." 200 OK"); 71 return $this->ViewGroupQuotes(); 53 72 } 54 73 … … 85 104 return $tpl->Get(); 86 105 } 106 87 107 } branches/0.8/jaws/html/gadgets/Quotes/Map.php
r8067 r9233 12 12 $GLOBALS['app']->Map->Connect('Quotes', 'ViewQuote', 'quote/{id}'); 13 13 $GLOBALS['app']->Map->Connect('Quotes', 'ViewGroupQuotes', 'quotes/{id}'); 14 $GLOBALS['app']->Map->Connect('Quotes', 'QuotesByGroup', 'quotes/group/{id}');
