Changeset 140


Ignore:
Timestamp:
03/30/2009 02:51:08 PM (3 years ago)
Author:
amir
Message:

Changes due to location change of folders.

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

Legend:

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

    r128 r140  
    945945        } 
    946946 
    947         $img = "<img src=\"$plugin_url/translate$add_img.png\" alt=\"translate\" class=\"".IMG_PREFIX."\" id=\"" . IMG_PREFIX . "$segment_id\" ". 
     947        $img = "<img src=\"$plugin_url/img/translate$add_img.png\" alt=\"translate\" class=\"".IMG_PREFIX."\" id=\"" . IMG_PREFIX . "$segment_id\" ". 
    948948           "onclick=\"translate_dialog('$original','$translation','$segment_id'); return false;\" ". 
    949949           "onmouseover=\"hint('$original'); return true;\" ". 
  • trunk/WordPress/plugin/transposh/transposh.php

    r120 r140  
    2727 */ 
    2828 
    29 require_once("logging.php"); 
    30 require_once("constants.php"); 
    31 require_once("globals.php"); 
    32 require_once("utils.php"); 
     29require_once("core/parser.php"); 
    3330require_once("transposh_db.php"); 
    34 require_once("parser.php"); 
    3531require_once("transposh_widget.php"); 
    3632require_once("transposh_admin.php"); 
     
    348344        } 
    349345        //include the transposh.css 
    350         wp_enqueue_style("transposh","$plugin_url/transposh.css",array(),'1.0.1'); 
     346        wp_enqueue_style("transposh","$plugin_url/css/transposh.css",array(),'1.0.1'); 
    351347        logger("Added transposh_css"); 
    352348} 
  • trunk/WordPress/plugin/transposh/transposh_admin.php

    r119 r140  
    2222 */ 
    2323 
    24 require_once("logging.php"); 
    25 require_once("constants.php"); 
     24require_once("core/logging.php"); 
     25require_once("core/constants.php"); 
    2626 
    2727/* 
     
    107107                $i++; 
    108108 
    109                 echo "<td><img src=\"$plugin_url/flags/$flag.png\" alt=\"\"/>&nbsp;$language</td>"; 
     109                echo "<td><img src=\"$plugin_url/img/flags/$flag.png\" alt=\"\"/>&nbsp;$language</td>"; 
    110110                echo '<td align="center">  <input type="checkbox" id="' . $code .'_view" name="' . 
    111111                $code . '_view" onchange="chbx_change(\'' . $code . '\')" ' . is_viewable($code) . '/></td>'; 
  • trunk/WordPress/plugin/transposh/transposh_db.php

    r120 r140  
    2424 */ 
    2525 
    26 require_once("logging.php"); 
    27 require_once("constants.php"); 
    28 require_once("utils.php"); 
     26require_once("core/logging.php"); 
     27require_once("core/constants.php"); 
     28require_once("core/utils.php"); 
    2929 
    3030// 
  • trunk/WordPress/plugin/transposh/transposh_widget.php

    r121 r140  
    2121 * mode. 
    2222 */ 
    23 require_once("logging.php"); 
    24 require_once("constants.php"); 
     23require_once("core/logging.php"); 
     24require_once("core/constants.php"); 
    2525require_once("transposh.php"); 
    2626 
     
    8686         
    8787        //include the transposh_widget.css  
    88         wp_enqueue_style("transposh_widget","$plugin_url/transposh_widget.css",array(),'1.0.1'); 
     88        wp_enqueue_style("transposh_widget","$plugin_url/css/transposh_widget.css",array(),'1.0.1'); 
    8989        logger("Added transposh_widget_css"); 
    9090} 
     
    139139 
    140140                                        echo "<a href=\"" . $page_url2 . "\">". 
    141                          "<img src=\"$plugin_url/flags/$flag.png\" title=\"$language\" alt=\"$language\"". 
     141                         "<img src=\"$plugin_url/img/flags/$flag.png\" title=\"$language\" alt=\"$language\"". 
    142142                         " style=\"padding: 1px 3px\"/></a>"; 
    143143                    $is_showing_languages = TRUE; 
     
    197197    echo "</form>"; 
    198198    //echo "<button onClick=\"do_auto_translate();\">translate all</button>"; 
    199         echo "<div id=\"credit\">by <a href=\"http://transposh.org\"><img src=\"$plugin_url/tplogo.png\" title=\"Transposh\" alt=\"Transposh\"/></a></div>"; 
     199        echo "<div id=\"credit\">by <a href=\"http://transposh.org\"><img src=\"$plugin_url/img/tplogo.png\" title=\"Transposh\" alt=\"Transposh\"/></a></div>"; 
    200200    echo $after_widget; 
    201201} 
Note: See TracChangeset for help on using the changeset viewer.