Np chcesz dodać status o nazwie testowy to wejdź do pliku
templates/default/customereditbox.html
(w wersji git to będzie tempaltes/default/customer/customereditbox.html)
znajdź tam wiersz tabeli
<TR>
<TD style="width: 1%;">
{if $customerinfo.status eq "3"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "2"}<IMG src="img/wait.gif" alt="">{/if}
{if $customerinfo.status eq "1"}<IMG src="img/unk.gif" alt="">{/if}
</TD>
<TD style="width: 99%;">
<SELECT size="1" name="customerdata[status]" {tip text="Select customer state" trigger="status"}>
<OPTION value="3"{if $customerinfo.status eq "3"} SELECTED{/if}>{trans("connected<!singular>")}</OPTION>
<OPTION value="2"{if $customerinfo.status eq "2"} SELECTED{/if}>{trans("waiting")}</OPTION>
<OPTION value="1"{if $customerinfo.status eq "1"} SELECTED{/if}>{trans("interested<!singular>")}</OPTION>
</SELECT>
</TD>
</TR>
i popraw na (dodając po jednej lini w każdej kolumnie)
<TR>
<TD style="width: 1%;">
{if $customerinfo.status eq "4"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "3"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "2"}<IMG src="img/wait.gif" alt="">{/if}
{if $customerinfo.status eq "1"}<IMG src="img/unk.gif" alt="">{/if}
</TD>
<TD style="width: 99%;">
<SELECT size="1" name="customerdata[status]" {tip text="Select customer state" trigger="status"}>
<OPTION value="4"{if $customerinfo.status eq "4"} SELECTED{/if}>{trans("test<!singular>")}</OPTION>
<OPTION value="3"{if $customerinfo.status eq "3"} SELECTED{/if}>{trans("connected<!singular>")}</OPTION>
<OPTION value="2"{if $customerinfo.status eq "2"} SELECTED{/if}>{trans("waiting")}</OPTION>
<OPTION value="1"{if $customerinfo.status eq "1"} SELECTED{/if}>{trans("interested<!singular>")}</OPTION>
</SELECT>
</TD>
</TR>
oraz do pliku templates/default/customerinfobox.html
(w wersji git to będzie tempaltes/default/customer/customerinfobox.html)
i analogicznie poprawiasz
<TR>
<TD WIDTH="1%">
{if $customerinfo.status eq "3"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "2"}<IMG src="img/wait.gif" alt="">{/if}
{if $customerinfo.status eq "1"}<IMG src="img/unk.gif" alt="">{/if}
</TD>
<TD WIDTH="99%">
{if $customerinfo.status eq "3"}<B>{trans("connected<!singular>")}</B>{/if}
{if $customerinfo.status eq "2"}<B>{trans("waiting")}</B>{/if}
{if $customerinfo.status eq "1"}<B>{trans("interested<!singular>")}</B>{/if}
</TD>
</TR>
na
<TR>
<TD WIDTH="1%">
{if $customerinfo.status eq "4"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "3"}<IMG src="img/customer.gif" alt="">{/if}
{if $customerinfo.status eq "2"}<IMG src="img/wait.gif" alt="">{/if}
{if $customerinfo.status eq "1"}<IMG src="img/unk.gif" alt="">{/if}
</TD>
<TD WIDTH="99%">
{if $customerinfo.status eq "4"}<B>{trans("test<!singular>")}</B>{/if}
{if $customerinfo.status eq "3"}<B>{trans("connected<!singular>")}</B>{/if}
{if $customerinfo.status eq "2"}<B>{trans("waiting")}</B>{/if}
{if $customerinfo.status eq "1"}<B>{trans("interested<!singular>")}</B>{/if}
</TD>
</TR>
potem wchodzisz do
lib/locale/pl/strings.php
i na końcu dopisujesz rekord
$_LANG['test'] = 'testowy';
Możesz sobie jeszcze zrobić osobną ikonkę dla swojego statusu i jej użyć.
pozdrawiam
Dariusz Kowalczyk.