How write you own custom SMS FoxBox template PDF 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 >

Easy Guardian

Server / Network  monitoring
appliance devoted website
easy guardian
http://www.easyguardian.com

FoxBox dedicated website




Product description Price Code Qt.y
SMS FoxBox

SMS FoxBox

The new FoxBox G20 is a Linux microserver that provides innovative functionalities for MMS and SMS management and integrates easy guardian for monitoring network devices.

830 EUR FOXBOXG20

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