Changeset 1606 for branches/multiuser
- Timestamp:
- 10/16/06 08:11:03 (4 years ago)
- Location:
- branches/multiuser
- Files:
-
- 61 added
- 10 removed
- 13 modified
-
admin/channels.php (modified) (2 diffs)
-
admin/index.php (modified) (1 diff)
-
admin/items.php (modified) (2 diffs)
-
author.php (modified) (1 diff)
-
cls/db/db.mysql.php (modified) (6 diffs)
-
cls/l10n.php (modified) (6 diffs)
-
cls/wrappers/item.php (modified) (1 diff)
-
intl/da (added)
-
intl/da/LC_MESSAGES (added)
-
intl/da/LC_MESSAGES/messages.mo (added)
-
intl/da/LC_MESSAGES/messages.po (added)
-
intl/da/langinfo.txt (added)
-
intl/de (added)
-
intl/de/LC_MESSAGES (added)
-
intl/de/LC_MESSAGES/messages.mo (added)
-
intl/de/LC_MESSAGES/messages.po (added)
-
intl/de/langinfo.txt (added)
-
intl/de_DE (deleted)
-
intl/dk_DK (deleted)
-
intl/en.php (modified) (1 diff)
-
intl/es (added)
-
intl/es/LC_MESSAGES (added)
-
intl/es/LC_MESSAGES/messages.mo (added)
-
intl/es/LC_MESSAGES/messages.po (added)
-
intl/es/langinfo.txt (added)
-
intl/es_ES (deleted)
-
intl/fr (added)
-
intl/fr/LC_MESSAGES (added)
-
intl/fr/LC_MESSAGES/messages.mo (added)
-
intl/fr/LC_MESSAGES/messages.po (added)
-
intl/fr/langinfo.txt (added)
-
intl/fr_FR (deleted)
-
intl/he (added)
-
intl/he/LC_MESSAGES (added)
-
intl/he/LC_MESSAGES/messages.mo (added)
-
intl/he/LC_MESSAGES/messages.po (added)
-
intl/he/langinfo.txt (added)
-
intl/he_IL (deleted)
-
intl/id (added)
-
intl/id/LC_MESSAGES (added)
-
intl/id/LC_MESSAGES/messages.mo (added)
-
intl/id/LC_MESSAGES/messages.po (added)
-
intl/id/langinfo.txt (added)
-
intl/it (added)
-
intl/it/LC_MESSAGES (added)
-
intl/it/LC_MESSAGES/messages.mo (added)
-
intl/it/LC_MESSAGES/messages.po (added)
-
intl/it/LC_MESSAGES/messages.po.orig (added)
-
intl/it/langinfo.txt (added)
-
intl/it_IT (deleted)
-
intl/ja (added)
-
intl/ja/LC_MESSAGES (added)
-
intl/ja/LC_MESSAGES/messages.mo (added)
-
intl/ja/LC_MESSAGES/messages.po (added)
-
intl/ja/langinfo.txt (added)
-
intl/ja_JP (deleted)
-
intl/messages.pot (modified) (6 diffs)
-
intl/pt (added)
-
intl/pt/LC_MESSAGES (added)
-
intl/pt/LC_MESSAGES/messages.mo (added)
-
intl/pt/LC_MESSAGES/messages.po (added)
-
intl/pt/langinfo.txt (added)
-
intl/pt_BR/LC_MESSAGES/messages.po (modified) (6 diffs)
-
intl/pt_PT (deleted)
-
intl/ru (added)
-
intl/ru/LC_MESSAGES (added)
-
intl/ru/LC_MESSAGES/messages.mo (added)
-
intl/ru/LC_MESSAGES/messages.po (added)
-
intl/ru/langinfo.txt (added)
-
intl/ru_RU (deleted)
-
intl/sv (added)
-
intl/sv/LC_MESSAGES (added)
-
intl/sv/LC_MESSAGES/messages.mo (added)
-
intl/sv/LC_MESSAGES/messages.po (added)
-
intl/sv/langinfo.txt (added)
-
intl/sv_SV (deleted)
-
intl/zh_CN (added)
-
intl/zh_CN/LC_MESSAGES (added)
-
intl/zh_CN/LC_MESSAGES/messages.mo (added)
-
intl/zh_CN/LC_MESSAGES/messages.po (added)
-
intl/zh_CN/langinfo.txt (added)
-
plugins/delicious.php (modified) (1 diff)
-
schema.php (modified) (1 diff)
-
util.php (modified) (2 diffs)
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']) == '*') { -
branches/multiuser/author.php
r1604 r1606 29 29 30 30 $a =trim(sanitize($_REQUEST['author'], RSS_SANITIZER_WORDS)); 31 31 32 list ($ra) = rss_fetch_row(rss_query( 32 33 "select distinct(author) from " .getTable('item') 33 ." where author like'$a'"34 ." where author = '$a'" 34 35 )); 35 36 -
branches/multiuser/cls/db/db.mysql.php
r1181 r1606 31 31 class MysqlDB extends DB { 32 32 33 var $resource; 34 33 35 function MysqlDB() { 34 36 parent::DB(); … … 41 43 42 44 function DBConnect($dbserver, $dbuname, $dbpass) { 43 if (!mysql_connect($dbserver, $dbuname, $dbpass)) { 45 $this -> resource = mysql_connect($dbserver, $dbuname, $dbpass); 46 47 if(!$this -> resource) { 44 48 die( "<h1>Error connecting to the database!</h1>\n" 45 49 ."<p>Have you edited dbinit.php and correctly defined " … … 49 53 50 54 function DBSelectDB($dbname) { 51 if (!mysql_select_db($dbname )) {55 if (!mysql_select_db($dbname, $this -> resource)) { 52 56 die( "<h1>Error selecting the database!</h1>\n" 53 57 ."<p>Does your database exist?" … … 60 64 61 65 function rss_query ($query, $dieOnError=true, $preventRecursion=false) { 62 $ret = mysql_query($query );66 $ret = mysql_query($query, $this -> resource); 63 67 64 68 if ($error = $this -> rss_sql_error()) { … … 101 105 102 106 function rss_sql_error() { 103 return mysql_errno( );107 return mysql_errno($this -> resource); 104 108 } 105 109 106 110 function rss_sql_error_message () { 107 return mysql_error( );111 return mysql_error($this -> resource); 108 112 } 109 113 110 114 function rss_insert_id() { 111 return mysql_insert_id( );115 return mysql_insert_id($this -> resource); 112 116 } 113 117 … … 125 129 switch ($kind) { 126 130 case RSS_SQL_ERROR_NO_ERROR: 127 return (mysql_errno( ) == 0);131 return (mysql_errno($this -> resource) == 0); 128 132 break; 129 133 case RSS_SQL_ERROR_DUPLICATE_ROW: 130 return (mysql_errno( ) == 1062);134 return (mysql_errno($this -> resource) == 1062); 131 135 break; 132 136 default: -
branches/multiuser/cls/l10n.php
r1604 r1606 38 38 function RSSl10n() { 39 39 $this -> locale = preg_replace('#[^a-zA-Z_]#','',$this -> __detectUserLang()); 40 41 $ll=explode('_',$this -> locale); 42 $this->isloang=$ll[0].'-'.strtoupper($ll[1]); 43 44 if (function_exists('version_compare') && version_compare("4.3.0",PHP_VERSION, "<=") && preg_match('#([a-z]{2})_([A-Z]{2})#',$this -> locale,$m)) { 40 $this -> isolang=str_replace('_','-',$this -> locale); 41 if (function_exists('version_compare') && version_compare("4.3.0",PHP_VERSION, "<=") && preg_match('#([a-z]{2})_?([A-Z]{2})?#',$this -> locale,$m)) { 45 42 $locales=array( 46 $m[0].' UTF-8',47 $m[0].' utf-8',43 $m[0].'.UTF-8', 44 $m[0].'.utf-8', 48 45 $m[0], 49 $m[1] .'_'.strtoupper($m[1]),50 $m[1] ,51 $m[2]46 $m[1], 47 $m[1].'_'.strtoupper($m[1]) 48 //$m[2] 52 49 ); 53 50 setlocale(LC_ALL, $locales); … … 75 72 } 76 73 function getISOLang() { 77 return $this ->is loang;74 return $this ->isolang; 78 75 } 79 76 /** … … 81 78 */ 82 79 function __detectUserLang() { 83 if (isset($_REQUEST['lang']) && preg_match('#^[a-z]{2}_ [A-Z]{2}$#',$_REQUEST['lang']) && file_exists(GREGARIUS_HOME .'intl/'.$_REQUEST['lang'])) {84 setcookie(RSS_LOCALE_COOKIE,$_REQUEST['lang'],time()+3600*6,getPath());80 if (isset($_REQUEST['lang']) && preg_match('#^[a-z]{2}_?([A-Z]{2})?$#',$_REQUEST['lang']) && ($_REQUEST['lang'] == 'en' || file_exists(GREGARIUS_HOME .'intl/'.$_REQUEST['lang']))) { 81 $this -> __setLocaleCookie($_REQUEST['lang']); 85 82 return $_REQUEST['lang']; 86 83 } elseif (isset($_COOKIE[RSS_LOCALE_COOKIE])) { … … 99 96 if (preg_match('#^([a-z]{2})[\-_]?([a-z]{2})?$#i',$ll,$pm)) { 100 97 $ret =null; 101 if (isset($pm[2])){ 102 if (file_exists(GREGARIUS_HOME .'intl/'.$pm[1] ."_".strtoupper($pm[2]))) { 103 // xx-yy -> xx_YY 104 $ret= $pm[1] ."_".strtoupper($pm[2]); 105 } elseif(file_exists(GREGARIUS_HOME .'intl/'.$pm[1] ."_".strtoupper($pm[1]))) { 106 // xx-yy -> xx_XX 107 $ret= $pm[1] ."_".strtoupper($pm[1]); 108 } 109 } elseif(file_exists(GREGARIUS_HOME .'intl/'.$pm[1] ."_".strtoupper($pm[1]))) { 110 // xx -> xx_XX 111 $ret= $pm[1] ."_".strtoupper($pm[1]); 98 if (isset($pm[2]) && file_exists(GREGARIUS_HOME .'intl/'.$pm[1] ."_".strtoupper($pm[2]))) { 99 // xx-yy -> xx_YY 100 $ret= $pm[1] ."_".strtoupper($pm[2]); 101 } elseif(file_exists(GREGARIUS_HOME .'intl/'.$pm[1] )) { 102 // xx -> xx 103 $ret= $pm[1]; 112 104 } elseif($pm[1] == 'en') { 113 105 // ugly: a better way would be to look up all the available locales … … 117 109 if ($ret) { 118 110 // remember the detected locale for a couple hours 119 setcookie(RSS_LOCALE_COOKIE,$ret,time()+3600*6,getPath());111 $this -> __setLocaleCookie($ret); 120 112 return $ret; 121 113 } … … 127 119 return getConfig('rss.output.lang'); 128 120 } 121 122 function __setLocaleCookie($value) { 123 setcookie(RSS_LOCALE_COOKIE,$value,time()+3600*6,getPath()); 124 } 129 125 } 130 126 -
branches/multiuser/cls/wrappers/item.php
r1604 r1606 74 74 return $url; 75 75 } 76 return "http://" . $_SERVER['HTTP_HOST']. rss_item_pl_url();76 return guessTransportProto() . $_SERVER['HTTP_HOST'] . getPath() . rss_item_pl_url(); 77 77 } 78 78 -
branches/multiuser/intl/en.php
r1595 r1606 306 306 define ('LBL_ADDED', 'Added'); 307 307 308 define('LBL_ADMIN_USERS','Users');309 308 ?> -
branches/multiuser/intl/messages.pot
r1604 r1606 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2006-09-1 3 10:59+0200\n"11 "POT-Creation-Date: 2006-09-19 17:00+0200\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 27 27 msgstr "" 28 28 29 #: admin/channels.php:531 update.php:59 admin/channels.php:545 30 #: admin/channels.php:545 update.php: 5929 #: admin/channels.php:531 update.php:59 admin/channels.php:545 update.php:61 30 #: admin/channels.php:545 update.php:61 31 31 msgid "Updating" 32 32 msgstr "" … … 89 89 msgstr "" 90 90 91 #: cls/nav.php:63 themes/default/mobile/nav.php:5 cls/nav.php:6 392 #: themes/default/mobile/nav.php:591 #: cls/nav.php:63 themes/default/mobile/nav.php:5 cls/nav.php:64 92 #: cls/nav.php:64 themes/default/mobile/nav.php:5 93 93 msgid "<span>R</span>efresh" 94 94 msgstr "" 95 95 96 #: cls/nav.php:64 cls/nav.php:6 496 #: cls/nav.php:64 cls/nav.php:66 cls/nav.php:66 97 97 msgid "<span>S</span>earch" 98 98 msgstr "" 99 99 100 #: cls/nav.php:65 cls/nav.php:6 5100 #: cls/nav.php:65 cls/nav.php:67 cls/nav.php:67 101 101 msgid "A<span>d</span>min" 102 102 msgstr "" … … 187 187 #: admin/config.php:160 admin/tags.php:153 ajax.php:194 ajax.php:217 188 188 #: themes/default/web/item.php:31 themes/lilina/web/item.php:55 189 #: themes/lilina/web/item.php:111 admin/ channels.php:179189 #: themes/lilina/web/item.php:111 admin/tags.php:180 admin/channels.php:179 190 190 #: admin/channels.php:286 admin/channels.php:315 admin/config.php:160 191 #: admin/folders.php:92 admin/plugins.php:149 admin/tags.php:153 ajax.php:194192 #: a jax.php:217 themes/default/web/item.php:31 themes/lilina/web/item.php:55193 #: themes/lilina/web/item.php: 111191 #: admin/folders.php:92 admin/plugins.php:149 admin/tags.php:153 192 #: admin/tags.php:180 ajax.php:194 ajax.php:217 themes/default/web/item.php:31 193 #: themes/lilina/web/item.php:55 themes/lilina/web/item.php:111 194 194 msgid "edit" 195 195 msgstr "" … … 1060 1060 msgstr "" 1061 1061 1062 #: admin/channels.php:215 admin/tags.php:1681063 msgid "<input type=\"hidden\" name=\""1064 msgstr ""1065 1066 #: admin/channels.php:215 admin/tags.php:1681067 msgid "\" value=\""1068 msgstr ""1069 1070 #: admin/channels.php:215 admin/channels.php:216 admin/tags.php:1671071 #: admin/tags.php:1681072 msgid "\" />\n"1073 msgstr ""1074 1075 #: admin/channels.php:216 admin/tags.php:1671076 msgid "<input type=\"hidden\" name=\"action\" value=\""1077 msgstr ""1078 1079 #: admin/channels.php:2171080 msgid "</p>\n"1081 msgstr ""1082 1083 #: admin/channels.php:218 admin/tags.php:1691084 msgid "</fieldset>\n"1085 msgstr ""1086 1087 #: admin/channels.php:2221088 msgid ""1089 "</form></div>\n"1090 "\n"1091 "\n"1092 msgstr ""1093 1094 #: admin/folders.php:207 admin/tags.php:1161095 msgid "update "1096 msgstr ""1097 1098 #: admin/folders.php:2071099 msgid " set name='$new_label' where id=$fid"1100 msgstr ""1101 1102 #: admin/index.php:2041103 #, c-format1104 msgid "%s"1105 msgstr ""1106 1107 #: admin/index.php:207 admin/tags.php:1711108 msgid "</div>\n"1109 msgstr ""1110 1111 #: admin/tags.php:116 admin/tags.php:144 admin/tags.php:1751112 msgid "tag"1113 msgstr ""1114 1115 #: admin/tags.php:1161116 msgid " set tag='$new_label' where id=$tid"1117 msgstr ""1118 1119 #: admin/tags.php:1231120 msgid "<script type=\"text/javascript\">\n"1121 msgstr ""1122 1123 #: admin/tags.php:1241124 msgid "//<!--\n"1125 msgstr ""1126 1127 #: admin/tags.php:1251128 msgid "function cbtoggle() {\n"1129 msgstr ""1130 1131 #: admin/tags.php:1261132 msgid "var c=document.getElementById('mastercb').checked;\n"1133 msgstr ""1134 1135 #: admin/tags.php:1271136 msgid ""1137 "var cs=document.getElementById('tagtable').getElementsByTagName('input');\n"1138 msgstr ""1139 1140 #: admin/tags.php:1281141 msgid "for(i=0;i<cs.length;i++) {\n"1142 msgstr ""1143 1144 #: admin/tags.php:1291145 msgid "if (cs[i].type == 'checkbox') cs[i].checked = c;\n"1146 msgstr ""1147 1148 #: admin/tags.php:130 admin/tags.php:1311149 msgid "}\n"1150 msgstr ""1151 1152 #: admin/tags.php:1321153 msgid "</script>\n"1154 msgstr ""1155 1156 #: admin/tags.php:1341157 msgid "<form method=\"post\" action=\""1158 msgstr ""1159 1160 #: admin/tags.php:1341161 msgid "\">\n"1162 msgstr ""1163 1164 #: admin/tags.php:1351165 msgid "<h2 class=\"trigger\">"1166 msgstr ""1167 1168 #: admin/tags.php:1351169 msgid "</h2>\n"1170 msgstr ""1171 1172 #: admin/tags.php:1361173 msgid "<div id=\"admin_tags\" class=\"trigger\">"1174 msgstr ""1175 1176 #: admin/tags.php:1371177 msgid "<table id=\"tagtable\">\n"1178 msgstr ""1179 1180 #: admin/tags.php:1381181 msgid "<tr>\n"1182 msgstr ""1183 1184 #: admin/tags.php:1391185 msgid ""1186 "\t<th><input type=\"checkbox\" id=\"mastercb\" onclick=\"cbtoggle();\" /></"1187 "th>\n"1188 msgstr ""1189 1190 #: admin/tags.php:1401191 msgid "\t<th class=\"cntr\">"1192 msgstr ""1193 1194 #: admin/tags.php:140 admin/tags.php:1411195 msgid "</th>\n"1196 msgstr ""1197 1198 #: admin/tags.php:1411199 msgid "\t<th>"1200 msgstr ""1201 1202 #: admin/tags.php:1421203 msgid "</tr>\n"1204 msgstr ""1205 1206 #: admin/tags.php:1441207 msgid "select id,tag from "1208 msgstr ""1209 1210 #: admin/tags.php:1441211 msgid " order by tag asc"1212 msgstr ""1213 1214 #: admin/tags.php:1701215 msgid "</form>\n"1216 msgstr ""1217 1218 #: admin/tags.php:1751219 msgid "select id, tag from "1220 msgstr ""1221 1222 #: admin/tags.php:1751223 msgid " where id=$tid"1224 msgstr ""1225 1226 1062 #: admin/channels.php:379 admin/channels.php:383 admin/channels.php:617 1227 1063 #: admin/channels.php:379 admin/channels.php:383 admin/channels.php:617 … … 1316 1152 msgid "Admin" 1317 1153 msgstr "" 1154 1155 #: admin/config.php:190 admin/config.php:190 1156 msgid "Invalid config key specified." 1157 msgstr "" 1158 1159 #: admin/config.php:368 admin/config.php:368 1160 msgid "Ooops, unknown config type: " 1161 msgstr "" 1162 1163 #: admin/tags.php:162 admin/tags.php:162 1164 msgid "Selected" 1165 msgstr "" 1166 1167 #: update.php:32 update.php:32 1168 msgid "Sorry, updating from the web is currently not allowed." 1169 msgstr "" -
branches/multiuser/intl/pt_BR/LC_MESSAGES/messages.po
r1604 r1606 5 5 "Project-Id-Version: Gregarius 0.5.5\n" 6 6 "Report-Msgid-Bugs-To: \n" 7 "POT-Creation-Date: 2006-09-1 3 10:43+0200\n"7 "POT-Creation-Date: 2006-09-18 09:28+0200\n" 8 8 "PO-Revision-Date: \n" 9 9 "Last-Translator: \n" … … 20 20 msgstr "Root" 21 21 22 #: admin/channels.php:531 update.php:59 admin/channels.php:545 22 #: admin/channels.php:531 update.php:59 admin/channels.php:545 update.php:61 23 23 msgid "Updating" 24 24 msgstr "Atualizado" … … 74 74 msgstr "<span>I</span>nicial" 75 75 76 #: cls/nav.php:63 themes/default/mobile/nav.php:5 76 #: cls/nav.php:63 themes/default/mobile/nav.php:5 cls/nav.php:64 77 77 msgid "<span>R</span>efresh" 78 78 msgstr "<span>A</span>tualizar" 79 79 80 #: cls/nav.php:64 80 #: cls/nav.php:64 cls/nav.php:66 81 81 msgid "<span>S</span>earch" 82 82 msgstr "<span>B</span>usca" 83 83 84 #: cls/nav.php:65 84 #: cls/nav.php:65 cls/nav.php:67 85 85 msgid "A<span>d</span>min" 86 86 msgstr "A<span>d</span>min" … … 169 169 #: admin/config.php:160 admin/tags.php:153 ajax.php:194 ajax.php:217 170 170 #: themes/default/web/item.php:31 themes/lilina/web/item.php:55 171 #: themes/lilina/web/item.php:111 171 #: themes/lilina/web/item.php:111 admin/tags.php:180 172 172 msgid "edit" 173 173 msgstr "editar" … … 943 943 msgstr "Resultados por página:" 944 944 945 #: admin/channels.php:215 admin/tags.php:168946 msgid "<input type=\"hidden\" name=\""947 msgstr ""948 949 #: admin/channels.php:215 admin/tags.php:168950 msgid "\" value=\""951 msgstr ""952 953 #: admin/channels.php:215 admin/channels.php:216 admin/tags.php:167954 #: admin/tags.php:168955 msgid "\" />\n"956 msgstr ""957 958 #: admin/channels.php:216 admin/tags.php:167959 msgid "<input type=\"hidden\" name=\"action\" value=\""960 msgstr ""961 962 #: admin/channels.php:217963 msgid "</p>\n"964 msgstr ""965 966 #: admin/channels.php:218 admin/tags.php:169967 msgid "</fieldset>\n"968 msgstr ""969 970 #: admin/channels.php:222971 msgid ""972 "</form></div>\n"973 "\n"974 "\n"975 msgstr ""976 977 #: admin/folders.php:207 admin/tags.php:116978 msgid "update "979 msgstr ""980 981 #: admin/folders.php:207982 msgid " set name='$new_label' where id=$fid"983 msgstr ""984 985 #: admin/index.php:204986 #, c-format987 msgid "%s"988 msgstr ""989 990 #: admin/index.php:207 admin/tags.php:171991 msgid "</div>\n"992 msgstr ""993 994 #: admin/tags.php:116 admin/tags.php:144 admin/tags.php:175995 #, fuzzy996 msgid "tag"997 msgstr "etiquetado"998 999 #: admin/tags.php:1161000 msgid " set tag='$new_label' where id=$tid"1001 msgstr ""1002 1003 #: admin/tags.php:1231004 msgid "<script type=\"text/javascript\">\n"1005 msgstr ""1006 1007 #: admin/tags.php:1241008 msgid "//<!--\n"1009 msgstr ""1010 1011 #: admin/tags.php:1251012 msgid "function cbtoggle() {\n"1013 msgstr ""1014 1015 #: admin/tags.php:1261016 msgid "var c=document.getElementById('mastercb').checked;\n"1017 msgstr ""1018 1019 #: admin/tags.php:1271020 msgid ""1021 "var cs=document.getElementById('tagtable').getElementsByTagName('input');\n"1022 msgstr ""1023 1024 #: admin/tags.php:1281025 msgid "for(i=0;i<cs.length;i++) {\n"1026 msgstr ""1027 1028 #: admin/tags.php:1291029 msgid "if (cs[i].type == 'checkbox') cs[i].checked = c;\n"1030 msgstr ""1031 1032 #: admin/tags.php:130 admin/tags.php:1311033 msgid "}\n"1034 msgstr ""1035 1036 #: admin/tags.php:1321037 msgid "</script>\n"1038 msgstr ""1039 1040 #: admin/tags.php:1341041 msgid "<form method=\"post\" action=\""1042 msgstr ""1043 1044 #: admin/tags.php:1341045 msgid "\">\n"1046 msgstr ""1047 1048 #: admin/tags.php:1351049 msgid "<h2 class=\"trigger\">"1050 msgstr ""1051 1052 #: admin/tags.php:1351053 msgid "</h2>\n"1054 msgstr ""1055 1056 #: admin/tags.php:1361057 msgid "<div id=\"admin_tags\" class=\"trigger\">"1058 msgstr ""1059 1060 #: admin/tags.php:1371061 msgid "<table id=\"tagtable\">\n"1062 msgstr ""1063 1064 #: admin/tags.php:1381065 msgid "<tr>\n"1066 msgstr ""1067 1068 #: admin/tags.php:1391069 msgid ""1070 "\t<th><input type=\"checkbox\" id=\"mastercb\" onclick=\"cbtoggle();\" /></"1071 "th>\n"1072 msgstr ""1073 1074 #: admin/tags.php:1401075 msgid "\t<th class=\"cntr\">"1076 msgstr ""1077 1078 #: admin/tags.php:140 admin/tags.php:1411079 msgid "</th>\n"1080 msgstr ""1081 1082 #: admin/tags.php:1411083 msgid "\t<th>"1084 msgstr ""1085 1086 #: admin/tags.php:1421087 msgid "</tr>\n"1088 msgstr ""1089 1090 #: admin/tags.php:1441091 msgid "select id,tag from "1092 msgstr ""1093 1094 #: admin/tags.php:1441095 msgid " order by tag asc"1096 msgstr ""1097 1098 #: admin/tags.php:1701099 msgid "</form>\n"1100 msgstr ""1101 1102 #: admin/tags.php:1751103 msgid "select id, tag from "1104 msgstr ""1105 1106 #: admin/tags.php:1751107 msgid " where id=$tid"1108 msgstr ""1109 1110 945 #: admin/channels.php:379 admin/channels.php:383 admin/channels.php:617 1111 946 #, c-format, php-format … … 1201 1036 msgstr "" 1202 1037 1038 #: admin/config.php:190 1039 #, fuzzy 1040 msgid "Invalid config key specified." 1041 msgstr "Período de exclusão inválido" 1042 1043 #: admin/config.php:368 1044 msgid "Ooops, unknown config type: " 1045 msgstr "" 1046 1047 #: admin/tags.php:162 1048 #, fuzzy 1049 msgid "Selected" 1050 msgstr "excluir" 1051 1052 #: update.php:32 1053 msgid "Sorry, updating from the web is currently not allowed." 1054 msgstr "" 1055 1056 #, fuzzy 1057 #~ msgid "tag" 1058 #~ msgstr "etiquetado" 1059 1203 1060 #~ msgid "%d items, %d unread" 1204 1061 #~ msgstr "%d ítens, %d não lidos" -
branches/multiuser/plugins/delicious.php
r1604 r1606 29 29 /// Name: del.icio.us Tags 30 30 /// Author: Marco Bonetti 31 /// Description: Fetches tag suggestion gs from del.icio.us31 /// Description: Fetches tag suggestions from del.icio.us 32 32 /// Version: 0.5 33 33 -
branches/multiuser/schema.php
r1604 r1606 462 462 "rss.output.usepermalinks" => array("true","true","boolean","Display a permalink icon and allow linking a given item directly.",NULL), 463 463 "rss.config.markreadonupdate"=> array("false","false","boolean","Mark all old unread feeds as read when updating if new unread feeds are found.",NULL), 464 "rss.output.lang" => array("en_US, cn_ZH,de_DE,dk_DK,es_ES,fr_FR,he_IL,it_IT,ja_JP,pt_BR,pt_PT,ru_RU,sv_SV,0","en_US,cn_ZH,de_DE,dk_DK,es_ES,fr_FR,he_IL,it_IT,ja_JP,pt_BR,pt_PT,ru_RU,sv_SV,0","enum","Language pack to use.",NULL),464 "rss.output.lang" => array("en_US,zh_CN,de,da,es,fr,he,it,ja,pt_BR,pt,ru,sv,0","en_US,zh_CN,de,da,es,fr,he,it,ja,pt_BR,pt,ru,sv,0","enum","Language pack to use.",NULL), 465 465 "rss.config.absoluteordering"=> array("true","true","boolean","Allow feeds and folders to be ordered by their order in the admin section. If this option is set to false, channels and folders will be organized alphabetically by their titles.",NULL), 466 466 "rss.config.robotsmeta" => array("noindex,follow","noindex,follow","string","How should spiders crawl us? (see http://www.robotstxt.org/wc/meta-user.html for more info).",NULL), -
branches/multiuser/util.php
r1604 r1606 277 277 } 278 278 279 $author = strip_tags($author);279 $author = trim(strip_tags($author)); 280 280 281 281 // pubdate … … 479 479 $title = rss_real_escape_string($title_); 480 480 } 481 elseif (is_object($rss) && array_key_exists('title', $rss->channel)) { 482 $title = rss_real_escape_string($rss->channel['title']); 481 elseif (is_object($rss) && array_key_exists('title#', $rss->channel)) { 482 if (array_key_exists('title', $rss->channel)) { 483 $title = rss_real_escape_string($rss->channel['title']); 484 } else { 485 $title = " "; 486 } 483 487 } 484 488 else {
