Closed GoogleCodeExporter closed 9 years ago
I looked an it via web interfac, and this template (s11.tpl.php) seems
to be big piece of crap
(there is logic, including database query put inside of template, should
be in engine).
Whole template should be rebuild...
For now you can try hot-fix: try it and test on your local machine
before commit:
replace this:
echo '<tr class="bgcolor2">'.
'<td align="center">{{Stats_s3_02}} </td>'.
'<td align="center">{{Stats_s3_03}}</td>'.
'<td
align="center">{{Stats_s3_04}} </td></tr><tr><td>';
*witch:
*?>
<tr class="bgcolor2">
<td align="center">{{Stats_s3_02}} </td>
<td align="center">{{Stats_s3_03}}</td>
<td align="center">{{Stats_s3_04}} </td></tr><tr><td>
<?php
W dniu 2014-10-22 o 10:15, opencaching-pl@googlecode.com pisze:
Original comment by wloczynutka
on 22 Oct 2014 at 9:30
without first star, I don't know why google code added these stars to message
?>
<tr class="bgcolor2">
<td align="center">{{Stats_s3_02}} </td>
<td align="center">{{Stats_s3_03}}</td>
<td align="center">{{Stats_s3_04}} </td></tr><tr><td>
<?php
Original comment by andrzej....@traveltech.pl
on 22 Oct 2014 at 9:31
Thanks for the answer :-)
These changes has no effect on local machine.
Language is still Dutch no matter what language i select on upper right corner
(flags)
I know that (when translating in the past) that translated parts in tpl,php
files with {{translate_this}} will turn black on my screen.
When change like you suggested these translations become black. this should be
correct. Now on line 34 the {{translate_this}} is still red.
Original comment by henricus...@gmail.com
on 22 Oct 2014 at 10:46
Attachments:
?><center><table width="97%" border="0"><tr><td
align="center"><center>{{Stats_s3_01}}<br/><?php
Original comment by wloczynutka
on 22 Oct 2014 at 12:22
This all has no effect. Even changed file "s11a.tpl.php" had same kind of lines
also no effect.
I leave it like it is and hope some one can rebuild this in future.
There are more things i can do :-)
Thanks for the help.
Original comment by henricus...@gmail.com
on 22 Oct 2014 at 1:21
probably this changes works!!
I can see in the code, that this code is executed once and cached for 86400
seconds.
taht mean, if you enter any change to code, It will take no effect until 86400
seconds is passed.
to avoid 8400 seconds wait, (for developing), you can under
$result = apc_fetch($cache_key);
uncomment line 15
$result = false;
see my last commit
Original comment by wloczynutka
on 4 Nov 2014 at 10:04
Original issue reported on code.google.com by
henricus...@gmail.com
on 22 Oct 2014 at 8:15