Când devii foarte nehotărât cu privire la o chestiune, nu mai poţi trăi liniştit până nu iei o decizie. La prima vedere, pare o joacă, dar nu e şi devii tot mai întrebător. Aşa sunt eşi eu acum…Sper să rezolv situaţia cât mai repede.

iulie 6, 2009 de doiomi
Când devii foarte nehotărât cu privire la o chestiune, nu mai poţi trăi liniştit până nu iei o decizie. La prima vedere, pare o joacă, dar nu e şi devii tot mai întrebător. Aşa sunt eşi eu acum…Sper să rezolv situaţia cât mai repede.

Postat in Diverse | Etichetat nehotarare, student | 1 comentariu
| doiomi on Inca ceva dezgustator de-a… | |
| Paula on Inca ceva dezgustator de-a… | |
| Paula on Your face, my ass. | |
| Mitza on Your face, my ass. | |
| Dragosh on Candidat anonim |
';
}
function trc_translate_print_flag($x,$y = 0)
{
global $pluginpath;
$x *= FLAGWIDTH;
$y *= FLAGHEIGHT;
echo '
';
}
function widget_trc_translate_init()
{
if (!function_exists('register_sidebar_widget'))
return;
function widget_trc_translate($args)
{
global $trc_langnames,$trc_langmap;
extract($args);
$options = get_option('widget_trc_translate');
if ('' == $options['orig-lang'])
$options['orig-lang'] = 'en';
$title = $options['title'];
echo $before_widget;
echo $before_title . $title . $after_title;
trc_translate($options['orig-lang'],$options['en-flag']);
echo $after_widget;
}
function widget_trc_translate_control()
{
global $trc_langnames;
$options = get_option('widget_trc_translate');
if ( !is_array($options) )
$options = array('title'=>'Translate', 'orig-lang'=>'en', 'flags' => array('en'=>0,'fr'=>0, 'de'=>0, 'it'=>0, 'pt'=>0, 'es'=>0, 'ar'=>0, 'ru'=>0, 'ja'=>0, 'ko'=>0, 'zh-CN'=>0));
if ( $_POST['trc_translate-submit'] ) {
$options['title'] = strip_tags(stripslashes($_POST['trc_translate-title']));
$options['orig-lang'] = strip_tags(stripslashes($_POST['trc_translate-orig-lang']));
$options['en-flag'] = strip_tags(stripslashes($_POST['trc_translate-en-flag']));
foreach($trc_langnames as $langcode=>$langinfo)
{
$options['flags'][$langcode] = strip_tags(stripslashes($_POST['trc_translate-'.$langcode.'-flag']));
}
update_option('widget_trc_translate', $options);
}
$title = htmlspecialchars($options['title'], ENT_QUOTES);
echo 'Title: ';
echo 'Blog Language:
'; echo ''; foreach($trc_langnames as $langcode=>$langinfo) { $checked = ''; if ($langcode == $options['orig-lang']) $checked = 'selected=selected "'; echo ' '.$langinfo[0]; } echo 'Click on one of the languages below to change the flag which represents it.'; foreach($trc_langnames as $langcode=>$langinfo) { echo '
| '; trc_translate_print_flag($langinfo[1], $i); echo ' | '; } echo '
Sper sa faci alegerea potrivita. Alte pareri/sfaturi despre luarea deciziilor aici.
:*