Dotclear


Ignore:
Files:
45 added
41 edited

Legend:

Unmodified
Added
Removed
  • .hgsubstate

    r1983 r2343  
    1 19ba094ceed74d06ddd0593332cb4d1a7d12c243 inc/libs/clearbricks 
     180a0052d6ee5db1ff47601bc62959d4c8b6cf857 inc/libs/clearbricks 
  • admin/blog_theme.php

    r2319 r2337  
    132132          '<p class="info vertical-separator">'.sprintf( 
    133133               __("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>' 
    135135               ). 
    136136          '</p>'. 
     
    211211          '<p class="info vertical-separator">'.sprintf( 
    212212               __("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>' 
    214214               ). 
    215215          '</p>'. 
  • admin/images/menu/blog-theme-b-update.png

    • Property exe deleted
  • admin/js/_media.js

    r2320 r2346  
    9494               } 
    9595 
    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) { 
    9797                    if ($container.hasClass('enhanced_uploader')) { 
    9898                         $msg = dotclear.msg.enhanced_uploader_activate; 
     
    122122                     
    123123                    $container.toggleClass('enhanced_uploader'); 
     124                    e.preventDefault(); 
    124125               }).appendTo(me); 
    125126          }); 
  • admin/js/color-picker.js

    r2101 r2335  
    3434               span.css('position','relative'); 
    3535          } 
    36           span.css('display','block'); 
     36          span.css('display','inline-block'); 
    3737           
    3838          /*ligne supprimée car elle ne fait pas le calcul 
  • admin/js/jquery/jquery.pageTabs.js

    r2186 r2348  
    7272      
    7373     $.pageTabs.clickTab = function(tab) { 
    74           if (tab=='') { 
     74          if (tab=='' || $('#'+$.pageTabs.options.idTabPrefix+tab, '.'+$.pageTabs.options.containerClass).length==0) { 
    7575               tab = getHash($('ul li a', '.'+$.pageTabs.options.containerClass+':eq(0)').attr('href')); 
    7676          } 
  • admin/plugins.php

    r2319 r2337  
    138138          '<p class="info vertical-separator">'.sprintf( 
    139139               __("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>' 
    141141               ). 
    142142          '</p>'. 
     
    216216          '<p class="info vertical-separator">'.sprintf( 
    217217               __("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>' 
    219219               ). 
    220220          '</p>'. 
  • admin/style/default.css

    r2320 r2339  
    10771077.part-tabs ul { 
    10781078     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; 
    10811081     } 
    10821082.part-tabs li { 
     
    10851085     display: inline; 
    10861086     } 
     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     } 
    10871093.part-tabs li a { 
    1088      padding: .5em 2em; 
     1094     padding: .33em 1.5em; 
    10891095     margin-right: -1px; 
    10901096     border: 1px solid #ccc; 
     
    11491155     position: fixed; 
    11501156     top: 10px; 
     1157     -webkit-transform:translateZ(0);   /* Let GPU doing his job */ 
    11511158     } 
    11521159.no-js #help-button { 
     
    15851592     min-height: 330px; 
    15861593     } 
     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     } 
    15871600.module-name { 
    15881601     margin-bottom: .5em; 
     
    20392052     margin-left: 0; 
    20402053     } 
     2054#entry-sidebar { 
     2055     width: 16em; 
     2056     float: right; 
     2057     } 
    20412058#entry-content label { 
    20422059     text-transform: uppercase; 
     
    20472064#entry-content label:first-child { 
    20482065     margin-top: 0; 
    2049      } 
    2050 #entry-sidebar { 
    2051      width: 16em; 
    2052      float: right; 
    20532066     } 
    20542067#entry-sidebar h4 { 
     
    23342347     font-variant: small-caps; 
    23352348     } 
     2349.index li {margin-bottom: 3px;} 
    23362350.index a { 
    23372351     font-weight: bold; 
     
    25852599     margin-right: 0; 
    25862600     } 
     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     } 
    25872614} 
    25882615@media screen and (max-width: 600px) { 
  • admin/style/jsToolBar/jsToolBar.css

    r2226 r2334  
    2828} 
    2929.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;  
    3134     border: 1px solid #dfdfdf; 
    3235     overflow: hidden;  
    3336     background: #f5f5f5;  
    34      -moz-border-radius: 4px 4px 0 0;  
    35      -webkit-border-radius: 4px 4px 0 0;  
    3637     border-radius: 4px 4px 0 0;  
    3738     position: relative; 
     39     line-height: 30px; 
    3840} 
    3941.jstElements select, .jstElements button { 
     
    4648} 
    4749.jstElements button { 
    48      width : 30px; 
     50     width: 30px; 
    4951     height: 28px; 
    5052     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; 
    5357     background-color : #f7f7f7; 
    5458     background-position : 50% 50%; 
     
    6064} 
    6165.jstElements button span { 
    62      display : none;      
     66     display: none;  
    6367} 
    6468.jstElements span { 
    6569     display : inline-block; 
    6670     vertical-align: top; 
    67      background: #e5e5e5; 
    6871} 
    6972span.jstSpacer { 
    70      width : 6px; 
    71      height: 28px; 
    72      margin-right: 0; 
     73     width : 8px; 
    7374} 
    7475.jstSwitcher { 
     
    149150     background-image: url(bt_clean.png); 
    150151     position: absolute; 
    151      right: 0; 
     152     right: 2px; 
     153     top: 1px; 
     154     border-color: #ccc; 
    152155} 
    153156 
  • inc/admin/lib.dc.page.php

    r2306 r2328  
    1717{ 
    1818     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"); 
    1925 
    2026     # Auth check 
     
    186192          $res = ''; 
    187193          if (isset($_SESSION['notifications'])) { 
    188                $types = array("success" => "success", "warning" => "warning-msg", "error" => "error"); 
    189194               $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); 
    196197               } 
    197198               unset($_SESSION['notifications']); 
     
    200201     } 
    201202 
    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) 
    225241     { 
    226242          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.'>'; 
    229249          return $res; 
    230250     } 
  • inc/admin/lib.moduleslist.php

    r2291 r2327  
    162162     public function setURL($url) 
    163163     { 
    164           $this->page_qs = strpos('?', $url) ? '&' : '?'; 
     164          $this->page_qs = strpos('?', $url) ? '&amp;' : '?'; 
    165165          $this->page_url = $url; 
    166166 
     
    600600               echo  
    601601               '<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.'&amp;conf=1').'" title"'.sprintf(__('Configure module "%s"'), html::escapeHTML($module['name'])).'">'.html::escapeHTML($module['name']).'</a>' :  
    603603                    html::escapeHTML($module['name']) 
    604604               ).'</td>'; 
  • inc/admin/lib.pager.php

    r2152 r2323  
    111111               ($this->nb_pages > 1 ? 
    112112                    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)). 
    114114                    '<input type="submit" value="'.__('ok').'" class="reset" '. 
    115115                    'name="ok" />'.$this->form_hidden.'</li>' : ''); 
     
    581581     } 
    582582} 
    583 ?> 
  • inc/prepend.php

    r2319 r2341  
    134134# Constants 
    135135define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    136 define('DC_VERSION','2.6-dev'); 
     136define('DC_VERSION','2.7-dev'); 
    137137define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    138138define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
  • locales/fr/help/core_categories.html

    r1999 r2363  
    88<dl> 
    99  <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> 
    1221   
    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> 
    1833</dl> 
    1934 
  • locales/fr/main.po

    r2409 r2411  
    417417 
    418418msgid "Include sub-categories in category page and category posts feed" 
    419 msgstr "Inlure les sous-catégories dans la page des catégories et dans les flux de billets pour une catégorie" 
     419msgstr "Inclure les sous-catégories dans la page des catégories et dans les flux de billets pour une catégorie" 
    420420 
    421421msgid "Media and images" 
     
    503503 
    504504msgid "Theme configuration" 
    505 msgstr "Configuration du thème" 
     505msgstr "Personnaliser ce thème" 
    506506 
    507507msgid "Themes management" 
     
    28542854 
    28552855msgid "Module has been successfully activated." 
    2856 msgstr "Le plugin a été activé avec succès." 
     2856msgstr "Ce module a été activé avec succès." 
    28572857 
    28582858msgid "You don't have permissions to deactivate this module." 
    2859 msgstr "Vous n'avez pas les permissions pour désactiver ce plugin." 
     2859msgstr "Vous n'avez pas les permissions pour désactiver ce module." 
    28602860 
    28612861msgid "Module has been successfully deactivated." 
    2862 msgstr "Le plugin a été désactivé avec succès." 
     2862msgstr "Ce module a été désactivé avec succès." 
    28632863 
    28642864msgid "You don't have permissions to delete this module." 
    2865 msgstr "Vous n'avez pas les permissions pour supprimer ce plugin." 
     2865msgstr "Vous n'avez pas les permissions pour supprimer ce module." 
    28662866 
    28672867msgid "Module has been successfully deleted." 
    2868 msgstr "Ce plugin a été supprimé avec succès." 
     2868msgstr "Ce module a été supprimé avec succès." 
    28692869 
    28702870msgid "Module has been successfully updated." 
    2871 msgstr "Ce plugin a été mis à jour avec succès." 
     2871msgstr "Ce module a été mis à jour avec succès." 
    28722872 
    28732873msgid "Module has been successfully installed." 
    2874 msgstr "Ce plugin a été installé avec succès." 
     2874msgstr "Ce module a été installé avec succès." 
    28752875 
    28762876msgid "Zip file path:" 
     
    29312931 
    29322932msgid "Configure theme" 
    2933 msgstr "Configurer le thème" 
     2933msgstr "Personnaliser le thème" 
    29342934 
    29352935msgid "Use this one" 
     
    30803080 
    30813081msgid "Simple menu" 
    3082 msgstr "Menu simple sur Dotclear" 
     3082msgstr "Menu simple" 
    30833083 
    30843084msgid "Tags" 
  • locales/fr/plugins.po

    r2406 r2411  
    588588 
    589589msgid "Solid color" 
    590 msgstr "Couleur" 
     590msgstr "Couleur pleine" 
    591591 
    592592msgid "Custom..." 
     
    624624 
    625625msgid "Background color fill:" 
    626 msgstr "Couleur de remplissage du fond :" 
     626msgstr "Remplissage de la couleur du fond :" 
    627627 
    628628msgid "Main text font:" 
  • plugins/aboutConfig/index.php

    r2256 r2322  
    235235</div> 
    236236 
     237<?php dcPage::helpBlock('aboutConfig'); ?> 
     238 
    237239</body> 
    238240</html> 
  • plugins/akismet/class.dc.filter.akismet.php

    r2205 r2322  
    1717     public $has_gui = true; 
    1818     public $active = false; 
     19     public $help = 'akismet-filter'; 
    1920      
    2021     public function __construct($core) 
  • plugins/antispam/_admin.php

    r2231 r2330  
    5454     $core->addBehavior('adminBeforeBlogSettingsUpdate',array('antispamBehaviors','adminBeforeBlogSettingsUpdate')); 
    5555     $core->addBehavior('adminCommentsSpamForm',array('antispamBehaviors','adminCommentsSpamForm')); 
     56     $core->addBehavior('adminPageHelpBlock',array('antispamBehaviors','adminPageHelpBlock')); 
    5657} 
    5758 
    5859class antispamBehaviors 
    5960{ 
     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 
    6076     public static function adminCommentsSpamForm($core) 
    6177     { 
  • plugins/antispam/filters/class.dc.filter.ip.php

    r2205 r2322  
    1616     public $name = 'IP Filter'; 
    1717     public $has_gui = true; 
     18     public $help = 'ip-filter'; 
    1819 
    1920     private $con; 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r2205 r2322  
    1616     public $name = 'IP Lookup'; 
    1717     public $has_gui = true; 
     18     public $help = 'iplookup-filter'; 
    1819 
    1920     private $default_bls = 'sbl-xbl.spamhaus.org , bsb.spamlookup.net'; 
  • plugins/antispam/filters/class.dc.filter.words.php

    r2205 r2322  
    1616     public $has_gui = true; 
    1717     public $name = 'Bad Words'; 
     18     public $help = 'words-filter'; 
    1819 
    1920     private $con; 
  • plugins/antispam/inc/class.dc.spamfilter.php

    r1179 r2322  
    1919     public $order = 100; 
    2020     public $auto_delete = false; 
     21     public $help = null; 
    2122      
    2223     protected $has_gui = false; 
     
    158159          return sprintf($link,$this->name,$url); 
    159160     } 
     161 
     162     public function help() 
     163     { 
     164     } 
    160165} 
    161166?> 
  • plugins/antispam/index.php

    r2256 r2322  
    138138 
    139139     echo $filter_gui; 
     140 
     141     if ($filter->help) { 
     142          dcPage::helpBlock($filter->help); 
     143     } 
    140144} 
    141145else 
     
    250254          '</ul>'; 
    251255     } 
    252 } 
     256 
     257     dcPage::helpBlock('antispam','antispam-filters'); 
     258} 
     259 
    253260?> 
    254261 
  • plugins/blowupConfig/config.js

    r1499 r2333  
    11$(function() { 
    22     // Hide main title 
    3      if ($('#blog_title_hide').attr('checked')) { 
     3     if ($('#blog_title_hide').prop('checked')) { 
    44          toggleDisable($('#blog_title_f')); 
    55          toggleDisable($('#blog_title_s')); 
     
    5252      
    5353     $(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                $('#top_image').val('default'); 
    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') { 
    5959               applyBlowupValues(this.value); 
    6060          } 
     
    108108     function applyBlowupValues(code) { 
    109109          code = code.replace("\n",""); 
    110           var re = /(^| )([a-zA-Z0-9_]+):"(.*?)"(;|$)/g; 
     110          var re = /(^| )([a-zA-Z0-9_]+):"([^"]*?)"(;|$)/g; 
     111          var reg = /^(.+):"([^"]*)"(;?)\s*$/; 
    111112          var s = code.match(re); 
    112113           
    113114          if (typeof(s) == 'object' && s.length > 0) { 
    114115               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++) { 
    117117                    member = reg.exec(s[i]); 
    118118                    target = member[1].replace(' ',''); 
     
    144144 
    145145dotclear.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"', 
    147146     '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"', 
    148147     '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"', 
     
    150149     '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:""', 
    151150     '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;}"', 
    152152     '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"', 
    153153     '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"', 
    154154     '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"', 
    155156     '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"' 
    156157}; 
  • plugins/blowupConfig/index.php

    r2256 r2335  
    290290 
    291291echo 
    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> '. 
     293form::checkbox('blog_title_hide',1,$blowup_user['blog_title_hide']).'</p>'. 
    294294 
    295295'<p class="field"><label for="blog_title_f">'.__('Main title font:').'</label> '. 
     
    316316 
    317317     echo 
    318      '<h4 class="border-top">'.__('Top image').'</h4>'. 
     318     '<h5 class="pretty-title">'.__('Top image').'</h4>'. 
    319319     '<p class="field"><label for="top_image">'.__('Top image').'</label> '. 
    320320     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  
    4949          'flourish-2' => 'Flourished 2', 
    5050          'animals' => 'Animals', 
     51          'plumetis' => 'Plumetis', 
    5152          'flamingo' => 'Flamingo', 
    5253          'rabbit' => 'Rabbit', 
  • plugins/importExport/index.php

    r2256 r2322  
    107107).'</p>'; 
    108108 
    109 echo ' 
    110 </body> 
    111 </html>'; 
    112 ?> 
     109dcPage::helpBlock('import'); 
     110 
     111echo '</body></html>'; 
  • plugins/pings/_admin.php

    r2230 r2322  
    2626          'Google Blog Search' => 'http://blogsearch.google.com/ping/RPC2' 
    2727     ); 
    28            
     28 
    2929     $core->blog->settings->addNamespace('pings'); 
    3030     $core->blog->settings->pings->put('pings_active',1,'boolean','Activate pings plugin',true,true); 
     
    4848     )); 
    4949} 
    50 ?> 
     50 
     51$core->addBehavior('adminPageHelpBlock', 'pingsPageHelpBlock'); 
     52 
     53function 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  
    100100echo '<p><a class="button" href="'.$p_url.'&amp;test=1">'.__('Test ping services').'</a></p>'; 
    101101?> 
     102 
     103<?php dcPage::helpBlock('pings'); ?> 
     104 
    102105</body> 
    103106</html> 
  • plugins/tags/_admin.php

    r2256 r2322  
    3838$core->addBehavior('adminDashboardFavorites',array('tagsBehaviors','dashboardFavorites')); 
    3939 
     40$core->addBehavior('adminPageHelpBlock', array('tagsBehaviors', 'adminPageHelpBlock')); 
     41 
    4042# BEHAVIORS 
    4143class tagsBehaviors 
    4244{ 
     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 
    4360     public static function dashboardFavorites($core,$favs) 
    4461     { 
  • plugins/tags/tag_posts.php

    r2256 r2322  
    146146     '</form>'); 
    147147} 
     148dcPage::helpBlock('tag_posts'); 
    148149?> 
    149150</body> 
  • plugins/tags/tags.php

    r2256 r2322  
    7575     echo '<p>'.__('No tags on this blog.').'</p>'; 
    7676} 
     77 
     78dcPage::helpBlock('tags'); 
    7779?> 
    7880 
  • plugins/userPref/index.php

    r2256 r2322  
    232232</div> 
    233233 
     234<?php dcPage::helpBlock('userPref'); ?> 
     235 
    234236</body> 
    235237</html> 
  • tests/functional/spec/page_tabs.js

    r2162 r2348  
    153153          expect($('#part-user-favorites')).not.toBeVisible(); 
    154154     }); 
     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     }); 
    155167}); 
    156168 
  • themes/ductile/_config.php

    r2003 r2335  
    438438 
    439439echo '<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>'; 
    441441 
    442442echo '<form id="theme_config" action="blog_theme.php?conf=1" method="post" enctype="multipart/form-data">'; 
    443443 
    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>'; 
     444echo '<h4>'.__('Header').'</h4>'. 
     445'<p class="field"><label for="subtitle_hidden">'.__('Hide blog description:').'</label> '. 
     446form::checkbox('subtitle_hidden',1,$ductile_user['subtitle_hidden']).'</p>'; 
     447echo '<p class="field"><label for="logo_src">'.__('Logo URL:').'</label> '. 
     448     form::field('logo_src',40,255,$ductile_user['logo_src']).'</p>'; 
    447449if ($core->plugins->moduleExists('simpleMenu')) 
    448450{ 
    449451     echo '<p>'.sprintf(__('To configure the top menu go to the <a href="%s">Simple Menu administration page</a>.'),'plugin.php?p=simpleMenu').'</p>'; 
    450452} 
    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 
     454echo '<h4 class="border-top pretty-title">'.__('Stickers').'</h4>'; 
    456455 
    457456echo  
     
    483482'</table></div>'; 
    484483 
    485 echo '</fieldset>'; 
    486  
    487 echo '<fieldset><legend>'.__('Entries list types and limits').'</legend>'; 
    488  
    489 echo '<table id="entrieslist">'.'<caption>'.__('Entries lists').'</caption>'. 
     484echo '<h4 class="border-top pretty-title">'.__('Entries list types and limits').'</h4>'; 
     485 
     486echo '<table id="entrieslist">'.'<caption class="hidden">'.__('Entries lists').'</caption>'. 
    490487'<thead>'. 
    491488'<tr>'. 
     
    513510'</table>'; 
    514511 
    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>'; 
     512echo '<h4 class="border-top pretty-title">'.__('Miscellaneous options').'</h4>'; 
     513echo '<p><label for="preview_not_mandatory" class="classic">'.__('Comment preview is not mandatory:').'</label> '. 
     514form::checkbox('preview_not_mandatory',1,$ductile_user['preview_not_mandatory']).'</p>'; 
    521515 
    522516echo '<p><input type="hidden" name="conf_tab" value="html" /></p>'; 
     
    534528echo '<h3>'.__('General settings').'</h3>'; 
    535529 
    536 echo '<fieldset><legend>'.__('Fonts').'</legend>'; 
     530echo '<h4 class="pretty-title">'.__('Fonts').'</h4>'; 
    537531 
    538532echo '<div class="two-cols">'; 
    539533echo '<div class="col">'; 
    540534echo 
    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> '. 
     537form::combo('body_font',$fonts,$ductile_user['body_font']). 
    543538(!empty($ductile_user['body_font']) ? ' '.fontDef($ductile_user['body_font']) : ''). 
     539' <span class="form-note">'.__('Set to Default to use a webfont.').'</span>'. 
    544540'</p>'. 
    545 '<p class="form-note">'.__('Set main font to Default to use webfont below.').'</p> '. 
    546541'<p class="field"><label for="body_webfont_family">'.__('Webfont family:').'</label> '. 
    547542form::field('body_webfont_family',25,255,$ductile_user['body_webfont_family']).'</p>'. 
    548543'<p class="field"><label for="body_webfont_url">'.__('Webfont URL:').'</label> '. 
    549544form::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> '. 
     546form::combo('body_webfont_api',$webfont_apis,$ductile_user['body_webfont_api']).'</p>'; 
    552547echo '</div>'; 
    553548echo '<div class="col">'; 
    554549echo 
    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> '. 
     552form::combo('alternate_font',$fonts,$ductile_user['alternate_font']). 
    557553(!empty($ductile_user['alternate_font']) ? ' '.fontDef($ductile_user['alternate_font']) : ''). 
     554' <span class="form-note">'.__('Set to Default to use a webfont.').'</span>'. 
    558555'</p>'. 
    559 '<p class="form-note">'.__('Set secondary font to Default to use webfont below.').'</p> '. 
    560556'<p class="field"><label for="alternate_webfont_family">'.__('Webfont family:').'</label> '. 
    561557form::field('alternate_webfont_family',25,255,$ductile_user['alternate_webfont_family']).'</p>'. 
    562558'<p class="field"><label for="alternate_webfont_url">'.__('Webfont URL:').'</label> '. 
    563559form::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> '. 
     561form::combo('alternate_webfont_api',$webfont_apis,$ductile_user['alternate_webfont_api']).'</p>'; 
     562echo '</div>'; 
     563echo '</div>'; 
     564 
     565echo '<h4 class="clear border-top pretty-title">'.__('Titles').'</h4>'; 
    570566echo '<div class="two-cols">'; 
    571567echo '<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>'. 
     568echo '<h5>'.__('Blog title').'</h5>'. 
     569'<p class="field"><label for="blog_title_w">'.__('In bold:').'</label> '. 
     570form::checkbox('blog_title_w',1,$ductile_user['blog_title_w']).'</p>'. 
    576571 
    577572'<p class="field"><label for="blog_title_s">'.__('Font size (in em by default):').'</label> '. 
     
    583578     (!empty($ductile_user['blog_title_s']) ? $ductile_user['blog_title_s'] : '2em'), 
    584579     $ductile_user['blog_title_w']). 
    585 '</p>'. 
    586 '</fieldset>'; 
     580'</p>'; 
    587581 
    588582echo '</div>'; 
    589583echo '<div class="col">'; 
    590584 
    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>'. 
     585echo '<h5>'.__('Post title').'</h5>'. 
     586'<p class="field"><label for="post_title_w">'.__('In bold:').'</label> '. 
     587form::checkbox('post_title_w',1,$ductile_user['post_title_w']).'</p>'. 
    594588 
    595589'<p class="field"><label for="post_title_s">'.__('Font size (in em by default):').'</label> '. 
     
    601595     (!empty($ductile_user['post_title_s']) ? $ductile_user['post_title_s'] : '2.5em'), 
    602596     $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 
     599echo '</div>'; 
     600echo '</div>'; 
     601 
     602echo '<h5>'.__('Titles without link').'</h5>'. 
    610603 
    611604'<p class="field picker"><label for="post_simple_title_c">'.__('Color:').'</label> '. 
     
    614607     '1.1em',  // H5 minimum size 
    615608     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 
     611echo '<h4 class="border-top pretty-title">'.__('Inside posts links').'</h4>'. 
     612'<p class="field"><label for="post_link_w">'.__('In bold:').'</label> '. 
     613form::checkbox('post_link_w',1,$ductile_user['post_link_w']).'</p>'. 
    622614 
    623615'<p class="field picker"><label for="post_link_v_c">'.__('Normal and visited links color:').'</label> '. 
     
    633625     '1em', 
    634626     $ductile_user['post_link_w']). 
    635 '</p>'. 
    636 '</fieldset>'; 
    637  
    638 echo '<h3>'.__('Mobile specific settings').'</h3>'; 
     627'</p>'; 
     628 
     629echo '<h3 class="border-top">'.__('Mobile specific settings').'</h3>'; 
    639630 
    640631echo '<div class="two-cols">'; 
    641632echo '<div class="col">'; 
    642633 
    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>'. 
     634echo '<h4 class="pretty-title">'.__('Blog title').'</h4>'. 
     635'<p class="field"><label for="blog_title_w_m">'.__('In bold:').'</label> '. 
     636form::checkbox('blog_title_w_m',1,$ductile_user['blog_title_w_m']).'</p>'. 
    646637 
    647638'<p class="field"><label for="blog_title_s_m">'.__('Font size (in em by default):').'</label> '. 
     
    653644     (!empty($ductile_user['blog_title_s_m']) ? $ductile_user['blog_title_s_m'] : '1.8em'), 
    654645     $ductile_user['blog_title_w_m']). 
    655 '</p>'. 
    656 '</fieldset>'; 
     646'</p>'; 
    657647 
    658648echo '</div>'; 
    659649echo '<div class="col">'; 
    660650 
    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>'. 
     651echo '<h4 class="pretty-title">'.__('Post title').'</h4>'. 
     652'<p class="field"><label for="post_title_w_m">'.__('In bold:').'</label> '. 
     653form::checkbox('post_title_w_m',1,$ductile_user['post_title_w_m']).'</p>'. 
    664654 
    665655'<p class="field"><label for="post_title_s_m">'.__('Font size (in em by default):').'</label> '. 
     
    671661     (!empty($ductile_user['post_title_s_m']) ? $ductile_user['post_title_s_m'] : '1.5em'), 
    672662     $ductile_user['post_title_w_m']). 
    673 '</p>'. 
    674 '</fieldset>'; 
     663'</p>'; 
    675664 
    676665echo '</div>'; 
     
    678667 
    679668echo '<p><input type="hidden" name="conf_tab" value="css" /></p>'; 
    680 echo '<p class="clear"><input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>'; 
     669echo '<p class="clear border-top"><input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>'; 
    681670echo '</form>'; 
    682671 
Note: See TracChangeset for help on using the changeset viewer.

Sites map