Ignore:
Timestamp:
08/09/2010 01:40:36 PM (22 months ago)
Author:
ofer
Message:

Use a shorter, but slightly more informative copyright notice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/core/parser.php

    r488 r500  
    11<?php 
    22 
    3 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     3/* 
     4 * Transposh v%VERSION% 
     5 * http://transposh.org/ 
    46 * 
    5  *      This program is free software; you can redistribute it and/or modify 
    6  *      it under the terms of the GNU General Public License as published by 
    7  *      the Free Software Foundation; either version 2 of the License, or 
    8  *      (at your option) any later version. 
     7 * Copyright %YEAR%, Team Transposh 
     8 * Licensed under the GPL Version 2 or higher. 
     9 * http://transposh.org/license 
    910 * 
    10  *      This program is distributed in the hope that it will be useful, 
    11  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    12  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    13  *      GNU General Public License for more details. 
    14  * 
    15  *      You should have received a copy of the GNU General Public License 
    16  *      along with this program; if not, write to the Free Software 
    17  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     11 * Date: %DATE% 
    1812 */ 
    1913 
     
    484478        // Use base64 encoding to make that when the page is translated (i.e. update_translation) we 
    485479        // get back exactlly the same string without having the client decode/encode it in anyway. 
    486         $span = '<span class ="' . SPAN_PREFIX . '" id="' . SPAN_PREFIX . $this->segment_id . '" data-token="' . transposh_utils::base64_url_encode($original_text) . '" data-source="'.$source.'"'; 
     480        $span = '<span class ="' . SPAN_PREFIX . '" id="' . SPAN_PREFIX . $this->segment_id . '" data-token="' . transposh_utils::base64_url_encode($original_text) . '" data-source="' . $source . '"'; 
    487481        // those are needed for on the fly image creation / hidden elements translations 
    488482        if ($this->is_edit_mode || $for_hidden_element) { 
    489             $span .= ' data-orig="'.$original_text.'"'; 
     483            $span .= ' data-orig="' . $original_text . '"'; 
    490484            if ($for_hidden_element) { 
    491485                $span.= ' data-hidden="y"'; 
    492486                // hidden elements currently have issues figuring what they translated in the JS 
    493487                if ($translated_text != null) { 
    494                     $span.= ' data-trans="'.$translated_text.'"'; 
     488                    $span.= ' data-trans="' . $translated_text . '"'; 
    495489                } 
    496490            } 
Note: See TracChangeset for help on using the changeset viewer.