Dotclear

Changeset 909


Ignore:
Timestamp:
03/19/09 13:56:25 (14 years ago)
Author:
Moe
Message:

Contribute 1.0-alpha10 :

  • fixed a regressive bug with HTML filter
  • added setting to require name and email address
Location:
plugins/contribute
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • plugins/contribute/_admin.php

    r893 r909  
    2424if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    2525 
    26 $_menu['Plugins']->addItem(('Contribute'), 
     26$_menu['Plugins']->addItem(__('Contribute'), 
    2727     'plugin.php?p=contribute', 
    2828     'index.php?pf=contribute/icon.png', 
  • plugins/contribute/_define.php

    r893 r909  
    2828     /* Description*/                "Allow visitors to contribute to your blog", 
    2929     /* Author */                    "Moe (http://gniark.net/)", 
    30      /* Version */                   '1.0-alpha9', 
     30     /* Version */                   '1.0-alpha10', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/contribute/_public.php

    r893 r909  
    3737     { 
    3838          global $core; 
    39  
    40           if (!$core->blog->settings->contribute_active) {self::p404();} 
     39           
     40          $settings =& $core->blog->settings; 
     41 
     42          if (!$settings->contribute_active) {self::p404();} 
    4143           
    4244          $_ctx =& $GLOBALS['_ctx']; 
     
    6870                
    6971               if (($_ctx->contribute->mymeta->hasMeta()) 
    70                     && ($core->blog->settings->contribute_allow_mymeta === true)) 
     72                    && ($settings->contribute_allow_mymeta === true)) 
    7173               { 
    7274                    $mymeta_values = @unserialize(@base64_decode( 
    73                          $core->blog->settings->contribute_mymeta_values)); 
     75                         $settings->contribute_mymeta_values)); 
    7476                     
    7577                    if (!is_array($mymeta_values)) {$mymeta_values = array();} 
     
    118120               { 
    119121                    # default post 
    120                     $default_post = $core->blog->settings->contribute_default_post; 
     122                    $default_post = $settings->contribute_default_post; 
    121123                    if (is_int($default_post) && ($default_post > 0)) 
    122124                    { 
     
    188190                         # formats 
    189191                         # default format setting 
    190                          $post->post_format = $core->blog->settings->contribute_format; 
     192                         $post->post_format = $settings->contribute_format; 
    191193                          
    192194                         # contributor can choose the post format,  
    193195                         # it overrides the default format 
    194                          if ($core->blog->settings->contribute_format == '') 
     196                         if ($settings->contribute_format == '') 
    195197                         { 
    196198                              $_ctx->contribute->choose_format = true; 
     
    226228                    # current date 
    227229                    $post->post_dt = dt::str('%Y-%m-%d %T',null, 
    228                          $core->blog->settings->blog_timezone); 
     230                         $settings->blog_timezone); 
    229231                    $post->post_url = ''; 
    230232                     
     
    235237                     
    236238                    # HTML filter 
    237                     $filter = new htmlFilter; 
     239                    # get the setting value 
     240                    $enable_html_filter = $settings->enable_html_filter; 
     241                    # set the setting to true 
     242                    $settings->enable_html_filter = true; 
    238243                    # excerpt 
    239                     if (($core->blog->settings->contribute_allow_excerpt === true) 
     244                    if (($settings->contribute_allow_excerpt === true) 
    240245                         && (isset($_POST['post_excerpt']))) 
    241246                    { 
    242                          $post->post_excerpt = trim($filter->apply($_POST['post_excerpt'])); 
     247                         $post->post_excerpt = $core->HTMLfilter($_POST['post_excerpt']); 
    243248                    } 
    244249                    # content 
    245250                    if (isset($_POST['post_content'])) 
    246251                    { 
    247                          $post->post_content = trim($filter->apply($_POST['post_content'])); 
    248                     } 
    249                     unset($filter); 
     252                         $post->post_content = $core->HTMLfilter($_POST['post_content']); 
     253                    } 
     254                    # set the old value to the setting 
     255                    $settings->enable_html_filter = $enable_html_filter; 
     256                    unset($enable_html_filter); 
    250257                     
    251258                    # avoid Notice: Indirect modification of overloaded property 
     
    258265                     
    259266                    $core->blog->setPostContent( 
    260                          '',$post->post_format,$core->blog->settings->lang, 
     267                         '',$post->post_format,$settings->lang, 
    261268                         $post_excerpt,$post_excerpt_xhtml, 
    262269                         $post_content,$post_content_xhtml 
     
    284291                     
    285292                    # category 
    286                     if (($core->blog->settings->contribute_allow_category === true) 
     293                    if (($settings->contribute_allow_category === true) 
    287294                         && (isset($_POST['cat_id']))) 
    288295                    { 
     
    316323                    if ($meta !== false) 
    317324                    { 
    318                          if (($core->blog->settings->contribute_allow_tags === true) 
     325                         if (($settings->contribute_allow_tags === true) 
    319326                         && (isset($_POST['post_tags']))) 
    320327                         { 
     
    324331                              unset($post_meta['tag']); 
    325332                               
    326                               if ($core->blog->settings->contribute_allow_new_tags === true) 
     333                              if ($settings->contribute_allow_new_tags === true) 
    327334                              { 
    328335                                   foreach ($meta->splitMetaValues($_POST['post_tags']) as $k => $tag) 
     
    374381                     
    375382                    # notes 
    376                     if (($core->blog->settings->contribute_allow_notes === true) 
     383                    if (($settings->contribute_allow_notes === true) 
    377384                         && (isset($_POST['post_notes']))) 
    378385                    { 
     
    382389                    # author 
    383390                    if (($meta !== false) 
    384                          && ($core->blog->settings->contribute_allow_author === true)) 
     391                         && ($settings->contribute_allow_author === true)) 
    385392                    { 
    386393                         $post_meta = unserialize($_ctx->posts->post_meta); 
     
    410417                    $post_content = $post->post_content; 
    411418                     
    412                     if (isset($_POST['post_title']) && empty($post_title)) 
     419                    if (isset($_POST['post_content']) && empty($post_content)) 
     420                    { 
     421                         throw new Exception(__('No entry content')); 
     422                    } elseif (isset($_POST['post_title']) && empty($post_title)) 
    413423                    { 
    414424                         throw new Exception(__('No entry title')); 
    415                     } elseif (isset($_POST['post_content']) && empty($post_content)) 
    416                     { 
    417                          throw new Exception(__('No entry content')); 
    418425                    } else { 
    419426                         if (isset($_POST['preview'])) 
     
    424431                    } 
    425432                     
     433                    unset($post_title,$post_content); 
     434                     
     435                    if ($settings->contribute_require_name_email) 
     436                    { 
     437                         if (empty($_ctx->comment_preview['name'])) 
     438                         { 
     439                              $_ctx->contribute->preview = false; 
     440                              $_ctx->contribute->message = ''; 
     441                              throw new Exception(__('You must provide an author name')); 
     442                         } elseif (!text::isEmail($_ctx->comment_preview['mail'])) 
     443                         { 
     444                              $_ctx->contribute->preview = false; 
     445                              $_ctx->contribute->message = ''; 
     446                              throw new Exception( 
     447                                   __('You must provide a valid email address.')); 
     448                         } 
     449                    } 
     450                     
    426451                    if (isset($_POST) && empty($_POST)) 
    427452                    { 
     
    434459                         # log in as the user 
    435460                         # usage OR contentadmin permission is needed 
    436                          $core->auth->checkUser($core->blog->settings->contribute_user); 
     461                         $core->auth->checkUser($settings->contribute_user); 
    437462                          
    438463                         if (!$core->auth->check('usage,contentadmin',$core->blog->id)) 
     
    454479                         $cur->post_notes = $post->post_notes; 
    455480                         $cur->post_lang = $core->auth->getInfo('user_lang'); 
    456                          $cur->post_open_comment = (integer) $core->blog->settings->allow_comments; 
    457                          $cur->post_open_tb = (integer) $core->blog->settings->allow_trackbacks; 
     481                         $cur->post_open_comment = (integer) $settings->allow_comments; 
     482                         $cur->post_open_tb = (integer) $settings->allow_trackbacks; 
    458483                          
    459484                         # --BEHAVIOR-- publicBeforePostCreate 
     
    482507                                   if (isset($_POST['post_tags'])) 
    483508                                   { 
    484                                         if ($core->blog->settings->contribute_allow_new_tags === true) 
     509                                        if ($settings->contribute_allow_new_tags === true) 
    485510                                        { 
    486511                                             foreach ($meta->splitMetaValues($_POST['post_tags']) as $k => $tag) 
     
    522547                               
    523548                              # send email notification 
    524                               if ($core->blog->settings->contribute_email_notification) 
     549                              if ($settings->contribute_email_notification) 
    525550                              { 
    526551                                   $headers = array( 
     
    538563                                   $content .= "\n\n"; 
    539564                                    
    540                                    if ($core->blog->settings->contribute_allow_author === true) 
     565                                   if ($settings->contribute_allow_author === true) 
    541566                                   { 
    542567                                        if (!empty($_ctx->comment_preview['name'])) 
     
    571596                                    
    572597                                   foreach(explode(',', 
    573                                         $core->blog->settings->contribute_email_notification) 
     598                                        $settings->contribute_email_notification) 
    574599                                        as $to) 
    575600                                   { 
  • plugins/contribute/default-templates/contribute.html

    r872 r909  
    106106      
    107107     <tpl:ContributeIf message="preview"> 
    108           <p class="message">{{tpl:lang This is a preview}} 
     108          <p class="message">{{tpl:lang This is a preview.}} 
    109109               {{tpl:lang Click on <strong>save</strong> when the post is ready.}} 
    110110               {{tpl:lang It needs to be approved by an administrator to be published.}} 
  • plugins/contribute/index.php

    r872 r909  
    6969          $settings->put('contribute_allow_author', 
    7070               !empty($_POST['contribute_allow_author']), 
    71                'boolean','Allow contributors to choose the name of the author'); 
     71               'boolean','Allow contributors to enter their name, email address and website URL'); 
     72          $settings->put('contribute_require_name_email', 
     73               !empty($_POST['contribute_require_name_email']), 
     74               'boolean','require name and email'); 
    7275           
    7376          $settings->put('contribute_author_format', 
     
    148151          }); 
    149152           
    150           $('#contribute_allow_tags').change( function() { 
    151                if ($(this).attr('checked')) { 
    152                     $('#contribute_allow_new_tags').attr('disabled',''); 
    153                } else { 
    154                     $('#contribute_allow_new_tags').attr('disabled','disabled'); 
    155                } 
    156           }); 
    157            
    158153          $('#contribute_default_post').change( function() { 
    159154               if ($(this).val() == '') { 
     
    169164<body> 
    170165 
    171      <h2><?php echo html::escapeHTML($core->blog->name).' &rsaquo; '.('Contribute'); ?></h2> 
     166     <h2><?php echo html::escapeHTML($core->blog->name).' &rsaquo; '.__('Contribute'); ?></h2> 
    172167      
    173168     <?php  
     
    196191                    <?php echo(__('Only the users with the following permissions on this blog are shown:')); ?> 
    197192               </p> 
    198                <ul> 
     193               <ul class="form-note"> 
    199194                    <li><!-- usage --><?php echo(__('manage their own entries and comments')); ?></li> 
    200195               </ul> 
     
    259254                         $settings->contribute_allow_author)); ?> 
    260255                    <label class="classic" for="contribute_allow_author"> 
    261                     <?php echo(__('choose the name of the author')); ?> 
     256                    <?php echo(__('enter their name, email address and website URL')); ?> 
     257                    </label> 
     258               </p> 
     259                
     260               <p> 
     261                    <?php echo(form::checkbox('contribute_require_name_email',1, 
     262                         $settings->contribute_require_name_email)); ?> 
     263                    <label class="classic" for="contribute_require_name_email"> 
     264                    <?php echo(__('require name and email (only if name, email address and website URL are allowed)')); ?> 
    262265                    </label> 
    263266               </p> 
     
    367370      
    368371     <p> 
    369           <?php printf(__('URL of the %s page:'),('Contribute')); ?> 
     372          <?php printf(__('URL of the %s page:'),__('Contribute')); ?> 
    370373          <br /> 
    371374          <code><?php echo($core->blog->url.$core->url->getBase('contribute')); ?></code> 
    372375          <br /> 
    373376          <a href="<?php echo($core->blog->url.$core->url->getBase('contribute')); ?>"> 
    374           <?php printf(__('View the %s page'),('Contribute')); ?></a>  
     377          <?php printf(__('View the %s page'),__('Contribute')); ?></a>     
    375378     </p> 
    376379 
  • plugins/contribute/js/contribute.js

    r848 r909  
    5252     // Load toolbar 
    5353     contentTb.switchMode(formatField.value); 
    54      // fixme : formatField is undefined ? 
    5554}); 
    5655 
  • plugins/contribute/locales/fr/main.po

    r872 r909  
    33"Project-Id-Version: Contribute\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2009-03-13 15:10+0100\n" 
    6 "PO-Revision-Date: 2009-03-13 15:10+0100\n" 
     5"POT-Creation-Date: 2009-03-19 13:54+0100\n" 
     6"PO-Revision-Date: 2009-03-19 13:54+0100\n" 
    77"Last-Translator: Moe <poedit@gniark.net>\n" 
    88"Language-Team: Moe <poedit@gniark.net>\n" 
     
    1717"X-Poedit-SearchPath-0: .\n" 
    1818 
    19 #: _public.php:101 
     19#: _public.php:103 
    2020msgid "Anonymous" 
    2121msgstr "Anonyme" 
    2222 
    23 #: _public.php:129 
     23#: _public.php:131 
    2424msgid "No default post." 
    2525msgstr "Pas de billet par défaut." 
    2626 
    27 #: _public.php:292 
     27#: _public.php:300 
    2828msgid "Invalid cat_id" 
    2929msgstr "cat_id invalide" 
    3030 
    31 #: _public.php:413 
     31#: _public.php:421 
     32msgid "No entry content" 
     33msgstr "Pas de contenu de billet" 
     34 
     35#: _public.php:424 
    3236msgid "No entry title" 
    3337msgstr "Pas de titre de billet" 
    3438 
    35 #: _public.php:416 
    36 msgid "No entry content" 
    37 msgstr "Pas de contenu de billet" 
    38  
    39 #: _public.php:440 
     39#: _public.php:441 
     40msgid "You must provide an author name" 
     41msgstr "" 
     42 
     43#: _public.php:447 
     44msgid "You must provide a valid email address." 
     45msgstr "" 
     46 
     47#: _public.php:466 
    4048msgid "The user is not allowed to create an entry" 
    4149msgstr "L'utilisateur n'est pas autorisé à créer des billets" 
    4250 
    43 #: _public.php:464 
     51#: _public.php:490 
    4452msgid "You are not allowed to create an entry" 
    4553msgstr "Vous n'êtes pas autorisé à créer des billets" 
    4654 
    47 #: _public.php:533 
     55#: _public.php:559 
    4856#, php-format 
    4957msgid "New post submitted on %s" 
    5058msgstr "Nouveau billet envoyé sur %s." 
    5159 
    52 #: _public.php:536 
     60#: _public.php:562 
    5361#, php-format 
    5462msgid "Title : %s" 
    5563msgstr "Titre : %s" 
    5664 
    57 #: _public.php:543 
     65#: _public.php:569 
    5866#, php-format 
    5967msgid "Author : %s" 
    6068msgstr "Auteur : %s" 
    6169 
    62 #: _public.php:550 
     70#: _public.php:576 
    6371#, php-format 
    6472msgid "Email address : %s" 
    6573msgstr "Adresse email : %s" 
    6674 
    67 #: _public.php:561 
     75#: _public.php:587 
    6876msgid "URL:" 
    6977msgstr "URL :" 
    7078 
    71 #: _public.php:565 
     79#: _public.php:591 
    7280msgid "Edit this entry:" 
    7381msgstr "Éditer ce billet :" 
    7482 
    75 #: _public.php:569 
     83#: _public.php:595 
    7684msgid "You must log in on the backend before clicking on this link to go directly to the post." 
    7785msgstr "Vous devez vous enregistrer sur l'interface d'administration avant de cliquer sur ce lien pour aller directement sur ce billet." 
     
    7987#: _widget.php:40 
    8088#: _widget.php:43 
    81 #: index.php:142 
     89#: _admin.php:26 
     90#: index.php:145 
     91#: index.php:166 
     92#: index.php:372 
     93#: index.php:377 
    8294#: public_l10n.php:10 
    8395msgid "Contribute" 
     
    126138msgstr "Effacer cet auteur" 
    127139 
    128 #: index.php:96 
     140#: index.php:99 
    129141msgid "Configuration successfully updated." 
    130142msgstr "Configuration mise à jour avec succès." 
    131143 
    132 #: index.php:119 
     144#: index.php:122 
    133145msgid "me" 
    134146msgstr "moi" 
    135147 
    136 #: index.php:137 
     148#: index.php:140 
    137149#, php-format 
    138150msgid "%s (contributor)" 
    139151msgstr "%s (contributeur)" 
    140152 
    141 #: index.php:179 
     153#: index.php:174 
    142154msgid "General settings" 
    143155msgstr "Paramètres généraux" 
    144156 
    145 #: index.php:185 
     157#: index.php:180 
    146158msgid "Allow visitors to contribute to your blog." 
    147159msgstr "Permettre aux visiteurs de contribuer à votre blog." 
    148160 
    149 #: index.php:191 
     161#: index.php:186 
    150162msgid "Owner of the posts:" 
    151163msgstr "Propriétaire des billets&nbsp;:" 
    152164 
    153 #: index.php:196 
     165#: index.php:191 
    154166msgid "Only the users with the following permissions on this blog are shown:" 
    155167msgstr "Seuls les utilisateurs avec les permissions suivantes sur le blog sont affichés&nbsp;:" 
    156168 
     169#: index.php:194 
     170msgid "manage their own entries and comments" 
     171msgstr "" 
     172 
    157173#: index.php:199 
    158 msgid "manage their own entries and comments" 
    159 msgstr "" 
    160  
    161 #: index.php:204 
    162174msgid "Send emails to these email adresses when a new post is submitted:" 
    163175msgstr "Envoyer des emails à ces adresses emails quand un nouveau billet est soumis :" 
    164176 
    165 #: index.php:210 
     177#: index.php:205 
    166178msgid "You can enter several email adresses by separating these by a comma (<code>,</code>)." 
    167179msgstr "Vous pouvez entrer plusieurs adresses email en les séparant par une virgule (<code>,</code>)." 
    168180 
     181#: index.php:206 
     182#: index.php:278 
     183#: index.php:302 
     184#: index.php:315 
     185msgid "Leave empty to cancel this feature." 
     186msgstr "" 
     187 
    169188#: index.php:211 
    170 #: index.php:275 
    171 #: index.php:299 
    172 #: index.php:312 
    173 msgid "Leave empty to cancel this feature." 
    174 msgstr "" 
    175  
    176 #: index.php:216 
    177189msgid "Allow contributors to" 
    178190msgstr "Permettre aux contributeurs de" 
    179191 
    180 #: index.php:221 
     192#: index.php:216 
    181193msgid "write an excerpt" 
    182194msgstr "écrire un extrait" 
    183195 
    184 #: index.php:229 
     196#: index.php:224 
    185197msgid "choose the category" 
    186198msgstr "choisir la catégorie" 
    187199 
    188 #: index.php:237 
     200#: index.php:232 
    189201msgid "choose the tags" 
    190202msgstr "choisir les tags" 
    191203 
    192 #: index.php:245 
     204#: index.php:240 
    193205msgid "add new tags (only if tags are allowed)" 
    194206msgstr "ajouter des nouveaux tags (seulement si les tags sont permis)" 
    195207 
    196 #: index.php:253 
     208#: index.php:248 
    197209msgid "write notes" 
    198210msgstr "écrire des notes" 
    199211 
    200 #: index.php:261 
    201 msgid "choose the name of the author" 
    202 msgstr "choisir le nom de l'auteur" 
    203  
    204 #: index.php:267 
     212#: index.php:256 
     213msgid "enter their name, email address and website URL" 
     214msgstr "entrer leur nom, adresse email et URL de leur site" 
     215 
     216#: index.php:264 
     217msgid "require name and email (only if name, email address and website URL are allowed)" 
     218msgstr "rendre obligatoire le nom et l'adresse email (seulement si le nom, l'adresse email et l'URL de leur site est aurotisé)" 
     219 
     220#: index.php:270 
    205221msgid "Display" 
    206222msgstr "" 
    207223 
    208 #: index.php:270 
     224#: index.php:273 
    209225msgid "Display of the author name on the blog:" 
    210226msgstr "Affichage du nom de l'auteur sur le blog&nbsp;:" 
    211227 
    212 #: index.php:270 
     228#: index.php:273 
    213229#, php-format 
    214230msgid "(%s is the author name or nickname)" 
    215231msgstr "(%s est le nom ou le pseudo de l'auteur)" 
    216232 
    217 #: index.php:280 
     233#: index.php:283 
    218234msgid "Default post and format" 
    219235msgstr "Billet par défaut et format" 
    220236 
    221 #: index.php:283 
     237#: index.php:286 
    222238msgid "Default post:" 
    223239msgstr "Billet par défaut&nbsp;:" 
    224240 
    225 #: index.php:290 
     241#: index.php:293 
    226242msgid "edit this post" 
    227243msgstr "éditer ce billet" 
    228244 
    229 #: index.php:295 
     245#: index.php:298 
    230246msgid "Select an existing post or create a new post, then select it." 
    231247msgstr "Sélectionner un billet existant ou créer un nouveau billet puis le sélectionner." 
    232248 
    233 #: index.php:296 
     249#: index.php:299 
    234250#, php-format 
    235251msgid "The post can be %s or %s." 
    236252msgstr "Le billet peut être %s ou %s." 
    237253 
    238 #: index.php:296 
     254#: index.php:299 
    239255msgid "pending" 
    240256msgstr "" 
    241257 
    242 #: index.php:297 
     258#: index.php:300 
    243259msgid "unpublished" 
    244260msgstr "" 
    245261 
    246 #: index.php:298 
     262#: index.php:301 
    247263msgid "The form will be filled with the values of this post." 
    248264msgstr "Le formulaire sera rempli avec les valeurs du billet." 
    249265 
    250 #: index.php:304 
     266#: index.php:307 
    251267msgid "Text formating (only if no default post is selected):" 
    252268msgstr "Format du texte (seulement si aucun billet par défaut n'est sélectionné)&nbsp;:" 
    253269 
    254 #: index.php:310 
     270#: index.php:313 
    255271msgid "Contributors will be able to choose the format." 
    256272msgstr "Permettre aux contributeurs de choisir le format." 
    257273 
    258 #: index.php:311 
     274#: index.php:314 
    259275msgid "Some formats may be unavailable on the blog." 
    260276msgstr "Certains formats peuvent ne pas être disponibles sur le blog." 
    261277 
    262 #: index.php:317 
    263 #: index.php:323 
     278#: index.php:320 
    264279#: index.php:326 
    265 #: index.php:343 
     280#: index.php:329 
     281#: index.php:346 
    266282msgid "My Meta" 
    267283msgstr "" 
    268284 
    269 #: index.php:322 
     285#: index.php:325 
    270286#, php-format 
    271287msgid "Allow contributors to choose %s values." 
    272288msgstr "Permettre aux contributeurs de choisir les valeurs de %s." 
    273289 
    274 #: index.php:325 
     290#: index.php:328 
    275291#, php-format 
    276292msgid "It requires the %s plugin." 
    277293msgstr "Cela nécessite le plugin %s." 
    278294 
    279 #: index.php:343 
     295#: index.php:346 
    280296#, php-format 
    281297msgid "Enable these %s values:" 
    282298msgstr "Activer ces valeurs de %s&nbsp;:" 
    283299 
    284 #: index.php:363 
     300#: index.php:366 
    285301msgid "Save configuration" 
    286302msgstr "Enregistrer la configuration" 
    287303 
    288 #: index.php:369 
     304#: index.php:372 
    289305#, php-format 
    290306msgid "URL of the %s page:" 
    291307msgstr "URL de la page %s&nbsp;:" 
    292308 
    293 #: index.php:374 
     309#: index.php:377 
    294310#, php-format 
    295311msgid "View the %s page" 
     
    481497 
    482498#: public_l10n.php:50 
    483 msgid "This is a preview" 
     499msgid "This is a preview." 
    484500msgstr "Ceci est un aperçu." 
    485501 
  • plugins/contribute/public_l10n.php

    r872 r909  
    4848__("Text formating"); 
    4949__("The post has been saved."); 
    50 __("This is a preview"); 
     50__("This is a preview."); 
    5151__("Title"); 
    5252__("Unordered list"); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map