phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] ged inc/class.ged_ui.inc.php templates/base/upd...


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] ged inc/class.ged_ui.inc.php templates/base/upd...
Date: Thu, 22 Mar 2007 10:37:43 +0000

CVSROOT:        /sources/phpgroupware
Module name:    ged
Changes by:     Pascal Vilarem <maat>   07/03/22 10:37:42

Modified files:
        inc            : class.ged_ui.inc.php 
        templates/base : update_file.tpl 

Log message:
        correction : hard coded path for an image removed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/class.ged_ui.inc.php?cvsroot=phpgroupware&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/ged/templates/base/update_file.tpl?cvsroot=phpgroupware&r1=1.4&r2=1.5

Patches:
Index: inc/class.ged_ui.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/class.ged_ui.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- inc/class.ged_ui.inc.php    22 Mar 2007 09:19:28 -0000      1.12
+++ inc/class.ged_ui.inc.php    22 Mar 2007 10:37:42 -0000      1.13
@@ -1047,6 +1047,9 @@
                $this->t->set_var('version_file_field', 'version_file');
                $this->t->set_var('version_type_field', 'version_type');
                
+               $this->t->set_var('add-image', 
$GLOBALS['phpgw']->common->image('ged', "add-16"));
+               $this->t->set_var('remove-image', 
$GLOBALS['phpgw']->common->image('ged', "remove-16"));
+               
                // New status management system
                // Based on aproval in progress         
                //$this->t->set_var('version_status_field', 'version_status');

Index: templates/base/update_file.tpl
===================================================================
RCS file: /sources/phpgroupware/ged/templates/base/update_file.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- templates/base/update_file.tpl      21 Mar 2007 22:50:59 -0000      1.4
+++ templates/base/update_file.tpl      22 Mar 2007 10:37:42 -0000      1.5
@@ -93,7 +93,7 @@
  </td>
  <td valign="top"><a href="{search_link}">{name} [{reference}] 
{version}</a></td>
  <td width="20" valign="bottom">
- <input type="image" 
src="/phpgroupwarehead/ged/templates/base/images/add-16.png" 
name="do_add_relation" value="{version_id}">
+ <input type="image" src="{add-image}" name="do_add_relation" 
value="{version_id}">
  </td>
  </tr>
 <!-- END search_list_block -->
@@ -113,7 +113,7 @@
   <input name="{relations_type_field}" type="text" 
value="{relations_type_value}"/>
   </td>
   <td>
-  <input type="image" 
src="/phpgroupwarehead/ged/templates/base/images/remove-16.png" 
name="do_remove_relation" value="{relations_id_value}">
+  <input type="image" src="{remove-image}" name="do_remove_relation" 
value="{relations_id_value}">
   </td>
   </tr>
 <!-- END relations_list_block -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]