- Timestamp:
- 03/12/09 13:19:38 (9 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
lib/MT/L10N/nl.pm (modified) (2 diffs)
-
php/lib/block.mtifcommenterregistrationallowed.php (modified) (1 diff)
-
php/mt.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MT/L10N/nl.pm
r3531 r3537 1754 1754 'Couldn\'t get public key from url provided' => 'Kon geen publieke sleutel vinden via de opgegeven url', 1755 1755 'No public key could be found to validate registration.' => 'Er kon geen publieke sleutel gevonden worden om de registratie te valideren.', 1756 'TypePad signature verif\'n returned [_1] in [_2] seconds verifying [_3] with [_4]' => 'TypePad signatuur verificatie retourneerde [_1] in [_2] seconden bij het verifi ᅵren van [_3] met [_4]',1756 'TypePad signature verif\'n returned [_1] in [_2] seconds verifying [_3] with [_4]' => 'TypePad signatuur verificatie retourneerde [_1] in [_2] seconden bij het verifiëren van [_3] met [_4]', 1757 1757 'The TypePad signature is out of date ([_1] seconds old). Ensure that your server\'s clock is correct' => 'De TypePad signatuur is vervallen ([_1] seconden oud). Kijk na of de klok van uw server juist staat.', 1758 1758 … … 2649 2649 'Require E-mail Address for Comments via TypePad' => 'E-mail adres vereisen voor reacties via TypePad', 2650 2650 'If enabled, visitors must allow their TypePad account to share e-mail address when commenting.' => 'Indien ingeschakeld, moeten bezoekers die met hun TypePad account zijn aangemeld hun e-mail adres met u delen als ze een reactie willen achterlaten.', 2651 'One or more Perl module may be missing to use this authentication method.' => 'Mogelijk ontbreken ᅵᅵn of meer Perl modules om deze authenticatiemethode te kunnen gebruiken.',2651 'One or more Perl module may be missing to use this authentication method.' => 'Mogelijk ontbreken één of meer Perl modules om deze authenticatiemethode te kunnen gebruiken.', 2652 2652 'Setup TypePad' => 'TypePad instellen', 2653 2653 'OpenID providers disabled' => 'OpenID providers uitgeschakeld', -
trunk/php/lib/block.mtifcommenterregistrationallowed.php
r3531 r3537 7 7 8 8 function smarty_block_mtifcommenterregistrationallowed($args, $content, &$ctx, &$repeat) { 9 $registration = $ctx->mt->config(' CommenterRegistration')9 $registration = $ctx->mt->config('commenterregistration'); 10 10 $blog = $ctx->stash('blog'); 11 return $registration['Allow'] && ($blog && $blog['blog_allow_commenter_regist']) 11 $allow = $registration['allow'] && ($blog && $blog['blog_allow_commenter_regist']); 12 if (!isset($content)) { 13 return $ctx->_hdlr_if($args, $content, $ctx, $repeat, $allow); 14 } else { 15 return $ctx->_hdlr_if($args, $content, $ctx, $repeat); 16 } 12 17 } 13 18 ?> -
trunk/php/mt.php
r3531 r3537 202 202 $cfg = array(); 203 203 $type_array = array('pluginpath', 'alttemplate', 'outboundtrackbackdomains', 'memcachedservers'); 204 $type_hash = array('commenterregistration'); 204 205 if ($fp = file($file)) { 205 206 foreach ($fp as $line) { … … 212 213 if (in_array($key, $type_array)) { 213 214 $cfg[$key][] = $value; 215 } 216 elseif (in_array($key, $type_hash)) { 217 $hash = preg_split('/\=/', $value, 2); 218 $cfg[$key][strtolower(trim($hash[0]))] = trim($hash[1]); 214 219 } else { 215 220 $cfg[$key] = $value; … … 385 390 isset($cfg['usersessioncookietimeout']) or 386 391 $cfg['usersessioncookietimeout'] = 60*60*4; 392 isset($cfg['commenterregistration']) or 393 $cfg['commenterregistration'] = array('allow' => 1 ); 387 394 } 388 395
