[Phpslash-commit] CVS: phpslash-dev/include/modules/story backend.php,1.1,1.2
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2004-11-06 21:18:10
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16076/phpslash-dev/include/modules/story Modified Files: backend.php Log Message: Swedish Translation. Index: backend.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/backend.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** backend.php 4 Nov 2004 20:17:03 -0000 1.1 --- backend.php 6 Nov 2004 21:16:45 -0000 1.2 *************** *** 24,37 **** rss92 - RSS 0.92 rss1 - RSS 1.0 ! [rss2] - RSS 2.0 - default ! atom - Atom 0.3 ! // html - fancybox ! txt - simple text output of title and intro ! block - text delimited by %% ! js - javascript ! jsdata - javascript array ! mozilla - for adding to Netscape 6 My Sidebar ! opml - OPML (http://radio.userland.com) ! wml - WML - for WAP phones xhtmlb - XHTML Basic * d = description - this is the intro text. --- 24,37 ---- rss92 - RSS 0.92 rss1 - RSS 1.0 ! [rss2] - RSS 2.0 - default ! atom - Atom 0.3 ! // html - fancybox ! txt - simple text output of title and intro ! block - text delimited by %% ! js - javascript ! jsdata - javascript array ! mozilla - for adding to Netscape 6 My Sidebar ! opml - OPML (http://radio.userland.com) ! wml - WML - for WAP phones xhtmlb - XHTML Basic * d = description - this is the intro text. *************** *** 72,75 **** --- 72,78 ---- // What to build for output switch( $ary['view']) { + case 'Atom': + $viewtpl = 'backendAtom.tpl'; + break; case 'avantgo': $viewtpl = 'backendAV.tpl'; *************** *** 105,108 **** --- 108,117 ---- header("Content-type: text/xml"); break; + case 'rss1': + $viewtpl = 'backendRSS1.tpl'; + header("Content-type: text/xml"); + // RSS-1.0 needs a extra listing. + $link_ary = array(); + break; case 'txt': $viewtpl = 'backendTxt.tpl'; *************** *** 117,125 **** break; case 'rss': ! case 'rss1': default: ! $viewtpl = 'backendRSS1.tpl'; ! // RSS-1.0 needs a extra listing. ! $link_ary = array(); break; } --- 126,133 ---- break; case 'rss': ! case 'rss2': default: ! $viewtpl = 'backendRSS2.tpl'; ! header("Content-type: text/xml"); break; } |