Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Localization support board «   First tests of localizations have been positive «  

Comment: First tests of localizations have been positive

<< Previous Next >>

Comment inspired from Bernard

Bernard: kool - had some days off and then extra-busy days you know... Do you still need to go trough the files? In that case i could offer some help maybe? I see more lines like (in about.php, my favorite study object) :

if(Surfer::is_associate()) {
        $local['title_en'] = 'Help';
        $local['title_fr'] = 'Aide';
        $local['help_en'] = 'To change information displayed, go to the '.Skin::build_link('skins/configure.php', 'configurati
on panel for skins', 'shortcut');
        $local['help_fr'] = 'Pour changer l\'information affich&eacute;e, allez sur le '.Skin::build_link('skins/configure.php
', 'panneau de configuration des styles', 'shortcut');
        $context['extra'] .= Skin::build_box(i18n::user('title'), '<p>'.i18n::user('help').'</p>', 'navigation', 'help');
}


 If i get you right there should be


if(Surfer::is_associate()) {
       
        $context['extra'] .= Skin::build_box(i18n::s('Help'), '<p>'.i18n::user('help').'</p>', 'navigation', '
To change information displayed, go to the '.Skin::build_link('skins/configure.php', 'configurati
on panel for skins', 'shortcut')
');
}

with the $local _en en _fr lines removed, right? i feel more tinkering comin' up ... v

This comment has inspired:

by Vincent on Nov. 16 2006