Changes in [1539:e3954ad1f103:1704:6a2cd49769c2]
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgsubstate
r1485 r1692 1 716e99c54652d08c2e4395d5179e817e0f98182dinc/libs/clearbricks1 3811959404614e7014b897d3d3b96caad10e214f inc/libs/clearbricks -
admin/index.php
r1536 r1591 280 280 '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 281 281 '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 282 ($version_info ? ' </li><li> <a href="'.$version_info.'">'.__('information about this version').'</a>': '').282 ($version_info ? ' </li><li>'.sprintf(__('<a href=\"%s\">Information about this version</a>.'),$version_info) : ''). 283 283 '</li></ul></div>'; 284 284 } -
admin/install/index.php
r1535 r1583 267 267 268 268 <script type="text/javascript" src="../js/jquery/jquery.js"></script> 269 <?php echo dcPage::jsLoad('../js/jquery/jquery.pwstrength.js'); ?> 269 270 <script type="text/javascript"> 270 271 //<![CDATA[ … … 278 279 $(this).val(this.value.replace(login_re,'')); 279 280 }); 281 282 <?php echo "\$('#u_pwd').pwstrength({texts: ['". 283 sprintf(__('Password strength: %s'),__('very weak'))."', '". 284 sprintf(__('Password strength: %s'),__('weak'))."', '". 285 sprintf(__('Password strength: %s'),__('mediocre'))."', '". 286 sprintf(__('Password strength: %s'),__('strong'))."', '". 287 sprintf(__('Password strength: %s'),__('very strong'))."']});\n"; ?> 280 288 281 289 $('#u_login').parent().after($('<input type="hidden" name="u_date" value="' + Date().toLocaleString() + '" />')); … … 327 335 '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 328 336 form::field('u_login',30,32,html::escapeHTML($u_login)).'</label></p>'. 329 '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').' '. 330 form::password('u_pwd',30,255).'</label></p>'. 337 '<div class="pw-table">'. 338 '<p class="pw-cell">'. 339 '<label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('New password:').'</label>'. 340 form::password('u_pwd',30,255,'','','',false,' data-indicator="pwindicator" '). 341 '</p>'. 342 '<div id="pwindicator">'. 343 ' <div class="bar"></div>'. 344 ' <p class="label no-margin"></p>'. 345 '</div>'. 346 '</div>'. 331 347 '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').' '. 332 348 form::password('u_pwd2',30,255).'</label></p>'. -
admin/js/_index.js
r1418 r1500 33 33 post_status: status, 34 34 post_format: $('#post_format',f).val(), 35 post_lang: $('#post_lang',f).val() 35 post_lang: $('#post_lang',f).val(), 36 new_cat_title: $('#new_cat_title',f).val(), 37 new_cat_parent: $('#new_cat_parent',f).val() 36 38 } 37 39 … … 56 58 contentTb.syncContents('textarea'); 57 59 } 60 $('#cat_id',f).val('0'); 61 $('#new_cat_title',f).val(''); 62 $('#new_cat_parent',f).val('0'); 58 63 } 59 64 -
admin/js/_post.js
r1417 r1515 137 137 // We load toolbar on excerpt only when it's ready 138 138 $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 139 fn: function() { excerptTb.switchMode(formatField.value); },140 139 cookie: 'dcx_post_excerpt', 141 140 hide: $('#post_excerpt').val() == '' … … 144 143 // Load toolbars 145 144 contentTb.switchMode(formatField.value); 145 excerptTb.switchMode(formatField.value); 146 146 147 147 // Replace attachment remove links by a POST form submit -
admin/services.php
r1537 r1538 141 141 public static function quickPost($core,$get,$post) 142 142 { 143 # Create category 144 if (!empty($post['new_cat_title']) && $core->auth->check('categories', $core->blog->id)) { 145 146 $cur_cat = $core->con->openCursor($core->prefix.'category'); 147 $cur_cat->cat_title = $post['new_cat_title']; 148 $cur_cat->cat_url = ''; 149 150 $parent_cat = !empty($post['new_cat_parent']) ? $post['new_cat_parent'] : ''; 151 152 # --BEHAVIOR-- adminBeforeCategoryCreate 153 $core->callBehavior('adminBeforeCategoryCreate', $cur_cat); 154 155 $post['cat_id'] = $core->blog->addCategory($cur_cat, (integer) $parent_cat); 156 157 # --BEHAVIOR-- adminAfterCategoryCreate 158 $core->callBehavior('adminAfterCategoryCreate', $cur_cat, $post['cat_id']); 159 } 160 143 161 $cur = $core->con->openCursor($core->prefix.'post'); 144 162 -
admin/style/install.css
r1065 r1583 154 154 border: 1px solid #2C8FD1; 155 155 } 156 157 158 /* --------------------------------------------------------------- password indcator */ 159 .pw-table { 160 display: table; 161 margin-bottom: 1em; 162 } 163 .pw-cell { 164 display: table-cell; 165 margin-bottom: 1em; 166 } 167 #pwindicator { 168 display: table-cell; 169 vertical-align: bottom; 170 padding-left: 1.5em; 171 height: 3.8em; 172 } 173 #pwindicator .bar { 174 height: 6px; 175 margin-bottom: 4px; 176 } 177 .pw-very-weak .bar { 178 background: #900; 179 width: 30px; 180 } 181 .pw-weak .bar { 182 background: #c00; 183 width: 60px; 184 } 185 .pw-mediocre .bar { 186 background: #f60; 187 width: 90px; 188 } 189 .pw-strong .bar { 190 background: #060; 191 width: 120px; 192 } 193 .pw-very-strong .bar { 194 background: #0c0; 195 width: 150px; 196 } -
admin/update.php
r1479 r1591 200 200 echo 201 201 '<p class="static-msg">'.sprintf(__('Dotclear %s is available.'),$new_v). 202 ($version_info ? ' <a href="'.$version_info.'">('.__('information about this version').')</a>' : '').202 ($version_info ? ' ('.sprintf(__('<a href=\"%s\">Information about this version</a>.'),$version_info).')' : ''). 203 203 '</p>'. 204 204 -
admin/user.php
r1179 r1583 172 172 dcPage::open($page_title, 173 173 dcPage::jsConfirmClose('user-form'). 174 dcPage::jsLoad('js/jquery/jquery.pwstrength.js'). 175 '<script type="text/javascript">'."\n". 176 "//<![CDATA[\n". 177 "\$(function() {\n". 178 " \$('#new_pwd').pwstrength({texts: ['". 179 sprintf(__('Password strength: %s'),__('very weak'))."', '". 180 sprintf(__('Password strength: %s'),__('weak'))."', '". 181 sprintf(__('Password strength: %s'),__('mediocre'))."', '". 182 sprintf(__('Password strength: %s'),__('strong'))."', '". 183 sprintf(__('Password strength: %s'),__('very strong'))."']});\n". 184 "});\n". 185 "\n//]]>\n". 186 "</script>\n". 174 187 175 188 # --BEHAVIOR-- adminUserHeaders … … 203 216 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'. 204 217 205 '<p><label for="new_pwd" '.($user_id != '' ? '' : 'class="required"').'>'. 206 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> '). 207 ($user_id != '' ? __('New password:') : __('Password:')).' '. 208 form::password('new_pwd',20,255). 209 '</label></p>'. 218 '<div class="pw-table">'. 219 '<p class="pw-cell">'. 220 '<label for="new_pwd" '.($user_id != '' ? '' : 'class="required"').'>'. 221 ($user_id != '' ? '' : '<abbr title="'.__('Required field').'">*</abbr> '). 222 ($user_id != '' ? __('New password:') : __('Password:')).'</label>'. 223 form::password('new_pwd',20,255,'','','',false,' data-indicator="pwindicator" '). 224 '</p>'. 225 '<div id="pwindicator">'. 226 ' <div class="bar"></div>'. 227 ' <p class="label no-margin"></p>'. 228 '</div>'. 229 '</div>'. 210 230 '<p class="form-note">'.__('Password must contain at least 6 characters.').'</p>'. 211 231 -
admin/users_actions.php
r1179 r1555 269 269 echo 270 270 '<fieldset><legend>'.__('Validate permissions').'</legend>'. 271 '<p><label for="your_pwd" >'.__('Your password:').271 '<p><label for="your_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:'). 272 272 form::password('your_pwd',20,255).'</label></p>'. 273 273 '</fieldset>'. -
inc/admin/prepend.php
r1179 r1592 322 322 $core->auth->check('usage,contentadmin',$core->blog->id),'menu-new-post'); 323 323 324 $_menu['System']->prependItem(__('Update s'),'update.php','images/menu/update.png',324 $_menu['System']->prependItem(__('Update'),'update.php','images/menu/update.png', 325 325 preg_match('/update.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 326 326 $core->auth->isSuperAdmin() && is_readable(DC_DIGESTS)); -
inc/core/class.dc.blog.php
r1429 r1570 207 207 public function triggerComments($ids, $del=false, $affected_posts=null) 208 208 { 209 $co_ids = dcUtils::cleanIds($ids); 210 $a_ids = dcUtils::cleanIds($affected_posts); 211 $a_tbs = array(); 212 213 # a) Retrieve posts affected by comments edition 214 if (empty($a_ids)) { 209 $comments_ids = dcUtils::cleanIds($ids); 210 211 # Get posts affected by comments edition 212 if (empty($affected_posts)) { 215 213 $strReq = 216 'SELECT post_id , comment_trackback'.214 'SELECT post_id '. 217 215 'FROM '.$this->prefix.'comment '. 218 'WHERE comment_id'.$this->con->in($co _ids).219 'GROUP BY post_id ,comment_trackback';216 'WHERE comment_id'.$this->con->in($comments_ids). 217 'GROUP BY post_id'; 220 218 221 219 $rs = $this->con->select($strReq); 222 220 221 $affected_posts = array(); 223 222 while ($rs->fetch()) { 224 $a_ids[] = (integer) $rs->post_id; 225 $a_tbs[] = (integer) $rs->comment_trackback; 226 } 227 } 228 229 # b) Count comments of each posts previously retrieved 230 # Note that this does not return posts without comment 223 $affected_posts[] = (integer) $rs->post_id; 224 } 225 } 226 227 if (!is_array($affected_posts) || empty($affected_posts)) { 228 return; 229 } 230 231 # Count number of comments if exists for affected posts 231 232 $strReq = 232 'SELECT post_id, COUNT(post_id) AS nb_comment, comment_trackback '.233 'SELECT post_id, COUNT(post_id) AS nb_comment, comment_trackback '. 233 234 'FROM '.$this->prefix.'comment '. 234 235 'WHERE comment_status = 1 '. 235 (count($a_ids) > 0 ? 'AND post_id'.$this->con->in($a_ids) : ' '); 236 237 if ($del) { 238 $strReq .= 239 'AND comment_id NOT'.$this->con->in($co_ids); 240 } 241 242 $strReq .= 236 'AND post_id'.$this->con->in($affected_posts). 243 237 'GROUP BY post_id,comment_trackback'; 244 238 245 239 $rs = $this->con->select($strReq); 246 240 247 $ b_ids = $b_tbs = $b_nbs = array();241 $posts = array(); 248 242 while ($rs->fetch()) { 249 $b_ids[] = (integer) $rs->post_id; 250 $b_tbs[] = (integer) $rs->comment_trackback; 251 $b_nbs[] = (integer) $rs->nb_comment; 252 } 253 254 # c) Update comments numbers on posts 255 # This compare previous requests to update also posts without comment 243 if ($rs->comment_trackback) { 244 $posts[$rs->post_id]['trackback'] = $rs->nb_comment; 245 } else { 246 $posts[$rs->post_id]['comment'] = $rs->nb_comment; 247 } 248 } 249 250 # Update number of comments on affected posts 256 251 $cur = $this->con->openCursor($this->prefix.'post'); 257 258 foreach($a_ids as $a_key => $a_id) 259 { 260 $nb_comment = $nb_trackback = 0; 261 //$cur->nb_comment = $nb_comment; 262 foreach($b_ids as $b_key => $b_id) 263 { 264 if ($a_id != $b_id || $a_tbs[$a_key] != $b_tbs[$b_key]) { 265 continue; 266 } 267 268 if ($b_tbs[$b_key]) { 269 $nb_trackback = $b_nbs[$b_key]; 270 } else { 271 $nb_comment = $b_nbs[$b_key]; 272 } 273 } 274 275 if ($a_tbs[$a_key]) { 276 $cur->nb_trackback = $nb_trackback; 252 foreach($affected_posts as $post_id) 253 { 254 $cur->clean(); 255 256 if (!array_key_exists($post_id,$posts)) { 257 $cur->nb_trackback = 0; 258 $cur->nb_comment = 0; 277 259 } else { 278 $cur->nb_comment = $nb_comment; 279 } 280 $cur->update('WHERE post_id = '.$a_id); 260 $cur->nb_trackback = empty($posts[$post_id]['trackback']) ? 0 : $posts[$post_id]['trackback']; 261 $cur->nb_comment = empty($posts[$post_id]['comment']) ? 0 : $posts[$post_id]['comment']; 262 } 263 264 $cur->update('WHERE post_id = '.$post_id); 281 265 } 282 266 } … … 733 717 - no_content: Don't retrieve entry content (excerpt and content) 734 718 - post_type: Get only entries with given type (default "post", array for many types and '' for no type) 735 - post_id: (integer ) Get entry with given post_id719 - post_id: (integer or array) Get entry with given post_id 736 720 - post_url: Get entry with given post_url field 737 721 - user_id: (integer) Get entries belonging to given user ID … … 753 737 - limit: Limit parameter 754 738 - sql_only : return the sql request instead of results. Only ids are selected 739 - exclude_post_id : (integer or array) Exclude entries with given post_id 755 740 756 741 Please note that on every cat_id or cat_url, you can add ?not to exclude … … 846 831 } 847 832 $strReq .= 'AND P.post_id '.$this->con->in($params['post_id']); 833 } 834 835 if (isset($params['exclude_post_id']) && $params['exclude_post_id'] !== '') { 836 if (is_array($params['exclude_post_id'])) { 837 array_walk($params['exclude_post_id'],create_function('&$v,$k','if($v!==null){$v=(integer)$v;}')); 838 } else { 839 $params['exclude_post_id'] = array((integer) $params['exclude_post_id']); 840 } 841 $strReq .= 'AND P.post_id NOT '.$this->con->in($params['exclude_post_id']); 848 842 } 849 843 … … 2236 2230 $affected_posts = array(); 2237 2231 $strReq = 2238 'SELECT distinct(post_id)'.2232 'SELECT post_id '. 2239 2233 'FROM '.$this->prefix.'comment '. 2240 'WHERE comment_id'.$this->con->in($co_ids); 2234 'WHERE comment_id'.$this->con->in($co_ids). 2235 'GROUP BY post_id'; 2241 2236 2242 2237 $rs = $this->con->select($strReq); -
inc/core/class.dc.core.php
r1179 r1593 928 928 929 929 if (!empty($params['q'])) { 930 $params['q'] = str _replace('*','%',$params['q']);930 $params['q'] = strtolower(str_replace('*','%',$params['q'])); 931 931 $where .= 932 932 'AND ('. -
inc/core/class.dc.media.php
r1381 r1677 299 299 $f->media_thumb = array(); 300 300 $p = path::info($f->relname); 301 301 302 $alpha = ($p['extension'] == 'png') || ($p['extension'] == 'PNG'); 303 302 304 $thumb = sprintf(($alpha ? $this->thumb_tp_alpha : $this->thumb_tp),$this->root.'/'.$p['dirname'],$p['base'],'%s'); 303 305 $thumb_url = sprintf(($alpha ? $this->thumb_tp_alpha : $this->thumb_tp),$this->root_url.$p['dirname'],$p['base'],'%s'); … … 306 308 $thumb_url = preg_replace('#\./#','/',$thumb_url); 307 309 $thumb_url = preg_replace('#(?<!:)/+#','/',$thumb_url); 310 311 if ($alpha) { 312 $thumb_alt = sprintf($this->thumb_tp,$this->root.'/'.$p['dirname'],$p['base'],'%s'); 313 $thumb_url_alt = sprintf($this->thumb_tp,$this->root_url.$p['dirname'],$p['base'],'%s'); 314 # Cleaner URLs 315 $thumb_url_alt = preg_replace('#\./#','/',$thumb_url_alt); 316 $thumb_url_alt = preg_replace('#(?<!:)/+#','/',$thumb_url_alt); 317 } 308 318 309 319 foreach ($this->thumb_sizes as $suffix => $s) { 310 320 if (file_exists(sprintf($thumb,$suffix))) { 311 321 $f->media_thumb[$suffix] = sprintf($thumb_url,$suffix); 322 } elseif ($alpha && file_exists(sprintf($thumb_alt,$suffix))) { 323 $f->media_thumb[$suffix] = sprintf($thumb_url_alt,$suffix); 312 324 } 313 325 } -
locales/bn/main.po
r1039 r1592 836 836 msgstr "পড়ে মনে করিয়ে দিও" 837 837 838 msgid " information about this version"838 msgid "<a href=\"%s\">Information about this version</a>." 839 839 msgstr "" 840 840 … … 2397 2397 msgstr "ব্লগ" 2398 2398 2399 msgid "Update s"2399 msgid "Update" 2400 2400 msgstr "" 2401 2401 -
locales/ca/main.po
r1039 r1592 867 867 msgstr "" 868 868 869 msgid " information about this version"869 msgid "<a href=\"%s\">Information about this version</a>." 870 870 msgstr "" 871 871 … … 2478 2478 msgstr "Blog" 2479 2479 2480 msgid "Update s"2480 msgid "Update" 2481 2481 msgstr "" 2482 2482 -
locales/cs/main.po
r1039 r1592 844 844 msgstr "Připomenout později" 845 845 846 msgid " information about this version"846 msgid "<a href=\"%s\">Information about this version</a>." 847 847 msgstr "" 848 848 … … 2399 2399 msgstr "Blog" 2400 2400 2401 msgid "Update s"2401 msgid "Update" 2402 2402 msgstr "Aktualizace" 2403 2403 -
locales/da/main.po
r1039 r1592 845 845 msgstr "Påmind mig senere" 846 846 847 msgid " information about this version"847 msgid "<a href=\"%s\">Information about this version</a>." 848 848 msgstr "" 849 849 … … 2409 2409 msgstr "" 2410 2410 2411 msgid "Update s"2411 msgid "Update" 2412 2412 msgstr "" 2413 2413 -
locales/de/main.po
r1039 r1592 841 841 msgstr "Erinnere mich später" 842 842 843 msgid " information about this version"843 msgid "<a href=\"%s\">Information about this version</a>." 844 844 msgstr "Informationen zu dieser Version" 845 845 … … 2400 2400 msgstr "Blog" 2401 2401 2402 msgid "Update s"2402 msgid "Update" 2403 2403 msgstr "Aktualisierungen" 2404 2404 -
locales/en/main.po
r1479 r1592 829 829 msgstr "" 830 830 831 msgid "information about this version" 831 #, php-format 832 msgid "<a href=\"%s\">Information about this version</a>." 832 833 msgstr "" 833 834 … … 2358 2359 msgstr "" 2359 2360 2360 msgid "Update s"2361 msgid "Update" 2361 2362 msgstr "" 2362 2363 -
locales/eo/main.po
r1039 r1592 826 826 msgstr "" 827 827 828 msgid " information about this version"828 msgid "<a href=\"%s\">Information about this version</a>." 829 829 msgstr "" 830 830 … … 2346 2346 msgstr "" 2347 2347 2348 msgid "Update s"2348 msgid "Update" 2349 2349 msgstr "" 2350 2350 -
locales/es-ar/main.po
r1039 r1592 847 847 msgstr "Recordar mas tarde" 848 848 849 msgid " information about this version"849 msgid "<a href=\"%s\">Information about this version</a>." 850 850 msgstr "" 851 851 … … 2416 2416 msgstr "Blog" 2417 2417 2418 msgid "Update s"2418 msgid "Update" 2419 2419 msgstr "Actualizaciones" 2420 2420 -
locales/es/main.po
r1039 r1592 850 850 msgstr "Recordármelo más tarde" 851 851 852 msgid " information about this version"852 msgid "<a href=\"%s\">Information about this version</a>." 853 853 msgstr "" 854 854 … … 2421 2421 msgstr "Blog" 2422 2422 2423 msgid "Update s"2423 msgid "Update" 2424 2424 msgstr "Actualizaciones" 2425 2425 -
locales/eu/main.po
r1039 r1592 826 826 msgstr "" 827 827 828 msgid " information about this version"828 msgid "<a href=\"%s\">Information about this version</a>." 829 829 msgstr "" 830 830 … … 2346 2346 msgstr "" 2347 2347 2348 msgid "Update s"2348 msgid "Update" 2349 2349 msgstr "" 2350 2350 -
locales/fr/main.po
r1488 r1592 875 875 msgstr "Me le rappeler plus tard" 876 876 877 msgid "information about this version" 878 msgstr "Information à propos de cette version" 877 #, php-format 878 msgid "<a href=\"%s\">Information about this version</a>." 879 msgstr "<a href=\"%s\">Information à propos de cette version</a>." 879 880 880 881 msgid "Some plugins are installed twice:" … … 2474 2475 msgstr "Blog" 2475 2476 2476 msgid "Update s"2477 msgstr "Mise sà jour"2477 msgid "Update" 2478 msgstr "Mise à jour" 2478 2479 2479 2480 msgid "Languages" -
locales/hu/main.po
r1039 r1592 867 867 msgstr "Értesíts később" 868 868 869 msgid " information about this version"869 msgid "<a href=\"%s\">Information about this version</a>." 870 870 msgstr "" 871 871 … … 2457 2457 msgstr "Blog" 2458 2458 2459 msgid "Update s"2459 msgid "Update" 2460 2460 msgstr "Frissítések" 2461 2461 -
locales/it/main.po
r1039 r1592 843 843 msgstr "Ricorda in seguito" 844 844 845 msgid " information about this version"845 msgid "<a href=\"%s\">Information about this version</a>." 846 846 msgstr "" 847 847 … … 2398 2398 msgstr "Blog" 2399 2399 2400 msgid "Update s"2400 msgid "Update" 2401 2401 msgstr "Aggiornamenti" 2402 2402 -
locales/ja/main.po
r1039 r1592 852 852 msgstr "後で再度知らせる" 853 853 854 msgid " information about this version"854 msgid "<a href=\"%s\">Information about this version</a>." 855 855 msgstr "" 856 856 … … 2430 2430 msgstr "ブログ" 2431 2431 2432 msgid "Update s"2432 msgid "Update" 2433 2433 msgstr "アップデート" 2434 2434 -
locales/ko/main.po
r1039 r1592 851 851 msgstr "나중에 다시 알려줌" 852 852 853 msgid " information about this version"853 msgid "<a href=\"%s\">Information about this version</a>." 854 854 msgstr "" 855 855 … … 2431 2431 msgstr "블로그" 2432 2432 2433 msgid "Update s"2433 msgid "Update" 2434 2434 msgstr "DotClear 갱신" 2435 2435 -
locales/lt/main.po
r1039 r1592 2205 2205 msgstr "Blogas" 2206 2206 2207 msgid "Update s"2207 msgid "Update" 2208 2208 msgstr "Atnaujinimai" 2209 2209 -
locales/nl/main.po
r1039 r1592 829 829 msgstr "" 830 830 831 msgid " information about this version"831 msgid "<a href=\"%s\">Information about this version</a>." 832 832 msgstr "" 833 833 … … 2361 2361 msgstr "" 2362 2362 2363 msgid "Update s"2363 msgid "Update" 2364 2364 msgstr "" 2365 2365 -
locales/oc/main.po
r1039 r1592 835 835 msgstr "" 836 836 837 msgid " information about this version"837 msgid "<a href=\"%s\">Information about this version</a>." 838 838 msgstr "" 839 839 … … 2379 2379 msgstr "Blòg" 2380 2380 2381 msgid "Update s"2381 msgid "Update" 2382 2382 msgstr "" 2383 2383 -
locales/pl/main.po
r1039 r1592 837 837 msgstr "Przypomnij mi później" 838 838 839 msgid " information about this version"839 msgid "<a href=\"%s\">Information about this version</a>." 840 840 msgstr "informacje o tej wersji" 841 841 … … 2372 2372 msgstr "Blog" 2373 2373 2374 msgid "Update s"2374 msgid "Update" 2375 2375 msgstr "Uaktualnienia" 2376 2376 -
locales/pt-br/main.po
r1039 r1592 870 870 msgstr "" 871 871 872 msgid " information about this version"872 msgid "<a href=\"%s\">Information about this version</a>." 873 873 msgstr "" 874 874 … … 2497 2497 msgstr "Blog" 2498 2498 2499 msgid "Update s"2499 msgid "Update" 2500 2500 msgstr "" 2501 2501 -
locales/pt/main.po
r1039 r1592 848 848 msgstr "Lembrar-me mais tarde" 849 849 850 msgid " information about this version"850 msgid "<a href=\"%s\">Information about this version</a>." 851 851 msgstr "" 852 852 … … 2408 2408 msgstr "Blog" 2409 2409 2410 msgid "Update s"2410 msgid "Update" 2411 2411 msgstr "Actualizações" 2412 2412 -
locales/ro/main.po
r1039 r1592 828 828 msgstr "" 829 829 830 msgid " information about this version"830 msgid "<a href=\"%s\">Information about this version</a>." 831 831 msgstr "" 832 832 … … 2357 2357 msgstr "" 2358 2358 2359 msgid "Update s"2359 msgid "Update" 2360 2360 msgstr "" 2361 2361 -
locales/ru/main.po
r1039 r1592 847 847 msgstr "Напомнить мне позже" 848 848 849 msgid " information about this version"849 msgid "<a href=\"%s\">Information about this version</a>." 850 850 msgstr "" 851 851 … … 2399 2399 msgstr "Блог" 2400 2400 2401 msgid "Update s"2401 msgid "Update" 2402 2402 msgstr "Обновления" 2403 2403 -
locales/sr/main.po
r1039 r1592 858 858 msgstr "" 859 859 860 msgid " information about this version"860 msgid "<a href=\"%s\">Information about this version</a>." 861 861 msgstr "" 862 862 … … 2444 2444 msgstr "Blog" 2445 2445 2446 msgid "Update s"2446 msgid "Update" 2447 2447 msgstr "" 2448 2448 -
locales/sv/main.po
r1039 r1592 826 826 msgstr "" 827 827 828 msgid " information about this version"828 msgid "<a href=\"%s\">Information about this version</a>." 829 829 msgstr "" 830 830 … … 2346 2346 msgstr "" 2347 2347 2348 msgid "Update s"2348 msgid "Update" 2349 2349 msgstr "" 2350 2350 -
locales/te/main.po
r1039 r1592 854 854 msgstr "" 855 855 856 msgid " information about this version"856 msgid "<a href=\"%s\">Information about this version</a>." 857 857 msgstr "" 858 858 … … 2426 2426 msgstr "బ్లాగు" 2427 2427 2428 msgid "Update s"2428 msgid "Update" 2429 2429 msgstr "" 2430 2430 -
locales/tr/main.po
r1039 r1592 840 840 msgstr "Gelecekte beni hatırla" 841 841 842 msgid " information about this version"842 msgid "<a href=\"%s\">Information about this version</a>." 843 843 msgstr "" 844 844 … … 2404 2404 msgstr "Blog" 2405 2405 2406 msgid "Update s"2406 msgid "Update" 2407 2407 msgstr "Güncellemeler" 2408 2408 -
locales/zh-cn/main.po
r1039 r1592 845 845 msgstr "稍后提醒我" 846 846 847 msgid " information about this version"847 msgid "<a href=\"%s\">Information about this version</a>." 848 848 msgstr "" 849 849 … … 2407 2407 msgstr "博客" 2408 2408 2409 msgid "Update s"2409 msgid "Update" 2410 2410 msgstr "更新" 2411 2411 -
plugins/blogroll/index.php
r1179 r1504 202 202 203 203 <div class="multi-part" title="<?php echo __('Blogroll'); ?>"> 204 205 <?php if (!$rs->isEmpty()) { ?> 206 204 207 <form action="plugin.php" method="post" id="links-form"> 205 208 <table class="maximal dragable"> … … 245 248 </tbody> 246 249 </table> 247 <?php 248 if (!$rs->isEmpty()) { 249 echo 250 '<div class="two-cols">'. 251 '<p class="col">'.form::hidden('links_order',''). 252 form::hidden(array('p'),'blogroll'). 253 $core->formNonce(). 254 '<input type="submit" name="saveorder" value="'.__('Save order').'" /></p>'. 255 256 '<p class="col right"><input type="submit" class="delete" name="removeaction"'. 257 ' value="'.__('Delete selected links').'" '. 258 'onclick="return window.confirm(\''.html::escapeJS( 259 __('Are you sure you want to delete selected links?')).'\');" /></p>'. 260 '</div>'; 261 } else { 262 echo 263 '<div><p>'.__('The link list is empty.').'</p></div>'; 264 } 265 ?> 250 251 <div class="two-cols"> 252 <p class="col"> 253 <?php 254 echo 255 form::hidden('links_order',''). 256 form::hidden(array('p'),'blogroll'). 257 $core->formNonce(); 258 ?> 259 <input type="submit" name="saveorder" value="<?php echo __('Save order'); ?>" /></p> 260 <p class="col right"><input type="submit" class="delete" name="removeaction" 261 value="<?php echo __('Delete selected links'); ?>" 262 onclick="return window.confirm(' 263 <?php echo html::escapeJS(__('Are you sure you want to delete selected links?')); ?>');" /></p> 264 </div> 266 265 </form> 266 267 <?php 268 } else { 269 echo '<div><p>'.__('The link list is empty.').'</p></div>'; 270 } 271 ?> 272 267 273 </div> 268 274
Note: See TracChangeset
for help on using the changeset viewer.