Changes in [2410:397a41ac5c40:2411:ef0ac1e8e550]
- Files:
-
- 45 added
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgsubstate
r1983 r2343 1 19ba094ceed74d06ddd0593332cb4d1a7d12c243inc/libs/clearbricks1 80a0052d6ee5db1ff47601bc62959d4c8b6cf857 inc/libs/clearbricks -
admin/blog_theme.php
r2319 r2337 132 132 '<p class="info vertical-separator">'.sprintf( 133 133 __("Visit %s repository, the resources center for Dotclear."), 134 '<a href="http:// dotaddict.org/dc2/themes">Dotaddict</a>'134 '<a href="http://themes.dotaddict.org/dc2/"</a>' 135 135 ). 136 136 '</p>'. … … 211 211 '<p class="info vertical-separator">'.sprintf( 212 212 __("Visit %s repository, the resources center for Dotclear."), 213 '<a href="http:// dotaddict.org/dc2/themes">Dotaddict</a>'213 '<a href="http://themes.dotaddict.org/dc2/">Dotaddict</a>' 214 214 ). 215 215 '</p>'. -
admin/images/menu/blog-theme-b-update.png
- Property exe deleted
-
admin/js/_media.js
r2320 r2346 94 94 } 95 95 96 $('<p class="clear"><a class="enhanced-toggle" href="#">' + $msg + '</a></p>').click(function( ) {96 $('<p class="clear"><a class="enhanced-toggle" href="#">' + $msg + '</a></p>').click(function(e) { 97 97 if ($container.hasClass('enhanced_uploader')) { 98 98 $msg = dotclear.msg.enhanced_uploader_activate; … … 122 122 123 123 $container.toggleClass('enhanced_uploader'); 124 e.preventDefault(); 124 125 }).appendTo(me); 125 126 }); -
admin/js/color-picker.js
r2101 r2335 34 34 span.css('position','relative'); 35 35 } 36 span.css('display',' block');36 span.css('display','inline-block'); 37 37 38 38 /*ligne supprimée car elle ne fait pas le calcul -
admin/js/jquery/jquery.pageTabs.js
r2186 r2348 72 72 73 73 $.pageTabs.clickTab = function(tab) { 74 if (tab=='' ) {74 if (tab=='' || $('#'+$.pageTabs.options.idTabPrefix+tab, '.'+$.pageTabs.options.containerClass).length==0) { 75 75 tab = getHash($('ul li a', '.'+$.pageTabs.options.containerClass+':eq(0)').attr('href')); 76 76 } -
admin/plugins.php
r2319 r2337 138 138 '<p class="info vertical-separator">'.sprintf( 139 139 __("Visit %s repository, the resources center for Dotclear."), 140 '<a href="http:// dotaddict.org/dc2/plugins">Dotaddict</a>'140 '<a href="http://plugins.dotaddict.org/dc2/">Dotaddict</a>' 141 141 ). 142 142 '</p>'. … … 216 216 '<p class="info vertical-separator">'.sprintf( 217 217 __("Visit %s repository, the resources center for Dotclear."), 218 '<a href="http:// dotaddict.org/dc2/plugins">Dotaddict</a>'218 '<a href="http://plugins.dotaddict.org/dc2/">Dotaddict</a>' 219 219 ). 220 220 '</p>'. -
admin/style/default.css
r2320 r2339 1077 1077 .part-tabs ul { 1078 1078 padding: .5em 0 0 1em; 1079 border-bottom: 1px solid # dfdfdf;1080 line-height: 2;1079 border-bottom: 1px solid #ccc; 1080 line-height: 1.8; 1081 1081 } 1082 1082 .part-tabs li { … … 1085 1085 display: inline; 1086 1086 } 1087 .part-tabs li:first-child a { 1088 border-top-left-radius: 3px; 1089 } 1090 .part-tabs li:last-child a { 1091 border-top-right-radius: 3px; 1092 } 1087 1093 .part-tabs li a { 1088 padding: . 5em 2em;1094 padding: .33em 1.5em; 1089 1095 margin-right: -1px; 1090 1096 border: 1px solid #ccc; … … 1149 1155 position: fixed; 1150 1156 top: 10px; 1157 -webkit-transform:translateZ(0); /* Let GPU doing his job */ 1151 1158 } 1152 1159 .no-js #help-button { … … 1585 1592 min-height: 330px; 1586 1593 } 1594 #theme-deactivate .box.theme { 1595 min-height: 90px; 1596 } 1597 #theme-deactivate .box.theme:hover { 1598 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 1599 } 1587 1600 .module-name { 1588 1601 margin-bottom: .5em; … … 2039 2052 margin-left: 0; 2040 2053 } 2054 #entry-sidebar { 2055 width: 16em; 2056 float: right; 2057 } 2041 2058 #entry-content label { 2042 2059 text-transform: uppercase; … … 2047 2064 #entry-content label:first-child { 2048 2065 margin-top: 0; 2049 }2050 #entry-sidebar {2051 width: 16em;2052 float: right;2053 2066 } 2054 2067 #entry-sidebar h4 { … … 2334 2347 font-variant: small-caps; 2335 2348 } 2349 .index li {margin-bottom: 3px;} 2336 2350 .index a { 2337 2351 font-weight: bold; … … 2585 2599 margin-right: 0; 2586 2600 } 2601 #entry-wrapper { 2602 float: none; 2603 width: 100%; 2604 margin-right: 0; 2605 } 2606 #entry-content { 2607 margin-right: 0; 2608 margin-left: 0; 2609 } 2610 #entry-sidebar { 2611 width: 100%; 2612 float: none; 2613 } 2587 2614 } 2588 2615 @media screen and (max-width: 600px) { -
admin/style/jsToolBar/jsToolBar.css
r2226 r2334 28 28 } 29 29 .jstElements { 30 padding: 0 1rem; 30 -webkit-box-sizing: border-box; 31 -moz-box-sizing: border-box; 32 box-sizing: border-box; 33 padding: 0 32px 0 1rem; 31 34 border: 1px solid #dfdfdf; 32 35 overflow: hidden; 33 36 background: #f5f5f5; 34 -moz-border-radius: 4px 4px 0 0;35 -webkit-border-radius: 4px 4px 0 0;36 37 border-radius: 4px 4px 0 0; 37 38 position: relative; 39 line-height: 30px; 38 40 } 39 41 .jstElements select, .jstElements button { … … 46 48 } 47 49 .jstElements button { 48 width 50 width: 30px; 49 51 height: 28px; 50 52 border-style: solid; 51 border-width: 0 1px 0 0; 52 border-color: #e7e7e7; 53 border-width: 1px; 54 margin-left: 2px; 55 margin-bottom: 2px; 56 border-color: #e5e5e5 #ccc #ccc #e5e5e5; 53 57 background-color : #f7f7f7; 54 58 background-position : 50% 50%; … … 60 64 } 61 65 .jstElements button span { 62 display 66 display: none; 63 67 } 64 68 .jstElements span { 65 69 display : inline-block; 66 70 vertical-align: top; 67 background: #e5e5e5;68 71 } 69 72 span.jstSpacer { 70 width : 6px; 71 height: 28px; 72 margin-right: 0; 73 width : 8px; 73 74 } 74 75 .jstSwitcher { … … 149 150 background-image: url(bt_clean.png); 150 151 position: absolute; 151 right: 0; 152 right: 2px; 153 top: 1px; 154 border-color: #ccc; 152 155 } 153 156 -
inc/admin/lib.dc.page.php
r2306 r2328 17 17 { 18 18 private static $loaded_js=array(); 19 private static $N_TYPES = array( 20 "success" => "success", 21 "warning" => "warning-msg", 22 "error" => "error", 23 "message" => "message", 24 "static" => "static-msg"); 19 25 20 26 # Auth check … … 186 192 $res = ''; 187 193 if (isset($_SESSION['notifications'])) { 188 $types = array("success" => "success", "warning" => "warning-msg", "error" => "error");189 194 $notifications = $_SESSION['notifications']; 190 foreach ($types as $type => $class) { 191 if (isset($notifications[$type])) { 192 foreach ($notifications[$type] as $n) { 193 $res .= self::getNotification($n,$class); 194 } 195 } 195 foreach ($_SESSION['notifications'] as $notification) { 196 $res .= self::getNotification($notification); 196 197 } 197 198 unset($_SESSION['notifications']); … … 200 201 } 201 202 202 public static function addNotice($type,$message) 203 { 204 $notification = isset($_SESSION['notifications']) ? $_SESSION['notifications'] : array(); 205 $notification[$type][] = array('ts' => time(), 'text' => $message); 206 $_SESSION['notifications'] = $notification; 207 } 208 209 public static function addSuccessNotice($message) 210 { 211 self::addNotice("success",$message); 212 } 213 214 public static function addWarningNotice($message) 215 { 216 self::addNotice("warning",$message); 217 } 218 219 public static function addErrorNotice($message) 220 { 221 self::addNotice("error",$message); 222 } 223 224 protected static function getNotification($msg,$class) 203 public static function addNotice($type,$message,$options=array()) 204 { 205 if (isset(self::$N_TYPES[$type])){ 206 $class = self::$N_TYPES[$type]; 207 } else { 208 $class=$type; 209 } 210 if (isset($_SESSION['notifications']) && is_array($_SESSION['notifications'])) { 211 $notifications = $_SESSION['notifications']; 212 } else { 213 $notifications = array(); 214 } 215 216 $n = array_merge($options,array('class' => $class,'ts' => time(), 'text' => $message)); 217 if ($type != "static") { 218 $notifications[] = $n; 219 } else { 220 array_unshift($notifications, $n); 221 } 222 $_SESSION['notifications'] = $notifications; 223 } 224 225 public static function addSuccessNotice($message,$options=array()) 226 { 227 self::addNotice("success",$message,$options); 228 } 229 230 public static function addWarningNotice($message,$options=array()) 231 { 232 self::addNotice("warning",$message,$options); 233 } 234 235 public static function addErrorNotice($message,$options=array()) 236 { 237 self::addNotice("error",$message,$options); 238 } 239 240 protected static function getNotification($n) 225 241 { 226 242 global $core; 227 228 $res = '<p class="'.$class.'">'.dt::str(__('[%H:%M:%S]'),$msg['ts'],$core->auth->getInfo('user_tz')).' '.$msg['text'].'</p>'; 243 $tag = (isset($n['divtag'])&& $n['divtag'])?'div':'p'; 244 $ts = ''; 245 if (!isset($n['with_ts']) || ($n['with_ts'] == true)) { 246 $ts = dt::str(__('[%H:%M:%S]'),$n['ts'],$core->auth->getInfo('user_tz')).' '; 247 } 248 $res = '<'.$tag.' class="'.$n['class'].'">'.$ts.$n['text'].'</'.$tag.'>'; 229 249 return $res; 230 250 } -
inc/admin/lib.moduleslist.php
r2291 r2327 162 162 public function setURL($url) 163 163 { 164 $this->page_qs = strpos('?', $url) ? '& ' : '?';164 $this->page_qs = strpos('?', $url) ? '&' : '?'; 165 165 $this->page_url = $url; 166 166 … … 600 600 echo 601 601 '<td class="module-name nowrap" scope="row">'.($config ? 602 '<a href="'.$this->getURL('module='.$id.'& conf=1').'" title"'.sprintf(__('Configure module "%s"'), html::escapeHTML($module['name'])).'">'.html::escapeHTML($module['name']).'</a>' :602 '<a href="'.$this->getURL('module='.$id.'&conf=1').'" title"'.sprintf(__('Configure module "%s"'), html::escapeHTML($module['name'])).'">'.html::escapeHTML($module['name']).'</a>' : 603 603 html::escapeHTML($module['name']) 604 604 ).'</td>'; -
inc/admin/lib.pager.php
r2152 r2323 111 111 ($this->nb_pages > 1 ? 112 112 sprintf('<li class="direct-access">'.__('Direct access page %s'), 113 form::field(array( 'page'),3,10)).113 form::field(array($this->var_page),3,10)). 114 114 '<input type="submit" value="'.__('ok').'" class="reset" '. 115 115 'name="ok" />'.$this->form_hidden.'</li>' : ''); … … 581 581 } 582 582 } 583 ?> -
inc/prepend.php
r2319 r2341 134 134 # Constants 135 135 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 136 define('DC_VERSION','2. 6-dev');136 define('DC_VERSION','2.7-dev'); 137 137 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 138 138 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); -
locales/fr/help/core_categories.html
r1999 r2363 8 8 <dl> 9 9 <dt>Supprimer une catégorie</dt> 10 <dd>Choisissez la catégorie que vous voulez supprimer et cliquez sur ok.<br /> 11 Une catégorie ne peut être supprimée que si elle ne contient aucun billet.</dd> 10 <dd>Choisissez la catégorie que vous voulez supprimer en cliquant sur Supprimer 11 la catégorie. Une popup vous demandera de confirmer cette action.<br> 12 Une catégorie ne peut être supprimée que si elle ne contient aucun billet.<br> 13 Pour vider une catégorie, vous pouvez choisir (liste de sélection) la nouvelle catégorie 14 dans laquelle ils seront déplacés. Cliquez sur OK pour confirmer ce choix. 15 </dd> 16 17 <dt>Modifier l'ordre des catégories</dt> 18 <dd>Par glisser-déposer vous pouvez modifier l'ordre des catégories. Vous pouvez aussi 19 déplacer une catégorie dans une catégorie parente.<br> 20 Quand l'ordre vous convient cliquez sur Enregistrer l'ordre des catégories</dd> 12 21 13 <dt>Réordonner les catégories</dt> 14 <dd>Utilisez cette option pour placer toutes les catégories au même niveau.<br /> 15 Si vous voulez modifier l'ordre des catégories plus précisément, cliquez sur 16 le nom de chacune d'entre elles et choisissez sa catégorie parente ou sa 17 position par rapport à ses voisines.</dd> 22 <dt>Replacer toutes les catégories au premier niveau</dt> 23 <dd>Utilisez cette option pour placer toutes les catégories au premier niveau.<br /> 24 Si vous voulez modifier l'ordre des catégories plus précisément, vous pouvez 25 <ul> 26 <li>soit les déplacer par glisser-déposer</li> 27 <li>soit cliquer sur le nom de chacune d'entre elles 28 et ensuite choisissez sa catégorie parente ou sa 29 position par rapport à ses voisines. 30 </li> 31 </ul> 32 </dd> 18 33 </dl> 19 34 -
locales/fr/main.po
r2409 r2411 417 417 418 418 msgid "Include sub-categories in category page and category posts feed" 419 msgstr "In lure les sous-catégories dans la page des catégories et dans les flux de billets pour une catégorie"419 msgstr "Inclure les sous-catégories dans la page des catégories et dans les flux de billets pour une catégorie" 420 420 421 421 msgid "Media and images" … … 503 503 504 504 msgid "Theme configuration" 505 msgstr " Configuration duthème"505 msgstr "Personnaliser ce thème" 506 506 507 507 msgid "Themes management" … … 2854 2854 2855 2855 msgid "Module has been successfully activated." 2856 msgstr " Le plugina été activé avec succès."2856 msgstr "Ce module a été activé avec succès." 2857 2857 2858 2858 msgid "You don't have permissions to deactivate this module." 2859 msgstr "Vous n'avez pas les permissions pour désactiver ce plugin."2859 msgstr "Vous n'avez pas les permissions pour désactiver ce module." 2860 2860 2861 2861 msgid "Module has been successfully deactivated." 2862 msgstr " Le plugina été désactivé avec succès."2862 msgstr "Ce module a été désactivé avec succès." 2863 2863 2864 2864 msgid "You don't have permissions to delete this module." 2865 msgstr "Vous n'avez pas les permissions pour supprimer ce plugin."2865 msgstr "Vous n'avez pas les permissions pour supprimer ce module." 2866 2866 2867 2867 msgid "Module has been successfully deleted." 2868 msgstr "Ce plugina été supprimé avec succès."2868 msgstr "Ce module a été supprimé avec succès." 2869 2869 2870 2870 msgid "Module has been successfully updated." 2871 msgstr "Ce plugina été mis à jour avec succès."2871 msgstr "Ce module a été mis à jour avec succès." 2872 2872 2873 2873 msgid "Module has been successfully installed." 2874 msgstr "Ce plugina été installé avec succès."2874 msgstr "Ce module a été installé avec succès." 2875 2875 2876 2876 msgid "Zip file path:" … … 2931 2931 2932 2932 msgid "Configure theme" 2933 msgstr " Configurer le thème"2933 msgstr "Personnaliser le thème" 2934 2934 2935 2935 msgid "Use this one" … … 3080 3080 3081 3081 msgid "Simple menu" 3082 msgstr "Menu simple sur Dotclear"3082 msgstr "Menu simple" 3083 3083 3084 3084 msgid "Tags" -
locales/fr/plugins.po
r2406 r2411 588 588 589 589 msgid "Solid color" 590 msgstr "Couleur "590 msgstr "Couleur pleine" 591 591 592 592 msgid "Custom..." … … 624 624 625 625 msgid "Background color fill:" 626 msgstr " Couleur de remplissagedu fond :"626 msgstr "Remplissage de la couleur du fond :" 627 627 628 628 msgid "Main text font:" -
plugins/aboutConfig/index.php
r2256 r2322 235 235 </div> 236 236 237 <?php dcPage::helpBlock('aboutConfig'); ?> 238 237 239 </body> 238 240 </html> -
plugins/akismet/class.dc.filter.akismet.php
r2205 r2322 17 17 public $has_gui = true; 18 18 public $active = false; 19 public $help = 'akismet-filter'; 19 20 20 21 public function __construct($core) -
plugins/antispam/_admin.php
r2231 r2330 54 54 $core->addBehavior('adminBeforeBlogSettingsUpdate',array('antispamBehaviors','adminBeforeBlogSettingsUpdate')); 55 55 $core->addBehavior('adminCommentsSpamForm',array('antispamBehaviors','adminCommentsSpamForm')); 56 $core->addBehavior('adminPageHelpBlock',array('antispamBehaviors','adminPageHelpBlock')); 56 57 } 57 58 58 59 class antispamBehaviors 59 60 { 61 public static function adminPageHelpBlock($blocks) 62 { 63 $found = false; 64 foreach($blocks as $block) { 65 if ($block == 'core_comments') { 66 $found = true; 67 break; 68 } 69 } 70 if (!$found) { 71 return null; 72 } 73 $blocks[] = 'antispam_comments'; 74 } 75 60 76 public static function adminCommentsSpamForm($core) 61 77 { -
plugins/antispam/filters/class.dc.filter.ip.php
r2205 r2322 16 16 public $name = 'IP Filter'; 17 17 public $has_gui = true; 18 public $help = 'ip-filter'; 18 19 19 20 private $con; -
plugins/antispam/filters/class.dc.filter.iplookup.php
r2205 r2322 16 16 public $name = 'IP Lookup'; 17 17 public $has_gui = true; 18 public $help = 'iplookup-filter'; 18 19 19 20 private $default_bls = 'sbl-xbl.spamhaus.org , bsb.spamlookup.net'; -
plugins/antispam/filters/class.dc.filter.words.php
r2205 r2322 16 16 public $has_gui = true; 17 17 public $name = 'Bad Words'; 18 public $help = 'words-filter'; 18 19 19 20 private $con; -
plugins/antispam/inc/class.dc.spamfilter.php
r1179 r2322 19 19 public $order = 100; 20 20 public $auto_delete = false; 21 public $help = null; 21 22 22 23 protected $has_gui = false; … … 158 159 return sprintf($link,$this->name,$url); 159 160 } 161 162 public function help() 163 { 164 } 160 165 } 161 166 ?> -
plugins/antispam/index.php
r2256 r2322 138 138 139 139 echo $filter_gui; 140 141 if ($filter->help) { 142 dcPage::helpBlock($filter->help); 143 } 140 144 } 141 145 else … … 250 254 '</ul>'; 251 255 } 252 } 256 257 dcPage::helpBlock('antispam','antispam-filters'); 258 } 259 253 260 ?> 254 261 -
plugins/blowupConfig/config.js
r1499 r2333 1 1 $(function() { 2 2 // Hide main title 3 if ($('#blog_title_hide'). attr('checked')) {3 if ($('#blog_title_hide').prop('checked')) { 4 4 toggleDisable($('#blog_title_f')); 5 5 toggleDisable($('#blog_title_s')); … … 52 52 53 53 $(styles_combo).change(function() { 54 if (this.value == 'none') {55 $(this.form).find('input[type=text]').val('').css({backgroundColor: '#FFF', color: '#000'});56 $(this.form).find('select').not($(this)).val('');57 58 } else{54 $(this.form).find('input[type=text]').val('').css({backgroundColor: '#FFF', color: '#000'}); 55 $(this.form).find('select').not($(this)).val(''); 56 $(this.form).find('#extra_css').val(''); 57 $('#top_image').val('default'); 58 if (this.value != 'none') { 59 59 applyBlowupValues(this.value); 60 60 } … … 108 108 function applyBlowupValues(code) { 109 109 code = code.replace("\n",""); 110 var re = /(^| )([a-zA-Z0-9_]+):"(.*?)"(;|$)/g; 110 var re = /(^| )([a-zA-Z0-9_]+):"([^"]*?)"(;|$)/g; 111 var reg = /^(.+):"([^"]*)"(;?)\s*$/; 111 112 var s = code.match(re); 112 113 113 114 if (typeof(s) == 'object' && s.length > 0) { 114 115 var member, target, value, t_e; 115 var reg = new RegExp('^(.+):"(.*)"(;?)\s*$'); 116 for (var i=0; i<s.length; i++) { 116 for (var i=0,s_length=s.length; i<s_length; i++) { 117 117 member = reg.exec(s[i]); 118 118 target = member[1].replace(' ',''); … … 144 144 145 145 dotclear.blowup_styles = { 146 'Spring Time' :'body_bg_c:"#E0E0E0"; body_bg_g:"light"; body_txt_f:"ss1"; body_txt_s:"1.2em"; body_txt_c:"#6B6B6B"; body_line_height:"1.4em"; top_image:"light-trails-1"; blog_title_hide:"0"; blog_title_f:""; blog_title_s:"3.5em"; blog_title_c:"#9AC528"; blog_title_a:"center"; blog_title_p:""; body_link_c:"#279AC4"; body_link_f_c:"#6D8824"; body_link_v_c:"#279AC4"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:"#6B6B6B"; sidebar_title_f:""; sidebar_title_s:""; sidebar_title_c:"#8FB22F"; sidebar_title2_f:""; sidebar_title2_s:""; sidebar_title2_c:"#279AC4"; sidebar_line_c:"#FFD02C"; sidebar_link_c:"#6B6B6B"; sidebar_link_f_c:"#9AC528"; sidebar_link_v_c:"#6B6B6B"; date_title_f:""; date_title_s:"1em"; date_title_c:"#279AC4"; post_title_f:""; post_title_s:"1.7em"; post_title_c:"#9AC528"; post_comment_bg_c:"#FFFAD1"; post_comment_c:"#6B6B6B"; post_commentmy_bg_c:"#F5F9D9"; post_commentmy_c:"#6B6B6B"; prelude_c:"#EDEDED"; footer_f:""; footer_s:"1.2em"; footer_c:"#9AC528"; footer_l_c:"#6D8824"; footer_bg_c:"#E0E0E0"',147 146 'Forest' :'body_bg_c:"#80661A"; body_bg_g:"light"; body_txt_f:""; body_txt_s:""; body_txt_c:"#0A0A00"; body_line_height:"1.4em"; top_image:"default"; blog_title_hide:"0"; blog_title_f:"s3"; blog_title_s:"4em"; blog_title_c:"#D9D9BF"; blog_title_a:""; blog_title_p:""; body_link_c:"#666600"; body_link_f_c:"#CC9933"; body_link_v_c:"#8D8D40"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:"#0A0A00"; sidebar_title_f:"s2"; sidebar_title_s:"1.6em"; sidebar_title_c:"#4D4D00"; sidebar_title2_f:"s2"; sidebar_title2_s:""; sidebar_title2_c:"#575700"; sidebar_line_c:"#D9D9BF"; sidebar_link_c:"#40330D"; sidebar_link_f_c:"#666600"; sidebar_link_v_c:"#40330D"; date_title_f:""; date_title_s:""; date_title_c:"#B3B380"; post_title_f:"s2"; post_title_s:"2em"; post_title_c:"#4D4D00"; post_comment_bg_c:"#F0F0E6"; post_comment_c:"#0A0A00"; prelude_c:"#140F05"; footer_f:""; footer_s:""; footer_c:"#FFFFFF"; footer_l_c:"#D9AD2B"; footer_bg_c:"#33260D"', 148 147 'Flamingo' :'body_bg_c:"#CC9999"; body_bg_g:"light"; body_txt_f:"ss3"; body_txt_s:"1.2em"; body_txt_c:"#1A1A00"; body_line_height:"1.5em"; top_image:"flamingo"; blog_title_hide:"0"; blog_title_f:"ss1"; blog_title_s:"3.5em"; blog_title_c:"#FFFFFF"; blog_title_a:""; blog_title_p:""; body_link_c:"#AD8282"; body_link_f_c:"#8282D9"; body_link_v_c:"#997373"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:""; sidebar_title_f:"ss4"; sidebar_title_s:"1.4em"; sidebar_title_c:"#8282D9"; sidebar_title2_f:"ss3"; sidebar_title2_s:"1.2em"; sidebar_title2_c:"#AD8282"; sidebar_line_c:"#CDCDFF"; sidebar_link_c:"#262640"; sidebar_link_f_c:"#AD8282"; sidebar_link_v_c:"#262640"; date_title_f:"ss4"; date_title_s:""; date_title_c:"#D9B3B3"; post_title_f:"ss4"; post_title_s:"1.8em"; post_title_c:"#8282D9"; post_comment_bg_c:"#F2E5E5"; post_comment_c:""; prelude_c:"#140F0F"; footer_f:""; footer_s:""; footer_c:"#FFFFFF"; footer_l_c:""; footer_bg_c:"#140F0F"', … … 150 149 'Night' :'body_bg_c:"#0D1A26"; body_bg_g:"dark"; body_txt_f:"ss3"; body_txt_s:"1.1em"; body_txt_c:"#050A0F"; body_line_height:"1.5em"; top_image:"default"; blog_title_hide:"0"; blog_title_f:"s2"; blog_title_s:"3.5em"; blog_title_c:"#F2F2E5"; blog_title_a:""; body_link_c:"#336699"; body_link_f_c:"#66664D"; body_link_v_c:"#2B5782"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:""; sidebar_title_f:"ss3"; sidebar_title_s:"1.4em"; sidebar_title_c:"#336699"; sidebar_title2_f:"ss3"; sidebar_title2_s:"1.2em"; sidebar_title2_c:"#737300"; sidebar_line_c:"#E6E6CD"; sidebar_link_c:"#66664D"; sidebar_link_f_c:"#336699"; sidebar_link_v_c:"#66664D"; date_title_f:""; date_title_s:""; date_title_c:"#ADAD82"; post_title_f:"s2"; post_title_s:"1.8em"; post_title_c:"#737300"; post_comment_bg_c:"#E6E6CD"; post_comment_c:""; prelude_c:"#070E14"; footer_f:""; footer_s:""; footer_c:"#FFFFFF"; footer_l_c:""; footer_bg_c:"#14140F"; blog_title_p:""', 151 150 'Peas & Carrots' :'body_bg_c:"#9DCA25"; body_bg_g:"light"; body_txt_f:"ss1"; body_txt_s:"1.2em"; body_txt_c:"#383839"; body_line_height:"1.5em"; top_image:"butterflies"; blog_title_hide:"0"; blog_title_f:"ss4"; blog_title_s:"3em"; blog_title_c:"#DBDB9D"; blog_title_a:"left"; blog_title_p:""; body_link_c:"#646B10"; body_link_f_c:"#DF6C01"; body_link_v_c:"#919924"; sidebar_position:"left"; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:""; sidebar_title_f:"ss4"; sidebar_title_s:""; sidebar_title_c:"#FE9017"; sidebar_title2_f:"s2"; sidebar_title2_s:"1.2em"; sidebar_title2_c:"#826228"; sidebar_line_c:"#D3EB8B"; sidebar_link_c:"#858547"; sidebar_link_f_c:"#FE9017"; sidebar_link_v_c:"#8F9645"; date_title_f:""; date_title_s:""; date_title_c:"#826228"; post_title_f:"ss4"; post_title_s:"1.8em"; post_title_c:"#806432"; post_comment_bg_c:"#EFFDCC"; post_comment_c:"#826228"; prelude_c:"#C8E186"; footer_f:""; footer_s:"1em"; footer_c:"#FFFFFF"; footer_l_c:"#FFFFFF"; footer_bg_c:"#484432"', 151 'Plumetis' :'body_bg_c:"#F5F5F5"; body_bg_g:"solid"; body_txt_f:"ss1"; body_txt_s:"14px"; body_txt_c:"#333333"; body_line_height:"24px"; top_image:"plumetis"; blog_title_hide:"0"; blog_title_f:"ss1"; blog_title_s:"36px"; blog_title_c:"#333333"; blog_title_a:"left"; blog_title_p:"20:94"; body_link_c:"#000000"; body_link_f_c:"#D33800"; body_link_v_c:"#333333"; sidebar_position:""; sidebar_text_f:"ss1"; sidebar_text_s:"12px"; sidebar_text_c:""; sidebar_title_f:""; sidebar_title_s:"14px"; sidebar_title_c:"#666666"; sidebar_title2_f:""; sidebar_title2_s:"12px"; sidebar_title2_c:"#000000"; sidebar_line_c:"#A6D9DC"; sidebar_link_c:""; sidebar_link_f_c:"#D33800"; sidebar_link_v_c:""; date_title_f:""; date_title_s:"12px"; date_title_c:"#666666"; post_title_f:"ss1"; post_title_s:"24px"; post_title_c:"#D33800"; post_comment_bg_c:"#E2EDED"; post_comment_c:"#333333"; post_commentmy_bg_c:"#A6D9DC"; post_commentmy_c:"#000000"; prelude_c:"#A6D9DC"; footer_f:""; footer_s:"12px"; footer_c:"#FFFFFF"; footer_l_c:"#FFFFFF"; footer_bg_c:"#999999"; extra_css:"h1, .post-title {font-weight: normal;text-shadow: 1px 1px 0 #fff;}#footer {background-image: none}body {border-top: 72px solid #A6D9DC}#top {margin-top: -36px}.post a {border-bottom: 1px solid #999}.post-title a, .post-info-co a {border-bottom: none}a:hover {background-color: #eee;text-decoration:none;}"', 152 152 'Rabbit' :'body_bg_c:"#8F9645"; body_bg_g:"solid"; body_txt_f:"ss1"; body_txt_s:"1.2em"; body_txt_c:"#625D47"; body_line_height:"1.4em"; top_image:"rabbit"; blog_title_hide:"0"; blog_title_f:"ss1"; blog_title_s:"3.5em"; blog_title_c:"#DBDB9D"; blog_title_a:""; blog_title_p:"130:70"; body_link_c:"#646B10"; body_link_f_c:"#484C12"; body_link_v_c:"#919924"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:"#858547"; sidebar_title_f:""; sidebar_title_s:""; sidebar_title_c:"#8F9645"; sidebar_title2_f:"s2"; sidebar_title2_s:""; sidebar_title2_c:"#826228"; sidebar_line_c:"#95956B"; sidebar_link_c:"#858547"; sidebar_link_f_c:"#826228"; sidebar_link_v_c:"#8F9645"; date_title_f:"s2"; date_title_s:"1em"; date_title_c:"#826228"; post_title_f:"s2"; post_title_s:"1.6em"; post_title_c:"#806432"; post_comment_bg_c:"#D6DE91"; post_comment_c:"#826228"; prelude_c:"#484432"; footer_f:""; footer_s:"1em"; footer_c:"#A6AF50"; footer_l_c:"#DBDB9D"; footer_bg_c:"#484432"', 153 153 'Rec Room' :'body_bg_c:"#9B5E1C"; body_bg_g:"dark"; body_txt_f:"ss3"; body_txt_s:"1.1em"; body_txt_c:"#757575"; body_line_height:"1.5em"; top_image:"default"; blog_title_hide:"0"; blog_title_f:"s2"; blog_title_s:"3em"; blog_title_c:"#F9FAD6"; blog_title_a:""; blog_title_p:""; body_link_c:"#D1BF1D"; body_link_f_c:"#EEE168"; body_link_v_c:"#D1BF1D"; sidebar_position:"left"; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:""; sidebar_title_f:"ss3"; sidebar_title_s:"1.2em"; sidebar_title_c:"#689B9C"; sidebar_title2_f:"ss3"; sidebar_title2_s:"1.2em"; sidebar_title2_c:"#737300"; sidebar_line_c:"#E6E6CD"; sidebar_link_c:"#66664D"; sidebar_link_f_c:"#689B9C"; sidebar_link_v_c:"#66664D"; date_title_f:""; date_title_s:""; date_title_c:"#000000"; post_title_f:"s2"; post_title_s:"1.8em"; post_title_c:"#689B9C"; post_comment_bg_c:"#E4E4E2"; post_comment_c:""; prelude_c:"#3B2C16"; footer_f:""; footer_s:""; footer_c:"#FFFFFF"; footer_l_c:""; footer_bg_c:"#3B2C16"', 154 154 'Seville' :'body_bg_c:"#B51A0D"; body_bg_g:"dark"; body_txt_f:"ss3"; body_txt_s:"1.1em"; body_txt_c:"#383839"; body_line_height:"1.5em"; top_image:"default"; blog_title_hide:"0"; blog_title_f:"s2"; blog_title_s:"3em"; blog_title_c:"#FFFFFF"; blog_title_a:""; blog_title_p:""; body_link_c:"#F18A32"; body_link_f_c:"#F1B232"; body_link_v_c:"#F18A32"; sidebar_position:"left"; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:""; sidebar_title_f:"ss3"; sidebar_title_s:"1.4em"; sidebar_title_c:"#97471C"; sidebar_title2_f:"ss3"; sidebar_title2_s:"1.2em"; sidebar_title2_c:"#737300"; sidebar_line_c:"#E6E6CD"; sidebar_link_c:"#6E6E72"; sidebar_link_f_c:"#F18A32"; sidebar_link_v_c:"#6E6E72"; date_title_f:""; date_title_s:""; date_title_c:"#97471C"; post_title_f:"s2"; post_title_s:"1.8em"; post_title_c:"#F18A32"; post_comment_bg_c:"#E4E4E2"; post_comment_c:""; prelude_c:"#381A1A"; footer_f:""; footer_s:""; footer_c:"#FFFFFF"; footer_l_c:""; footer_bg_c:"#381A1A"', 155 'Spring Time' :'body_bg_c:"#E0E0E0"; body_bg_g:"light"; body_txt_f:"ss1"; body_txt_s:"1.2em"; body_txt_c:"#6B6B6B"; body_line_height:"1.4em"; top_image:"light-trails-1"; blog_title_hide:"0"; blog_title_f:""; blog_title_s:"3.5em"; blog_title_c:"#9AC528"; blog_title_a:"center"; blog_title_p:""; body_link_c:"#279AC4"; body_link_f_c:"#6D8824"; body_link_v_c:"#279AC4"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:"#6B6B6B"; sidebar_title_f:""; sidebar_title_s:""; sidebar_title_c:"#8FB22F"; sidebar_title2_f:""; sidebar_title2_s:""; sidebar_title2_c:"#279AC4"; sidebar_line_c:"#FFD02C"; sidebar_link_c:"#6B6B6B"; sidebar_link_f_c:"#9AC528"; sidebar_link_v_c:"#6B6B6B"; date_title_f:""; date_title_s:"1em"; date_title_c:"#279AC4"; post_title_f:""; post_title_s:"1.7em"; post_title_c:"#9AC528"; post_comment_bg_c:"#FFFAD1"; post_comment_c:"#6B6B6B"; post_commentmy_bg_c:"#F5F9D9"; post_commentmy_c:"#6B6B6B"; prelude_c:"#EDEDED"; footer_f:""; footer_s:"1.2em"; footer_c:"#9AC528"; footer_l_c:"#6D8824"; footer_bg_c:"#E0E0E0"', 155 156 'Typo' :'body_bg_c:"#FFFFFF"; body_bg_g:"solid"; body_txt_f:"ss1"; body_txt_s:"1.2em"; body_txt_c:"#000000"; body_line_height:"1.4em"; top_image:"typo"; blog_title_hide:"0"; blog_title_f:"s2"; blog_title_s:"3.5em"; blog_title_c:"#B11508"; blog_title_a:"left"; blog_title_p:"140:50"; body_link_c:"#B11508"; body_link_f_c:"#000000"; body_link_v_c:"#4D4D4D"; sidebar_position:""; sidebar_text_f:""; sidebar_text_s:""; sidebar_text_c:"#000000"; sidebar_title_f:"s2"; sidebar_title_s:""; sidebar_title_c:"#B11508"; sidebar_title2_f:"s2"; sidebar_title2_s:""; sidebar_title2_c:"#000000"; sidebar_line_c:"#000000"; sidebar_link_c:"#000000"; sidebar_link_f_c:"#B11508"; sidebar_link_v_c:"#000000"; date_title_f:"s2"; date_title_s:"1em"; date_title_c:"#000000"; post_title_f:"s2"; post_title_s:"1.6em"; post_title_c:"#B11508"; post_comment_bg_c:"#FFFFFF"; post_comment_c:"#000000"; prelude_c:"#FFFFFF"; footer_f:""; footer_s:"1em"; footer_c:"#000000"; footer_l_c:"#B11508"; footer_bg_c:"#FFFFFF"' 156 157 }; -
plugins/blowupConfig/index.php
r2256 r2335 290 290 291 291 echo 292 '<p class="field"><label for="blog_title_hide">'.__('Hide main title').' '.293 form::checkbox('blog_title_hide',1,$blowup_user['blog_title_hide']).'</ label></p>'.292 '<p class="field"><label for="blog_title_hide">'.__('Hide main title').'</label> '. 293 form::checkbox('blog_title_hide',1,$blowup_user['blog_title_hide']).'</p>'. 294 294 295 295 '<p class="field"><label for="blog_title_f">'.__('Main title font:').'</label> '. … … 316 316 317 317 echo 318 '<h 4 class="border-top">'.__('Top image').'</h4>'.318 '<h5 class="pretty-title">'.__('Top image').'</h4>'. 319 319 '<p class="field"><label for="top_image">'.__('Top image').'</label> '. 320 320 form::combo('top_image',$top_images,($blowup_user['top_image'] ? $blowup_user['top_image'] : 'default')).'</p>'. -
plugins/blowupConfig/lib/class.blowup.config.php
r1436 r2335 49 49 'flourish-2' => 'Flourished 2', 50 50 'animals' => 'Animals', 51 'plumetis' => 'Plumetis', 51 52 'flamingo' => 'Flamingo', 52 53 'rabbit' => 'Rabbit', -
plugins/importExport/index.php
r2256 r2322 107 107 ).'</p>'; 108 108 109 echo ' 110 </body> 111 </html>'; 112 ?> 109 dcPage::helpBlock('import'); 110 111 echo '</body></html>'; -
plugins/pings/_admin.php
r2230 r2322 26 26 'Google Blog Search' => 'http://blogsearch.google.com/ping/RPC2' 27 27 ); 28 28 29 29 $core->blog->settings->addNamespace('pings'); 30 30 $core->blog->settings->pings->put('pings_active',1,'boolean','Activate pings plugin',true,true); … … 48 48 )); 49 49 } 50 ?> 50 51 $core->addBehavior('adminPageHelpBlock', 'pingsPageHelpBlock'); 52 53 function pingsPageHelpBlock($blocks) 54 { 55 $found = false; 56 foreach($blocks as $block) { 57 if ($block == 'core_post') { 58 $found = true; 59 break; 60 } 61 } 62 if (!$found) { 63 return null; 64 } 65 $blocks[] = 'pings_post'; 66 } -
plugins/pings/index.php
r2256 r2322 100 100 echo '<p><a class="button" href="'.$p_url.'&test=1">'.__('Test ping services').'</a></p>'; 101 101 ?> 102 103 <?php dcPage::helpBlock('pings'); ?> 104 102 105 </body> 103 106 </html> -
plugins/tags/_admin.php
r2256 r2322 38 38 $core->addBehavior('adminDashboardFavorites',array('tagsBehaviors','dashboardFavorites')); 39 39 40 $core->addBehavior('adminPageHelpBlock', array('tagsBehaviors', 'adminPageHelpBlock')); 41 40 42 # BEHAVIORS 41 43 class tagsBehaviors 42 44 { 45 public static function adminPageHelpBlock($blocks) 46 { 47 $found = false; 48 foreach($blocks as $block) { 49 if ($block == 'core_post') { 50 $found = true; 51 break; 52 } 53 } 54 if (!$found) { 55 return null; 56 } 57 $blocks[] = 'tag_post'; 58 } 59 43 60 public static function dashboardFavorites($core,$favs) 44 61 { -
plugins/tags/tag_posts.php
r2256 r2322 146 146 '</form>'); 147 147 } 148 dcPage::helpBlock('tag_posts'); 148 149 ?> 149 150 </body> -
plugins/tags/tags.php
r2256 r2322 75 75 echo '<p>'.__('No tags on this blog.').'</p>'; 76 76 } 77 78 dcPage::helpBlock('tags'); 77 79 ?> 78 80 -
plugins/userPref/index.php
r2256 r2322 232 232 </div> 233 233 234 <?php dcPage::helpBlock('userPref'); ?> 235 234 236 </body> 235 237 </html> -
tests/functional/spec/page_tabs.js
r2162 r2348 153 153 expect($('#part-user-favorites')).not.toBeVisible(); 154 154 }); 155 156 /* ticket 1723 */ 157 it("Must open first tab when hash does not refer to an existing div content", function() { 158 loadFixtures('tabs.html'); 159 loadStyleFixtures('default.css'); 160 161 spyOn(jQuery.pageTabs, 'getLocationHash').andReturn('dummy'); 162 $.pageTabs(); 163 expect($('#part-user-options')).toBeVisible(); 164 expect($('#part-user-profile')).not.toBeVisible(); 165 expect($('#part-user-favorites')).not.toBeVisible(); 166 }); 155 167 }); 156 168 -
themes/ductile/_config.php
r2003 r2335 438 438 439 439 echo '<div class="multi-part" id="themes-list'.($conf_tab == 'html' ? '' : '-html').'" title="'.__('Content').'">'. 440 '<h3 class="out-of-screen-if-js">'.__('Content').'</h3>';440 '<h3>'.__('Content').'</h3>'; 441 441 442 442 echo '<form id="theme_config" action="blog_theme.php?conf=1" method="post" enctype="multipart/form-data">'; 443 443 444 echo '<fieldset><legend>'.__('Header').'</legend>'. 445 '<p class="field"><label for="subtitle_hidden">'.__('Hide blog description:').' '. 446 form::checkbox('subtitle_hidden',1,$ductile_user['subtitle_hidden']).'</label>'.'</p>'; 444 echo '<h4>'.__('Header').'</h4>'. 445 '<p class="field"><label for="subtitle_hidden">'.__('Hide blog description:').'</label> '. 446 form::checkbox('subtitle_hidden',1,$ductile_user['subtitle_hidden']).'</p>'; 447 echo '<p class="field"><label for="logo_src">'.__('Logo URL:').'</label> '. 448 form::field('logo_src',40,255,$ductile_user['logo_src']).'</p>'; 447 449 if ($core->plugins->moduleExists('simpleMenu')) 448 450 { 449 451 echo '<p>'.sprintf(__('To configure the top menu go to the <a href="%s">Simple Menu administration page</a>.'),'plugin.php?p=simpleMenu').'</p>'; 450 452 } 451 echo '<p class="field"><label for="logo_src">'.__('Logo URL:').' '. 452 form::field('logo_src',40,255,$ductile_user['logo_src']).'</label>'.'</p>'; 453 echo '</fieldset>'; 454 455 echo '<fieldset><legend>'.__('Stickers').'</legend>'; 453 454 echo '<h4 class="border-top pretty-title">'.__('Stickers').'</h4>'; 456 455 457 456 echo … … 483 482 '</table></div>'; 484 483 485 echo '</fieldset>'; 486 487 echo '<fieldset><legend>'.__('Entries list types and limits').'</legend>'; 488 489 echo '<table id="entrieslist">'.'<caption>'.__('Entries lists').'</caption>'. 484 echo '<h4 class="border-top pretty-title">'.__('Entries list types and limits').'</h4>'; 485 486 echo '<table id="entrieslist">'.'<caption class="hidden">'.__('Entries lists').'</caption>'. 490 487 '<thead>'. 491 488 '<tr>'. … … 513 510 '</table>'; 514 511 515 echo '</fieldset>'; 516 517 echo '<fieldset><legend>'.__('Miscellaneous options').'</legend>'; 518 echo '<p class="field"><label for="preview_not_mandatory">'.__('Comment preview is not mandatory:').' '. 519 form::checkbox('preview_not_mandatory',1,$ductile_user['preview_not_mandatory']).'</label>'.'</p>'; 520 echo '</fieldset>'; 512 echo '<h4 class="border-top pretty-title">'.__('Miscellaneous options').'</h4>'; 513 echo '<p><label for="preview_not_mandatory" class="classic">'.__('Comment preview is not mandatory:').'</label> '. 514 form::checkbox('preview_not_mandatory',1,$ductile_user['preview_not_mandatory']).'</p>'; 521 515 522 516 echo '<p><input type="hidden" name="conf_tab" value="html" /></p>'; … … 534 528 echo '<h3>'.__('General settings').'</h3>'; 535 529 536 echo '< fieldset><legend>'.__('Fonts').'</legend>';530 echo '<h4 class="pretty-title">'.__('Fonts').'</h4>'; 537 531 538 532 echo '<div class="two-cols">'; 539 533 echo '<div class="col">'; 540 534 echo 541 '<p class="field"><label for="body_font">'.__('Main:').' '. 542 form::combo('body_font',$fonts,$ductile_user['body_font']).'</label>'. 535 '<h5>'.__('Main text').'</h5>'. 536 '<p class="field"><label for="body_font">'.__('Main font:').'</label> '. 537 form::combo('body_font',$fonts,$ductile_user['body_font']). 543 538 (!empty($ductile_user['body_font']) ? ' '.fontDef($ductile_user['body_font']) : ''). 539 ' <span class="form-note">'.__('Set to Default to use a webfont.').'</span>'. 544 540 '</p>'. 545 '<p class="form-note">'.__('Set main font to Default to use webfont below.').'</p> '.546 541 '<p class="field"><label for="body_webfont_family">'.__('Webfont family:').'</label> '. 547 542 form::field('body_webfont_family',25,255,$ductile_user['body_webfont_family']).'</p>'. 548 543 '<p class="field"><label for="body_webfont_url">'.__('Webfont URL:').'</label> '. 549 544 form::field('body_webfont_url',50,255,$ductile_user['body_webfont_url']).'</p>'. 550 '<p class="field"><label for="body_webfont_url">'.__('Webfont API:').' '.551 form::combo('body_webfont_api',$webfont_apis,$ductile_user['body_webfont_api']).'</ label>'.'</p>';545 '<p class="field"><label for="body_webfont_url">'.__('Webfont API:').'</label> '. 546 form::combo('body_webfont_api',$webfont_apis,$ductile_user['body_webfont_api']).'</p>'; 552 547 echo '</div>'; 553 548 echo '<div class="col">'; 554 549 echo 555 '<p class="field"><label for="alternate_font">'.__('Secondary:').' '. 556 form::combo('alternate_font',$fonts,$ductile_user['alternate_font']).'</label>'. 550 '<h5>'.__('Secondary text').'</h5>'. 551 '<p class="field"><label for="alternate_font">'.__('Secondary font:').'</label> '. 552 form::combo('alternate_font',$fonts,$ductile_user['alternate_font']). 557 553 (!empty($ductile_user['alternate_font']) ? ' '.fontDef($ductile_user['alternate_font']) : ''). 554 ' <span class="form-note">'.__('Set to Default to use a webfont.').'</span>'. 558 555 '</p>'. 559 '<p class="form-note">'.__('Set secondary font to Default to use webfont below.').'</p> '.560 556 '<p class="field"><label for="alternate_webfont_family">'.__('Webfont family:').'</label> '. 561 557 form::field('alternate_webfont_family',25,255,$ductile_user['alternate_webfont_family']).'</p>'. 562 558 '<p class="field"><label for="alternate_webfont_url">'.__('Webfont URL:').'</label> '. 563 559 form::field('alternate_webfont_url',50,255,$ductile_user['alternate_webfont_url']).'</p>'. 564 '<p class="field"><label for="alternate_webfont_api">'.__('Webfont API:').' '.565 form::combo('alternate_webfont_api',$webfont_apis,$ductile_user['alternate_webfont_api']).'</ label>'.'</p>';566 echo '</div>'; 567 echo '</div>'; 568 echo '</fieldset>'; 569 560 '<p class="field"><label for="alternate_webfont_api">'.__('Webfont API:').'</label> '. 561 form::combo('alternate_webfont_api',$webfont_apis,$ductile_user['alternate_webfont_api']).'</p>'; 562 echo '</div>'; 563 echo '</div>'; 564 565 echo '<h4 class="clear border-top pretty-title">'.__('Titles').'</h4>'; 570 566 echo '<div class="two-cols">'; 571 567 echo '<div class="col">'; 572 573 echo '<fieldset><legend>'.__('Blog title').'</legend>'. 574 '<p class="field"><label for="blog_title_w">'.__('In bold:').' '. 575 form::checkbox('blog_title_w',1,$ductile_user['blog_title_w']).'</label>'.'</p>'. 568 echo '<h5>'.__('Blog title').'</h5>'. 569 '<p class="field"><label for="blog_title_w">'.__('In bold:').'</label> '. 570 form::checkbox('blog_title_w',1,$ductile_user['blog_title_w']).'</p>'. 576 571 577 572 '<p class="field"><label for="blog_title_s">'.__('Font size (in em by default):').'</label> '. … … 583 578 (!empty($ductile_user['blog_title_s']) ? $ductile_user['blog_title_s'] : '2em'), 584 579 $ductile_user['blog_title_w']). 585 '</p>'. 586 '</fieldset>'; 580 '</p>'; 587 581 588 582 echo '</div>'; 589 583 echo '<div class="col">'; 590 584 591 echo '< fieldset><legend>'.__('Post title').'</legend>'.592 '<p class="field"><label for="post_title_w">'.__('In bold:').' '.593 form::checkbox('post_title_w',1,$ductile_user['post_title_w']).'</ label>'.'</p>'.585 echo '<h5>'.__('Post title').'</h5>'. 586 '<p class="field"><label for="post_title_w">'.__('In bold:').'</label> '. 587 form::checkbox('post_title_w',1,$ductile_user['post_title_w']).'</p>'. 594 588 595 589 '<p class="field"><label for="post_title_s">'.__('Font size (in em by default):').'</label> '. … … 601 595 (!empty($ductile_user['post_title_s']) ? $ductile_user['post_title_s'] : '2.5em'), 602 596 $ductile_user['post_title_w']). 603 '</p>'. 604 '</fieldset>'; 605 606 echo '</div>'; 607 echo '</div>'; 608 609 echo '<fieldset><legend>'.__('Titles without link').'</legend>'. 597 '</p>'; 598 599 echo '</div>'; 600 echo '</div>'; 601 602 echo '<h5>'.__('Titles without link').'</h5>'. 610 603 611 604 '<p class="field picker"><label for="post_simple_title_c">'.__('Color:').'</label> '. … … 614 607 '1.1em', // H5 minimum size 615 608 false). 616 '</p>'. 617 '</fieldset>'; 618 619 echo '<fieldset><legend>'.__('Inside posts links').'</legend>'. 620 '<p class="field"><label for="post_link_w">'.__('In bold:').' '. 621 form::checkbox('post_link_w',1,$ductile_user['post_link_w']).'</label>'.'</p>'. 609 '</p>'; 610 611 echo '<h4 class="border-top pretty-title">'.__('Inside posts links').'</h4>'. 612 '<p class="field"><label for="post_link_w">'.__('In bold:').'</label> '. 613 form::checkbox('post_link_w',1,$ductile_user['post_link_w']).'</p>'. 622 614 623 615 '<p class="field picker"><label for="post_link_v_c">'.__('Normal and visited links color:').'</label> '. … … 633 625 '1em', 634 626 $ductile_user['post_link_w']). 635 '</p>'. 636 '</fieldset>'; 637 638 echo '<h3>'.__('Mobile specific settings').'</h3>'; 627 '</p>'; 628 629 echo '<h3 class="border-top">'.__('Mobile specific settings').'</h3>'; 639 630 640 631 echo '<div class="two-cols">'; 641 632 echo '<div class="col">'; 642 633 643 echo '< fieldset><legend>'.__('Blog title').'</legend>'.644 '<p class="field"><label for="blog_title_w_m">'.__('In bold:').' '.645 form::checkbox('blog_title_w_m',1,$ductile_user['blog_title_w_m']).'</ label>'.'</p>'.634 echo '<h4 class="pretty-title">'.__('Blog title').'</h4>'. 635 '<p class="field"><label for="blog_title_w_m">'.__('In bold:').'</label> '. 636 form::checkbox('blog_title_w_m',1,$ductile_user['blog_title_w_m']).'</p>'. 646 637 647 638 '<p class="field"><label for="blog_title_s_m">'.__('Font size (in em by default):').'</label> '. … … 653 644 (!empty($ductile_user['blog_title_s_m']) ? $ductile_user['blog_title_s_m'] : '1.8em'), 654 645 $ductile_user['blog_title_w_m']). 655 '</p>'. 656 '</fieldset>'; 646 '</p>'; 657 647 658 648 echo '</div>'; 659 649 echo '<div class="col">'; 660 650 661 echo '< fieldset><legend>'.__('Post title').'</legend>'.662 '<p class="field"><label for="post_title_w_m">'.__('In bold:').' '.663 form::checkbox('post_title_w_m',1,$ductile_user['post_title_w_m']).'</ label>'.'</p>'.651 echo '<h4 class="pretty-title">'.__('Post title').'</h4>'. 652 '<p class="field"><label for="post_title_w_m">'.__('In bold:').'</label> '. 653 form::checkbox('post_title_w_m',1,$ductile_user['post_title_w_m']).'</p>'. 664 654 665 655 '<p class="field"><label for="post_title_s_m">'.__('Font size (in em by default):').'</label> '. … … 671 661 (!empty($ductile_user['post_title_s_m']) ? $ductile_user['post_title_s_m'] : '1.5em'), 672 662 $ductile_user['post_title_w_m']). 673 '</p>'. 674 '</fieldset>'; 663 '</p>'; 675 664 676 665 echo '</div>'; … … 678 667 679 668 echo '<p><input type="hidden" name="conf_tab" value="css" /></p>'; 680 echo '<p class="clear "><input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>';669 echo '<p class="clear border-top"><input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>'; 681 670 echo '</form>'; 682 671
Note: See TracChangeset
for help on using the changeset viewer.