Changeset 1606 for branches/multiuser/admin
- Timestamp:
- 10/16/06 08:11:03 (2 years ago)
- Location:
- branches/multiuser/admin
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/multiuser/admin/channels.php
r1604 r1606 61 61 62 62 echo "<p style=\"font-size:small\">" . __('Subscription bookmarklet [<a href="http://www.squarefree.com/bookmarklets/">?</a>]:') . " <a class=\"bookmarklet\" href=\"$bookmarklet\">".__('Subscribe in Gregarius!')."</a></p>\n"; 63 // feed handler - similar to bookmarklet, but with %s 64 $feedhandler_url = "javascript:navigator.registerContentHandler(\'application/vnd.mozilla.maybe.feed\',\'$b_url%s\',\'Gregarius\');"; 65 echo "<script type=\"text/javascript\">\n" 66 ."//<!--\n" 67 ."if (navigator && typeof(navigator.registerContentHandler) == 'function'){\n" 68 ."\tdocument.write('<p style=\"font-size:small\">" 69 . __('Register as Feed Handler [<a href="http://www.bengoodger.com/software/mb/feeds/feed-handling.html">?</a>]:') 70 . " <a class=\"bookmarklet\" href=\"$feedhandler_url\">" 71 .__('Register Gregarius!')."</a></p>');\n" 72 ."}\n" 73 ."// -->\n" 74 ."</script>\n"; 63 75 64 76 // feeds … … 162 174 .((getConfig('rss.output.showfavicons') && $icon != "")? 163 175 "<img src=\"$icon\" class=\"favicon\" alt=\"\" width=\"16\" height=\"16\" />":"") 164 ."<label for=\"scb_$id\" >".($dead ? "<strike>" : "").$title.($dead ? "</strike>" : "")."</label>"176 ."<label for=\"scb_$id\"".($dead ? ' style="text-decoration:line-through">' : ">").$title."</label>" 165 177 ."</td>\n" 166 178 ."\t<td class=\"cntr\">".preg_replace('/ /',' ',$parentLabel)."</td>\n" -
branches/multiuser/admin/index.php
r1604 r1606 270 270 ); 271 271 while (false !== ($entry = $d->read())) { 272 if (preg_match('#^[a-z]{2}_ [A-Z]{2}$#',$entry)) {272 if (preg_match('#^[a-z]{2}_?([A-Z]{2})?$#',$entry)) { 273 273 $ret[$entry]=getLanguageInfo($entry); 274 274 } -
branches/multiuser/admin/items.php
r1604 r1606 52 52 . "<p><label for=\"prune_include_sticky\">".__('Delete Sticky items too: ')."</label>\n" 53 53 . "<input type=\"checkbox\" id=\"prune_include_sticky\" name=\"prune_include_sticky\" value=\"1\"/></p>\n" 54 . "<p><label for=\"prune_include_unread\">".__('Delete Unread items too: ')."</label>\n" 55 . "<input type=\"checkbox\" id=\"prune_include_unread\" name=\"prune_include_unread\" value=\"1\"/></p>\n" 54 56 . "<p><label for=\"prune_exclude_tags\">".__('Do not delete items tagged... ')."</label>\n" 55 57 . "<input type=\"text\" id=\"prune_exclude_tags\" name=\"prune_exclude_tags\" value=\"\"/></p>\n" … … 112 114 if (!array_key_exists('prune_include_sticky', $_REQUEST) 113 115 || $_REQUEST['prune_include_sticky'] != '1') { 114 115 116 $sql .= " and not(unread & " .RSS_MODE_STICKY_STATE .") "; 116 117 } 117 118 118 if (array_key_exists('prune_exclude_tags', $_REQUEST) 119 && trim($_REQUEST['prune_exclude_tags'])) { 119 120 if (!array_key_exists('prune_include_unread', $_REQUEST) 121 || $_REQUEST['prune_include_unread'] != '1') { 122 $sql .= " and not(unread & " .RSS_MODE_UNREAD_STATE .") "; 123 } 124 125 if (array_key_exists('prune_exclude_tags', $_REQUEST) && trim($_REQUEST['prune_exclude_tags'])) { 120 126 121 127 if ( trim($_REQUEST['prune_exclude_tags']) == '*') {
