Changeset 3398:88f3d2561542
- Timestamp:
- 11/09/16 11:35:30 (9 years ago)
- Branch:
- default
- Files:
-
- 13 edited
-
admin/blog_theme.php (modified) (3 diffs)
-
admin/js/common.js (modified) (1 diff)
-
admin/media.php (modified) (1 diff)
-
admin/media_item.php (modified) (1 diff)
-
admin/plugins.php (modified) (4 diffs)
-
admin/preferences.php (modified) (3 diffs)
-
admin/style/default.css (modified) (3 diffs)
-
admin/style/scss/init/_config.scss (modified) (1 diff)
-
admin/style/scss/partials/_forms.scss (modified) (1 diff)
-
admin/style/scss/partials/_index.scss (modified) (7 diffs)
-
admin/user.php (modified) (2 diffs)
-
inc/admin/lib.dc.page.php (modified) (2 diffs)
-
locales/fr/main.po (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r3018 r3398 148 148 '<div class="multi-part" id="themes" title="'.__('Installed themes').'">'. 149 149 '<h3>'.__('Installed themes').'</h3>'. 150 '<p >'.__('You can configure and manage installed themes from this list.').'</p>';150 '<p class="more-info">'.__('You can configure and manage installed themes from this list.').'</p>'; 151 151 152 152 $list … … 170 170 '<div class="multi-part" id="deactivate" title="'.__('Deactivated themes').'">'. 171 171 '<h3>'.__('Deactivated themes').'</h3>'. 172 '<p >'.__('Deactivated themes are installed but not usable. You can activate them from here.').'</p>';172 '<p class="more-info">'.__('Deactivated themes are installed but not usable. You can activate them from here.').'</p>'; 173 173 174 174 $list … … 223 223 '<div class="multi-part" id="addtheme" title="'.__('Install or upgrade manually').'">'. 224 224 '<h3>'.__('Add themes from a package').'</h3>'. 225 '<p >'.__('You can install themes by uploading or downloading zip files.').'</p>';225 '<p class="more-info">'.__('You can install themes by uploading or downloading zip files.').'</p>'; 226 226 227 227 $list->displayManualForm(); -
admin/js/common.js
r3332 r3398 564 564 return true; 565 565 }); 566 567 if (dotclear.hideMoreInfo) { 568 $('.more-info,.form-note:not(.warn,.warning,.info)').addClass('no-more-info'); 569 } 566 570 567 571 // Main menu collapser -
admin/media.php
r3369 r3398 798 798 echo 799 799 '<h4>'.__('Add files').'</h4>'. 800 '<p >'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'.800 '<p class="more-info">'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 801 801 '<form id="fileupload" action="'.html::escapeURL($core->adminurl->get('admin.media',$page_url_params)).'" method="post" enctype="multipart/form-data" aria-disabled="false">'. 802 802 '<p>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). -
admin/media_item.php
r3369 r3398 726 726 '<form class="clear fieldset" action="'.$core->adminurl->get("admin.media.item").'" method="post">'. 727 727 '<h4>'.__('Update thumbnails').'</h4>'. 728 '<p >'.__('This will create or update thumbnails for this image.').'</p>'.728 '<p class="more-info">'.__('This will create or update thumbnails for this image.').'</p>'. 729 729 '<p><input type="submit" name="thumbs" value="'.__('Update thumbnails').'" />'. 730 730 $core->adminurl->getHiddenFormFields('admin.media',$page_url_params). -
admin/plugins.php
r3066 r3398 160 160 echo 161 161 '<h3>'.($core->auth->isSuperAdmin() ?__('Activated plugins') : __('Installed plugins')).'</h3>'. 162 '<p >'.__('You can configure and manage installed plugins from this list.').'</p>';162 '<p class="more-info">'.__('You can configure and manage installed plugins from this list.').'</p>'; 163 163 164 164 $list … … 178 178 echo 179 179 '<h3>'.__('Deactivated plugins').'</h3>'. 180 '<p >'.__('Deactivated plugins are installed but not usable. You can activate them from here.').'</p>';180 '<p class="more-info">'.__('Deactivated plugins are installed but not usable. You can activate them from here.').'</p>'; 181 181 182 182 $list … … 204 204 '<div class="multi-part" id="new" title="'.__('Add plugins').'">'. 205 205 '<h3>'.__('Add plugins from repository').'</h3>'; 206 // '<p>'.__('Search and install plugins directly from repository.').'</p>';207 206 208 207 $list … … 232 231 '<div class="multi-part" id="addplugin" title="'.__('Install or upgrade manually').'">'. 233 232 '<h3>'.__('Add plugins from a package').'</h3>'. 234 '<p >'.__('You can install plugins by uploading or downloading zip files.').'</p>';233 '<p class="more-info">'.__('You can install plugins by uploading or downloading zip files.').'</p>'; 235 234 236 235 $list->displayManualForm(); -
admin/preferences.php
r3340 r3398 42 42 $core->auth->user_prefs->addWorkspace('interface'); 43 43 $user_ui_enhanceduploader = $core->auth->user_prefs->interface->enhanceduploader; 44 $user_ui_hidemoreinfo = $core->auth->user_prefs->interface->hidemoreinfo; 44 45 if ($core->auth->isSuperAdmin()) { 45 46 $user_ui_hide_std_favicon = $core->auth->user_prefs->interface->hide_std_favicon; … … 229 230 $core->auth->user_prefs->accessibility->put('nodragdrop',!empty($_POST['user_acc_nodragdrop']),'boolean'); 230 231 $core->auth->user_prefs->interface->put('enhanceduploader',!empty($_POST['user_ui_enhanceduploader']),'boolean'); 232 $core->auth->user_prefs->interface->put('hidemoreinfo',!empty($_POST['user_ui_hidemoreinfo']),'boolean'); 231 233 if ($core->auth->isSuperAdmin()) { 232 234 # Applied to all users … … 499 501 form::checkbox('user_acc_nodragdrop',1,$user_acc_nodragdrop).' '. 500 502 __('Disable javascript powered drag and drop for ordering items').'</label></p>'. 501 '<p class="clear form-note">'.__('If checked, numeric fields will allow to type the elements\' ordering number.').'</p>'; 503 '<p class="clear form-note">'.__('If checked, numeric fields will allow to type the elements\' ordering number.').'</p>'. 504 505 '<p><label for="user_ui_hidemoreinfo" class="classic">'. 506 form::checkbox('user_ui_hidemoreinfo',1,$user_ui_hidemoreinfo).' '. 507 __('Hide all secondary information and notes').'</label></p>'; 502 508 503 509 echo -
admin/style/default.css
r3392 r3398 1164 1164 span.form-note { 1165 1165 text-transform: none; } 1166 1167 .no-more-info { 1168 display: none; } 1166 1169 1167 1170 /* Removes inner padding and border in FF3+ - Knacss */ … … 2091 2094 /* raccourcis */ 2092 2095 #icons { 2093 overflow: hidden; 2094 text-align: center; } 2096 display: flex; 2097 flex-wrap: wrap; 2098 justify-content: center; } 2095 2099 2096 2100 #icons p { 2097 2101 width: 13em; 2098 2102 text-align: center; 2099 margin: 1em 0 2em; 2100 display: inline-block; 2101 vertical-align: top; } 2103 margin: 1em 0 2em; } 2102 2104 2103 2105 #icons a, … … 2174 2176 #dashboard-boxes { 2175 2177 margin: 1em auto 1em; 2176 padding-top: 2em; } 2177 2178 .db-items, 2179 .db-contents { 2180 display: inline-block; 2181 text-align: center; } 2178 padding-top: 2em; 2179 display: flex; 2180 flex-wrap: wrap; 2181 justify-content: center; } 2182 2182 2183 2183 .no-js .outgoing img { -
admin/style/scss/init/_config.scss
r3389 r3398 2 2 3 3 // ----------------- Compass config --------------- // 4 // Do not support IE less than IE 94 // Do not support IE less than IE10 5 5 $browser-minimum-versions: ( 6 6 "ie": "10" -
admin/style/scss/partials/_forms.scss
r3355 r3398 208 208 text-transform: none; 209 209 } 210 211 // .more-info Additional information on fieldset, field, … (may be hide from user-prefs) 212 .more-info { 213 } 214 .no-more-info { 215 display: none; 216 } -
admin/style/scss/partials/_index.scss
r3355 r3398 1 1 #dashboard-main { 2 text-align: center;2 text-align: center; 3 3 } 4 4 … … 7 7 8 8 #icons { 9 overflow: hidden; 10 text-align: center; 9 // overflow: hidden; 10 // text-align: center; 11 display: flex; 12 flex-wrap: wrap; 13 justify-content: center; 11 14 } 12 15 13 16 #icons p { 14 width: 13em;15 text-align: center;16 margin: 1em 0 2em;17 display: inline-block;18 vertical-align: top;17 width: 13em; 18 text-align: center; 19 margin: 1em 0 2em; 20 // display: inline-block; 21 // vertical-align: top; 19 22 } 20 23 … … 24 27 #icons a:hover, 25 28 #icons a:focus { 26 border-bottom-width: 0;27 text-decoration: none;29 border-bottom-width: 0; 30 text-decoration: none; 28 31 } 29 32 30 33 #icons a span { 31 border-bottom: 1px dotted #999;32 color: #333;34 border-bottom: 1px dotted #999; 35 color: #333; 33 36 } 34 37 35 38 #icons a img { 36 padding: 1.5em;37 background-color: #f9f9f9;38 border-radius: 8px;39 border: 1px solid #dadada;40 display: inline-block;39 padding: 1.5em; 40 background-color: #f9f9f9; 41 border-radius: 8px; 42 border: 1px solid #dadada; 43 display: inline-block; 41 44 } 42 45 43 46 #icons a:focus img, 44 47 #icons a:hover img { 45 background: #bee74b;46 outline: 0;47 border-color: #dadada;48 background: #bee74b; 49 outline: 0; 50 border-color: #dadada; 48 51 } 49 52 50 53 #icons a:focus { 51 outline: 0;52 border-color: #fff;54 outline: 0; 55 border-color: #fff; 53 56 } 54 57 55 58 #icons a:hover span, 56 59 #icons a:focus span { 57 border-bottom-style: solid;60 border-bottom-style: solid; 58 61 } 59 62 60 63 #icons a:focus span { 61 border: 2px solid #bee74b;64 border: 2px solid #bee74b; 62 65 } 63 66 … … 66 69 67 70 #quick { 68 padding: 1em;69 max-width: 976px;70 margin: 0 auto;71 background: #f5f5f5;72 box-shadow: 0 1px 2px rgba(0, 0, 0, .2);73 text-align: left;71 padding: 1em; 72 max-width: 976px; 73 margin: 0 auto; 74 background: #f5f5f5; 75 box-shadow: 0 1px 2px rgba(0, 0, 0, .2); 76 text-align: left; 74 77 } 75 78 76 79 #quick h3 { 77 margin-bottom: 0.2em;78 font-size: 1.2em;80 margin-bottom: 0.2em; 81 font-size: 1.2em; 79 82 } 80 83 81 84 #quick p.qinfo { 82 margin: -.7em -1em 1em;83 background: #D9EDF7 url(info.png) no-repeat .2em .2em;84 border: 1px solid #BCE8F1;85 padding: .2em 1em .1em 24px;86 color: #000;85 margin: -.7em -1em 1em; 86 background: #D9EDF7 url(info.png) no-repeat .2em .2em; 87 border: 1px solid #BCE8F1; 88 padding: .2em 1em .1em 24px; 89 color: #000; 87 90 } 88 91 … … 90 93 .q-cat, 91 94 .q-cat label { 92 display: inline-block;93 vertical-align: top;94 margin-right: 1em;95 margin-top: 0;95 display: inline-block; 96 vertical-align: top; 97 margin-right: 1em; 98 margin-top: 0; 96 99 } 97 100 98 101 .q-cat label { 99 margin-right: .3em;102 margin-right: .3em; 100 103 } 101 104 102 105 #quick #new_cat { 103 margin-bottom: 2em;106 margin-bottom: 2em; 104 107 } 105 108 … … 108 111 109 112 #dashboard-boxes { 110 margin: 1em auto 1em; 111 padding-top: 2em; 113 margin: 1em auto 1em; 114 padding-top: 2em; 115 display: flex; 116 flex-wrap: wrap; 117 justify-content: center; 112 118 } 113 119 114 120 .db-items, 115 121 .db-contents { 116 display: inline-block;117 text-align: center;122 // display: inline-block; 123 // text-align: center; 118 124 } 119 125 120 126 .no-js .outgoing img { 121 display: none;127 display: none; 122 128 } 123 129 124 130 #dashboard-boxes .box { 125 padding: 10px;126 border: 1px solid #ccc;127 border-radius: 3px;128 min-height: 200px;129 margin: 10px;130 text-align: left;131 padding: 10px; 132 border: 1px solid #ccc; 133 border-radius: 3px; 134 min-height: 200px; 135 margin: 10px; 136 text-align: left; 131 137 } 132 138 133 139 .dc-box { 134 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right;140 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 135 141 } 136 142 137 143 .db-items img, 138 144 .db-contents img { 139 vertical-align: middle;145 vertical-align: middle; 140 146 } 141 147 142 148 .db-items ul, 143 149 .db-contents ul { 144 display: block;145 padding-left: 1.5em;146 list-style: square;150 display: block; 151 padding-left: 1.5em; 152 list-style: square; 147 153 } 148 154 149 155 .db-items li, 150 156 .db-contents li { 151 margin: 0.25em 0 0 0;157 margin: 0.25em 0 0 0; 152 158 } 153 159 154 160 #news dt { 155 font-weight: bold;156 margin: 0 0 0.4em 0;161 font-weight: bold; 162 margin: 0 0 0.4em 0; 157 163 } 158 164 159 165 #news dd { 160 margin: 0 0 1em 0;166 margin: 0 0 1em 0; 161 167 } 162 168 163 169 #news dd p { 164 margin: 0.2em 0 0 0;170 margin: 0.2em 0 0 0; 165 171 } 166 172 … … 169 175 170 176 #upg-notify ul { 171 padding-left: 1.5em;177 padding-left: 1.5em; 172 178 } 173 179 174 180 #upg-notify li { 175 color: #fff;181 color: #fff; 176 182 } -
admin/user.php
r3391 r3398 210 210 form::field('user_id',20,255,html::escapeHTML($user_id)). 211 211 '</p>'. 212 '<p class="form-note ">'.__('At least 2 characters using letters, numbers or symbols.').'</p>';212 '<p class="form-note info">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'; 213 213 214 214 if ($user_id == $core->auth->userID()) { … … 231 231 '</div>'. 232 232 '</div>'. 233 '<p class="form-note ">'.__('Password must contain at least 6 characters.').'</p>'.233 '<p class="form-note info">'.__('Password must contain at least 6 characters.').'</p>'. 234 234 235 235 '<p><label for="new_pwd_c" '.($user_id != '' ? '' : 'class="required"').'>'. -
inc/admin/lib.dc.page.php
r3397 r3398 176 176 self::jsToggles(). 177 177 $head; 178 179 if ($core->auth->user_prefs->interface->hidemoreinfo) { 180 echo 181 '<script type="text/javascript">'."\n". 182 "//<![CDATA[\n". 183 'dotclear.hideMoreInfo = true;'. 184 "\n//]]>\n". 185 "</script>\n"; 186 } 178 187 179 188 # --BEHAVIOR-- adminPageHTMLHead … … 404 413 self::jsToggles(). 405 414 $head; 415 416 $core->auth->user_prefs->addWorkspace('interface'); 417 if ($core->auth->user_prefs->interface->hidemoreinfo) { 418 echo 419 '<script type="text/javascript">'."\n". 420 "//<![CDATA[\n". 421 'dotclear.hideMoreInfo = true;'. 422 "\n//]]>\n". 423 "</script>\n"; 424 } 406 425 407 426 # --BEHAVIOR-- adminPageHTMLHead -
locales/fr/main.po
r3394 r3398 2192 2192 msgstr "Interface" 2193 2193 2194 msgid "Hide all secondary information and notes" 2195 msgstr "Cacher les informations secondaires et les notes" 2196 2194 2197 msgid "Activate enhanced uploader in media manager" 2195 2198 msgstr "Activer l'interface avancée de la médiathèque"
Note: See TracChangeset
for help on using the changeset viewer.
