Changeset 1668
- Timestamp:
- 01/08/07 13:02:08 (21 months ago)
- Location:
- trunk/gregarius
- Files:
-
- 8 modified
-
cls/categories.php (modified) (1 diff)
-
cls/channels.php (modified) (2 diffs)
-
cls/items.php (modified) (4 diffs)
-
cls/rss.php (modified) (2 diffs)
-
cls/taglist.php (modified) (2 diffs)
-
plugins/dblclicktoread.php (modified) (1 diff)
-
robots.txt (modified) (1 diff)
-
util.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/categories.php
r1644 r1668 44 44 function render() { 45 45 $GLOBALS['rss']->currentFeedsFolder = $this; 46 eval($GLOBALS['rss'] ->getCachedTemplateFile("catfolder.php"));46 include($GLOBALS['rss'] ->getTemplateFile("catfolder.php")); 47 47 } 48 48 } -
trunk/gregarius/cls/channels.php
r1655 r1668 110 110 function render() { 111 111 $GLOBALS['rss']->currentFeedsFeed = $this; 112 eval($GLOBALS['rss'] ->getCachedTemplateFile("feedsfeed.php"));112 include($GLOBALS['rss'] ->getTemplateFile("feedsfeed.php")); 113 113 } 114 114 … … 300 300 function render() { 301 301 _pf('FeedList->render() ...'); 302 eval($GLOBALS['rss'] ->getCachedTemplateFile("feeds.php"));302 include($GLOBALS['rss'] ->getTemplateFile("feeds.php")); 303 303 _pf('done'); 304 304 } -
trunk/gregarius/cls/items.php
r1651 r1668 107 107 function render() { 108 108 $this-> rss -> currentItem = $this; 109 eval($this-> rss -> getCachedTemplateFile("item.php"));109 include($this-> rss -> getTemplateFile("item.php")); 110 110 } 111 111 } … … 208 208 //echo $GLOBALS['rss']->renderOptions; 209 209 $this -> setCollapseState($this-> rss ->renderOptions); 210 eval($this-> rss ->getCachedTemplateFile("feed.php"));210 include($this-> rss ->getTemplateFile("feed.php")); 211 211 } 212 212 } … … 475 475 rss_plugin_hook('rss.plugins.items.beforeitems', null); 476 476 477 eval($this-> rss ->getCachedTemplateFile($this -> _template));477 include($this-> rss ->getTemplateFile($this -> _template)); 478 478 479 479 _pf("done: ItemList -> render()"); … … 507 507 } 508 508 function render() { 509 eval($this-> _parent -> rss ->getCachedTemplateFile('pagination.php'));509 include($this-> _parent -> rss -> getTemplateFile('pagination.php')); 510 510 } 511 511 } -
trunk/gregarius/cls/rss.php
r1354 r1668 116 116 } 117 117 118 119 /** 120 * //DEPRECATED! 121 118 122 function getCachedTemplateFile($file) { 119 123 static $templateCache = array(); … … 127 131 128 132 return $modifiedFileContent; 129 130 } 133 } 134 135 */ 131 136 132 137 function renderWithTemplate($template,$mainDivId="items") { -
trunk/gregarius/cls/taglist.php
r1561 r1668 51 51 function render() { 52 52 $GLOBALS['rss']->currentFeedsFeed = $this; 53 eval($GLOBALS['rss'] ->getCachedTemplateFile("feedsfeed.php"));53 include($GLOBALS['rss'] ->getTemplateFile("feedsfeed.php")); 54 54 } 55 55 } … … 67 67 function TagList() { 68 68 $this -> populate(); 69 $this -> columnTitle = __('Tags');69 $this -> columnTitle = __('Tags'); 70 70 $GLOBALS['rss']-> feedList = $this; 71 71 } -
trunk/gregarius/plugins/dblclicktoread.php
r1493 r1668 70 70 71 71 var isIE=document.all?true:false; 72 //alert(isIE); 72 73 function __dblclickToRead_js_getId(o) { 73 74 if (html = o.innerHTML) { -
trunk/gregarius/robots.txt
r484 r1668 1 1 User-agent: * 2 Disallow: update.php3 4 User-agent: BecomeBot5 2 Disallow: / -
trunk/gregarius/util.php
r1666 r1668 1064 1064 */ 1065 1065 //these two eval_ functions taken from the comments at http://us3.php.net/eval 1066 1066 /* 1067 1067 function eval_mixed_helper($arr) { 1068 1068 return ("echo stripslashes(\"".addslashes($arr[1])."\");"); … … 1075 1075 return $string; 1076 1076 } 1077 1077 */ 1078 1078 1079 1079 function rss_svn_rev($prefix='.') {
