Changeset 22939 for extensions/Crop_Image/main.inc.php
- Timestamp:
- May 29, 2013, 6:54:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Crop_Image/main.inc.php
r22856 r22939 2 2 /* 3 3 Plugin Name: Crop Image 4 Version: 2.5. c4 Version: 2.5.d 5 5 Description: Enables to Crop Images already uploaded to the gallery, basic functionality. Tested with v2.5.1, v2.4.6 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=700 … … 19 19 function crop_image_add_tab($sheets, $id) 20 20 { 21 global $lang; 22 load_language('plugin.lang', dirname(__FILE__).'/'); 23 21 24 $image_id = isset($_GET['image_id'])? $_GET['image_id'] : ''; 22 25 … … 47 50 function cropImage_set_prefilter_add_to_pic_info() 48 51 { 49 global $template, $conf, $user, $page; 52 global $template, $conf, $user, $page, $lang; 53 load_language('plugin.lang', dirname(__FILE__).'/'); 50 54 51 55 $url_admin = … … 95 99 96 100 $replacement = ' 97 <a class="pwg-state-default pwg-button" href="{$U_CROPIMAGE}" title=" Crop Image" rel="nofollow">98 <span class="ci-icon ci-icon-cropimage-{$U_CROPIMAGE_THEME}"> </span><span class="pwg-button-text"> Crop Image</span>101 <a class="pwg-state-default pwg-button" href="{$U_CROPIMAGE}" title="{\'Crop\'|@translate} {\'Photo\'|@translate}" rel="nofollow"> 102 <span class="ci-icon ci-icon-cropimage-{$U_CROPIMAGE_THEME}"> </span><span class="pwg-button-text">{\'Crop\'|@translate} {\'Photo\'|@translate}</span> 99 103 </a> 100 104 ' . $search;
Note: See TracChangeset
for help on using the changeset viewer.