Changeset 500


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

Use a shorter, but slightly more informative copyright notice

Location:
trunk/WordPress/plugin/transposh
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/build.sh

    r493 r500  
    5252 
    5353# 
     54# Init replacement vars 
     55# 
     56DATE=`date -R` 
     57YEAR=`date +%Y` 
     58 
     59# 
    5460#Add php files while removing logging operations 
    5561# 
     
    5763  echo "Adding .php files (without logging)" 
    5864  for file in `find . -maxdepth 4 -iname '*.php'`; do  
    59     sed "s/logger.*;//;s/require_once.*(\"core.logging.*//;s/require_once.*(\'logging.*//;s/require_once.*(\"logging.*//;s/%VERSION%/$VERSION/;" $file > $TRANSPOSH_DIR/$file 
     65    sed "s/logger.*;//;s/require_once.*(\"core.logging.*//;s/require_once.*(\'logging.*//;s/require_once.*(\"logging.*//;s/%VERSION%/$VERSION/;s/%DATE%/$DATE/;s/%YEAR%/$YEAR/;" $file > $TRANSPOSH_DIR/$file 
    6066    echo "added $file" 
    6167  done; 
     
    9399fi 
    94100 
    95 DATE=`date -R` 
    96 YEAR=`date +%Y` 
    97101if [ "$DEBUG" != 'debug' ]; then 
    98102  echo "Minify .js files" 
  • trunk/WordPress/plugin/transposh/core/constants.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 
  • trunk/WordPress/plugin/transposh/core/logging.php

    r466 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 
  • 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            } 
  • trunk/WordPress/plugin/transposh/core/utils.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 
  • trunk/WordPress/plugin/transposh/transposh.php

    r492 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
  • trunk/WordPress/plugin/transposh/widgets/dropdown/tpw_image_dropdown.php

    r435 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    5448 
    5549    foreach ($args as $langrecord) { 
    56         $is_selected = $langrecord['active'] ? " selected=\"selected\"" : ""; 
    57         echo '<li><a href="#"><img class="flag" src="' . "$plugpath/img/flags/{$langrecord['flag']}" . '.png" alt="' . $langrecord['langorig'] . '"/> ' . $langrecord['langorig'] . '<span class="value">' . $langrecord['isocode'] . '</span></a></li>'; 
     50        $is_selected = $langrecord['active'] ? " selected=\"selected\"" : ""; 
     51        echo '<li><a href="#"><img class="flag" src="' . "$plugpath/img/flags/{$langrecord['flag']}" . '.png" alt="' . $langrecord['langorig'] . '"/> ' . $langrecord['langorig'] . '<span class="value">' . $langrecord['isocode'] . '</span></a></li>'; 
    5852    } 
    5953 
  • trunk/WordPress/plugin/transposh/widgets/flags/tpw_flags.php

    r488 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    4842    echo "<div class=\"" . NO_TRANSLATE_CLASS . " transposh_flags\" >"; 
    4943    foreach ($args as $langrecord) { 
    50         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
    51         transposh_utils::display_flag("$plugpath/img/flags", $langrecord['flag'], $langrecord['langorig'], false) . 
    52         "</a>"; 
     44        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
     45        transposh_utils::display_flag("$plugpath/img/flags", $langrecord['flag'], $langrecord['langorig'], false) . 
     46        "</a>"; 
    5347    } 
    5448    echo "</div>"; 
  • trunk/WordPress/plugin/transposh/widgets/flags/tpw_flags_css.php

    r488 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    4337    echo "<div class=\"" . NO_TRANSLATE_CLASS . " transposh_flags\" >"; 
    4438    foreach ($args as $langrecord) { 
    45         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
    46         transposh_utils::display_flag("", $langrecord['flag'], $langrecord['langorig'], true) . 
    47         "</a>"; 
     39        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
     40        transposh_utils::display_flag("", $langrecord['flag'], $langrecord['langorig'], true) . 
     41        "</a>"; 
    4842    } 
    4943    echo "</div>"; 
  • trunk/WordPress/plugin/transposh/widgets/flagslist/tpw_list_with_flags.php

    r488 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    5751    echo "<div class=\"" . NO_TRANSLATE_CLASS . " transposh_flags\" >"; 
    5852    foreach ($args as $langrecord) { 
    59         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
    60         transposh_utils::display_flag("$plugpath/img/flags", $langrecord['flag'], $langrecord['langorig'], false) . "</a>"; 
    61         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . "{$langrecord['langorig']}</a><br/>"; 
     53        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
     54        transposh_utils::display_flag("$plugpath/img/flags", $langrecord['flag'], $langrecord['langorig'], false) . "</a>"; 
     55        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . "{$langrecord['langorig']}</a><br/>"; 
    6256    } 
    6357    echo "</div>"; 
  • trunk/WordPress/plugin/transposh/widgets/flagslist/tpw_list_with_flags_css.php

    r488 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    5347    echo "<div class=\"" . NO_TRANSLATE_CLASS . " transposh_flags\" >"; 
    5448    foreach ($args as $langrecord) { 
    55         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
    56         transposh_utils::display_flag('', $langrecord['flag'], $langrecord['langorig'], false) . '</a>'; 
    57         echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . "{$langrecord['langorig']}</a><br/>"; 
     49        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
     50        transposh_utils::display_flag('', $langrecord['flag'], $langrecord['langorig'], false) . '</a>'; 
     51        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . "{$langrecord['langorig']}</a><br/>"; 
    5852    } 
    5953    echo "</div>"; 
  • trunk/WordPress/plugin/transposh/widgets/tpw_default.php

    r435 r500  
    1111 */ 
    1212 
    13 /*  Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 
     13/* 
     14 * Transposh v%VERSION% 
     15 * http://transposh.org/ 
    1416 * 
    15  *      This program is free software; you can redistribute it and/or modify 
    16  *      it under the terms of the GNU General Public License as published by 
    17  *      the Free Software Foundation; either version 2 of the License, or 
    18  *      (at your option) any later version. 
     17 * Copyright %YEAR%, Team Transposh 
     18 * Licensed under the GPL Version 2 or higher. 
     19 * http://transposh.org/license 
    1920 * 
    20  *      This program is distributed in the hope that it will be useful, 
    21  *      but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    23  *      GNU General Public License for more details. 
    24  * 
    25  *      You should have received a copy of the GNU General Public License 
    26  *      along with this program; if not, write to the Free Software 
    27  *      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     21 * Date: %DATE% 
    2822 */ 
    2923 
     
    4539    echo '<option value="none">[Language]</option>'; 
    4640    foreach ($args as $langrecord) { 
    47         $is_selected = $langrecord['active'] ? " selected=\"selected\"" : ""; 
    48         echo "<option value=\"{$langrecord['isocode']}\"{$is_selected}>{$langrecord['langorig']}</option>"; 
     41        $is_selected = $langrecord['active'] ? " selected=\"selected\"" : ""; 
     42        echo "<option value=\"{$langrecord['isocode']}\"{$is_selected}>{$langrecord['langorig']}</option>"; 
    4943    } 
    5044    echo "</select><br/>"; 
  • trunk/WordPress/plugin/transposh/wp/transposh_3rdparty.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 
     
    4640 
    4741        // google xml sitemaps - with patch 
    48                 add_action("sm_addurl", array(&$this, 'add_sm_transposh_urls')); 
    49  
     42        add_action("sm_addurl", array(&$this, 'add_sm_transposh_urls')); 
    5043    } 
    5144 
     
    8881    } 
    8982 
    90  
    91         /** 
     83    /** 
    9284     * This filter method helps buddypress understand the transposh generated URLs 
    9385     * @param string $uri The url that was originally received 
     
    195187    } 
    196188 
    197  
    198189} 
    199190?> 
  • trunk/WordPress/plugin/transposh/wp/transposh_admin.php

    r491 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 
    18  * 
    19  *  adapted metabox sample code from http://www.code-styling.de/ 
     11 * Date: %DATE% 
    2012 */ 
    2113 
     
    2315 * Provide the admin page for configuring the translation options. eg.  what languages ? 
    2416 * who is allowed to translate ? 
     17 * 
     18 * adapted metabox sample code from http://www.code-styling.de/ 
    2519 */ 
    2620 
  • trunk/WordPress/plugin/transposh/wp/transposh_ajax.php

    r494 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 
     
    108102elseif (isset($_GET['cleanup'])) { 
    109103    // just make sure the admin started this... recently enough 
    110     check_ajax_referer('transposh-clean','nonce'); 
     104    check_ajax_referer('transposh-clean', 'nonce'); 
    111105    $my_transposh_plugin->database->cleanup($_GET['days']); 
    112106} 
    113  
    114107?> 
  • trunk/WordPress/plugin/transposh/wp/transposh_backup.php

    r497 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 
    18  * 
    19  *  adapted metabox sample code from http://www.code-styling.de/ 
     11 * Date: %DATE% 
    2012 */ 
    2113 
  • trunk/WordPress/plugin/transposh/wp/transposh_db.php

    r497 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 */ 
    19  
    2013 
    2114/** 
  • trunk/WordPress/plugin/transposh/wp/transposh_options.php

    r496 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 */ 
     13 
    1914// OLD Options - To be removed 
    2015// removed real old options support, no migration from 0.3.9 anymore 
  • trunk/WordPress/plugin/transposh/wp/transposh_postpublish.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 
    18  * 
     11 * Date: %DATE% 
    1912 */ 
    2013 
  • trunk/WordPress/plugin/transposh/wp/transposh_widget.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 
Note: See TracChangeset for help on using the changeset viewer.