Changeset 20256 for extensions/Mobile_Theme_for_Tablets
- Timestamp:
- Jan 19, 2013, 12:58:16 AM (12 years ago)
- Location:
- extensions/Mobile_Theme_for_Tablets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mobile_Theme_for_Tablets/include/functions.inc.php
r19815 r20256 1 1 <? 2 /** 3 * activate the mobile theme 4 */ 2 5 function mtt_activate_mobile_theme() { 3 6 global $conf; -
extensions/Mobile_Theme_for_Tablets/install/functions.inc.php
r19815 r20256 1 1 <?php 2 /** 3 * create the entry in the config table 4 * @param string default parameters 5 */ 2 6 function mtt_install($config) { 3 7 $query = 'INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("mobile_theme_for_tablets" ,"'.pwg_db_real_escape_string(serialize($config)).'", "Mobile Theme for Tablets plugin parameters");'; … … 5 9 } 6 10 11 /** 12 * update the config when plugin is activated or updated 13 */ 7 14 function mtt_update_db() { 8 15 global $conf; … … 27 34 } 28 35 36 /** 37 * delete the config 38 * @param string param column of the table 39 */ 29 40 function mtt_delete_conf($where) { 30 41 $query = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE (param="'.$where.'");';
Note: See TracChangeset
for help on using the changeset viewer.