Changeset 309 for trunk/TranslationList.php
- Timestamp:
- Jan 31, 2010, 10:13:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TranslationList.php
r307 r309 297 297 { 298 298 if(array_key_exists('search', $_GET)) $Search = $_GET['search']; 299 else $Search = $_POST['search']; 299 else if(array_key_exists('search', $_POST)) $Search = $_POST['search']; 300 else ErrorMessage('Nebyl zadán text k vyhledání.'); 300 301 301 302 $sql = 'SELECT *, (SELECT `user`.`user` FROM `user` WHERE `user`.`id` = `'.$Table.'`.`user`) AS `User` FROM `'.$Table.'` WHERE `ID` LIKE "%'.$Search.'%" … … 306 307 foreach($TranslationTree[$GroupId]['Items'] as $Item) 307 308 { 308 if($Item['Column'] != '') $sql .= ' OR `'.$Item['Column'].'` LIKE "%'.$Search.'%"';309 if($Item['Column'] != '') $sql .= ' OR `'.$Item['Column'].'` LIKE "%'.$Search.'%"'; 309 310 } 310 311
Note:
See TracChangeset
for help on using the changeset viewer.