Dotclear


Ignore:
Files:
43 edited

Legend:

Unmodified
Added
Removed
  • .hgsubstate

    r1485 r1692  
    1 716e99c54652d08c2e4395d5179e817e0f98182d inc/libs/clearbricks 
     13811959404614e7014b897d3d3b96caad10e214f inc/libs/clearbricks 
  • admin/index.php

    r1536 r1591  
    280280          '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 
    281281          '</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) : ''). 
    283283          '</li></ul></div>'; 
    284284     } 
  • admin/install/index.php

    r1535 r1583  
    267267 
    268268  <script type="text/javascript" src="../js/jquery/jquery.js"></script> 
     269  <?php echo dcPage::jsLoad('../js/jquery/jquery.pwstrength.js'); ?> 
    269270  <script type="text/javascript"> 
    270271  //<![CDATA[ 
     
    278279      $(this).val(this.value.replace(login_re,'')); 
    279280    }); 
     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"; ?> 
    280288     
    281289    $('#u_login').parent().after($('<input type="hidden" name="u_date" value="' + Date().toLocaleString() + '" />')); 
     
    327335     '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 
    328336     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>'. 
    331347     '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').' '. 
    332348     form::password('u_pwd2',30,255).'</label></p>'. 
  • admin/js/_index.js

    r1418 r1500  
    3333                    post_status: status, 
    3434                    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() 
    3638               } 
    3739 
     
    5658                              contentTb.syncContents('textarea'); 
    5759                         } 
     60                         $('#cat_id',f).val('0'); 
     61                         $('#new_cat_title',f).val(''); 
     62                         $('#new_cat_parent',f).val('0'); 
    5863                    } 
    5964 
  • admin/js/_post.js

    r1417 r1515  
    137137          // We load toolbar on excerpt only when it's ready 
    138138          $('#excerpt-area label').toggleWithLegend($('#excerpt-area').children().not('label'),{ 
    139                fn: function() { excerptTb.switchMode(formatField.value); }, 
    140139               cookie: 'dcx_post_excerpt', 
    141140               hide: $('#post_excerpt').val() == '' 
     
    144143          // Load toolbars 
    145144          contentTb.switchMode(formatField.value); 
     145          excerptTb.switchMode(formatField.value); 
    146146           
    147147          // Replace attachment remove links by a POST form submit 
  • admin/services.php

    r1537 r1538  
    141141     public static function quickPost($core,$get,$post) 
    142142     { 
     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           
    143161          $cur = $core->con->openCursor($core->prefix.'post'); 
    144162           
  • admin/style/install.css

    r1065 r1583  
    154154     border: 1px solid #2C8FD1; 
    155155} 
     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  
    200200          echo 
    201201               '<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).')' : ''). 
    203203                    '</p>'. 
    204204           
  • admin/user.php

    r1179 r1583  
    172172dcPage::open($page_title, 
    173173     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". 
    174187      
    175188     # --BEHAVIOR-- adminUserHeaders 
     
    203216'<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'. 
    204217 
    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>'. 
    210230'<p class="form-note">'.__('Password must contain at least 6 characters.').'</p>'. 
    211231 
  • admin/users_actions.php

    r1179 r1555  
    269269     echo 
    270270     '<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:'). 
    272272     form::password('your_pwd',20,255).'</label></p>'. 
    273273     '</fieldset>'. 
  • inc/admin/prepend.php

    r1179 r1592  
    322322          $core->auth->check('usage,contentadmin',$core->blog->id),'menu-new-post'); 
    323323      
    324      $_menu['System']->prependItem(__('Updates'),'update.php','images/menu/update.png', 
     324     $_menu['System']->prependItem(__('Update'),'update.php','images/menu/update.png', 
    325325          preg_match('/update.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 
    326326          $core->auth->isSuperAdmin() && is_readable(DC_DIGESTS)); 
  • inc/core/class.dc.blog.php

    r1429 r1570  
    207207     public function triggerComments($ids, $del=false, $affected_posts=null) 
    208208     { 
    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)) { 
    215213               $strReq =  
    216                     'SELECT post_id, comment_trackback '. 
     214                    'SELECT post_id '. 
    217215                    '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'; 
    220218                
    221219               $rs = $this->con->select($strReq); 
    222220                
     221               $affected_posts = array(); 
    223222               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 
    231232          $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 '. 
    233234               'FROM '.$this->prefix.'comment '. 
    234235               '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). 
    243237               'GROUP BY post_id,comment_trackback'; 
    244238           
    245239          $rs = $this->con->select($strReq); 
    246240           
    247           $b_ids = $b_tbs = $b_nbs = array(); 
     241          $posts = array(); 
    248242          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 
    256251          $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; 
    277259               } 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); 
    281265          } 
    282266     } 
     
    733717     - no_content: Don't retrieve entry content (excerpt and content) 
    734718     - 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_id 
     719     - post_id: (integer or array) Get entry with given post_id 
    736720     - post_url: Get entry with given post_url field 
    737721     - user_id: (integer) Get entries belonging to given user ID 
     
    753737     - limit: Limit parameter 
    754738     - 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 
    755740      
    756741     Please note that on every cat_id or cat_url, you can add ?not to exclude 
     
    846831               } 
    847832               $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']); 
    848842          } 
    849843           
     
    22362230          $affected_posts = array(); 
    22372231          $strReq = 
    2238                'SELECT distinct(post_id) '. 
     2232               'SELECT post_id '. 
    22392233               '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'; 
    22412236           
    22422237          $rs = $this->con->select($strReq); 
  • inc/core/class.dc.core.php

    r1179 r1593  
    928928           
    929929          if (!empty($params['q'])) { 
    930                $params['q'] = str_replace('*','%',$params['q']); 
     930               $params['q'] = strtolower(str_replace('*','%',$params['q'])); 
    931931               $where .= 
    932932               'AND ('. 
  • inc/core/class.dc.media.php

    r1381 r1677  
    299299               $f->media_thumb = array(); 
    300300               $p = path::info($f->relname); 
     301 
    301302               $alpha = ($p['extension'] == 'png') || ($p['extension'] == 'PNG'); 
     303 
    302304               $thumb = sprintf(($alpha ? $this->thumb_tp_alpha : $this->thumb_tp),$this->root.'/'.$p['dirname'],$p['base'],'%s'); 
    303305               $thumb_url = sprintf(($alpha ? $this->thumb_tp_alpha : $this->thumb_tp),$this->root_url.$p['dirname'],$p['base'],'%s'); 
     
    306308               $thumb_url = preg_replace('#\./#','/',$thumb_url); 
    307309               $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               } 
    308318                
    309319               foreach ($this->thumb_sizes as $suffix => $s) { 
    310320                    if (file_exists(sprintf($thumb,$suffix))) { 
    311321                         $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); 
    312324                    } 
    313325               } 
  • locales/bn/main.po

    r1039 r1592  
    836836msgstr "পড়ে মনে করিয়ে দিও" 
    837837 
    838 msgid "information about this version" 
     838msgid "<a href=\"%s\">Information about this version</a>." 
    839839msgstr "" 
    840840 
     
    23972397msgstr "ব্লগ" 
    23982398 
    2399 msgid "Updates" 
     2399msgid "Update" 
    24002400msgstr "" 
    24012401 
  • locales/ca/main.po

    r1039 r1592  
    867867msgstr "" 
    868868 
    869 msgid "information about this version" 
     869msgid "<a href=\"%s\">Information about this version</a>." 
    870870msgstr "" 
    871871 
     
    24782478msgstr "Blog" 
    24792479 
    2480 msgid "Updates" 
     2480msgid "Update" 
    24812481msgstr "" 
    24822482 
  • locales/cs/main.po

    r1039 r1592  
    844844msgstr "Připomenout později" 
    845845 
    846 msgid "information about this version" 
     846msgid "<a href=\"%s\">Information about this version</a>." 
    847847msgstr "" 
    848848 
     
    23992399msgstr "Blog" 
    24002400 
    2401 msgid "Updates" 
     2401msgid "Update" 
    24022402msgstr "Aktualizace" 
    24032403 
  • locales/da/main.po

    r1039 r1592  
    845845msgstr "Påmind mig senere" 
    846846 
    847 msgid "information about this version" 
     847msgid "<a href=\"%s\">Information about this version</a>." 
    848848msgstr "" 
    849849 
     
    24092409msgstr "" 
    24102410 
    2411 msgid "Updates" 
     2411msgid "Update" 
    24122412msgstr "" 
    24132413 
  • locales/de/main.po

    r1039 r1592  
    841841msgstr "Erinnere mich später" 
    842842 
    843 msgid "information about this version" 
     843msgid "<a href=\"%s\">Information about this version</a>." 
    844844msgstr "Informationen zu dieser Version" 
    845845 
     
    24002400msgstr "Blog" 
    24012401 
    2402 msgid "Updates" 
     2402msgid "Update" 
    24032403msgstr "Aktualisierungen" 
    24042404 
  • locales/en/main.po

    r1479 r1592  
    829829msgstr "" 
    830830 
    831 msgid "information about this version" 
     831#, php-format 
     832msgid "<a href=\"%s\">Information about this version</a>." 
    832833msgstr "" 
    833834 
     
    23582359msgstr "" 
    23592360 
    2360 msgid "Updates" 
     2361msgid "Update" 
    23612362msgstr "" 
    23622363 
  • locales/eo/main.po

    r1039 r1592  
    826826msgstr "" 
    827827 
    828 msgid "information about this version" 
     828msgid "<a href=\"%s\">Information about this version</a>." 
    829829msgstr "" 
    830830 
     
    23462346msgstr "" 
    23472347 
    2348 msgid "Updates" 
     2348msgid "Update" 
    23492349msgstr "" 
    23502350 
  • locales/es-ar/main.po

    r1039 r1592  
    847847msgstr "Recordar mas tarde" 
    848848 
    849 msgid "information about this version" 
     849msgid "<a href=\"%s\">Information about this version</a>." 
    850850msgstr "" 
    851851 
     
    24162416msgstr "Blog" 
    24172417 
    2418 msgid "Updates" 
     2418msgid "Update" 
    24192419msgstr "Actualizaciones" 
    24202420 
  • locales/es/main.po

    r1039 r1592  
    850850msgstr "Recordármelo más tarde" 
    851851 
    852 msgid "information about this version" 
     852msgid "<a href=\"%s\">Information about this version</a>." 
    853853msgstr "" 
    854854 
     
    24212421msgstr "Blog" 
    24222422 
    2423 msgid "Updates" 
     2423msgid "Update" 
    24242424msgstr "Actualizaciones" 
    24252425 
  • locales/eu/main.po

    r1039 r1592  
    826826msgstr "" 
    827827 
    828 msgid "information about this version" 
     828msgid "<a href=\"%s\">Information about this version</a>." 
    829829msgstr "" 
    830830 
     
    23462346msgstr "" 
    23472347 
    2348 msgid "Updates" 
     2348msgid "Update" 
    23492349msgstr "" 
    23502350 
  • locales/fr/main.po

    r1488 r1592  
    875875msgstr "Me le rappeler plus tard" 
    876876 
    877 msgid "information about this version" 
    878 msgstr "Information à propos de cette version" 
     877#, php-format 
     878msgid "<a href=\"%s\">Information about this version</a>." 
     879msgstr "<a href=\"%s\">Information à propos de cette version</a>." 
    879880 
    880881msgid "Some plugins are installed twice:" 
     
    24742475msgstr "Blog" 
    24752476 
    2476 msgid "Updates" 
    2477 msgstr "Mises à jour" 
     2477msgid "Update" 
     2478msgstr "Mise à jour" 
    24782479 
    24792480msgid "Languages" 
  • locales/hu/main.po

    r1039 r1592  
    867867msgstr "Értesíts később" 
    868868 
    869 msgid "information about this version" 
     869msgid "<a href=\"%s\">Information about this version</a>." 
    870870msgstr "" 
    871871 
     
    24572457msgstr "Blog" 
    24582458 
    2459 msgid "Updates" 
     2459msgid "Update" 
    24602460msgstr "Frissítések" 
    24612461 
  • locales/it/main.po

    r1039 r1592  
    843843msgstr "Ricorda in seguito" 
    844844 
    845 msgid "information about this version" 
     845msgid "<a href=\"%s\">Information about this version</a>." 
    846846msgstr "" 
    847847 
     
    23982398msgstr "Blog" 
    23992399 
    2400 msgid "Updates" 
     2400msgid "Update" 
    24012401msgstr "Aggiornamenti" 
    24022402 
  • locales/ja/main.po

    r1039 r1592  
    852852msgstr "後で再度知らせる" 
    853853 
    854 msgid "information about this version" 
     854msgid "<a href=\"%s\">Information about this version</a>." 
    855855msgstr "" 
    856856 
     
    24302430msgstr "ブログ" 
    24312431 
    2432 msgid "Updates" 
     2432msgid "Update" 
    24332433msgstr "アップデート" 
    24342434 
  • locales/ko/main.po

    r1039 r1592  
    851851msgstr "나중에 다시 알려줌" 
    852852 
    853 msgid "information about this version" 
     853msgid "<a href=\"%s\">Information about this version</a>." 
    854854msgstr "" 
    855855 
     
    24312431msgstr "블로그" 
    24322432 
    2433 msgid "Updates" 
     2433msgid "Update" 
    24342434msgstr "DotClear 갱신" 
    24352435 
  • locales/lt/main.po

    r1039 r1592  
    22052205msgstr "Blogas" 
    22062206 
    2207 msgid "Updates" 
     2207msgid "Update" 
    22082208msgstr "Atnaujinimai" 
    22092209 
  • locales/nl/main.po

    r1039 r1592  
    829829msgstr "" 
    830830 
    831 msgid "information about this version" 
     831msgid "<a href=\"%s\">Information about this version</a>." 
    832832msgstr "" 
    833833 
     
    23612361msgstr "" 
    23622362 
    2363 msgid "Updates" 
     2363msgid "Update" 
    23642364msgstr "" 
    23652365 
  • locales/oc/main.po

    r1039 r1592  
    835835msgstr "" 
    836836 
    837 msgid "information about this version" 
     837msgid "<a href=\"%s\">Information about this version</a>." 
    838838msgstr "" 
    839839 
     
    23792379msgstr "Blòg" 
    23802380 
    2381 msgid "Updates" 
     2381msgid "Update" 
    23822382msgstr "" 
    23832383 
  • locales/pl/main.po

    r1039 r1592  
    837837msgstr "Przypomnij mi później" 
    838838 
    839 msgid "information about this version" 
     839msgid "<a href=\"%s\">Information about this version</a>." 
    840840msgstr "informacje o tej wersji" 
    841841 
     
    23722372msgstr "Blog" 
    23732373 
    2374 msgid "Updates" 
     2374msgid "Update" 
    23752375msgstr "Uaktualnienia" 
    23762376 
  • locales/pt-br/main.po

    r1039 r1592  
    870870msgstr "" 
    871871 
    872 msgid "information about this version" 
     872msgid "<a href=\"%s\">Information about this version</a>." 
    873873msgstr "" 
    874874 
     
    24972497msgstr "Blog" 
    24982498 
    2499 msgid "Updates" 
     2499msgid "Update" 
    25002500msgstr "" 
    25012501 
  • locales/pt/main.po

    r1039 r1592  
    848848msgstr "Lembrar-me mais tarde" 
    849849 
    850 msgid "information about this version" 
     850msgid "<a href=\"%s\">Information about this version</a>." 
    851851msgstr "" 
    852852 
     
    24082408msgstr "Blog" 
    24092409 
    2410 msgid "Updates" 
     2410msgid "Update" 
    24112411msgstr "Actualizações" 
    24122412 
  • locales/ro/main.po

    r1039 r1592  
    828828msgstr "" 
    829829 
    830 msgid "information about this version" 
     830msgid "<a href=\"%s\">Information about this version</a>." 
    831831msgstr "" 
    832832 
     
    23572357msgstr "" 
    23582358 
    2359 msgid "Updates" 
     2359msgid "Update" 
    23602360msgstr "" 
    23612361 
  • locales/ru/main.po

    r1039 r1592  
    847847msgstr "Напомнить мне позже" 
    848848 
    849 msgid "information about this version" 
     849msgid "<a href=\"%s\">Information about this version</a>." 
    850850msgstr "" 
    851851 
     
    23992399msgstr "Блог" 
    24002400 
    2401 msgid "Updates" 
     2401msgid "Update" 
    24022402msgstr "Обновления" 
    24032403 
  • locales/sr/main.po

    r1039 r1592  
    858858msgstr "" 
    859859 
    860 msgid "information about this version" 
     860msgid "<a href=\"%s\">Information about this version</a>." 
    861861msgstr "" 
    862862 
     
    24442444msgstr "Blog" 
    24452445 
    2446 msgid "Updates" 
     2446msgid "Update" 
    24472447msgstr "" 
    24482448 
  • locales/sv/main.po

    r1039 r1592  
    826826msgstr "" 
    827827 
    828 msgid "information about this version" 
     828msgid "<a href=\"%s\">Information about this version</a>." 
    829829msgstr "" 
    830830 
     
    23462346msgstr "" 
    23472347 
    2348 msgid "Updates" 
     2348msgid "Update" 
    23492349msgstr "" 
    23502350 
  • locales/te/main.po

    r1039 r1592  
    854854msgstr "" 
    855855 
    856 msgid "information about this version" 
     856msgid "<a href=\"%s\">Information about this version</a>." 
    857857msgstr "" 
    858858 
     
    24262426msgstr "బ్లాగు" 
    24272427 
    2428 msgid "Updates" 
     2428msgid "Update" 
    24292429msgstr "" 
    24302430 
  • locales/tr/main.po

    r1039 r1592  
    840840msgstr "Gelecekte beni hatırla" 
    841841 
    842 msgid "information about this version" 
     842msgid "<a href=\"%s\">Information about this version</a>." 
    843843msgstr "" 
    844844 
     
    24042404msgstr "Blog" 
    24052405 
    2406 msgid "Updates" 
     2406msgid "Update" 
    24072407msgstr "Güncellemeler" 
    24082408 
  • locales/zh-cn/main.po

    r1039 r1592  
    845845msgstr "稍后提醒我" 
    846846 
    847 msgid "information about this version" 
     847msgid "<a href=\"%s\">Information about this version</a>." 
    848848msgstr "" 
    849849 
     
    24072407msgstr "博客" 
    24082408 
    2409 msgid "Updates" 
     2409msgid "Update" 
    24102410msgstr "更新" 
    24112411 
  • plugins/blogroll/index.php

    r1179 r1504  
    202202 
    203203<div class="multi-part" title="<?php echo __('Blogroll'); ?>"> 
     204 
     205<?php if (!$rs->isEmpty()) { ?> 
     206 
    204207<form action="plugin.php" method="post" id="links-form"> 
    205208<table class="maximal dragable"> 
     
    245248</tbody> 
    246249</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> 
    266265</form> 
     266 
     267<?php 
     268} else { 
     269     echo '<div><p>'.__('The link list is empty.').'</p></div>'; 
     270} 
     271?> 
     272 
    267273</div> 
    268274 
Note: See TracChangeset for help on using the changeset viewer.

Sites map