Changes in [2183:f6c52cbace25:2184:0176916f2d71]
- Files:
-
- 6 added
- 2 deleted
- 64 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/_charte.php
r2111 r2160 23 23 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 24 24 <title>Bibliothèque de styles - Dotclear - 2.6</title> 25 <link rel="icon" type="image/png" href="images/favicon .png" />25 <link rel="icon" type="image/png" href="images/favicon96-login.png" /> 26 26 <!--[if lt IE 9]> 27 27 <script type="text/javascript" src="js/ie7/IE9.js"></script> … … 158 158 </div><!-- 159 159 --><div class="two-boxes even"> 160 <p><span class="step">2</span> S'il n'y a que deux boîtes, une autre class n'est pas nécessaire. S'il y en a plusieurs, il est conseillé de leur attribuer alternativement les class <code>"odd"</code>et <code>"even"</code> pour que les marges se placent correctement.</p>160 <p><span class="step">2</span> On peut assortir une boîte des class <code>"odd"</code> (nothing left) et <code>"even"</code> pour que les marges se placent correctement.</p> 161 161 </div><!-- 162 162 --><div class="two-boxes odd"> -
admin/auth.php
r2143 r2160 268 268 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 269 269 <title><?php echo html::escapeHTML(DC_VENDOR_NAME); ?></title> 270 <link rel="icon" type="image/png" href="images/favicon-off.png" /> 270 <link rel="icon" type="image/png" href="images/favicon96-logout.png" /> 271 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 272 271 273 272 274 <?php -
admin/blog.php
r1615 r2166 72 72 __('System') => '', 73 73 __('Blogs') => 'blogs.php', 74 '<span class="page-title">'.__('New blog').'</span>'=> ''74 __('New blog') => '' 75 75 )) 76 76 ); -
admin/blog_del.php
r1733 r2166 54 54 __('System') => '', 55 55 __('Blogs') => 'blogs.php', 56 '<span class="page-title">'.__('Delete a blog').'</span>'=> ''56 __('Delete a blog') => '' 57 57 )) 58 58 ); -
admin/blog_pref.php
r2028 r2166 270 270 array( 271 271 html::escapeHTML($blog_name) => '', 272 '<span class="page-title">'.__('Blog settings').'</span>' => '' 273 )); 272 __('Blog settings') => '' 273 ) 274 ); 274 275 } else { 275 276 $breadcrumb = dcPage::breadcrumb( … … 277 278 __('System') => '', 278 279 __('Blogs') => 'blogs.php', 279 '<span class="page-title">'.__('Blog settings').' : '.html::escapeHTML($blog_name).'</span>'=> ''280 __('Blog settings').' : '.html::escapeHTML($blog_name) => '' 280 281 )); 281 282 } -
admin/blog_theme.php
r1553 r2166 212 212 array( 213 213 html::escapeHTML($core->blog->name) => '', 214 '<span class="page-title">'.__('Blog appearance').'</span>'=> ''214 __('Blog appearance') => '' 215 215 )); 216 216 } else { … … 219 219 html::escapeHTML($core->blog->name) => '', 220 220 __('Blog appearance') => 'blog_theme.php', 221 '<span class="page-title">'.__('Theme configuration').'</span>'=> ''221 __('Theme configuration') => '' 222 222 )); 223 223 } -
admin/blogs.php
r2137 r2166 73 73 -------------------------------------------------------- */ 74 74 75 $form_filter_title = __(' Filter blogs listand display options');75 $form_filter_title = __('Show filters and display options'); 76 76 $starting_script = dcPage::jsLoad('js/filter-controls.js'); 77 77 $starting_script .= … … 80 80 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 81 81 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 82 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n".82 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel filters and display options'))."\n". 83 83 "//]]>". 84 84 "</script>"; … … 88 88 array( 89 89 __('System') => '', 90 '<span class="page-title">'.__('List of blogs').'</span>' => ''90 __('List of blogs') 91 91 )) 92 92 ); -
admin/categories.php
r2125 r2166 107 107 array( 108 108 html::escapeHTML($core->blog->name) => '', 109 '<span class="page-title">'.__('Categories').'</span>'=> ''109 __('Categories') => '' 110 110 )) 111 111 ); -
admin/category.php
r2117 r2166 166 166 } 167 167 } 168 $elements[ '<span class="page-title">'.$title.'</span>'] = '';168 $elements[$title] = ''; 169 169 170 170 dcPage::open($title, -
admin/comment.php
r1972 r2166 164 164 html::escapeHTML($core->blog->name) => '', 165 165 html::escapeHTML($post_title) => $core->getPostAdminURL($post_type,$post_id).'&co=1#c'.$comment_id, 166 '<span class="page-title">'.__('Edit comment').'</span>'=> ''166 __('Edit comment') => '' 167 167 )); 168 168 } else { … … 171 171 html::escapeHTML($core->blog->name) => '', 172 172 html::escapeHTML($post_title) => $core->getPostAdminURL($post_type,$post_id), 173 '<span class="page-title">'.__('Edit comment').'</span>'=> ''173 __('Edit comment') => '' 174 174 )); 175 175 } -
admin/comments.php
r2136 r2166 153 153 -------------------------------------------------------- */ 154 154 155 $form_filter_title = __(' Filter comments, trackbacks listand display options');155 $form_filter_title = __('Show filters and display options'); 156 156 $starting_script = dcPage::jsLoad('js/_comments.js'); 157 157 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); … … 161 161 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 162 162 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 163 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n".163 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel filters and display options'))."\n". 164 164 "//]]>". 165 165 "</script>"; … … 169 169 array( 170 170 html::escapeHTML($core->blog->name) => '', 171 '<span class="page-title">'.__('Comments and trackbacks').'</span>'=> ''171 __('Comments and trackbacks') => '' 172 172 )) 173 173 ); -
admin/help.php
r2074 r2166 77 77 array( 78 78 __('Global help') => 'help.php', 79 '<span class="page-title">'.$content_array['title'].'</span>'=> ''79 $content_array['title'] => '' 80 80 )); 81 81 } else { 82 82 $breadcrumb = dcPage::breadcrumb( 83 83 array( 84 '<span class="page-title">'.__('Global help').'</span>'=> ''84 __('Global help') => '' 85 85 )); 86 86 } -
admin/index.php
r2116 r2166 205 205 dcPage::breadcrumb( 206 206 array( 207 '<span class="page-title">'.__('Dashboard').' : '.html::escapeHTML($core->blog->name).'</span>'=> ''207 __('Dashboard').' : '.html::escapeHTML($core->blog->name) => '' 208 208 ), 209 false) 209 array('home_link' =>false) 210 ) 210 211 ); 211 212 … … 228 229 } 229 230 230 if ($core->auth->getInfo('user_default_blog') != $core->blog->id && $core->auth-> blog_count> 1) {231 if ($core->auth->getInfo('user_default_blog') != $core->blog->id && $core->auth->getBlogCount() > 1) { 231 232 echo 232 233 '<p><a href="index.php?default_blog=1" class="button">'.__('Make this blog my default blog').'</a></p>'; -
admin/js/jquery/jquery.pageTabs.js
r2113 r2162 72 72 73 73 $.pageTabs.clickTab = function(tab) { 74 if (tab=='') { 75 tab = getHash($('ul li a', '.'+$.pageTabs.options.containerClass+':eq(0)').attr('href')); 76 } 77 74 78 $('ul li a', '.'+$.pageTabs.options.containerClass).filter(function() { 75 79 return getHash($(this).attr('href'))==tab; -
admin/js/jsToolBar/jsToolBar.wysiwyg.js
r2101 r2155 89 89 var idoc = This.iwin.document; 90 90 var para = idoc.createElement('p'); 91 para.appendChild(idoc.create TextNode(''));91 para.appendChild(idoc.createElement('br')); 92 92 while (idoc.body.hasChildNodes()) { 93 93 idoc.body.removeChild(idoc.body.lastChild); -
admin/langs.php
r2007 r2166 133 133 array( 134 134 __('System') => '', 135 '<span class="page-title">'.__('Languages management').'</span>'=> ''135 __('Languages management') => '' 136 136 )) 137 137 ); -
admin/media.php
r2099 r2167 212 212 html::escapeHTML($core->blog->name) => '', 213 213 __('Media manager') => '', 214 '<span class="page-title">'.__('confirm removal').'</span>' => '' 215 ),!$popup) 214 __('confirm removal') => '' 215 ), 216 array('home_link' => !$popup) 217 ) 216 218 ); 217 219 … … 240 242 array( 241 243 html::escapeHTML($core->blog->name) => '', 242 '<span class="page-title">'.__('Media manager').'</span>' => '' 243 ),!$popup); 244 __('Media manager') => '' 245 ), 246 array('home_link' => !$popup) 247 ); 244 248 } else { 245 249 $breadcrumb_media = $core->media->breadCrumb(html::escapeURL($page_url).'&d=%s','<span class="page-title">%s</span>'); … … 248 252 array( 249 253 html::escapeHTML($core->blog->name) => '', 250 '<span class="page-title">'.__('Media manager').'</span>' => '' 251 ),!$popup); 254 __('Media manager') => '' 255 ), 256 array('home_link' => !$popup) 257 ); 252 258 } else { 253 259 $breadcrumb = dcPage::breadcrumb( … … 256 262 __('Media manager') => html::escapeURL($page_url.'&d='), 257 263 $breadcrumb_media => '' 258 ),!$popup); 264 ), 265 array( 266 'home_link' => !$popup, 267 'hl' => false 268 ) 269 ); 259 270 } 260 271 } … … 409 420 { 410 421 echo 411 '<div class="two-boxes fieldset ">';422 '<div class="two-boxes fieldset even">'; 412 423 if ($user_ui_enhanceduploader) { 413 424 echo -
admin/media_item.php
r2106 r2167 206 206 __('Media manager') => html::escapeURL($media_page_url), 207 207 $core->media->breadCrumb(html::escapeURL($media_page_url).'&d=%s').'<span class="page-title">'.$file->basename.'</span>' => '' 208 ),!$popup) 208 ), 209 array( 210 'home_link' => !$popup, 211 'hl' => false 212 ) 213 ) 209 214 ); 210 215 -
admin/plugin.php
r1358 r2166 85 85 array( 86 86 __('System') => '', 87 '<span class="page-title">'.__('Plugin not found').'</span>'=> ''87 __('Plugin not found') => '' 88 88 )) 89 89 ); -
admin/plugins.php
r2007 r2166 195 195 array( 196 196 __('System') => '', 197 '<span class="page-title">'.__('Plugins management').'</span>'=> ''197 __('Plugins management') => '' 198 198 )) 199 199 ); -
admin/post.php
r2142 r2181 298 298 # --BEHAVIOR-- adminAfterPostUpdate 299 299 $core->callBehavior('adminAfterPostUpdate',$cur,$post_id); 300 301 http::redirect('post.php?id='.$post_id .'&upd=1');300 dcPage::addSuccessNotice (sprintf('The post "%s" has been successfully updated',html::escapeHTML($cur->post_title))); 301 http::redirect('post.php?id='.$post_id); 302 302 } 303 303 catch (Exception $e) … … 385 385 html::escapeHTML($core->blog->name) => '', 386 386 __('Entries') => 'posts.php', 387 '<span class="page-title">'.($post_id ? $page_title_edit : $page_title).'</span>'=> ''387 ($post_id ? $page_title_edit : $page_title) => '' 388 388 )) 389 389 ); -
admin/posts.php
r2136 r2166 213 213 -------------------------------------------------------- */ 214 214 215 $form_filter_title = __(' Filter users listand display options');215 $form_filter_title = __('Show filters and display options'); 216 216 $starting_script = dcPage::jsLoad('js/_posts_list.js'); 217 217 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); … … 221 221 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 222 222 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 223 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n".223 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel filters and display options'))."\n". 224 224 "//]]>". 225 225 "</script>"; … … 229 229 array( 230 230 html::escapeHTML($core->blog->name) => '', 231 '<span class="page-title">'.__('Entries').'</span>'=> ''231 __('Entries') => '' 232 232 )) 233 233 ); -
admin/preferences.php
r2021 r2166 382 382 array( 383 383 html::escapeHTML($core->auth->userID()) => '', 384 '<span class="page-title">'.$page_title.'</span>'=> ''384 $page_title => '' 385 385 )) 386 386 ); … … 543 543 echo '<h3>'.__('My dashboard').'</h3>'; 544 544 545 echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes ">';545 echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes odd">'; 546 546 547 547 echo '<div id="my-favs" class="fieldset"><h4>'.__('My favorites').'</h4>'; -
admin/search.php
r1912 r2166 74 74 array( 75 75 html::escapeHTML($core->blog->name) => '', 76 '<span class="page-title">'.__('Search').'</span>'=> ''76 __('Search') => '' 77 77 )) 78 78 ); -
admin/style/default.css
r2142 r2152 149 149 } 150 150 /* ------------------------------------------------- layout: optionnal one/two-boxes */ 151 .one-box, .two-boxes, .three-boxes, .box {152 margin-bottom: 1em;153 }154 151 .one-box { 155 152 text-align: justify; 156 153 } 154 .two-boxes, .three-boxes, .box { 155 display: inline-block; 156 vertical-align: top; 157 margin: 0 1.5% 1em; 158 -moz-box-sizing: border-box; 159 -webkit-box-sizing: border-box; 160 box-sizing: border-box; 161 } 157 162 .two-boxes { 158 163 width: 47%; 159 display: inline-block; 160 vertical-align: top; 161 margin-right: 2%; 162 -moz-box-sizing: border-box; 163 -webkit-box-sizing: border-box; 164 box-sizing: border-box; 165 } 166 .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child { 167 margin-right: 3%; 168 margin-left: 0; 169 } 170 .two-boxes.even:last-child, .two-boxes.even { 171 margin-left: 3%; 172 margin-right: 0; 173 } 164 } 174 165 .three-boxes { 175 166 width: 30%; 176 display: inline-block; 177 vertical-align: top; 178 margin-left: 1.5%; 179 margin-right: 1.5%; 180 -moz-box-sizing: border-box; 181 -webkit-box-sizing: border-box; 182 box-sizing: border-box; 183 } 184 .three-boxes:first-child, .three-boxes.first-child { 185 margin-left: 0; 186 } 187 .three-boxes:last-child, .three-boxes.last-child { 188 margin-right: 0; 189 } 190 /* boîtes intérieures distribuées horizontalement */ 167 } 191 168 .box { 192 display: inline-block; 193 vertical-align: top; 194 margin-right: 3%; 195 text-align: left; 196 } 197 .box:last-child { 169 margin-left: 0; 170 margin-right: 0; 171 } 172 .odd { 173 margin-left: 0; 174 } 175 .even { 198 176 margin-right: 0; 199 177 } … … 448 426 h1 a:link, h1 a:visited { 449 427 border: none; 428 } 429 .discrete a { 430 color: #333; 450 431 } 451 432 /* ---------------------------------------------------------------------------- … … 1474 1455 } 1475 1456 .box.small { 1476 width: 3 00px;1457 width: 320px; 1477 1458 } 1478 1459 .box.medium { 1479 width: 6 40px;1460 width: 660px; 1480 1461 } 1481 1462 .box.large { … … 2394 2375 display: block; 2395 2376 } 2377 /* ---------------------------------------------- Couleurs ajoutées via javascript 2378 /* color-picker.js */ 2379 .color-color-picker { 2380 border: 1px solid #000; 2381 width: 195px; 2382 background: #fff; 2383 } 2384 /* _blog_theme.js */ 2385 .select-button { 2386 font-weight: bold; 2387 } 2388 /* _media_item.js */ 2389 .color-div { 2390 border: 1px solid #ccc; 2391 } 2392 /* fadings ('color' est utilisé comme variable, pas comme text color) */ 2393 .colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail { 2394 color: #fff; 2395 } 2396 .colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail { 2397 color: #ffbaba; 2398 } 2399 .colorBeginMessage { 2400 color: #ccc; 2401 } 2402 .colorEndMessage, .colorBeginValidatorMsg { 2403 color: #676e78; 2404 } 2405 .colorBeginError { 2406 color: #ffdec8; 2407 } 2408 .colorBeginSuccess { 2409 color: #9BCA1C; 2410 } 2411 .colorEndSuccess { 2412 color: #bee74b; 2413 } 2414 .colorEndValidatorMsg { 2415 color: #ffcc00; 2416 } 2396 2417 /* ------------------------------------------------------------------------------------ 2397 2418 UN POIL DE MEDIA QUERIES … … 2433 2454 #top-info-user a.active { 2434 2455 padding: 2px 8px; 2456 background: #999; 2457 color: #FFF; 2458 border-width: 0; 2459 -webkit-border-radius: 6px; 2460 border-radius: 6px; 2435 2461 } 2436 2462 .three-boxes, .three-boxes .box, 2437 .three-boxes:first-child, .three-boxes.first-child,2438 .three-boxes:last-child, .three-boxes.last-child,2439 2463 .two-cols .col70, .two-cols .col30 { 2440 2464 width: 100%; … … 2457 2481 top: 77px; 2458 2482 } 2459 .one-box, .two-boxes, 2460 .one-box .box, .two-boxes .box, .two-boxes.odd, .two-boxes.even, 2461 .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child, 2462 .two-boxes.even:last-child, .two-boxes.even, 2483 .one-box, .two-boxes, .two-boxes.odd, .two-boxes.even, .box, 2463 2484 .two-cols .col { 2464 2485 width: 100%; … … 2493 2514 display: inline; 2494 2515 } 2495 #content {2516 #content, .hide-mm #content { 2496 2517 margin: 0; 2497 2518 padding: 0 .5em !important; … … 2502 2523 #main #content > h2 { 2503 2524 margin: 0; 2504 padding: 6px 0;2525 padding: 6px 30px 6px 0; 2505 2526 } 2506 2527 #dashboard-boxes .box.medium, 2507 2528 #dashboard-boxes .box.small, 2508 2529 #dashboard-boxes .box.large { 2509 width: 90%;2530 width: 100%; 2510 2531 margin: 10px auto; 2511 2532 } 2512 2533 } 2513 @media screen and (max-width: 500px) {2534 @media screen and (max-width: 420px) { 2514 2535 h1, h1 a { 2515 2536 padding: 0; … … 2519 2540 display: none; 2520 2541 } 2542 #top-info-blog { 2543 margin-bottom: .5em; 2544 max-width: 75%; 2545 } 2521 2546 #top-info-blog select { 2522 2547 margin-bottom: .5em; 2523 margin-right: 0 !important;2524 }2525 #top-info-blog p {2526 display: block;2527 2548 } 2528 2549 #icons p { … … 2533 2554 } 2534 2555 } 2535 /* ---------------------------------------------- Couleurs ajoutées via javascript2536 /* color-picker.js */2537 .color-color-picker {2538 border: 1px solid #000;2539 width: 195px;2540 background: #fff;2541 }2542 /* _blog_theme.js */2543 .select-button {2544 font-weight: bold;2545 }2546 /* _media_item.js */2547 .color-div {2548 border: 1px solid #ccc;2549 }2550 /* fadings ('color' est utilisé comme variable, pas comme text color) */2551 .colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail {2552 color: #fff;2553 }2554 .colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail {2555 color: #ffbaba;2556 }2557 .colorBeginMessage {2558 color: #ccc;2559 }2560 .colorEndMessage, .colorBeginValidatorMsg {2561 color: #676e78;2562 }2563 .colorBeginError {2564 color: #ffdec8;2565 }2566 .colorBeginSuccess {2567 color: #9BCA1C;2568 }2569 .colorEndSuccess {2570 color: #bee74b;2571 }2572 .colorEndValidatorMsg {2573 color: #ffcc00;2574 } -
admin/update.php
r1792 r2166 178 178 array( 179 179 __('System') => '', 180 '<span class="page-title">'.__('Dotclear update').'</span>'=> ''180 __('Dotclear update') => '' 181 181 )) 182 182 ); -
admin/user.php
r1719 r2166 186 186 __('System') => '', 187 187 __('Users') => 'users.php', 188 '<span class="page-title">'.$page_title.'</span>'=> ''188 $page_title => '' 189 189 )) 190 190 ); -
admin/users.php
r2137 r2166 93 93 -------------------------------------------------------- */ 94 94 95 $form_filter_title = __(' Filter users listand display options');95 $form_filter_title = __('Show filters and display options'); 96 96 $starting_script = dcPage::jsLoad('js/_users.js'); 97 97 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); … … 101 101 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 102 102 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 103 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n".103 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel filters and display options'))."\n". 104 104 "//]]>". 105 105 "</script>"; … … 109 109 array( 110 110 __('System') => '', 111 '<span class="page-title">'.__('Users').'</span>'=> ''111 __('Users') => '' 112 112 )) 113 113 ); -
admin/users_actions.php
r2108 r2166 136 136 __('System') => '', 137 137 __('Users') => 'users.php', 138 '<span class="page-title">'.__('Permissions').'</span>'=> ''138 __('Permissions') => '' 139 139 )); 140 140 } else { … … 143 143 __('System') => '', 144 144 __('Users') => 'users.php', 145 '<span class="page-title">'.__('Actions').'</span>'=> ''145 __('Actions') => '' 146 146 )); 147 147 } -
inc/admin/actions/class.dcaction.php
r2072 r2169 225 225 * @return string the redirection url 226 226 */ 227 public function getRedirection($ params=array(),$with_selected_entries=false) {227 public function getRedirection($with_selected_entries=false,$params=array()) { 228 228 $redir_args = array_merge($params,$this->redir_args); 229 229 if ($with_selected_entries) { … … 240 240 * @access public 241 241 */ 242 public function redirect($ params=array(),$with_selected_entries=false) {243 http::redirect($this->getRedirection($ params,$with_selected_entries));242 public function redirect($with_selected_entries=false,$params=array()) { 243 http::redirect($this->getRedirection($with_selected_entries,$params)); 244 244 exit; 245 245 } -
inc/admin/actions/class.dcactioncomments.php
r2075 r2169 46 46 47 47 } 48 echo '<p><a class="back" href="'.$this->getRedirection( array(),true).'">'.__('Back to comments list').'</a></p>';48 echo '<p><a class="back" href="'.$this->getRedirection(true).'">'.__('Back to comments list').'</a></p>'; 49 49 } 50 50 … … 59 59 html::escapeHTML($this->core->blog->name) => '', 60 60 __('Comments') => 'comments.php', 61 '<span class="page-title">'.__('Comments actions').'</span>'=> ''61 __('Comments actions') => '' 62 62 )) 63 63 ); … … 149 149 150 150 $core->blog->updCommentsStatus($co_ids,$status); 151 $ap->redirect( array('upd'=>1),true);151 $ap->redirect(true,array('upd'=>1)); 152 152 } 153 153 … … 168 168 169 169 $core->blog->delComments($co_ids); 170 $ap->redirect( array('del'=>1), false);170 $ap->redirect(false,array('del'=>1)); 171 171 } 172 172 } -
inc/admin/actions/class.dcactionposts.php
r2072 r2181 44 44 ); 45 45 } 46 echo '<p><a class="back" href="'.$this->getRedirection( array(),true).'">'.__('Back to entries list').'</a></p>';46 echo '<p><a class="back" href="'.$this->getRedirection(true).'">'.__('Back to entries list').'</a></p>'; 47 47 } 48 48 … … 60 60 array( 61 61 html::escapeHTML($this->core->blog->name) => '', 62 $this->getCallerTitle() => $this->getRedirection( array(),true),63 '<span class="page-title">'.__('Entries actions').'</span>'=> ''62 $this->getCallerTitle() => $this->getRedirection(true), 63 __('Entries actions') => '' 64 64 )) 65 65 ); … … 159 159 } 160 160 $core->blog->updPostsStatus($posts_ids,$status); 161 162 $ap->redirect(array('upd' => 1),true); 161 dcPage::addSuccessNotice(sprintf( 162 __( 163 '%d entry has been successfully updated to status : "%s"', 164 '%d entries have been successfully updated to status : "%s"', 165 count($posts_ids) 166 ), 167 count($posts_ids), 168 $core->blog->getPostStatus($status)) 169 ); 170 $ap->redirect(true); 163 171 } 164 172 … … 170 178 $action = $ap->getAction(); 171 179 $core->blog->updPostsSelected($posts_ids,$action == 'selected'); 172 173 $ap->redirect(array('upd' => 1),true); 180 if ($action == 'selected') { 181 dcPage::addSuccessNotice(sprintf( 182 __( 183 '%d entry has been successfully marked as selected', 184 '%d entries have been successfully marked as selected', 185 count($posts_ids) 186 ), 187 count($posts_ids)) 188 ); 189 } else { 190 dcPage::addSuccessNotice(sprintf( 191 __( 192 '%d entry has been successfully marked as unselected', 193 '%d entries have been successfully marked as unselected', 194 count($posts_ids) 195 ), 196 count($posts_ids)) 197 ); 198 } 199 $ap->redirect(true); 174 200 } 175 201 … … 191 217 192 218 $core->blog->delPosts($posts_ids); 219 dcPage::addSuccessNotice(sprintf( 220 __( 221 '%d entry has been successfully deleted', 222 '%d entries have been successfully deleted', 223 count($posts_ids) 224 ), 225 count($posts_ids)) 226 ); 193 227 194 $ap->redirect( array('del',1),false);228 $ap->redirect(false); 195 229 } 196 230 … … 207 241 $cur_cat->cat_title = $post['new_cat_title']; 208 242 $cur_cat->cat_url = ''; 243 $title = $cur_cat->cat_title; 209 244 210 245 $parent_cat = !empty($post['new_cat_parent']) ? $post['new_cat_parent'] : ''; … … 220 255 221 256 $core->blog->updPostsCategory($posts_ids, $new_cat_id); 222 223 $ap->redirect(array('upd'=>1),true); 257 $title = $core->blog->getCategory($new_cat_id); 258 dcPage::addSuccessNotice(sprintf( 259 __( 260 '%d entry has been successfully moved to category "%s"', 261 '%d entries have been successfully moved to category "%s"', 262 count($posts_ids) 263 ), 264 count($posts_ids), 265 html::escapeHTML($title->cat_title)) 266 ); 267 268 $ap->redirect(true); 224 269 } else { 225 270 … … 228 273 array( 229 274 html::escapeHTML($core->blog->name) => '', 230 $ap->getCallerTitle() => $ap->getRedirection( array(),true),231 '<span class="page-title">'.__('Change category for this selection').'</span>'=> ''275 $ap->getCallerTitle() => $ap->getRedirection(true), 276 __('Change category for this selection') => '' 232 277 ))); 233 278 # categories list … … 237 282 ); 238 283 echo 239 '<form action="'.$ap->get Redirection(array(),true).'" method="post">'.284 '<form action="'.$ap->getURI().'" method="post">'. 240 285 $ap->getCheckboxes(). 241 286 '<p><label for="new_cat_id" class="classic">'.__('Category:').'</label> '. … … 279 324 $cur->user_id = $new_user_id; 280 325 $cur->update('WHERE post_id '.$core->con->in($posts_ids)); 281 282 $ap->redirect(array('upd' => 1),true); 326 dcPage::addSuccessNotice(sprintf( 327 __( 328 '%d entry has been successfully set to user "%s"', 329 '%d entries have been successfully set to user "%s"', 330 count($posts_ids) 331 ), 332 count($posts_ids), 333 html::escapeHTML($new_user_id)) 334 ); 335 336 337 $ap->redirect(true); 283 338 } else { 284 339 $usersList = ''; … … 298 353 array( 299 354 html::escapeHTML($core->blog->name) => '', 300 $ap->getCallerTitle() => $ap->getRedirection( array(),true),301 '<span class="page-title">'.__('Change author for this selection').'</span>'=> '')),355 $ap->getCallerTitle() => $ap->getRedirection(true), 356 __('Change author for this selection') => '')), 302 357 dcPage::jsLoad('js/jquery/jquery.autocomplete.js'). 303 358 '<script type="text/javascript">'."\n". … … 309 364 310 365 echo 311 '<form action="'.$ap->get Redirection(array(),true).'" method="post">'.366 '<form action="'.$ap->getURI().'" method="post">'. 312 367 $ap->getCheckboxes(). 313 368 '<p><label for="new_auth_id" class="classic">'.__('New author (author ID):').'</label> '. … … 332 387 $cur->post_lang = $new_lang; 333 388 $cur->update('WHERE post_id '.$core->con->in($posts_ids)); 334 335 $ap->redirect(array('upd' => 1),true); 389 dcPage::addSuccessNotice(sprintf( 390 __( 391 '%d entry has been successfully set to language "%s"', 392 '%d entries have been successfully set to language "%s"', 393 count($posts_ids) 394 ), 395 count($posts_ids), 396 html::escapeHTML(l10n::getLanguageName($new_lang))) 397 ); 398 $ap->redirect(true); 336 399 } else { 337 400 $ap->beginPage( … … 339 402 array( 340 403 html::escapeHTML($core->blog->name) => '', 341 $ap->getCallerTitle() => $ap->getRedirection( array(),true),342 '<span class="page-title">'.__('Change language for this selection').'</span>'=> ''404 $ap->getCallerTitle() => $ap->getRedirection(true), 405 _('Change language for this selection') => '' 343 406 ))); 344 407 # lang list … … 359 422 360 423 echo 361 '<form action="'.$ap->get Redirection(array(),true).'" method="post">'.424 '<form action="'.$ap->getURI().'" method="post">'. 362 425 $ap->getCheckboxes(). 363 426 -
inc/admin/lib.admincombos.php
r2049 r2154 30 30 @return <b>array</b> the combo box (form::combo -compatible format) 31 31 */ 32 public static function getCategoriesCombo($categories,$include_empty = true ) {32 public static function getCategoriesCombo($categories,$include_empty = true,$use_url = false) { 33 33 $categories_combo = array(); 34 34 if ($include_empty) { … … 38 38 $categories_combo[] = new formSelectOption ( 39 39 html::escapeHTML($categories->cat_title).' ('.$categories->nb_post.')', 40 $categories->cat_id,40 ($use_url ? $categories->cat_url : $categories->cat_id), 41 41 ($categories->level-1 ? 'sub-option'.($categories->level-1) : '') 42 42 ); -
inc/admin/lib.dc.page.php
r2113 r2181 54 54 55 55 # List of user's blogs 56 if ($core->auth-> blog_count == 1 || $core->auth->blog_count> 20)56 if ($core->auth->getBlogCount() == 1 || $core->auth->getBlogCount() > 20) 57 57 { 58 58 $blog_box = … … 60 60 html::escapeHTML($core->blog->name).'</strong>'; 61 61 62 if ($core->auth-> blog_count> 20) {62 if ($core->auth->getBlogCount() > 20) { 63 63 $blog_box .= ' - <a href="blogs.php">'.__('Change blog').'</a>'; 64 64 } … … 108 108 $user_ui_hide_std_favicon = $core->auth->user_prefs->interface->hide_std_favicon; 109 109 if (!$user_ui_hide_std_favicon) { 110 echo '<link rel="icon" type="image/png" href="images/favicon.png" />'; 111 } 112 110 echo 111 '<link rel="icon" type="image/png" href="images/favicon96-login.png" />'. 112 '<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />'; 113 } 113 114 echo 114 115 self::jsCommon(). … … 174 175 '</div>'; 175 176 } 176 } 177 177 178 if (isset($_SESSION['notifications'])) { 179 $types = array("success" => "success", "warning" => "warning-msg"); 180 $notifications = $_SESSION['notifications']; 181 foreach ($types as $type => $class) { 182 if (isset($notifications[$type])) { 183 foreach ($notifications[$type] as $n) { 184 echo self::getNotification($n,$class); 185 } 186 } 187 } 188 unset($_SESSION['notifications']); 189 } 190 191 } 192 public static function AddNotice($type,$message) { 193 $notification = isset($_SESSION['notifications']) ? $_SESSION['notifications']:array(); 194 $notification[$type][] = array('ts' => time(), 'text' => $message); 195 $_SESSION['notifications'] = $notification; 196 } 197 public static function addSuccessNotice($message) { 198 self::addNotice("success",$message); 199 } 200 public static function addWarningNotice($message) { 201 self::addNotice("warning",$message); 202 } 203 204 protected static function getNotification($msg,$class) { 205 global $core; 206 $res = '<p class="'.$class.'">'. 207 dt::str(__('[%H:%M:%S] '),$msg['ts'],$core->auth->getInfo('user_tz')).' '.$msg['text']. 208 '</p>'; 209 return $res; 210 } 178 211 public static function close() 179 212 { … … 303 336 } 304 337 305 public static function breadcrumb($elements=null,$with_home_link=true,$echo=false) 306 { 338 public static function breadcrumb($elements=null,$options=array()) 339 { 340 $with_home_link = isset($options['home_link'])?$options['home_link']:true; 341 $hl = isset($options['hl'])?$options['hl']:true; 342 $hl_pos = isset($options['hl_pos'])?$options['hl_pos']:-1; 307 343 // First item of array elements should be blog's name, System or Plugins 308 344 $res = '<h2>'.($with_home_link ? … … 310 346 '<img src="style/dashboard-alt.png" alt="" />'); 311 347 $index = 0; 348 if ($hl_pos < 0) { 349 $hl_pos = count($elements)+$hl_pos; 350 } 312 351 foreach ($elements as $element => $url) { 352 if ($hl && $index == $hl_pos) { 353 $element = sprintf('<span class="page-title">%s</span>',$element); 354 } 313 355 $res .= ($with_home_link ? ($index == 1 ? ' : ' : ' › ') : ($index == 0 ? ' ' : ' › ')). 314 356 ($url ? '<a href="'.$url.'">' : '').$element.($url ? '</a>' : ''); … … 316 358 } 317 359 $res .= '</h2>'; 318 if ($echo) {319 echo $res;320 }321 360 return $res; 322 361 } -
inc/admin/lib.pager.php
r2138 r2152 409 409 '<th scope="col">'.__('Date').'</th>'. 410 410 '<th scope="col" class="txt-center">'.__('Status').'</th>'. 411 '<th scope="col" abbr="entry">'.__('Entry title').'</th>'.411 '<th scope="col" abbr="entry">'.__('Entry').'</th>'. 412 412 '</tr>%s</table></div>'; 413 413 … … 469 469 470 470 $post_title = html::escapeHTML($this->rs->post_title); 471 if (mb_strlen($post_title) > 60) {472 $post_title = mb_strcut($post_title,0, 57).'...';471 if (mb_strlen($post_title) > 70) { 472 $post_title = mb_strcut($post_title,0,67).'...'; 473 473 } 474 474 $comment_title = sprintf(__('Edit the %1$s from %2$s'), … … 489 489 '<td class="nowrap count">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 490 490 '<td class="nowrap status txt-center">'.$img_status.'</td>'. 491 '<td class="nowrap "><a href="'.$post_url.'">'.491 '<td class="nowrap discrete"><a href="'.$post_url.'">'. 492 492 html::escapeHTML($post_title).'</a>'. 493 493 ($this->rs->post_type != 'post' ? ' ('.html::escapeHTML($this->rs->post_type).')' : '').'</td>'; -
inc/admin/prepend.php
r2062 r2159 351 351 preg_match('/blogs.php$/',$_SERVER['REQUEST_URI']), 352 352 $core->auth->isSuperAdmin() || 353 $core->auth->check('usage,contentadmin',$core->blog->id) && $core->auth-> blog_count> 1);353 $core->auth->check('usage,contentadmin',$core->blog->id) && $core->auth->getBlogCount() > 1); 354 354 355 355 if (!$user_ui_nofavmenu) { -
inc/core/class.dc.auth.php
r1179 r2159 377 377 return $this->blogs[$blog_id]; 378 378 } 379 380 if ($this->blog_count === null) { 381 $this->blog_count = $this->core->getBlogs(array(),true)->f(0); 382 } 383 379 384 380 if ($this->user_admin) { 385 381 $strReq = 'SELECT blog_id '. … … 404 400 return $this->blogs[$blog_id]; 405 401 } 402 403 public function getBlogCount() { 404 if ($this->blog_count === null) { 405 $this->blog_count = $this->core->getBlogs(array(),true)->f(0); 406 } 407 408 return $this->blog_count; 409 } 406 410 407 411 public function findUserBlog($blog_id=null) -
inc/dbschema/upgrade.php
r1785 r2144 14 14 function dotclearUpgrade($core) 15 15 { 16 $cleanup_sessions = false; // update it in a step that needed sessions to be removed 16 17 $version = $core->getVersion('core'); 17 18 … … 344 345 $core->blogDefaults(); 345 346 346 # Drop content from session table 347 $core->con->execute('DELETE FROM '.$core->prefix.'session '); 347 # Drop content from session table if changes or if needed 348 if ($changes != 0 || $cleanup_sessions) { 349 $core->con->execute('DELETE FROM '.$core->prefix.'session '); 350 } 348 351 349 352 # Empty templates cache directory -
locales/fr/main.po
r2142 r2145 3699 3699 msgid "Trackbacks received" 3700 3700 msgstr "Rétroliens reçus" 3701 3702 msgid "Show filters and display options" 3703 msgstr "Afficher les filtres et options d'affichage" 3704 3705 msgid "Cancel filters and display options" 3706 msgstr "Annuler les filtres et options d'affichage" -
plugins/aboutConfig/index.php
r2003 r2166 119 119 __('System') => '', 120 120 html::escapeHTML($core->blog->name) => '', 121 '<span class="page-title">'.__('about:config').'</span>'=> ''121 __('about:config') => '' 122 122 )); 123 123 if (!empty($_GET['upd'])) { -
plugins/antispam/index.php
r2122 r2166 127 127 __('Plugins') => '', 128 128 $page_name => $p_url, 129 '<span class="page-title">'.sprintf(__('%s filter configuration'),$filter->name).'</span>'=> ''129 sprintf(__('%s filter configuration'),$filter->name) => '' 130 130 )); 131 131 … … 139 139 array( 140 140 __('Plugins') => '', 141 '<span class="page-title">'.$page_name.'</span>'=> ''141 $page_name => '' 142 142 )); 143 143 -
plugins/blogroll/edit.php
r2002 r2166 99 99 array( 100 100 html::escapeHTML($core->blog->name) => '', 101 '<span class="page-title">'.__('Blogroll').'</span>'=> $p_url101 __('Blogroll') => $p_url 102 102 )); 103 103 ?> -
plugins/blogroll/index.php
r2115 r2166 181 181 array( 182 182 html::escapeHTML($core->blog->name) => '', 183 '<span class="page-title">'.__('Blogroll').'</span>'=> ''183 __('Blogroll') => '' 184 184 )); 185 185 ?> -
plugins/blowupConfig/index.php
r1588 r2166 231 231 html::escapeHTML($core->blog->name) => '', 232 232 __('Blog appearance') => 'blog_theme.php', 233 '<span class="page-title">'.__('Blowup configuration').'</span>'=> ''233 __('Blowup configuration') => '' 234 234 )); 235 235 -
plugins/daInstaller/index.php
r1912 r2166 259 259 array( 260 260 __('System') => '', 261 '<span class="page-title">'.__('DotAddict.org Installer').'</span>'=> ''261 __('DotAddict.org Installer') => '' 262 262 )). 263 263 -
plugins/importExport/index.php
r2095 r2166 78 78 __('Plugins') => '', 79 79 $title => $p_url, 80 '<span class="page-title">'.html::escapeHTML($module->name).'</span>'=> ''80 html::escapeHTML($module->name) => '' 81 81 )); 82 82 … … 92 92 array( 93 93 __('Plugins') => '', 94 '<span class="page-title">'.$title.'</span>'=> ''94 $title => '' 95 95 )); 96 96 -
plugins/maintenance/_admin.php
r2116 r2177 128 128 129 129 $icon[0] .= '<br />'.sprintf(__('One task to execute', '%s tasks to execute', $count), $count); 130 $icon[2] = 'index.php?pf=maintenance/icon-big-update.png'; 130 131 } 131 132 -
plugins/maintenance/index.php
r2051 r2166 133 133 array( 134 134 __('Plugins') => '', 135 '<span class="page-title">'.__('Maintenance').'</span>'=> ''135 __('Maintenance') => '' 136 136 ) 137 137 ). … … 159 159 __('Plugins') => '', 160 160 '<a href="'.$p_url.'">'.__('Maintenance').'</a>' => '', 161 '<span class="page-title">'.html::escapeHTML($task->name()).'</span>'=> ''161 html::escapeHTML($task->name())=> '' 162 162 ) 163 163 ); … … 193 193 array( 194 194 __('Plugins') => '', 195 '<span class="page-title">'.__('Maintenance').'</span>'=> ''195 __('Maintenance') => '' 196 196 ) 197 197 ); -
plugins/pages/class.actionpage.php
r2061 r2169 25 25 array( 26 26 html::escapeHTML($this->core->blog->name) => '', 27 __('Pages') => $this->getRedirection( array(),true),28 '<span class="page-title">'.__('Pages actions').'</span>'=> ''27 __('Pages') => $this->getRedirection(true), 28 __('Pages actions') => '' 29 29 )) 30 30 ); … … 37 37 '</script></head><body>'. 38 38 $breadcrumb; 39 echo '<p><a class="back" href="'.$this->getRedirection( array(),true).'">'.__('Back to pages list').'</a></p>';39 echo '<p><a class="back" href="'.$this->getRedirection(true).'">'.__('Back to pages list').'</a></p>'; 40 40 41 41 } … … 80 80 81 81 } 82 $ap->redirect( array('reo'=>1),false);82 $ap->redirect(false,array('reo'=>1)); 83 83 } 84 84 } -
plugins/pages/list.php
r2056 r2166 75 75 array( 76 76 html::escapeHTML($core->blog->name) => '', 77 '<span class="page-title">'.__('Pages').'</span>'=> ''77 __('Pages') => '' 78 78 )); 79 79 -
plugins/pages/page.php
r1981 r2166 329 329 html::escapeHTML($core->blog->name) => '', 330 330 __('Pages') => $p_url, 331 '<span class="page-title">'.$edit_entry_title.'</span>'=> ''331 $edit_entry_title => '' 332 332 )); 333 333 -
plugins/pings/index.php
r1930 r2166 55 55 array( 56 56 __('Plugins') => '', 57 '<span class="page-title">'.__('Pings configuration').'</span>'=> ''57 __('Pings configuration') => '' 58 58 )); 59 59 -
plugins/simpleMenu/index.php
r2120 r2167 25 25 $categories_label = array(); 26 26 $rs = $core->blog->getCategories(array('post_type'=>'post')); 27 $categories_combo = dcAdminCombos::getCategoriesCombo($rs,false); 28 27 $categories_combo = dcAdminCombos::getCategoriesCombo($rs,false,true); 29 28 $rs->moveStart(); 30 29 while ($rs->fetch()) { 31 $categories_label[$rs->cat_id] = html::escapeHTML($rs->cat_title); 32 } 30 $categories_label[$rs->cat_url] = html::escapeHTML($rs->cat_title); 31 } 32 33 33 # Liste des langues utilisées 34 34 $langs_combo = dcAdminCombos::getLangscombo( … … 374 374 html::escapeHTML($core->blog->name) => '', 375 375 $page_title => $p_url, 376 '<span class="page-title">'.__('Add item').'</span>'=> '',376 __('Add item') => '', 377 377 $step_label => '' 378 )); 378 ), 379 array( 380 'hl_pos' => -2) 381 ); 379 382 } else { 380 383 echo dcPage::breadcrumb( 381 384 array( 382 385 html::escapeHTML($core->blog->name) => '', 383 '<span class="page-title">'.$page_title.'</span>'=> ''386 $page_title => '' 384 387 )); 385 388 } -
plugins/tags/_admin.php
r2065 r2169 136 136 } 137 137 } 138 $ap->redirect( array('upd' => 1),true);138 $ap->redirect(true,array('upd' => 1)); 139 139 } 140 140 else … … 150 150 array( 151 151 html::escapeHTML($core->blog->name) => '', 152 __('Entries') => $ap->getRedirection( array(),true),153 '<span class="page-title">'.__('Add tags to this selection').'</span>'=> ''152 __('Entries') => $ap->getRedirection(true), 153 __('Add tags to this selection') => '' 154 154 )), 155 155 dcPage::jsLoad('js/jquery/jquery.autocomplete.js'). … … 201 201 } 202 202 } 203 $ap->redirect( array('upd' => 1),true);203 $ap->redirect(true,array('upd' => 1)); 204 204 } 205 205 else … … 228 228 html::escapeHTML($core->blog->name) => '', 229 229 __('Entries') => 'posts.php', 230 '<span class="page-title">'.__('Remove selected tags from this selection').'</span>'=> ''230 __('Remove selected tags from this selection') => '' 231 231 ))); 232 232 $posts_count = count($_POST['entries']); -
plugins/tags/js/post.js
r1871 r2180 26 26 delay: 1000, 27 27 multiple: true, 28 multipleSeparator: ", ", 28 29 matchSubset: false, 29 30 matchContains: true, -
plugins/tags/style.css
r2079 r2152 10 10 .tag90 { font-size: 220%; } 11 11 .tag100 { font-size: 230%; } 12 13 12 table.tags { 14 13 margin-left: 3em; 15 } 16 17 14 } 18 15 tr.tagLetter span { 19 16 font-size : 250%; … … 24 21 top: 0.80em; 25 22 left: -2ex; 26 } 27 23 } 28 24 ul.metaList { 29 25 margin: 0 0 1em 0; 30 26 padding: 0; 31 }27 } 32 28 ul.metaList li { 33 29 margin: 0; … … 35 31 list-style: square; 36 32 list-style-position: inside; 37 } 38 33 } 39 34 a.metaRemove { 40 35 color : #999 !important; 41 36 border: none; 42 }37 } 43 38 a.metaRemove:hover, a.metaRemove:focus { 44 39 color : #06c !important; 45 } 46 40 } 47 41 .addMeta a { 48 42 border: none; 49 }43 } 50 44 .addMeta a:hover, .addMeta a:focus { 51 45 background: #fc0; 52 46 color: #000; 53 }47 } 54 48 .addMeta a.metaGetMore { 55 49 font-weight: bold; 56 }50 } 57 51 /* Auto Complete */ 58 52 .ac_results { … … 62 56 overflow: hidden; 63 57 z-index: 99999; 64 }58 } 65 59 .ac_results ul { 66 60 width: 100%; … … 69 63 padding: 0; 70 64 margin: 0; 71 }65 } 72 66 .ac_results li { 73 67 margin: 0px; … … 88 82 line-height: 16px; 89 83 overflow: hidden; 90 }84 } 91 85 .ac_loading { 92 86 background: transparent url('index.php?pf=tags/img/loader.gif') right center no-repeat; 93 }87 } 94 88 .ac_odd { 95 89 background-color: #eee; 96 }90 } 97 91 .ac_over { 98 92 background-color: #06c; 99 93 color: white; 100 } 101 #post_meta_input { 102 margin: 0 0.5em 0 0; 103 width: 13em; 104 } 94 } 105 95 #post_meta_input:focus { 106 96 -moz-box-sizing: content-box; 107 }108 #tags-edit input[type= button] {109 width: 3.5em;110 }97 } 98 #tags-edit input[type=text] { 99 width: 11.5em; 100 } 111 101 .tag-actions form { 112 102 display: inline-block; 113 103 margin-right: 1.5em; 114 }104 } -
plugins/tags/tag_posts.php
r2079 r2166 91 91 html::escapeHTML($core->blog->name) => '', 92 92 __('Tags') => $p_url.'&m=tags', 93 '<span class="page-title">'.__('Tag').' “'.html::escapeHTML($tag).'”'.'</span>' => ''93 __('Tag').' “'.html::escapeHTML($tag).'”' => '' 94 94 )); 95 95 ?> -
plugins/tags/tags.php
r2003 r2166 24 24 array( 25 25 html::escapeHTML($core->blog->name) => '', 26 '<span class="page-title">'.__('Tags').'</span>'=> ''26 __('Tags') => '' 27 27 )); 28 28 ?> -
plugins/themeEditor/index.php
r1382 r2166 91 91 html::escapeHTML($core->blog->name) => '', 92 92 __('Blog appearance') => 'blog_theme.php', 93 '<span class="page-title">'.__('Edit theme files').'</span>'=> ''93 __('Edit theme files') => '' 94 94 )); 95 95 ?> -
plugins/userPref/index.php
r2003 r2168 115 115 __('System') => '', 116 116 html::escapeHTML($core->auth->userID()) => '', 117 '<span class="page-title">'.__('user:preferences').'</span>'=> ''117 __('user:preferences') => '' 118 118 )); 119 119 … … 160 160 '<label for="lp_nav" class="classic">'.__('Goto:').'</label> '.form::combo('lp_nav',$ws_combo). 161 161 ' <input type="submit" value="'.__('Ok').'" id="lp_submit" />'. 162 '<input type="hidden" name="p" value=" aboutConfig" />'.162 '<input type="hidden" name="p" value="userPref" />'. 163 163 $core->formNonce().'</p></form>'; 164 164 } … … 210 210 '<label for="gp_nav" class="classic">'.__('Goto:').'</label> '.form::combo('gp_nav',$ws_combo). 211 211 ' <input type="submit" value="'.__('Ok').'" id="gp_submit" />'. 212 '<input type="hidden" name="p" value=" aboutConfig" />'.212 '<input type="hidden" name="p" value="userPref" />'. 213 213 $core->formNonce().'</p></form>'; 214 214 } -
plugins/widgets/index.php
r1993 r2166 190 190 array( 191 191 html::escapeHTML($core->blog->name) => '', 192 '<span class="page-title">'.__('Widgets').'</span>'=> ''192 __('Widgets') => '' 193 193 )); 194 194 -
tests/functional/spec/page_tabs.js
r2113 r2162 131 131 expect($('#part-user-favorites')).not.toBeVisible(); 132 132 }); 133 134 it("Must open first tab when clicking back until hash is empty", function() { 135 loadFixtures('tabs.html'); 136 loadStyleFixtures('default.css'); 137 138 var navigation = ['', 'user-profile', 'user-favorites']; 139 var current_index = 0; 140 141 $.pageTabs(); 142 current_index++; 143 $.pageTabs.clickTab(navigation[current_index]); 144 // tab is now user-profile 145 146 // simulate back : window.history.back(); 147 current_index--; 148 spyOn(jQuery.pageTabs, 'getLocationHash').andReturn(navigation[current_index]); 149 jQuery.event.trigger('hashchange'); 150 151 expect($('#part-user-options')).toBeVisible(); 152 expect($('#part-user-profile')).not.toBeVisible(); 153 expect($('#part-user-favorites')).not.toBeVisible(); 154 }); 133 155 }); 134 156
Note: See TracChangeset
for help on using the changeset viewer.