Contributions

Credit Modules (Category Index)
Search: 

better osc3 default template 1.0

OSC3 better default template

contains:

for burned english words
- language extensions
- fixed bugs for variables

and recently_visited burned english "result" bug fix

Note: be carefull! Only a file replacing for English, but it contains Hungarian language too.

Expand All / Collapse All

Sepatated templates buttons with Multilangism1.0 21 Sep 2009

Better template button extension to Multilangism
(osC3 Tgely templates systems)

If you would like to use each template separated buttons with languages dependencies. In the future on the osC3 frontend you will be able to switch templates and this will be important
function. ;-)


The language's templated buttons inserted into new folders. For example

catalog/templates/***templatesname***/languages/en_US/buttons/
catalog/templates/***templatesname***/languages/hu_HU/buttons/
catalog/templates/***templatesname***/languages/ru_RU/buttons/


The concept:
I changed the html_output.php
- osc_draw_image_submit_button()
- osc_draw_image_button() functions into
templates.php new functions as
- osc_draw_image_submit_template_button()
- osc_draw_image_template_button() functions

I redefiniated call buttons in templates files like this:

<div class="submitFormButtons">
<span style="float: right;"><?php echo $osC_Template->osc_draw_image_submit_template_button
('button_continue.gif', $osC_Language->get('button_continue')); ?></span>

<?php echo osc_link_object(osc_href_link(FILENAME_ACCOUNT, null, 'SSL'),
$osC_Template->osc_draw_image_template_button('button_back.gif',
$osC_Language->get('button_back'))); ?>
</div>


I got languages and separated template buttons dependecies.

In some reasons I didn't want to change the original buttons call (in html_output.php),
but you can do another modifications.

freeoscommerce templates multilangism 25 Aug 2009
better osc3 default template 2.0 23 Aug 2009
from bug fix 1.0 20 Aug 2009
from_bug_fix 20 Aug 2009
better osc3 default template 1.0 20 Aug 2009

Note: Contributions are used at own risk.