Switch buttonstyle

From MapbenderWiki

Jump to: navigation, search

no maintainer

Description

english

With the following sql you can switch from one button-style to another:


  • .gif will be replaced to .png in the column e_src
UPDATE gui_element SET e_src = REPLACE(e_src,'.gif','.png') 
WHERE fkey_gui_id='<gui_name>' AND e_element='img'
  • replace the location of the directory
UPDATE gui_element SET e_src = REPLACE(e_src, 'button_gray','button_blue') 
WHERE fkey_gui_id='<gui_name>' and e_element='img' 



deutsch

Mit dem folgenden SQL-Befehl können Sie von einem Stil der Toolleiste zu einem anderen wechseln:

  • .gif wird ersetzt durch .png in der Spalte e_src
UPDATE gui_element SET e_src = REPLACE(e_src,'.gif','.png') 
WHERE fkey_gui_id='<gui_name>' AND e_element='img'
  • der Ordner wird ersetzt durch
UPDATE gui_element SET e_src = REPLACE(e_src, 'button_gray','button_blue') 
WHERE fkey_gui_id='<gui_name>' and e_element='img'
Views
Personal tools