Ignore:
Timestamp:
03/15/10 00:56:21 (10 years ago)
Author:
plg
Message:

feature 1505: when there is no photo yet in the gallery, displays a big and
obvious message, guiding to the Administration>Images>Add page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r5123 r5138  
    10611061} 
    10621062 
     1063function conf_update_param($param, $value) 
     1064{ 
     1065  $query = ' 
     1066DELETE 
     1067  FROM '.CONFIG_TABLE.' 
     1068  WHERE param = "'.$param.'" 
     1069;'; 
     1070  pwg_query($query); 
     1071 
     1072  $query = ' 
     1073INSERT 
     1074  INTO '.CONFIG_TABLE.' 
     1075  SET param = "'.$param.'" 
     1076    , value = "'.$value.'" 
     1077;'; 
     1078  pwg_query($query); 
     1079} 
     1080 
    10631081/** 
    10641082 * Prepends and appends a string at each value of the given array. 
Note: See TracChangeset for help on using the changeset viewer.