Search found 39 matches

by dervish00
Tue Oct 23, 2007 18:36
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

fixed no correct show average depth, if haven't profile of dive
(change classes.inc.php, misc.inc.php, dive_details.tpl)
by dervish00
Tue Oct 23, 2007 16:18
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

add new changes: 1. File "classes.inc.php" was lost strings with title of product ( "Product:" ) and manufacturer ( "Manufacturer:" ): was: $t->assign('pagetitle',$_lang['equip_details_pagetitle'].$result[0]['Object']); $t->assign('Object',$result[0]['Object'] ); $t->as...
by dervish00
Tue Oct 23, 2007 09:09
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

I update my changes in kiss version :)
Now need add additional strings to english, german, etc .inc.php files
by dervish00
Fri Oct 19, 2007 15:09
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

this is a big change to lightbox, maybe don't do it this way, since this makes upgrading difficult...
I think any change to lightbox will be difficult to upgrading. :) And my way from another is easiest, isn't it?
by dervish00
Fri Oct 19, 2007 12:48
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

and one more change: when I attach a few photos to dive and show foto in lightbox, i can see not only our caption (from russian.inc.php) under foto, but one more caption: Image 1 of 2 . I find that this caption stay in files "lightbox.js" and "lightbox_mu.js" in function updateDe...
by dervish00
Fri Oct 19, 2007 11:14
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

i solve problem with setgridlanguage globally :-) add next code to russian.inc.php: // Grid $_lang['grid_cancel'] = "Отмена"; $_lang['grid_close'] = "Закрыть"; $_lang['grid_save'] = "Сохранить"; $_lang['grid_saving'] = "Сохранение..."; $_lang['grid_loading'] =...
by dervish00
Fri Oct 19, 2007 07:58
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

add changes of very small bugs: 1. Not correct show pop-up hints on divesite_details ( Details for dive # ) solve: in file "divesite_details.tpl" remove blank and dot between {$dlog_number_title} and {$dive} in code {foreach from=$dives item=dive} {if isset($multiuser_id)} <a href="{$...
by dervish00
Thu Oct 18, 2007 20:47
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

Once again: function SetGridLanguage don't work!
See picture:

Image

I now can't solve this problem. May be tomorrow...
by dervish00
Thu Oct 18, 2007 10:51
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

Add changes of small bugs: 1. Don't right show type of tank (first in array $_lang['tanktype'] = array( ) In file "classes.inc.php" in function set_breathing_details() need change string if($arr_number > 0) $t->assign('Tanktype', $_lang['tanktype'][$arr_number]); to string if($arr_number >...
by dervish00
Wed Oct 17, 2007 04:47
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

Another part of problem I solved too, but I think my solve is not all right: I comment body of function function putAcutes($strText) in file "phpmydatagrid.class.php". But I think that function need for another use. What need it? It is needed for html display of these characters I think i...
by dervish00
Mon Oct 15, 2007 14:57
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

Change one more bug with First/Prev and Next/Last on Equipment details. First add next string in file "classes.inc.php" $t->assign('equipment_first','1'); in function get_nav_links($request) after strings: } elseif($request->request_type == 3){ set_config_table_prefix($this->table_prefix);...
by dervish00
Mon Oct 15, 2007 13:15
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

I found one more bug: in file "classes.inc.php" function get_divesite_location_details() not use and on page "divesite details" not show country and city/island. I add code $this->get_divesite_location_details(); in function set_main_divesite_details() after string: global $globa...
by dervish00
Mon Oct 15, 2007 07:58
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

I solved part of problem with russian language: in "misc.inc.php" need change code (str. 45): $rs[$key] = htmlentities($val, ENT_QUOTES); to code: $rs[$key] = htmlentities($val, ENT_QUOTES, "UTF-8"); Another part of problem I solved too, but I think my solve is not all right: I c...
by dervish00
Fri Oct 12, 2007 07:05
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

don't work grid translate (function SetGridLanguage($objGrid)), i.e. function work, but words stay english... I try different languages... I don't understand why.
by dervish00
Fri Oct 12, 2007 06:17
Forum: Extensions
Topic: phpDivingLog
Replies: 330
Views: 966317

pls, add next code to new version (file "phpmydatagrid.class.php") for russian translate: case 'russian': case 'ru' : $this->message=array( 'cancel' => 'Отмена', 'close' => 'Закрыть', 'save' => 'Сохранить', 'saving' => 'Сохранение . . .', 'loading' => 'Загрузка . . .', 'edit' => 'Изменить'...