How write you own custom SMS FoxBox template Print E-mail
SMS FoxBox web interface is completely XML/XSL based.
As you can see by the configuration panel you can select between 2 templates from a simple pop-up menu, default and essential. If you want to add a new template, all you have to do is duplicate the folder “deafult” in /mnt/flash/media/templates/  and give it the name you desire.
Inside the newly created folder, you have the file “main.css”, edit it to change fonts properties, tables properties and HTML related stuffs.
The folder bkg defines the bakground colors for the top, left and bottom bars.
The folder ico contains hd and ld that are the icons big icons and the small icons displayed on the interface.

Translating the interface on you language

The language selection could be performed on configuration panel available from the left menu.
The available languages are italian,english and spanish. If you need to translate it in your language you can simply create it.
Duplicate the files eng.php, language_xsl_en.xsl and language_en.xml in /mnt/flash/media/languages and rename it changing en suffix with you language suffix.
Modify language_en.xml, translate entries in your language respecting XML standards.

For example:

<temp>
<cp01>Kdev Project - SMS FoxBox - Control Panel</cp01>
<cp02>Control Panel</cp02>

<temp>
<cp01>Kdev Project - SMS FoxBox – your text</cp01>
<cp02>new text translated</cp02>

After you tanslated the document, edit language_xls_yourlanguage.xsl, and specify the newly created XML doucement at the line:

<xsl:variable name="template" select="document('language_yourlanguage.xml')"/>

when you finished, add and entry like this to main.php

if ($lang=="new_language.php") {
echo "<?xml-stylesheet type=\"text/xsl\" href=\"$PHP_SELF/media/languages/template_xsl_newlanguage.xsl\"?>\n";
$set_l=1;
}

Connect to the web interface, in the configuration panel a new langauge entry will appear, select it and save. Refresh the browser window and your text will be now translated.




 
< Prev   Next >

FoxBox dedicated website

A new website dedicated to
SMS /MMS foxbox is online!
foxbox website

SMPP server interface

You are searching SMS speed?
KDEV SMS
http://www.smskdev.it



SMS gateway FoxBOx
buy foxbox
buy on FoxBox eShop



For further info contact us by mail This e-mail address is being protected from spam bots, you need JavaScript enabled to view it providing us the FoxBox model you need and your company details.


2009 KDEV di Davide Cantaluppi, P.IVA 02984320131
KDEV SMS è un servizio di KDEV System Development    FoxBox SMS-MMS Hardware Gateway - FoxBox appliance
SMS KDEV sms inbound SMS KDEV ricevi ed elabora tuoi SMS e invia SMS con altissime prestazioni

spacer.png, 0 kB
spacer.png, 0 kB