Exemplo n.º 1
0
        if ($i == 0) {
            echo TEXT_AUTHORS_DESCRIPTION;
        }
        ?>
</td>
            <td class="main"><?php 
        echo tep_image(DIR_WS_CATALOG_IMAGES . $languages[$i]['image'], $languages[$i]['name'], '', '', 'style="float: left; margin: 4px 4px 0px 0px;"');
        $field_value = isset($authors_description[$languages[$i]['id']]) ? $authors_description[$languages[$i]['id']] : tep_get_author_info($aInfo->authors_id, $languages[$i]['id'], 'authors_description');
        $field_value = str_replace('\\\\"', '"', $field_value);
        $field_value = str_replace('\\"', '"', $field_value);
        $field_value = str_replace("\\\\'", "\\'", $field_value);
        $field_value = str_replace('="/', '="' . HTTP_SERVER . '/', $field_value);
        $editor = new editor('authors_description[' . $languages[$i]['id'] . ']');
        $editor->Value = $field_value;
        $editor->Height = '280';
        $editor->Create();
        ?>
</td>
          </tr>
<?php 
    }
    ?>
          <tr>
            <td colspan="2"><?php 
    echo tep_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td width="250" class="main"><?php 
    echo TEXT_AUTHORS_SORT_ORDER;