Changeset 8844
- Timestamp:
- Jan 22, 2011, 10:12:48 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r8728 r8844 78 78 function pwg_get_db_version() 79 79 { 80 list($mysql_version) = pwg_db_fetch_row(pwg_query('SELECT VERSION();')); 81 82 return $mysql_version; 80 return mysql_get_server_info(); 83 81 } 84 82 … … 223 221 return; 224 222 // depending on the MySQL version, we use the multi table update or N update queries 225 if (count($datas) < 10 or version_compare(mysql_get_server_info(), '4.0.4') < 0)226 { // MySQL is prior to version 4.0.4, multi table update feature is not available223 if (count($datas) < 10) 224 { 227 225 foreach ($datas as $data) 228 226 { -
trunk/include/functions.inc.php
r8802 r8844 814 814 global $user; 815 815 816 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');817 818 816 $query = ' 819 817 SELECT element_id -
trunk/include/functions_user.inc.php
r8728 r8844 155 155 ); 156 156 157 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');158 157 mass_inserts(USERS_TABLE, array_keys($insert), array($insert)); 159 158 … … 185 184 if (count($inserts) != 0) 186 185 { 187 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');188 186 mass_inserts(USER_GROUP_TABLE, array('user_id', 'group_id'), $inserts); 189 187 } … … 418 416 pwg_query($query); 419 417 420 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');421 418 mass_inserts 422 419 ( … … 1023 1020 } 1024 1021 1025 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');1026 1022 mass_inserts(USER_INFOS_TABLE, array_keys($inserts[0]), $inserts); 1027 1028 1023 } 1029 1024 } -
trunk/themes/default/template/index.tpl
r8774 r8844 51 51 {if isset($U_MODE_POSTED)} 52 52 <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 53 <span class="pwg-icon pwg-icon-ca mera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>53 <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> 54 54 </a>{/strip}</li> 55 55 {/if}
Note: See TracChangeset
for help on using the changeset viewer.