Changeset 1796
- Timestamp:
- 09/16/09 23:26:17 (11 months ago)
- Location:
- branches/postgresql
- Files:
-
- 1 added
- 51 modified
- 3 copied
-
. (modified) (1 prop)
-
.htaccess (modified) (2 diffs, 1 prop)
-
COPYING (modified) (1 prop)
-
INSTALL (modified) (1 prop)
-
admin (modified) (1 prop)
-
admin/channels.php (modified) (2 diffs)
-
ajax.php (modified) (3 diffs, 1 prop)
-
api.php (modified) (1 prop)
-
author.php (modified) (1 prop)
-
cls (modified) (1 prop)
-
cls/search.php (modified) (2 diffs)
-
cls/update.php (modified) (13 diffs)
-
cls/wrappers/feeds.php (modified) (1 diff)
-
cls/wrappers/item.php (modified) (1 diff)
-
cls/wrappers/searchform.php (modified) (1 diff)
-
constants.php (modified) (1 diff, 1 prop)
-
core.php (modified) (1 prop)
-
css (modified) (1 prop)
-
db.php (modified) (1 prop)
-
dbinit.php.sample (modified) (1 prop)
-
dbstruct.pgsql.sql (modified) (1 prop)
-
dist (modified) (1 prop)
-
extlib (modified) (1 prop)
-
extlib/kses.php (modified) (7 diffs)
-
feed.php (modified) (4 diffs, 1 prop)
-
index.php (modified) (2 diffs, 1 prop)
-
init.php (modified) (1 prop)
-
install.php (modified) (1 prop)
-
opml.php (modified) (1 prop)
-
plugins (modified) (1 prop)
-
plugins.php (modified) (1 prop)
-
plugins/roundedcorners.php (modified) (3 diffs)
-
plugins/rssview.php (modified) (1 diff)
-
plugins/stickyflag/stickyflag.php (modified) (2 diffs)
-
robots.txt (modified) (1 prop)
-
schema.php (modified) (1 prop)
-
search.php (modified) (1 prop)
-
sql_updates (modified) (1 prop)
-
sql_updates/pgsql_svn1755.sql (added)
-
state.php (modified) (1 prop)
-
tags.php (modified) (3 diffs, 1 prop)
-
themes (modified) (1 prop)
-
themes.php (modified) (1 diff, 1 prop)
-
themes/default/atom/overrides.php (copied) (copied from trunk/gregarius/themes/default/atom/overrides.php)
-
themes/default/rss/overrides.php (copied) (copied from trunk/gregarius/themes/default/rss/overrides.php)
-
themes/default/web/css/look.css (modified) (1 diff)
-
themes/default/web/feedsfeed.php (modified) (1 diff)
-
themes/default/web/index.php (modified) (1 diff)
-
themes/default/web/media/arrow_refresh.png (copied) (copied from trunk/gregarius/themes/default/web/media/arrow_refresh.png)
-
themes/default/web/searchform.php (modified) (1 diff)
-
themes/lilina/.themeinfo (modified) (1 diff)
-
themes/lilina/web/css/layout.css (modified) (1 diff)
-
themes/lilina/web/css/look.css (modified) (1 diff)
-
update.php (modified) (4 diffs, 1 prop)
-
util.php (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/postgresql
- Property svn:mergeinfo set to /trunk/gregarius:1773-1795*
-
branches/postgresql/.htaccess
- Property svn:mergeinfo set to /trunk/gregarius/.htaccess:1773-1795
r1696 r1796 1 2 1 # Disable MultiViews: we want the real thing 3 2 # http://httpd.apache.org/docs-2.0/mod/mod_negotiation.html#multiviews … … 8 7 <IfModule mod_rewrite.c> 9 8 RewriteEngine on 10 11 12 9 13 10 # If we have a file or a directory match then lets set the -
branches/postgresql/COPYING
- Property svn:mergeinfo set to /trunk/gregarius/COPYING:1773-1795
-
branches/postgresql/INSTALL
- Property svn:mergeinfo set to /trunk/gregarius/INSTALL:1773-1795
-
branches/postgresql/admin
- Property svn:mergeinfo set to /trunk/gregarius/admin:1773-1795
-
branches/postgresql/admin/channels.php
r1773 r1796 232 232 ."&".CST_ADMIN_VIEW."=". CST_ADMIN_DOMAIN_CHANNEL 233 233 ."&action=". CST_ADMIN_EDIT_ACTION. "&cid=$id\">" . __('edit') 234 ."</a>|<a href=\"".$_SERVER['PHP_SELF']. "?".CST_ADMIN_DOMAIN."=". CST_ADMIN_DOMAIN_CHANNEL 234 ."</a>"; 235 if(!getConfig('rss.config.restrictrefresh')) { 236 echo "|<a href=\"".getPath()."update.php?cid=$id\">" . __('update') . "</a>\n"; 237 } 238 echo "|<a href=\"".$_SERVER['PHP_SELF']. "?".CST_ADMIN_DOMAIN."=". CST_ADMIN_DOMAIN_CHANNEL 235 239 ."&".CST_ADMIN_VIEW."=". CST_ADMIN_DOMAIN_CHANNEL 236 240 ."&action=". CST_ADMIN_DELETE_ACTION ."&cid=$id\">" . __('delete') ."</a></td>\n" … … 561 565 // Parse into and OPML object 562 566 $opml=getOpml($url); 563 567 564 568 if (sizeof($opml) > 0) { 565 569 -
branches/postgresql/ajax.php
- Property svn:mergeinfo set to /trunk/gregarius/ajax.php:1773-1795
r1773 r1796 33 33 34 34 function __exp__setState($id,$state) { 35 $id = sanitize($id, RSS_SANITIZER_NUMERIC); 36 $state = sanitize($state, RSS_SANITIZER_NUMERIC); 35 37 if (isLoggedIn()) { 36 38 rss_query('update '.getTable('item') . " set unread=$state where id=$id"); … … 71 73 72 74 function __exp__getFeedContent($cid) { 73 75 $cid = sanitize($cid, RSS_SANITIZER_NUMERIC); 74 76 75 77 ob_start(); … … 91 93 92 94 function __exp__rateItem($iid, $rt) { 95 $iid = sanitize($iid, RSS_SANITIZER_NUMERIC); 96 $rt = sanitize($rt, RSS_SANITIZER_NUMERIC); 97 93 98 list($rrt) = rss_fetch_row(rss_query("select rating from " 94 99 .getTable('rating') . " where iid = $iid")); -
branches/postgresql/api.php
- Property svn:mergeinfo set to /trunk/gregarius/api.php:1773-1795
-
branches/postgresql/author.php
- Property svn:mergeinfo set to /trunk/gregarius/author.php:1773-1795
-
branches/postgresql/cls
- Property svn:mergeinfo set to /trunk/gregarius/cls:1773-1795
-
branches/postgresql/cls/search.php
r1773 r1796 44 44 define ('QUERY_MATCH_EXACT','exact'); 45 45 define ('QUERY_MATCH_WITHIN', 'within'); 46 47 define ('QUERY_MATCH_STATE', 'state'); 48 define ('QUERY_MATCH_UNREAD', 'unread'); 49 define ('QUERY_MATCH_READ', 'read'); 50 define ('QUERY_MATCH_BOTH', 'both'); 46 51 47 52 // This is needed for some constants … … 214 219 } 215 220 $qWhere .= " and (i.unread & ".RSS_MODE_DELETED_STATE.")=0 "; 221 222 if(array_key_exists(QUERY_MATCH_STATE, $_REQUEST) && QUERY_MATCH_READ == $_REQUEST[QUERY_MATCH_STATE]) { 223 // Show only read items. 224 $qWhere .= " and (i.unread & " . RSS_MODE_UNREAD_STATE . ")=0 "; 225 } 226 else if(array_key_exists(QUERY_MATCH_STATE, $_REQUEST) && QUERY_MATCH_UNREAD == $_REQUEST[QUERY_MATCH_STATE]) { 227 // Show only unread items. 228 $qWhere .= " and not (i.unread & " . RSS_MODE_UNREAD_STATE . ")=0 "; 229 } 216 230 217 231 if ($this->orderBy == QUERY_ORDER_BY_DATE) { -
branches/postgresql/cls/update.php
r1634 r1796 32 32 define('NO_NEW_ITEMS', '-'); 33 33 define ('UPDATING','...'); 34 define ('DEFAULT_CID', -1); 34 35 35 36 … … 64 65 var $chans = array (); 65 66 66 function Update($doPopulate = true, $updatePrivateAlso = false ) {67 function Update($doPopulate = true, $updatePrivateAlso = false, $cid = DEFAULT_CID) { 67 68 rss_plugin_hook('rss.plugins.updates.before', null); 68 69 if($doPopulate) { 69 $this->populate($updatePrivateAlso );70 $this->populate($updatePrivateAlso, $cid); 70 71 } 71 72 … … 75 76 } 76 77 77 function populate($updatePrivateAlso = false) { 78 function populate($updatePrivateAlso = false, $cid) { 79 $cid = (int)$cid; 78 80 $sql = "select c.id, c.url, c.title from ".getTable("channels") . " c " 79 81 . " inner join " . getTable('folders') . " f on f.id = c.parent " … … 83 85 $sql .= " and (mode & ".RSS_MODE_PRIVATE_STATE.")=0 "; 84 86 } 85 86 if (getConfig('rss.config.absoluteordering')) { 87 $sql .= " order by f.position asc, c.position asc"; 88 } else { 89 $sql .= " order by f.name, c.title asc"; 90 } 87 88 if(DEFAULT_CID != $cid) { 89 $sql .= " and c.id = " . $cid . " "; 90 } else { 91 if (getConfig('rss.config.absoluteordering')) { 92 $sql .= " order by f.position asc, c.position asc"; 93 } else { 94 $sql .= " order by f.name, c.title asc"; 95 } 96 } 91 97 92 98 $res = rss_query($sql); … … 159 165 } 160 166 161 162 167 /** 163 168 * HTTP Server Push update … … 165 170 class HTTPServerPushUpdate extends Update { 166 171 167 function HTTPServerPushUpdate( ) {168 parent::Update( );172 function HTTPServerPushUpdate($cid) { 173 parent::Update($doPopulate = true, $updatePrivateAlso = false, $cid); 169 174 170 175 $GLOBALS['rss']->header->appendHeader("Connection: close"); … … 228 233 } 229 234 230 231 235 /** 232 236 * AJAXUpdate updates feeds via AJAX. It's a bit more server-intesive … … 235 239 class AJAXUpdate extends Update { 236 240 237 function AJAXUpdate( ) {238 parent::Update( );241 function AJAXUpdate($cid) { 242 parent::Update($doPopulate = true, $updatePrivateAlso = false, $cid); 239 243 $GLOBALS['rss']->header->extraHTML .= "<script type=\"text/javascript\" src=\"" 240 244 .getPath()."update.php?js\"></script>\n"; … … 275 279 } 276 280 277 278 279 281 class CommandLineUpdate extends Update { 280 function CommandLineUpdate( ) {281 parent::Update($doPopulate = true, $updatePrivateAlso = true );282 function CommandLineUpdate($cid) { 283 parent::Update($doPopulate = true, $updatePrivateAlso = true, $cid); 282 284 } 283 285 … … 309 311 310 312 class MobileUpdate extends Update { 311 function MobileUpdate() { 312 parent::Update($doPopulate = true); 313 } 313 function MobileUpdate($cid) { 314 parent::Update($doPopulate = true, $updatePrivateAlso = false, $cid); 315 } 316 314 317 function render() { 315 318 $newIds = array(); … … 334 337 } 335 338 } 336 337 339 338 340 /** … … 372 374 } 373 375 374 375 376 376 /** 377 377 * SilentUpdate updates the feeds silently for those lame … … 380 380 */ 381 381 class SilentUpdate extends Update { 382 function SilentUpdate( ) {383 parent::Update($doPopulate = false );382 function SilentUpdate($cid) { 383 parent::Update($doPopulate = false, $updatePrivateAlso = false, $cid); 384 384 } 385 385 -
branches/postgresql/cls/wrappers/feeds.php
r1603 r1796 112 112 } 113 113 114 function rss_feeds_feed_id() { 115 return ($GLOBALS['rss']->currentFeedsFeed-> id); 116 } 117 114 118 function rss_feeds_feed_title_entities() { 115 119 return htmlentities($GLOBALS['rss']->currentFeedsFeed-> title); -
branches/postgresql/cls/wrappers/item.php
r1773 r1796 215 215 $ea = preg_replace('/[^a-zA-Z0-9]/','_',$a); 216 216 if (getConfig('rss.output.usemodrewrite')) { 217 $a = "<a href=\"".getPath() ."author/$ea \">$a</a>";217 $a = "<a href=\"".getPath() ."author/$ea/\">$a</a>"; 218 218 } else { 219 219 $a = "<a href=\"".getPath() ."author.php?author=$ea\">$a</a>"; -
branches/postgresql/cls/wrappers/searchform.php
r1773 r1796 69 69 return ((array_key_exists(QUERY_MATCH_TYPE, $_REQUEST) && 70 70 $_REQUEST[QUERY_MATCH_TYPE] == QUERY_MATCH_WITHIN)?" checked=\"checked\"":""); 71 } 72 73 function rss_search_state_read_checked() { 74 return ((array_key_exists(QUERY_MATCH_STATE, $_REQUEST) && 75 $_REQUEST[QUERY_MATCH_STATE] == QUERY_MATCH_READ) ?" checked=\"checked\"":""); 76 } 77 78 function rss_search_state_unread_checked() { 79 return ((array_key_exists(QUERY_MATCH_STATE, $_REQUEST) && 80 $_REQUEST[QUERY_MATCH_STATE] == QUERY_MATCH_UNREAD) ?" checked=\"checked\"":""); 81 } 82 83 function rss_search_state_both_checked() { 84 return ((array_key_exists(QUERY_MATCH_STATE, $_REQUEST) && 85 $_REQUEST[QUERY_MATCH_STATE] == QUERY_MATCH_BOTH) || 86 !array_key_exists(QUERY_MATCH_STATE, $_REQUEST) ?" checked=\"checked\"":""); 71 87 } 72 88 -
branches/postgresql/constants.php
- Property svn:mergeinfo set to /trunk/gregarius/constants.php:1773-1795
r1773 r1796 31 31 32 32 // Application version 33 define ('_VERSION_', "0. 5.5");33 define ('_VERSION_', "0.6.0"); 34 34 define ('MINUTE',60); 35 35 -
branches/postgresql/core.php
- Property svn:mergeinfo set to /trunk/gregarius/core.php:1773-1795
-
branches/postgresql/css
- Property svn:mergeinfo set to /trunk/gregarius/css:1773-1795
-
branches/postgresql/db.php
- Property svn:mergeinfo set to /trunk/gregarius/db.php:1773-1795
-
branches/postgresql/dbinit.php.sample
- Property svn:mergeinfo set to /trunk/gregarius/dbinit.php.sample:1773-1795
-
branches/postgresql/dbstruct.pgsql.sql
- Property svn:mergeinfo set to /trunk/gregarius/dbstruct.pgsql.sql:1773-1795
-
branches/postgresql/dist
- Property svn:mergeinfo set to /trunk/gregarius/dist:1773-1795
-
branches/postgresql/extlib
- Property svn:mergeinfo set to /trunk/gregarius/extlib:1773-1795
-
branches/postgresql/extlib/kses.php
r1491 r1796 132 132 133 133 $xhtml_slash = ''; 134 if (preg_match('%\s */\s*$%', $attr))134 if (preg_match('%\s/\s*$%', $attr)) 135 135 $xhtml_slash = ' /'; 136 136 … … 208 208 case 0: # attribute name, href for instance 209 209 210 if (preg_match('/^([-a-zA-Z]+) \/?/', $attr, $match))210 if (preg_match('/^([-a-zA-Z]+)/', $attr, $match)) 211 211 { 212 212 $attrname = $match[1]; 213 213 $working = $mode = 1; 214 $attr = preg_replace('/^[-a-zA-Z]+ \/?/', '', $attr);214 $attr = preg_replace('/^[-a-zA-Z]+/', '', $attr); 215 215 } 216 216 … … 241 241 case 2: # attribute value, a URL after href= for instance 242 242 243 if (preg_match('/^"([^"]*)"(\s+|$ |\/)?/', $attr, $match))243 if (preg_match('/^"([^"]*)"(\s+|$)/', $attr, $match)) 244 244 # "value" 245 245 { … … 252 252 'vless' => 'n'); 253 253 $working = 1; $mode = 0; 254 $attr = preg_replace('/^"[^"]*"(\s+|$ |\/)?/', '', $attr);254 $attr = preg_replace('/^"[^"]*"(\s+|$)/', '', $attr); 255 255 break; 256 256 } 257 257 258 if (preg_match("/^'([^']*)'(\s+|$ |\/)?/", $attr, $match))258 if (preg_match("/^'([^']*)'(\s+|$)/", $attr, $match)) 259 259 # 'value' 260 260 { … … 267 267 'vless' => 'n'); 268 268 $working = 1; $mode = 0; 269 $attr = preg_replace("/^'[^']*'(\s+|$) ?/", '', $attr);269 $attr = preg_replace("/^'[^']*'(\s+|$)/", '', $attr); 270 270 break; 271 271 } 272 272 273 if (preg_match("%^([^\s\"']+)(\s+|$ |\/)%", $attr, $match))273 if (preg_match("%^([^\s\"']+)(\s+|$)%", $attr, $match)) 274 274 # value 275 275 { … … 384 384 { 385 385 $string = kses_no_null($string); 386 $string = preg_replace('/ \xad+/', '', $string); # deals with Opera "feature"386 $string = preg_replace('/([^\xc3-\xcf])\xad+/', '\\1', $string); # deals with Opera "feature" -- moodle utf8 fix 387 387 $string2 = $string.'a'; 388 388 … … 470 470 ############################################################################### 471 471 { 472 return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'. 473 '(:|:|&#[Xx]3[Aa];)\s*/e', 474 'kses_bad_protocol_once2("\\1", $allowed_protocols)', 475 $string); 472 $string2 = preg_split('/:|:|:/i', $string, 2); 473 if(isset($string2[1]) && !preg_match('%/\?%',$string2[0])) 474 { 475 $string = kses_bad_protocol_once2($string2[0],$allowed_protocols).trim($string2[1]); 476 } 477 return $string; 476 478 } # function kses_bad_protocol_once 477 479 -
branches/postgresql/feed.php
- Property svn:mergeinfo set to /trunk/gregarius/feed.php:1773-1795
r1773 r1796 34 34 define ('ACT_NAV_SUCC_POSTFIX',' →'); 35 35 36 37 38 39 36 // Show unread items on the front page? 40 37 // default to the config value, user can override this via a cookie … … 261 258 $iid = $cid = null; 262 259 } 263 264 265 266 260 267 261 // If we have no channel-id something went terribly wrong. … … 728 722 729 723 function doItems($cids,$fid,$vfid,$title,$iid,$y,$m,$d,$nv,$show_what,$show_private) { 730 731 724 $do_show=$show_what; 732 725 … … 762 755 } 763 756 764 $items = new PaginatedItemList(); 757 $items = new PaginatedItemList(); 758 765 759 $severalFeeds = (($fid != null) || ($vfid != null)); 766 760 -
branches/postgresql/index.php
- Property svn:mergeinfo set to /trunk/gregarius/index.php:1773-1795
r1773 r1796 128 128 _pf('populate unread items'); 129 129 $unreadItems = new PaginatedItemList(); 130 130 131 $numItems = getConfig('rss.output.frontpage.numitems'); 131 132 … … 237 238 } 238 239 239 240 240 ?> -
branches/postgresql/init.php
- Property svn:mergeinfo set to /trunk/gregarius/init.php:1773-1795
-
branches/postgresql/install.php
- Property svn:mergeinfo set to /trunk/gregarius/install.php:1773-1795
-
branches/postgresql/opml.php
- Property svn:mergeinfo set to /trunk/gregarius/opml.php:1773-1795
-
branches/postgresql/plugins
- Property svn:mergeinfo set to /trunk/gregarius/plugins:1773-1795
-
branches/postgresql/plugins.php
- Property svn:mergeinfo set to /trunk/gregarius/plugins.php:1773-1795
-
branches/postgresql/plugins/roundedcorners.php
r1181 r1796 30 30 /// Author: Marco Bonetti 31 31 /// Description: Rounded corners in some GUI elements. Enabling this plugin breaks the CSS validation. 32 /// Version: 0. 332 /// Version: 0.4 33 33 34 34 /** … … 37 37 * 0.3 Hack for a Gecko bug which did not render rounded corners properly 38 38 * on large divs. https://bugzilla.mozilla.org/show_bug.cgi?id=252241 - Sameer 39 * 40 * 0.4 Be evil on WebKit browsers, too 39 41 */ 40 42 … … 48 50 $css = " 49 51 /* bad bad bad */ 50 .frame,.item,h3.collapsed,table,div.content img, #sidemenu li,52 .frame,.item,h3.collapsed,table,div.content img, 51 53 ul.navlist li,a.bookmarklet, fieldset, div#pbholder, div.ief, 52 div.ief p a, #loginfo, input[type=\"submit\"] { -moz-border-radius: 5px } 54 div.ief p a, #loginfo, input[type=\"submit\"] { -moz-border-radius: 5px; -webkit-border-radius:5px } 55 #sidemenu li { 56 -moz-border-radius-top-left:5px; 57 -moz-border-radius-top-right:5px; 58 -webkit-border-top-left-radius:5px; 59 -webkit-border-top-right-radius:5px; 60 } 53 61 "; 54 62 -
branches/postgresql/plugins/rssview.php
r1773 r1796 45 45 46 46 if (strstr($_SERVER['REQUEST_URI'],"?") !== FALSE) { 47 $url .= "&media=$type ";47 $url .= "&media=$type&"; 48 48 } else { 49 49 $url .= "?media=$type"; -
branches/postgresql/plugins/stickyflag/stickyflag.php
r1603 r1796 147 147 } 148 148 149 if($options & STICKYFLAG_ENABLE_STICKY_MENU ) {149 if($options & STICKYFLAG_ENABLE_STICKY_MENU || (isMobileDevice() && $options & STICKYFLAG_ENABLE_STICKY_SHORTCUT)) { 150 150 if (true == $usemodrewrite) { 151 151 $url = getPath() . "state/" . RSS_STATE_STICKY . ""; … … 157 157 } 158 158 159 if($options & STICKYFLAG_ENABLE_FLAG_MENU ) {159 if($options & STICKYFLAG_ENABLE_FLAG_MENU || (isMobileDevice() && $options & STICKYFLAG_ENABLE_FLAG_SHORTCUT)) { 160 160 if (true == $usemodrewrite) { 161 161 $url = getPath() . "state/" . RSS_STATE_FLAG . ""; -
branches/postgresql/robots.txt
- Property svn:mergeinfo set to /trunk/gregarius/robots.txt:1773-1795
-
branches/postgresql/schema.php
- Property svn:mergeinfo set to /trunk/gregarius/schema.php:1773-1795
-
branches/postgresql/search.php
- Property svn:mergeinfo set to /trunk/gregarius/search.php:1773-1795
-
branches/postgresql/sql_updates
- Property svn:mergeinfo set to /trunk/gregarius/sql_updates:1773-1795
-
branches/postgresql/state.php
- Property svn:mergeinfo set to /trunk/gregarius/state.php:1773-1795
-
branches/postgresql/tags.php
- Property svn:mergeinfo set to /trunk/gregarius/tags.php:1773-1795
r1773 r1796 106 106 $sqlWhere = " i.id in (".implode(",", $ids).") "; 107 107 // include deprecated feeds while showing tags. 108 $taggedItems->populate($sqlWhere, "", 0, -1, ITEM_SORT_HINT_MIXED, true);108 $taggedItems->populate($sqlWhere, "", 0, 1, ITEM_SORT_HINT_MIXED, true); 109 109 110 110 $rtags = relatedTags($tarr); … … 168 168 if ($gotsome) { 169 169 170 $title = $taggedItems-> itemCount." ". ($taggedItems->itemCount> 1 ? __('items') : __('item'))." "171 . ($taggedItems-> itemCount > 1 || $taggedItems->itemCount== 0 ? __('tagged') : __('tagged'))170 $title = $taggedItems->numItems." ". ($taggedItems->numItems > 1 ? __('items') : __('item'))." " 171 . ($taggedItems->numItems > 1 || $taggedItems->numItems == 0 ? __('tagged') : __('tagged')) 172 172 .""." \"".$hrTag."\""; 173 173 … … 184 184 } else { 185 185 $GLOBALS['rss']->renderWithTemplate('index.php', 'items'); 186 187 // echo "<p style=\"height: 10em; text-align:center\">"; 188 // printf(__('Oops! No items tagged «%s» were found.'), $hrTag); 189 // echo "</p>"; 190 } 191 //echo "</div>\n"; 192 //rss_footer(); 186 } 187 193 188 } 194 189 -
branches/postgresql/themes
- Property svn:mergeinfo set to /trunk/gregarius/themes:1773-1795
-
branches/postgresql/themes.php
- Property svn:mergeinfo set to /trunk/gregarius/themes.php:1773-1795
r1696 r1796 166 166 (strpos($ua, 'SonyEricsson') !== FALSE) 167 167 || (strpos($ua, 'Nokia') !== FALSE) 168 || (strpos($ua, 'Tablet') !== FALSE) 168 169 || (strpos($ua, 'MIDP') !== FALSE) 169 170 || (strpos($ua_lwr,'mobile') !== FALSE) -
branches/postgresql/themes/default/web/css/look.css
r1773 r1796 292 292 border:1px solid #ddd; 293 293 } 294 fieldset p { text-align: left;} 295 294 296 fieldset.prune p{ text-align:left } 295 297 .cntr { text-align:center !important} -
branches/postgresql/themes/default/web/feedsfeed.php
r1393 r1796 3 3 <img src="<?php echo $icon; ?>" class="favicon" alt="" /> 4 4 <?php } ?> 5 <a class="<?php echo rss_feeds_feed_class(); ?>" title="<?php echo rss_feeds_feed_description_entities(); ?>" href="<?php echo rss_feeds_feed_link(); ?>"><?php echo rss_feeds_feed_title(); ?></a>5 <a class="<?php echo rss_feeds_feed_class(); ?>" title="<?php echo rss_feeds_feed_description_entities(); ?>" href="<?php echo rss_feeds_feed_link(); ?>"><?php echo rss_feeds_feed_title(); ?></a> 6 6 <?php if (($rdLbl = rss_feeds_feed_read_label()) != "") { ?> 7 7 <?php echo $rdLbl; ?> -
branches/postgresql/themes/default/web/index.php
r1603 r1796 16 16 17 17 <div id="ctnr"> 18 19 18 <ul id="sidemenu"> 20 19 <?php rss_main_sidemenu("li") ?> -
branches/postgresql/themes/default/web/searchform.php
r1773 r1796 21 21 <label for="qry_match_within"><?php echo __('Search within words') ?></label> 22 22 <input type="checkbox" id="qry_match_within" name="<?php echo QUERY_MATCH_TYPE ?>" value="<?php echo QUERY_MATCH_WITHIN ?>" <?php echo rss_search_within() ?> /> 23 </p> 24 25 <p> 26 <input type="radio" id="qry_match_unread" name="<?php echo QUERY_MATCH_STATE ?>" value="<?php echo QUERY_MATCH_UNREAD ?>" <?php echo rss_search_state_unread_checked() ?> /> 27 <label for="qry_match_unread"><?php echo __('Unread Only') ?></label> 28 29 <input type="radio" id="qry_match_read" name="<?php echo QUERY_MATCH_STATE ?>" value="<?php echo QUERY_MATCH_READ ?>" <?php echo rss_search_state_read_checked() ?> /> 30 <label for="qry_match_read"><?php echo __('Read Only') ?></label> 31 32 <input type="radio" id="qry_match_both" name="<?php echo QUERY_MATCH_STATE ?>" value="<?php echo QUERY_MATCH_BOTH ?>" <?php echo rss_search_state_both_checked() ?> /> 33 <label for="qry_match_both"><?php echo __('Unread & Read') ?></label> 23 34 </p> 24 35 -
branches/postgresql/themes/lilina/.themeinfo
r1393 r1796 1 1 name: Lilina theme 0.5 2 2 official: true 3 description: This theme is an imitation of <a href="http://vrypan.net/linkblog">Lilina</a>3 description: This theme is an imitation of the <a href="http://getlilina.org/">Lilina</a> aggregator, by Ryan McCue. 4 4 author: Sameer D'Costa 5 5 url: http://dcostanet.net/wordpress/2005/11/12/lilina-theme-for-gregarius/ -
branches/postgresql/themes/lilina/web/css/layout.css
r1393 r1796 1 /** 2 * Sections of this stylesheet are Copyright (c) Ryan McCue, http://getlilina.org/ 3 * Released under GPL 4 */ 1 5 html, body, td, p, th, a { padding: 0; } 2 6 -
branches/postgresql/themes/lilina/web/css/look.css
r1432 r1796 1 /** 2 * Sections of this stylesheet are Copyright (c) Ryan McCue, http://getlilina.org/ 3 * Released under GPL 4 */ 5 1 6 body { 2 7 text-align: left; -
branches/postgresql/update.php
- Property svn:mergeinfo set to /trunk/gregarius/update.php:1773-1795
r1603 r1796 28 28 define ('RSS_NO_CACHE',true); 29 29 require_once('init.php'); 30 30 31 $cline = isset($argv) && !$_REQUEST && isset($argc) && $argc; 31 32 if (!$cline && getConfig('rss.config.restrictrefresh')) { … … 41 42 sajax_init(); 42 43 43 44 44 if (array_key_exists('js',$_GET)) { 45 45 header('Content-Type: text/javascript'); … … 52 52 } 53 53 54 55 54 $browser = new Browser(); 56 55 $silent = array_key_exists('silent', $_GET) || ($cline && in_array('--silent',$argv)); 57 56 $newsonly = array_key_exists('newsonly', $_GET) || ($cline && in_array('--newsonly', $argv)); 58 57 $mobile = array_key_exists('mobile',$_GET); 58 59 $cid = DEFAULT_CID; 60 if(array_key_exists('cid', $_GET)) { 61 $cid = $_GET['cid']; 62 } else if ($cline && in_array('--update-only', $argv)) { 63 foreach($argv as $k => $v) { 64 if ('--update-only' == $v) { 65 $cid = $argv[$k+1]; 66 break; 67 } 68 } 69 } 59 70 60 71 $GLOBALS['rss'] -> header = new Header( … … 68 79 $GLOBALS['rss'] -> feedList = new FeedList(false); 69 80 70 71 81 // Instantiate a different Update object, depending on the client 72 82 if ($cline && !$silent && !$newsonly) { 73 $update = new CommandLineUpdate( );83 $update = new CommandLineUpdate($cid); 74 84 75 85 } elseif ($cline && !$silent && $newsonly) { 76 $update = new CommandLineUpdateNews( );86 $update = new CommandLineUpdateNews($cid); 77 87 78 88 } elseif (getConfig('rss.config.serverpush') && !$silent && $browser->supportsServerPush()) { 79 $update = new HTTPServerPushUpdate( );89 $update = new HTTPServerPushUpdate($cid); 80 90 81 91 } elseif(!$silent && $browser->supportsAJAX()) { 82 $update = new AJAXUpdate( );92 $update = new AJAXUpdate($cid); 83 93 84 94 } elseif($mobile) { 85 $update = new MobileUpdate( );95 $update = new MobileUpdate($cid); 86 96 87 97 } else { 88 98 error_reporting(0); 89 $update = new SilentUpdate( );99 $update = new SilentUpdate($cid); 90 100 } 91 101 -
branches/postgresql/util.php
- Property svn:mergeinfo set to /trunk/gregarius/util.php:1773-1795
