[geeklog-cvs] Geeklog-1.x/system lib-admin.php,1.120,1.121

Oliver ospiess at qs1489.pair.com
Tue Oct 9 01:37:22 EDT 2007


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv38107/system

Modified Files:
	lib-admin.php 
Log Message:
simplify icons list creation

Index: lib-admin.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/system/lib-admin.php,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** lib-admin.php	9 Oct 2007 05:28:34 -0000	1.120
--- lib-admin.php	9 Oct 2007 05:37:20 -0000	1.121
***************
*** 305,322 ****
  
      # define icon paths. Those will be transmitted to $fieldfunction.
!     $icon_arr = array(
!         'edit' => '<img src="' . $_CONF['layout_url'] . '/images/edit.'
!              . $_IMAGE_TYPE . '" alt="' . $LANG_ADMIN['edit']
!              . '" title="' . $LANG_ADMIN['edit'] . '">',
!         'copy' => '<img src="' . $_CONF['layout_url'] . '/images/copy.'
!              . $_IMAGE_TYPE . '" alt="' . $LANG_ADMIN['copy']
!              . '" title="' . $LANG_ADMIN['copy'] . '">',
!         'list' => '<img src="' . $_CONF['layout_url'] . '/images/list.'
!             . $_IMAGE_TYPE . '" alt="' . $LANG_ACCESS['listthem']
!             . '" title="' . $LANG_ACCESS['listthem'] . '">',
!         'addchild' => '<img src="' . $_CONF['layout_url'] . '/images/addchild.'
!             . $_IMAGE_TYPE . '" alt="' . $LANG_ADMIN['add_child']
!             . '" title="' . $LANG_ADMIN['add_child'] . '">'
!     );
      $has_extras = '';
      if (isset($text_arr['has_extras'])) { # does this one use extras? (search, google paging)
--- 305,315 ----
  
      # define icon paths. Those will be transmitted to $fieldfunction.
!     $icons_type_arr = array('edit', 'copy', 'list', 'addchild');
!     $icon_arr = array();
!     foreach ($icons_type_arr as $icon_type) {
!         $icon_url = "{$_CONF['layout_url']}/images/$icon_type.$_IMAGE_TYPE";
!         $icon_arr[$icon_type] = COM_createImage($icon_url, $LANG_ADMIN[$icon_type]);
!     }
! 
      $has_extras = '';
      if (isset($text_arr['has_extras'])) { # does this one use extras? (search, google paging)




More information about the geeklog-cvs mailing list