Merge lp:~dangarner/xibo/translate-xibo into lp:~xibo-maintainers/xibo/encke

Proposed by Dan Garner
Status: Merged
Merged at revision: not available
Proposed branch: lp:~dangarner/xibo/translate-xibo
Merge into: lp:~xibo-maintainers/xibo/encke
Diff against target: None lines
To merge this branch: bzr merge lp:~dangarner/xibo/translate-xibo
Reviewer Review Type Date Requested Status
Dan Garner Approve
Review via email: mp+6686@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dan Garner (dangarner) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2009-03-07 23:21:15 +0000
+++ .bzrignore 2009-05-14 19:20:44 +0000
@@ -1,3 +1,4 @@
1server/settings.php1server/settings.php
2.project2.project
3server/.project3server/.project
4Thumbs.db
45
=== modified file 'default.mo'
5Binary files default.mo 2009-05-13 18:27:42 +0000 and default.mo 2009-05-17 17:32:16 +0000 differ6Binary files default.mo 2009-05-13 18:27:42 +0000 and default.mo 2009-05-17 17:32:16 +0000 differ
=== modified file 'default.pot'
--- default.pot 2009-05-13 18:27:42 +0000
+++ default.pot 2009-05-17 17:32:16 +0000
@@ -2,7 +2,7 @@
2msgstr ""2msgstr ""
3"Project-Id-Version: Xibo Digital Signage\n"3"Project-Id-Version: Xibo Digital Signage\n"
4"Report-Msgid-Bugs-To: \n"4"Report-Msgid-Bugs-To: \n"
5"POT-Creation-Date: 2009-05-13 19:27-0000\n"5"POT-Creation-Date: 2009-05-17 18:31-0000\n"
6"PO-Revision-Date: \n"6"PO-Revision-Date: \n"
7"Last-Translator: Dan Garner <mail@dangarner.co.uk>\n"7"Last-Translator: Dan Garner <mail@dangarner.co.uk>\n"
8"Language-Team: <info@xibo.org.uk>\n"8"Language-Team: <info@xibo.org.uk>\n"
@@ -17,314 +17,314 @@
17"X-Poedit-SearchPath-1: server/lib/pages\n"17"X-Poedit-SearchPath-1: server/lib/pages\n"
18"X-Poedit-SearchPath-2: server/lib/app\n"18"X-Poedit-SearchPath-2: server/lib/app\n"
1919
20#: server/install.php:4420#: server/install.php:45
21msgid "Welcome to the Xibo Installer!"21msgid "Welcome to the Xibo Installer!"
22msgstr ""22msgstr ""
2323
24#: server/install.php:4524#: server/install.php:46
25msgid "The installer will take you through setting up Xibo one step at a time."25msgid "The installer will take you through setting up Xibo one step at a time."
26msgstr ""26msgstr ""
2727
28#: server/install.php:4628#: server/install.php:47
29#: server/upgrade.php:9229#: server/upgrade.php:92
30msgid "Lets get started!"30msgid "Lets get started!"
31msgstr ""31msgstr ""
3232
33#: server/install.php:4933#: server/install.php:50
34#: server/install.php:7834#: server/install.php:79
35#: server/install.php:8635#: server/install.php:87
36#: server/install.php:31836#: server/install.php:319
37#: server/install.php:33437#: server/install.php:335
38#: server/install.php:37338#: server/install.php:374
39#: server/install.php:40239#: server/install.php:403
40#: server/install.php:50540#: server/install.php:506
41#: server/upgrade.php:9841#: server/upgrade.php:98
42#: server/upgrade.php:15242#: server/upgrade.php:158
43#: server/upgrade.php:15943#: server/upgrade.php:168
44#: server/upgrade.php:22044#: server/upgrade.php:229
45msgid "Next"45msgid "Next"
46msgstr ""46msgstr ""
4747
48#: server/install.php:5848#: server/install.php:59
49#: server/upgrade.php:13149#: server/upgrade.php:131
50msgid "First we need to check if your server meets Xibo's requirements."50msgid "First we need to check if your server meets Xibo's requirements."
51msgstr ""51msgstr ""
5252
53#: server/install.php:6653#: server/install.php:67
54#: server/install.php:7454#: server/install.php:75
55#: server/upgrade.php:14155#: server/upgrade.php:141
56#: server/upgrade.php:14956#: server/upgrade.php:150
57msgid "Retest"57msgid "Retest"
58msgstr ""58msgstr ""
5959
60#: server/install.php:9760#: server/install.php:98
61msgid "Xibo needs to setup a new database."61msgid "Xibo needs to setup a new database."
62msgstr ""62msgstr ""
6363
64#: server/install.php:9864#: server/install.php:99
65msgid "If you have not yet created an empty database and database user for Xibo to use, and know the username/password of a MySQL administrator, click the \"Create New\" button, otherwise click \"Use Existing\"."65msgid "If you have not yet created an empty database and database user for Xibo to use, and know the username/password of a MySQL administrator, click the \"Create New\" button, otherwise click \"Use Existing\"."
66msgstr ""66msgstr ""
6767
68#: server/install.php:9968#: server/install.php:100
69msgid "Note that any existing database must be empty"69msgid "Note that any existing database must be empty"
70msgstr ""70msgstr ""
7171
72#: server/install.php:10372#: server/install.php:104
73msgid "Create New"73msgid "Create New"
74msgstr ""74msgstr ""
7575
76#: server/install.php:10776#: server/install.php:108
77msgid "Use Existing"77msgid "Use Existing"
78msgstr ""78msgstr ""
7979
80#: server/install.php:11580#: server/install.php:116
81msgid "Since no empty database has been created for Xibo to use, we need the username and password of a MySQL administrator to create a new database, and database user for Xibo."81msgid "Since no empty database has been created for Xibo to use, we need the username and password of a MySQL administrator to create a new database, and database user for Xibo."
82msgstr ""82msgstr ""
8383
84#: server/install.php:11684#: server/install.php:117
85msgid "Additionally, please give us a new username and password to create in MySQL for Xibo to use. Xibo will create this automatically for you."85msgid "Additionally, please give us a new username and password to create in MySQL for Xibo to use. Xibo will create this automatically for you."
86msgstr ""86msgstr ""
8787
88#: server/install.php:12188#: server/install.php:122
89#: server/install.php:14289#: server/install.php:143
90msgid "Host:"90msgid "Host:"
91msgstr ""91msgstr ""
9292
93#: server/install.php:12293#: server/install.php:123
94msgid "Admin Username:"94msgid "Admin Username:"
95msgstr ""95msgstr ""
9696
97#: server/install.php:12397#: server/install.php:124
98msgid "Admin Password:"98msgid "Admin Password:"
99msgstr ""99msgstr ""
100100
101#: server/install.php:124
102#: server/install.php:143
103msgid "Xibo Database Name:"
104msgstr ""
105
106#: server/install.php:125101#: server/install.php:125
107#: server/install.php:144102#: server/install.php:144
108msgid "Xibo Database Username:"103msgid "Xibo Database Name:"
109msgstr ""104msgstr ""
110105
111#: server/install.php:126106#: server/install.php:126
112#: server/install.php:145107#: server/install.php:145
108msgid "Xibo Database Username:"
109msgstr ""
110
111#: server/install.php:127
112#: server/install.php:146
113msgid "Xibo Database Password:"113msgid "Xibo Database Password:"
114msgstr ""114msgstr ""
115115
116#: server/install.php:129116#: server/install.php:130
117#: server/install.php:148117#: server/install.php:149
118msgid "Create"118msgid "Create"
119msgstr ""119msgstr ""
120120
121#: server/install.php:137121#: server/install.php:138
122msgid "Please enter the details of the database and user you have created for Xibo."122msgid "Please enter the details of the database and user you have created for Xibo."
123msgstr ""123msgstr ""
124124
125#: server/install.php:157125#: server/install.php:158
126msgid "Something went wrong"126msgid "Something went wrong"
127msgstr ""127msgstr ""
128128
129#: server/install.php:174129#: server/install.php:175
130#: server/install.php:232130#: server/install.php:233
131msgid "A field was blank. Please fill in all fields."131msgid "A field was blank. Please fill in all fields."
132msgstr ""132msgstr ""
133133
134#: server/install.php:180134#: server/install.php:181
135msgid "Could not connect to MySQL with the administrator details. Please check and try again."135msgid "Could not connect to MySQL with the administrator details. Please check and try again."
136msgstr ""136msgstr ""
137137
138#: server/install.php:180138#: server/install.php:181
139#: server/install.php:220139#: server/install.php:221
140#: server/install.php:240140#: server/install.php:241
141#: server/install.php:284141#: server/install.php:285
142#: server/install.php:354142#: server/install.php:355
143#: server/install.php:362143#: server/install.php:363
144#: server/install.php:464144#: server/install.php:465
145#: server/install.php:472145#: server/install.php:473
146#: server/install.php:478146#: server/install.php:479
147#: server/install.php:484147#: server/install.php:485
148#: server/install.php:490148#: server/install.php:491
149#: server/install.php:494149#: server/install.php:495
150#: server/upgrade.php:68150#: server/upgrade.php:68
151#: server/upgrade.php:69151#: server/upgrade.php:69
152#: server/upgrade.php:115152#: server/upgrade.php:115
153#: server/upgrade.php:276153#: server/upgrade.php:287
154msgid "MySQL Error:"154msgid "MySQL Error:"
155msgstr ""155msgstr ""
156156
157#: server/install.php:184157#: server/install.php:185
158msgid "Creating new database."158msgid "Creating new database."
159msgstr ""159msgstr ""
160160
161#: server/install.php:192161#: server/install.php:193
162msgid "Could not create a new database with the administrator details. Please check and try again."162msgid "Could not create a new database with the administrator details. Please check and try again."
163msgstr ""163msgstr ""
164164
165#: server/install.php:202165#: server/install.php:203
166msgid "Creating new user"166msgid "Creating new user"
167msgstr ""167msgstr ""
168168
169#: server/install.php:220169#: server/install.php:221
170msgid "Could not create a new user with the administrator details. Please check and try again."170msgid "Could not create a new user with the administrator details. Please check and try again."
171msgstr ""171msgstr ""
172172
173#: server/install.php:240173#: server/install.php:241
174msgid "Could not connect to MySQL with the Xibo User account details. Please check and try again."174msgid "Could not connect to MySQL with the Xibo User account details. Please check and try again."
175msgstr ""175msgstr ""
176176
177#: server/install.php:284177#: server/install.php:285
178#: server/upgrade.php:276178#: server/upgrade.php:287
179msgid "An error occured populating the database."179msgid "An error occured populating the database."
180msgstr ""180msgstr ""
181181
182#: server/install.php:295182#: server/install.php:296
183#: server/install.php:307183#: server/install.php:308
184msgid "Unable to write to settings.php. We already checked this was possible earlier, so something changed."184msgid "Unable to write to settings.php. We already checked this was possible earlier, so something changed."
185msgstr ""185msgstr ""
186186
187#: server/install.php:326187#: server/install.php:327
188msgid "Xibo needs to set the \"xibo_admin\" user password. Please enter a password for this account below."188msgid "Xibo needs to set the \"xibo_admin\" user password. Please enter a password for this account below."
189msgstr ""189msgstr ""
190190
191#: server/install.php:331191#: server/install.php:332
192msgid "Password:"192msgid "Password:"
193msgstr ""193msgstr ""
194194
195#: server/install.php:332195#: server/install.php:333
196msgid "Retype Password:"196msgid "Retype Password:"
197msgstr ""197msgstr ""
198198
199#: server/install.php:344199#: server/install.php:345
200msgid "Please input a new password. Ensure both password fields are identical."200msgid "Please input a new password. Ensure both password fields are identical."
201msgstr ""201msgstr ""
202202
203#: server/install.php:354203#: server/install.php:355
204#: server/install.php:464204#: server/install.php:465
205msgid "Could not connect to MySQL with the Xibo User account details saved in settings.php. Please check and try again."205msgid "Could not connect to MySQL with the Xibo User account details saved in settings.php. Please check and try again."
206msgstr ""206msgstr ""
207207
208#: server/install.php:362208#: server/install.php:363
209msgid "An error occured changing the xibo_admin password."209msgid "An error occured changing the xibo_admin password."
210msgstr ""210msgstr ""
211211
212#: server/install.php:369212#: server/install.php:370
213msgid "Successfully changed the xibo_admin password. We're nearly there now. Just a couple more steps!"213msgid "Successfully changed the xibo_admin password. We're nearly there now. Just a couple more steps!"
214msgstr ""214msgstr ""
215215
216#: server/install.php:384216#: server/install.php:385
217msgid "Library Location"217msgid "Library Location"
218msgstr ""218msgstr ""
219219
220#: server/install.php:385220#: server/install.php:386
221msgid "Xibo needs somewhere to store the things you upload to be shown. Ideally, this should be somewhere outside the root of your webserver - that is such that is not accessible by a web browser. Please input the full path to this folder. If the folder does not already exist, Xibo will attempt to create it for you."221msgid "Xibo needs somewhere to store the things you upload to be shown. Ideally, this should be somewhere outside the root of your webserver - that is such that is not accessible by a web browser. Please input the full path to this folder. If the folder does not already exist, Xibo will attempt to create it for you."
222msgstr ""222msgstr ""
223223
224#: server/install.php:388224#: server/install.php:389
225msgid "Library Location:"225msgid "Library Location:"
226msgstr ""226msgstr ""
227227
228#: server/install.php:390228#: server/install.php:391
229msgid "Server Key"229msgid "Server Key"
230msgstr ""230msgstr ""
231231
232#: server/install.php:391232#: server/install.php:392
233msgid "Xibo needs you to choose a \"key\". This will be required each time you setup a new client. It should be complicated, and hard to remember. It is visible in the admin interface, so it need not be written down separately."233msgid "Xibo needs you to choose a \"key\". This will be required each time you setup a new client. It should be complicated, and hard to remember. It is visible in the admin interface, so it need not be written down separately."
234msgstr ""234msgstr ""
235235
236#: server/install.php:393236#: server/install.php:394
237msgid "Server Key:"237msgid "Server Key:"
238msgstr ""238msgstr ""
239239
240#: server/install.php:395240#: server/install.php:396
241msgid "Statistics"241msgid "Statistics"
242msgstr ""242msgstr ""
243243
244#: server/install.php:396244#: server/install.php:397
245msgid "We'd love to know you're running Xibo. If you're happy for us to collect anonymous statistics (version number, number of displays) then please leave the box ticked. Please untick the box if your server does not have direct access to the internet."245msgid "We'd love to know you're running Xibo. If you're happy for us to collect anonymous statistics (version number, number of displays) then please leave the box ticked. Please untick the box if your server does not have direct access to the internet."
246msgstr ""246msgstr ""
247247
248#: server/install.php:398248#: server/install.php:399
249msgid "Anonymous Statistics:"249msgid "Anonymous Statistics:"
250msgstr ""250msgstr ""
251251
252#: server/install.php:417252#: server/install.php:418
253msgid "A field was blank. Please make sure you complete all fields"253msgid "A field was blank. Please make sure you complete all fields"
254msgstr ""254msgstr ""
255255
256#: server/install.php:430256#: server/install.php:431
257msgid "A file exists with the name you gave for the Library Location. Please choose another location"257msgid "A file exists with the name you gave for the Library Location. Please choose another location"
258msgstr ""258msgstr ""
259259
260#: server/install.php:437260#: server/install.php:438
261msgid "Could not create the Library Location directory for you. Please ensure the webserver has permission to create a folder in this location, or create the folder manually and grant permission for the webserver to write to the folder."261msgid "Could not create the Library Location directory for you. Please ensure the webserver has permission to create a folder in this location, or create the folder manually and grant permission for the webserver to write to the folder."
262msgstr ""262msgstr ""
263263
264#: server/install.php:445264#: server/install.php:446
265msgid "The Library Location you gave is not writable by the webserver. Please fix the permissions and try again."265msgid "The Library Location you gave is not writable by the webserver. Please fix the permissions and try again."
266msgstr ""266msgstr ""
267267
268#: server/install.php:450268#: server/install.php:451
269msgid "The Library Location you gave is not empty. Please give the location of an empty folder"269msgid "The Library Location you gave is not empty. Please give the location of an empty folder"
270msgstr ""270msgstr ""
271271
272#: server/install.php:472272#: server/install.php:473
273msgid "An error occured changing the library location."273msgid "An error occured changing the library location."
274msgstr ""274msgstr ""
275275
276#: server/install.php:478276#: server/install.php:479
277msgid "An error occured changing the server key."277msgid "An error occured changing the server key."
278msgstr ""278msgstr ""
279279
280#: server/install.php:484280#: server/install.php:485
281msgid "An error occured setting the default timezone."281msgid "An error occured setting the default timezone."
282msgstr ""282msgstr ""
283283
284#: server/install.php:490284#: server/install.php:491
285#: server/install.php:494285#: server/install.php:495
286msgid "An error occured setting anonymous statistics."286msgid "An error occured setting anonymous statistics."
287msgstr ""287msgstr ""
288288
289#: server/install.php:501289#: server/install.php:502
290msgid "Successfully set library location and server key."290msgid "Successfully set library location and server key."
291msgstr ""291msgstr ""
292292
293#: server/install.php:513293#: server/install.php:514
294msgid "Unable to delete install.php. Please ensure the webserver has permission to unlink this file and retry"294msgid "Unable to delete install.php. Please ensure the webserver has permission to unlink this file and retry"
295msgstr ""295msgstr ""
296296
297#: server/install.php:513297#: server/install.php:514
298#: server/install.php:516298#: server/install.php:517
299msgid "Retry"299msgid "Retry"
300msgstr ""300msgstr ""
301301
302#: server/install.php:516302#: server/install.php:517
303msgid "Unable to delete upgrade.php. Please ensure the webserver has permission to unlink this file and retry"303msgid "Unable to delete upgrade.php. Please ensure the webserver has permission to unlink this file and retry"
304msgstr ""304msgstr ""
305305
306#: server/install.php:520306#: server/install.php:521
307msgid "Xibo was successfully installed."307msgid "Xibo was successfully installed."
308msgstr ""308msgstr ""
309309
310#: server/install.php:521310#: server/install.php:522
311msgid "Please click"311msgid "Please click"
312msgstr ""312msgstr ""
313313
314#: server/install.php:521314#: server/install.php:522
315msgid "here"315msgid "here"
316msgstr ""316msgstr ""
317317
318#: server/install.php:521318#: server/install.php:522
319msgid "to logon to Xibo as \"xibo_admin\" with the password you chose earlier."319msgid "to logon to Xibo as \"xibo_admin\" with the password you chose earlier."
320msgstr ""320msgstr ""
321321
322#: server/install.php:526322#: server/install.php:527
323#: server/upgrade.php:312323#: server/upgrade.php:323
324msgid "A required parameter was missing. Please go through the installer sequentially!"324msgid "A required parameter was missing. Please go through the installer sequentially!"
325msgstr ""325msgstr ""
326326
327#: server/install.php:526327#: server/install.php:527
328msgid "Start Again"328msgid "Start Again"
329msgstr ""329msgstr ""
330330
@@ -356,131 +356,131 @@
356msgid "Password incorrect. Please try again."356msgid "Password incorrect. Please try again."
357msgstr ""357msgstr ""
358358
359#: server/upgrade.php:190359#: server/upgrade.php:199
360msgid "Unable to calculate the upgradeTo value. Check for non-numeric SQL and PHP files in the 'install/database' directory."360msgid "Unable to calculate the upgradeTo value. Check for non-numeric SQL and PHP files in the 'install/database' directory."
361msgstr ""361msgstr ""
362362
363#: server/upgrade.php:213363#: server/upgrade.php:222
364msgid "Warning: We included "364msgid "Warning: We included "
365msgstr ""365msgstr ""
366366
367#: server/upgrade.php:213367#: server/upgrade.php:222
368msgid "but it did not include a class of appropriate name."368msgid "but it did not include a class of appropriate name."
369msgstr ""369msgstr ""
370370
371#: server/upgrade.php:252371#: server/upgrade.php:261
372msgid "FAIL:"372msgid "FAIL:"
373msgstr ""373msgstr ""
374374
375#: server/upgrade.php:257375#: server/upgrade.php:267
376msgid "Backing up your database"376msgid "Backing up your database"
377msgstr ""377msgstr ""
378378
379#: server/upgrade.php:282379#: server/upgrade.php:293
380msgid "Step"380msgid "Step"
381msgstr ""381msgstr ""
382382
383#: server/upgrade.php:294383#: server/upgrade.php:305
384msgid "Unable to delete install.php. Please remove this file manually."384msgid "Unable to delete install.php. Please remove this file manually."
385msgstr ""385msgstr ""
386386
387#: server/upgrade.php:297387#: server/upgrade.php:308
388msgid "Unable to delete upgrade.php. Please remove this file manually."388msgid "Unable to delete upgrade.php. Please remove this file manually."
389msgstr ""389msgstr ""
390390
391#: server/upgrade.php:300391#: server/upgrade.php:311
392msgid "Upgrade is complete!"392msgid "Upgrade is complete!"
393msgstr ""393msgstr ""
394394
395#: server/upgrade.php:302395#: server/upgrade.php:313
396msgid "Login"396msgid "Login"
397msgstr ""397msgstr ""
398398
399#: server/upgrade.php:306399#: server/upgrade.php:317
400msgid "There was an error during the upgrade. Please take a screenshot of this page and seek help!"400msgid "There was an error during the upgrade. Please take a screenshot of this page and seek help!"
401msgstr ""401msgstr ""
402402
403#: server/upgrade.php:365403#: server/upgrade.php:370
404msgid "You must authenticate to run the upgrade."404msgid "You must authenticate to run the upgrade."
405msgstr ""405msgstr ""
406406
407#: server/config/config.class.php:128407#: server/config/config.class.php:128
408msgid "PHP Version 5.0.2 or later"408msgid "PHP Version 5.2.4 or later"
409msgstr ""409msgstr ""
410410
411#: server/config/config.class.php:139411#: server/config/config.class.php:149
412msgid "Xibo requires PHP version 5.0.2 or later."412msgid "Xibo requires PHP version 5.2.4 or later."
413msgstr ""413msgstr ""
414414
415#: server/config/config.class.php:143415#: server/config/config.class.php:153
416msgid "Filesystem Permissions"416msgid "Filesystem Permissions"
417msgstr ""417msgstr ""
418418
419#: server/config/config.class.php:154419#: server/config/config.class.php:164
420msgid "Xibo needs to be able to write to the following:"420msgid "Xibo needs to be able to write to the following:"
421msgstr ""421msgstr ""
422422
423#: server/config/config.class.php:162423#: server/config/config.class.php:172
424msgid "Please fix this, and retest."424msgid "Please fix this, and retest."
425msgstr ""425msgstr ""
426426
427#: server/config/config.class.php:166427#: server/config/config.class.php:176
428msgid "MySQL Extension"428msgid "MySQL Extension"
429msgstr ""429msgstr ""
430430
431#: server/config/config.class.php:177431#: server/config/config.class.php:187
432msgid "Xibo requires a MySQL database. Ensure PHP MySQL client extension is installed"432msgid "Xibo requires a MySQL database. Ensure PHP MySQL client extension is installed"
433msgstr ""433msgstr ""
434434
435#: server/config/config.class.php:181435#: server/config/config.class.php:191
436msgid "JSON Extension"436msgid "JSON Extension"
437msgstr ""437msgstr ""
438438
439#: server/config/config.class.php:192439#: server/config/config.class.php:202
440msgid "Xibo needs the PHP JSON extension to function."440msgid "Xibo needs the PHP JSON extension to function."
441msgstr ""441msgstr ""
442442
443#: server/config/config.class.php:196443#: server/config/config.class.php:206
444msgid "GD Extension"444msgid "GD Extension"
445msgstr ""445msgstr ""
446446
447#: server/config/config.class.php:207447#: server/config/config.class.php:217
448msgid "Xibo needs the PHP GD extension to function."448msgid "Xibo needs the PHP GD extension to function."
449msgstr ""449msgstr ""
450450
451#: server/config/config.class.php:212451#: server/config/config.class.php:222
452msgid "Calendar Extension"452msgid "Calendar Extension"
453msgstr ""453msgstr ""
454454
455#: server/config/config.class.php:223455#: server/config/config.class.php:233
456msgid "Xibo needs the PHP Calendar extension to function."456msgid "Xibo needs the PHP Calendar extension to function."
457msgstr ""457msgstr ""
458458
459#: server/config/config.class.php:227459#: server/config/config.class.php:237
460msgid "DOM Extension"460msgid "DOM Extension"
461msgstr ""461msgstr ""
462462
463#: server/config/config.class.php:238463#: server/config/config.class.php:248
464msgid "Xibo needs the PHP DOM core functionality enabled."464msgid "Xibo needs the PHP DOM core functionality enabled."
465msgstr ""465msgstr ""
466466
467#: server/config/config.class.php:242467#: server/config/config.class.php:252
468msgid "DOM XML Extension"468msgid "DOM XML Extension"
469msgstr ""469msgstr ""
470470
471#: server/config/config.class.php:253471#: server/config/config.class.php:263
472msgid "Xibo needs the PHP DOM XML extension to function."472msgid "Xibo needs the PHP DOM XML extension to function."
473msgstr ""473msgstr ""
474474
475#: server/config/config.class.php:257475#: server/config/config.class.php:267
476msgid "Allow PHP to open external URLs"476msgid "Allow PHP to open external URLs"
477msgstr ""477msgstr ""
478478
479#: server/config/config.class.php:268479#: server/config/config.class.php:278
480msgid "You must have allow_url_fopen = On in your PHP.ini file for anonymous statistics gathering to function."480msgid "You must have allow_url_fopen = On in your PHP.ini file for anonymous statistics gathering to function."
481msgstr ""481msgstr ""
482482
483#: server/config/config.class.php:269483#: server/config/config.class.php:279
484msgid "If you do not intend to enable anonymous statistics gathering you need not worry about this problem."484msgid "If you do not intend to enable anonymous statistics gathering you need not worry about this problem."
485msgstr ""485msgstr ""
486486
@@ -492,6 +492,10 @@
492msgid "No selections available"492msgid "No selections available"
493msgstr ""493msgstr ""
494494
495#: server/lib/app/helpmanager.class.php:54
496msgid "Help"
497msgstr ""
498
495#: server/lib/app/menumanager.class.php:49499#: server/lib/app/menumanager.class.php:49
496msgid "No menu provided"500msgid "No menu provided"
497msgstr ""501msgstr ""
@@ -508,65 +512,65 @@
508msgid "Update of settings failed"512msgid "Update of settings failed"
509msgstr ""513msgstr ""
510514
511#: server/lib/modules/module.class.php:96515#: server/lib/modules/module.class.php:98
512msgid "Unable to create Module [No type given] - please refer to the Module Documentation."516msgid "Unable to create Module [No type given] - please refer to the Module Documentation."
513msgstr ""517msgstr ""
514518
515#: server/lib/modules/module.class.php:104519#: server/lib/modules/module.class.php:106
516msgid "Unable to create Module [Cannot find type in the database] - please refer to the Module Documentation."520msgid "Unable to create Module [Cannot find type in the database] - please refer to the Module Documentation."
517msgstr ""521msgstr ""
518522
519#: server/lib/modules/module.class.php:110523#: server/lib/modules/module.class.php:112
520msgid "Unable to create Module [No registered modules of this type] - please refer to the Module Documentation."524msgid "Unable to create Module [No registered modules of this type] - please refer to the Module Documentation."
521msgstr ""525msgstr ""
522526
523#: server/lib/modules/module.class.php:161527#: server/lib/modules/module.class.php:163
524msgid "Cannot find this media item. Please refresh the region options."528msgid "Cannot find this media item. Please refresh the region options."
525msgstr ""529msgstr ""
526530
527#: server/lib/modules/module.class.php:381531#: server/lib/modules/module.class.php:384
528msgid "Unable to Remove this media from the Layout"532msgid "Unable to Remove this media from the Layout"
529msgstr ""533msgstr ""
530534
531#: server/lib/modules/module.class.php:392535#: server/lib/modules/module.class.php:395
532msgid "Unable to assign to the Region"536msgid "Unable to assign to the Region"
533msgstr ""537msgstr ""
534538
535#: server/lib/modules/module.class.php:401539#: server/lib/modules/module.class.php:404
536msgid "Error adding this media to the library"540msgid "Error adding this media to the library"
537msgstr ""541msgstr ""
538542
539#: server/lib/modules/module.class.php:424543#: server/lib/modules/module.class.php:427
540msgid "Return to the Region Options"544msgid "Return to the Region Options"
541msgstr ""545msgstr ""
542546
543#: server/lib/modules/module.class.php:425547#: server/lib/modules/module.class.php:428
544msgid "Are you sure you want to remove this item from Xibo?"548msgid "Are you sure you want to remove this item from Xibo?"
545msgstr ""549msgstr ""
546550
547#: server/lib/modules/module.class.php:426551#: server/lib/modules/module.class.php:429
548msgid "It will be lost"552msgid "It will be lost"
549msgstr ""553msgstr ""
550554
551#: server/lib/modules/module.class.php:441555#: server/lib/modules/module.class.php:444
552msgid "Delete Item"556msgid "Delete Item"
553msgstr ""557msgstr ""
554558
555#: server/lib/modules/module.class.php:478559#: server/lib/modules/module.class.php:481
556#: server/lib/modules/module.class.php:496560#: server/lib/modules/module.class.php:499
557msgid "Not yet implemented by this module."561msgid "Not yet implemented by this module."
558msgstr ""562msgstr ""
559563
560#: server/lib/modules/module.class.php:482564#: server/lib/modules/module.class.php:485
561#: server/lib/modules/module.class.php:499565#: server/lib/modules/module.class.php:502
562msgid "Add Item"566msgid "Add Item"
563msgstr ""567msgstr ""
564568
565#: server/lib/modules/module.class.php:514569#: server/lib/modules/module.class.php:517
566msgid "Add Media has not been implemented for this module."570msgid "Add Media has not been implemented for this module."
567msgstr ""571msgstr ""
568572
569#: server/lib/modules/module.class.php:526573#: server/lib/modules/module.class.php:529
570msgid "Edit Media has not been implemented for this module."574msgid "Edit Media has not been implemented for this module."
571msgstr ""575msgstr ""
572576
@@ -585,6 +589,7 @@
585msgstr ""589msgstr ""
586590
587#: server/lib/pages/admin.class.php:112591#: server/lib/pages/admin.class.php:112
592#: server/lib/pages/content.class.php:638
588msgid "The Library Location you have picked is not writable to the Xibo Server."593msgid "The Library Location you have picked is not writable to the Xibo Server."
589msgstr ""594msgstr ""
590595
@@ -601,6 +606,10 @@
601msgstr ""606msgstr ""
602607
603#: server/lib/pages/admin.class.php:172608#: server/lib/pages/admin.class.php:172
609#: server/lib/pages/display.class.php:262
610#: server/lib/pages/display.class.php:365
611#: server/lib/pages/layout.class.php:771
612#: server/lib/pages/layout.class.php:887
604msgid "Save"613msgid "Save"
605msgstr ""614msgstr ""
606615
@@ -615,8 +624,32 @@
615msgid "Test Email"624msgid "Test Email"
616msgstr ""625msgstr ""
617626
627#: server/lib/pages/clock.class.php:60
628msgid "System Information"
629msgstr ""
630
631#: server/lib/pages/clock.class.php:62
632msgid "Local Time"
633msgstr ""
634
635#: server/lib/pages/clock.class.php:63
636msgid "System Time"
637msgstr ""
638
639#: server/lib/pages/clock.class.php:64
640msgid "Local Date"
641msgstr ""
642
643#: server/lib/pages/clock.class.php:65
644msgid "System Date"
645msgstr ""
646
647#: server/lib/pages/clock.class.php:68
648msgid "Date / Time Information"
649msgstr ""
650
618#: server/lib/pages/content.class.php:68651#: server/lib/pages/content.class.php:68
619#: server/lib/pages/layout.class.php:1500652#: server/lib/pages/layout.class.php:1511
620msgid "Library"653msgid "Library"
621msgstr ""654msgstr ""
622655
@@ -630,7 +663,7 @@
630#: server/lib/pages/group.class.php:314663#: server/lib/pages/group.class.php:314
631#: server/lib/pages/layout.class.php:161664#: server/lib/pages/layout.class.php:161
632#: server/lib/pages/layout.class.php:762665#: server/lib/pages/layout.class.php:762
633#: server/lib/pages/layout.class.php:1429666#: server/lib/pages/layout.class.php:1435
634msgid "Name"667msgid "Name"
635msgstr ""668msgstr ""
636669
@@ -638,8 +671,8 @@
638#: server/lib/pages/content.class.php:237671#: server/lib/pages/content.class.php:237
639#: server/lib/pages/content.class.php:440672#: server/lib/pages/content.class.php:440
640#: server/lib/pages/content.class.php:532673#: server/lib/pages/content.class.php:532
641#: server/lib/pages/layout.class.php:1428674#: server/lib/pages/layout.class.php:1434
642#: server/lib/pages/layout.class.php:1689675#: server/lib/pages/layout.class.php:1700
643#: server/lib/pages/report.class.php:88676#: server/lib/pages/report.class.php:88
644msgid "Type"677msgid "Type"
645msgstr ""678msgstr ""
@@ -691,7 +724,7 @@
691#: server/lib/pages/display.class.php:371724#: server/lib/pages/display.class.php:371
692#: server/lib/pages/group.class.php:171725#: server/lib/pages/group.class.php:171
693#: server/lib/pages/layout.class.php:1246726#: server/lib/pages/layout.class.php:1246
694#: server/lib/pages/layout.class.php:1427727#: server/lib/pages/layout.class.php:1433
695msgid "Delete"728msgid "Delete"
696msgstr ""729msgstr ""
697730
@@ -718,8 +751,8 @@
718msgstr ""751msgstr ""
719752
720#: server/lib/pages/content.class.php:533753#: server/lib/pages/content.class.php:533
721#: server/lib/pages/layout.class.php:1430754#: server/lib/pages/layout.class.php:1436
722#: server/lib/pages/layout.class.php:1690755#: server/lib/pages/layout.class.php:1701
723msgid "Duration"756msgid "Duration"
724msgstr ""757msgstr ""
725758
@@ -919,83 +952,91 @@
919msgid "Report a Fault"952msgid "Report a Fault"
920msgstr ""953msgstr ""
921954
922#: server/lib/pages/fault.class.php:63955#: server/lib/pages/fault.class.php:61
956msgid "Report a fault with Xibo"
957msgstr ""
958
959#: server/lib/pages/fault.class.php:62
960msgid "Before reporting a fault it would be appreciated if you follow the below steps."
961msgstr ""
962
963#: server/lib/pages/fault.class.php:66
923msgid "Check that the Environment passes all the Xibo Environment checks."964msgid "Check that the Environment passes all the Xibo Environment checks."
924msgstr ""965msgstr ""
925966
926#: server/lib/pages/fault.class.php:67967#: server/lib/pages/fault.class.php:70
927msgid "Turn ON full auditing and debugging."968msgid "Turn ON full auditing and debugging."
928msgstr ""969msgstr ""
929970
930#: server/lib/pages/fault.class.php:70971#: server/lib/pages/fault.class.php:73
931msgid "Turn ON Debugging"972msgid "Turn ON Debugging"
932msgstr ""973msgstr ""
933974
934#: server/lib/pages/fault.class.php:74975#: server/lib/pages/fault.class.php:77
935msgid "Recreate the Problem in a new window."976msgid "Recreate the Problem in a new window."
936msgstr ""977msgstr ""
937978
938#: server/lib/pages/fault.class.php:77979#: server/lib/pages/fault.class.php:80
939msgid "Automatically collect and export relevant information into a text file."980msgid "Automatically collect and export relevant information into a text file."
940msgstr ""981msgstr ""
941982
942#: server/lib/pages/fault.class.php:77983#: server/lib/pages/fault.class.php:80
943msgid "Please save this file to your PC."984msgid "Please save this file to your PC."
944msgstr ""985msgstr ""
945986
946#: server/lib/pages/fault.class.php:78987#: server/lib/pages/fault.class.php:81
947msgid "Collect and Save Data"988msgid "Collect and Save Data"
948msgstr ""989msgstr ""
949990
950#: server/lib/pages/fault.class.php:81991#: server/lib/pages/fault.class.php:84
951msgid "Turn full auditing and debugging OFF."992msgid "Turn full auditing and debugging OFF."
952msgstr ""993msgstr ""
953994
954#: server/lib/pages/fault.class.php:84995#: server/lib/pages/fault.class.php:87
955msgid "Turn OFF Debugging"996msgid "Turn OFF Debugging"
956msgstr ""997msgstr ""
957998
958#: server/lib/pages/fault.class.php:88999#: server/lib/pages/fault.class.php:91
959msgid "Click on the below link to open the bug report page for this Xibo release."1000msgid "Click on the below link to open the bug report page for this Xibo release."
960msgstr ""1001msgstr ""
9611002
962#: server/lib/pages/fault.class.php:881003#: server/lib/pages/fault.class.php:91
963msgid "Describe the problem and upload the file you obtained earlier."1004msgid "Describe the problem and upload the file you obtained earlier."
964msgstr ""1005msgstr ""
9651006
966#: server/lib/pages/fault.class.php:891007#: server/lib/pages/fault.class.php:92
967msgid "File a bug report in Launchpad"1008msgid "File a bug report in Launchpad"
968msgstr ""1009msgstr ""
9691010
970#: server/lib/pages/fault.class.php:971011#: server/lib/pages/fault.class.php:100
971msgid "We will do our best to use the information collected above to solve your issue."1012msgid "We will do our best to use the information collected above to solve your issue."
972msgstr ""1013msgstr ""
9731014
974#: server/lib/pages/fault.class.php:981015#: server/lib/pages/fault.class.php:101
975msgid "However sometimes this will not be enough and you will be asked to put your Xibo installation into \"Test\" mode."1016msgid "However sometimes this will not be enough and you will be asked to put your Xibo installation into \"Test\" mode."
976msgstr ""1017msgstr ""
9771018
978#: server/lib/pages/fault.class.php:1021019#: server/lib/pages/fault.class.php:105
979msgid "Switch to Test Mode."1020msgid "Switch to Test Mode."
980msgstr ""1021msgstr ""
9811022
982#: server/lib/pages/fault.class.php:1051023#: server/lib/pages/fault.class.php:108
983msgid "Switch to Test Mode"1024msgid "Switch to Test Mode"
984msgstr ""1025msgstr ""
9851026
986#: server/lib/pages/fault.class.php:1091027#: server/lib/pages/fault.class.php:112
987msgid "Recreate the Problem in a new window and Capture a screenshot."1028msgid "Recreate the Problem in a new window and Capture a screenshot."
988msgstr ""1029msgstr ""
9891030
990#: server/lib/pages/fault.class.php:1091031#: server/lib/pages/fault.class.php:112
991msgid "You should send your screenshot to info@xibo.org.uk with a reference to the Launchpad Question/Bug you have created previously."1032msgid "You should send your screenshot to info@xibo.org.uk with a reference to the Launchpad Question/Bug you have created previously."
992msgstr ""1033msgstr ""
9931034
994#: server/lib/pages/fault.class.php:1121035#: server/lib/pages/fault.class.php:115
995msgid "Switch to Production Mode."1036msgid "Switch to Production Mode."
996msgstr ""1037msgstr ""
9971038
998#: server/lib/pages/fault.class.php:1151039#: server/lib/pages/fault.class.php:118
999msgid "Switch to Production Mode"1040msgid "Switch to Production Mode"
1000msgstr ""1041msgstr ""
10011042
@@ -1129,6 +1170,18 @@
1129msgid "Edited the MenuItem Group Security"1170msgid "Edited the MenuItem Group Security"
1130msgstr ""1171msgstr ""
11311172
1173#: server/lib/pages/help.class.php:50
1174msgid "Error getting Help Link"
1175msgstr ""
1176
1177#: server/lib/pages/help.class.php:63
1178msgid "No such help file found"
1179msgstr ""
1180
1181#: server/lib/pages/help.class.php:68
1182msgid "You must specify a help page."
1183msgstr ""
1184
1132#: server/lib/pages/index.class.php:801185#: server/lib/pages/index.class.php:80
1133msgid "Incorrect Login Information."1186msgid "Incorrect Login Information."
1134msgstr ""1187msgstr ""
@@ -1398,23 +1451,23 @@
1398msgid "Save Template"1451msgid "Save Template"
1399msgstr ""1452msgstr ""
14001453
1401#: server/lib/pages/layout.class.php:13901454#: server/lib/pages/layout.class.php:1396
1402msgid "Media Controlled"1455msgid "Media Controlled"
1403msgstr ""1456msgstr ""
14041457
1405#: server/lib/pages/layout.class.php:15251458#: server/lib/pages/layout.class.php:1536
1406msgid "Region Options"1459msgid "Region Options"
1407msgstr ""1460msgstr ""
14081461
1409#: server/lib/pages/layout.class.php:15761462#: server/lib/pages/layout.class.php:1587
1410msgid "Error getting type from a media item."1463msgid "Error getting type from a media item."
1411msgstr ""1464msgstr ""
14121465
1413#: server/lib/pages/layout.class.php:15951466#: server/lib/pages/layout.class.php:1606
1414msgid "Cannot set region information."1467msgid "Cannot set region information."
1415msgstr ""1468msgstr ""
14161469
1417#: server/lib/pages/layout.class.php:16741470#: server/lib/pages/layout.class.php:1685
1418msgid "Empty Region"1471msgid "Empty Region"
1419msgstr ""1472msgstr ""
14201473
@@ -1518,3 +1571,39 @@
1518msgid "Message"1571msgid "Message"
1519msgstr ""1572msgstr ""
15201573
1574#: server/template/header.php:99
1575msgid "Click to show more time information"
1576msgstr ""
1577
1578#: server/template/pages/content_view.php:23
1579msgid "Add Media"
1580msgstr ""
1581
1582#: server/template/pages/content_view.php:24
1583msgid "Add media to the Library"
1584msgstr ""
1585
1586#: server/template/pages/content_view.php:25
1587msgid "Filter"
1588msgstr ""
1589
1590#: server/template/pages/content_view.php:26
1591msgid "Show Filter"
1592msgstr ""
1593
1594#: server/template/pages/group_view.php:23
1595msgid "Add Group"
1596msgstr ""
1597
1598#: server/template/pages/layout_view.php:23
1599msgid "Add Layout"
1600msgstr ""
1601
1602#: server/template/pages/log_view.php:23
1603msgid "Refresh"
1604msgstr ""
1605
1606#: server/template/pages/user_view.php:23
1607msgid "Add User"
1608msgstr ""
1609
15211610
=== modified file 'server/img/Thumbs.db'
1522Binary files server/img/Thumbs.db 2008-12-14 14:42:52 +0000 and server/img/Thumbs.db 2009-05-14 19:20:44 +0000 differ1611Binary files server/img/Thumbs.db 2008-12-14 14:42:52 +0000 and server/img/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/bodys/Thumbs.db'
1523Binary files server/img/bodys/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/bodys/Thumbs.db 2009-05-14 19:20:44 +0000 differ1612Binary files server/img/bodys/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/bodys/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/dashboard/Thumbs.db'
1524Binary files server/img/dashboard/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/dashboard/Thumbs.db 2009-05-14 19:20:44 +0000 differ1613Binary files server/img/dashboard/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/dashboard/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/dialogs/Thumbs.db'
1525Binary files server/img/dialogs/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/dialogs/Thumbs.db 2009-05-14 19:20:44 +0000 differ1614Binary files server/img/dialogs/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/dialogs/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/fades/Thumbs.db'
1526Binary files server/img/fades/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/fades/Thumbs.db 2009-05-14 19:20:44 +0000 differ1615Binary files server/img/fades/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/fades/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/filterform/Thumbs.db'
1527Binary files server/img/filterform/Thumbs.db 2008-12-14 14:42:52 +0000 and server/img/filterform/Thumbs.db 2009-05-14 19:20:44 +0000 differ1616Binary files server/img/filterform/Thumbs.db 2008-12-14 14:42:52 +0000 and server/img/filterform/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/forms/Thumbs.db'
1528Binary files server/img/forms/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/forms/Thumbs.db 2009-05-14 19:20:44 +0000 differ1617Binary files server/img/forms/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/forms/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== added file 'server/img/help.png'
1529Binary files server/img/help.png 1970-01-01 00:00:00 +0000 and server/img/help.png 2009-05-14 19:20:44 +0000 differ1618Binary files server/img/help.png 1970-01-01 00:00:00 +0000 and server/img/help.png 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/login/Thumbs.db'
1530Binary files server/img/login/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/login/Thumbs.db 2009-05-14 19:20:44 +0000 differ1619Binary files server/img/login/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/login/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/logos/Thumbs.db'
1531Binary files server/img/logos/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/logos/Thumbs.db 2009-05-14 19:20:44 +0000 differ1620Binary files server/img/logos/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/logos/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== added file 'server/img/logout.gif'
1532Binary files server/img/logout.gif 1970-01-01 00:00:00 +0000 and server/img/logout.gif 2009-05-14 19:20:44 +0000 differ1621Binary files server/img/logout.gif 1970-01-01 00:00:00 +0000 and server/img/logout.gif 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/tables/Thumbs.db'
1533Binary files server/img/tables/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/tables/Thumbs.db 2009-05-14 19:20:44 +0000 differ1622Binary files server/img/tables/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/tables/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/tabs/Thumbs.db'
1534Binary files server/img/tabs/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/tabs/Thumbs.db 2009-05-14 19:20:44 +0000 differ1623Binary files server/img/tabs/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/tabs/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/titles/Thumbs.db'
1535Binary files server/img/titles/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/titles/Thumbs.db 2009-05-14 19:20:44 +0000 differ1624Binary files server/img/titles/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/titles/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/img/weather_rss/Thumbs.db'
1536Binary files server/img/weather_rss/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/weather_rss/Thumbs.db 2009-05-14 19:20:44 +0000 differ1625Binary files server/img/weather_rss/Thumbs.db 2008-12-10 23:48:58 +0000 and server/img/weather_rss/Thumbs.db 2009-05-14 19:20:44 +0000 differ
=== modified file 'server/install.php'
--- server/install.php 2009-05-13 18:57:27 +0000
+++ server/install.php 2009-05-18 21:29:47 +0000
@@ -29,10 +29,30 @@
29include('install/header.inc');29include('install/header.inc');
30include('config/config.class.php');30include('config/config.class.php');
31include('config/db_config.php');31include('config/db_config.php');
3232
33// Setup the translations for gettext33// Setup for the Translations using Gettext.
34require_once("lib/app/translationengine.class.php");34// There is normally a class that will do this for us - but it requires a DB object (which we do not have at install time)
35TranslationEngine::InitLocale($db);35// Would be nice to include a method on the TranslationEngine that did this for us - but without the debugging
36// The actual translation function __() is included later in this file.
37$langs = Kit::GetParam('HTTP_ACCEPT_LANGUAGE', $_SERVER, _STRING);
38$lang = 'en-gb'; // Default language
39$encoding = ''; // We do not seem to need an encoding, but I read somewhere that we might - left as a reminder of this.
40
41if ($langs != '')
42{
43 $langs = explode(',', $langs);
44 $lang = $langs[0];
45}
46
47// For windows
48putenv('LANG='.$lang.'.'.$encoding);
49putenv('LANGUAGE='.$lang.'.'.$encoding);
50putenv('LC_ALL='.$lang.'.'.$encoding);
51
52// Set local
53setlocale(LC_ALL, $lang.'.'.$encoding);
54
55// Translations have been setup.
3656
37$fault = false;57$fault = false;
3858
@@ -535,11 +555,6 @@
535 return ((is_writable("install.php") && (is_writable("settings.php")) && (is_writable("upgrade.php")) || is_writable(".")));555 return ((is_writable("install.php") && (is_writable("settings.php")) && (is_writable("upgrade.php")) || is_writable(".")));
536}556}
537557
538function checkPHP() {
539 # Check PHP version > 5
540 return (version_compare("5",phpversion(), "<="));
541}
542
543function checkMySQL() {558function checkMySQL() {
544 # Check PHP has MySQL module installed559 # Check PHP has MySQL module installed
545 return extension_loaded("mysql");560 return extension_loaded("mysql");
@@ -686,6 +701,29 @@
686 return $key;701 return $key;
687}702}
688703
704function checkPHP()
705{
706 return (version_compare("5.2.4",phpversion(), "<="));
707}
708
709function CheckGettext()
710{
711 return extension_loaded("gettext");
712}
713
714// Setup the translations for gettext
715function __($string)
716{
717 if (CheckGettext())
718 {
719 return _($string);
720 }
721 else
722 {
723 return $string;
724 }
725}
726
689function settings_strings() {727function settings_strings() {
690global $settings_header;728global $settings_header;
691global $settings_footer;729global $settings_footer;
@@ -717,8 +755,4 @@
717755
718 return;756 return;
719}757}
720758?>
721function checkPHP() {
722 return (version_compare("5.2.4",phpversion(), "<="));
723}
724?>
725\ No newline at end of file759\ No newline at end of file
726760
=== added file 'server/install/database/100.sql'
--- server/install/database/100.sql 1970-01-01 00:00:00 +0000
+++ server/install/database/100.sql 2009-05-14 19:20:44 +0000
@@ -0,0 +1,15 @@
1INSERT INTO `pages` (
2`pageID` ,
3`name` ,
4`pagegroupID`
5)
6VALUES (
7NULL , 'help', '2'
8);
9
10CREATE TABLE `help` (
11`HelpID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
12`Topic` VARCHAR( 254 ) NOT NULL ,
13`Category` VARCHAR( 254 ) NOT NULL DEFAULT 'General',
14`Link` VARCHAR( 254 ) NOT NULL
15) ENGINE = InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci
0\ No newline at end of file16\ No newline at end of file
117
=== modified file 'server/lib/app/app_functions.php'
--- server/lib/app/app_functions.php 2009-02-21 17:52:52 +0000
+++ server/lib/app/app_functions.php 2009-05-17 17:05:42 +0000
@@ -37,7 +37,7 @@
37 */37 */
38function setMessage($message) {38function setMessage($message) {
39 if (!isset($_SESSION['message'])) $_SESSION['message'] = "";39 if (!isset($_SESSION['message'])) $_SESSION['message'] = "";
40 $_SESSION['message'] .= "$message<br />";40 $_SESSION['message'] .= $message . ' | ';
41}41}
4242
43function displayMessage($mode = MSG_MODE_AUTO, $msg="", $show_back = true, $template = "template/pages/message_page.php") 43function displayMessage($mode = MSG_MODE_AUTO, $msg="", $show_back = true, $template = "template/pages/message_page.php")
@@ -48,7 +48,7 @@
48 case MSG_MODE_AUTO:48 case MSG_MODE_AUTO:
49 if (isset($_SESSION['message'])) 49 if (isset($_SESSION['message']))
50 {50 {
51 echo "<div class=\"highlight\">" . $_SESSION['message'] . "</div>";51 echo $_SESSION['message'];
52 unset($_SESSION['message']);52 unset($_SESSION['message']);
53 }53 }
54 break;54 break;
@@ -259,39 +259,6 @@
259 return true;259 return true;
260}260}
261261
262/**
263 * Depricate
264 * @return
265 * @param $var Object
266 * @param $purpose Object
267 * @param $db Object[optional]
268 */
269function clean_input($var, $purpose, $db = false)
270{
271 /*Cleans the $var depending on the $purpose*/
272
273 switch ($purpose)
274 {
275
276 case VAR_FOR_SQL:
277 if (!$db)
278 {
279 trigger_error("Trying to clean a var for SQL, but no DB passed", E_USER_ERROR);
280 }
281
282 if (!get_magic_quotes_gpc())
283 {
284 $var = $db->escape_string($var);
285 }
286
287 break;
288
289 }
290
291 return $var;
292}
293
294
295function sec2hms($sec, $padHours = false) 262function sec2hms($sec, $padHours = false)
296{263{
297 // holds formatted string264 // holds formatted string
@@ -606,66 +573,6 @@
606}573}
607574
608/**575/**
609 * Cleans a file name
610 * @return
611 * @param $filename String
612 */
613function cleanFilename($name)
614{
615 $name = strtolower($name);
616 $code_entities_match = array( '&quot;' ,'!' ,'@' ,'#' ,'$' ,'%' ,'^' ,'&' ,'*' ,'(' ,')' ,'+' ,'{' ,'}' ,'|' ,':' ,'"' ,'<' ,'>' ,'?' ,'[' ,']' ,'' ,';' ,"'" ,',' ,'_' ,'/' ,'*' ,'+' ,'~' ,'`' ,'=' ,' ' ,'---' ,'--','--');
617 $code_entities_replace = array('' ,'-' ,'-' ,'' ,'' ,'' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-' ,'' ,'' ,'' ,'' ,'' ,'-' ,'-' ,'-','-');
618
619 $name = str_replace($code_entities_match, $code_entities_replace, $name);
620 return $name;
621}
622
623/**
624 * Depricate
625 * @return
626 * @param $number Object
627 */
628function CleanNumber($number)
629{
630 if (!is_numeric($number))
631 {
632 header("HTTP/1.1 404 Not Found");
633 // How do I send the default apache 404 message
634 // instead of the message below?
635 print("<html><body>HTTP 404 - Possible Hack.</body></html>");
636 exit;
637 }
638 return $number;
639}
640
641/**
642 * Depricate
643 * @return
644 * @param $var Object
645 */
646function validate($var)
647{
648 $valid = true;
649
650 // Validate against XSS
651 if (strstr($var, "http")) $valid = false;
652 if (strstr($var, "www")) $valid = false;
653
654 if (eregi('[^A-Za-z0-9_]', $var)) $valid = false;
655
656 if (!$valid)
657 {
658 header("HTTP/1.1 404 Not Found");
659 // How do I send the default apache 404 message
660 // instead of the message below?
661 print("<html><body>HTTP 404 - Possible Hack.</body></html>");
662 exit;
663 }
664
665 return $var;
666}
667
668/**
669* Creates a form token576* Creates a form token
670* @return 577* @return
671*/578*/
672579
=== added file 'server/lib/app/datemanager.class.php'
--- server/lib/app/datemanager.class.php 1970-01-01 00:00:00 +0000
+++ server/lib/app/datemanager.class.php 2009-05-16 18:40:19 +0000
@@ -0,0 +1,70 @@
1<?php
2/*
3 * Xibo - Digitial Signage - http://www.xibo.org.uk
4 * Copyright (C) 2009 Daniel Garner
5 *
6 * This file is part of Xibo.
7 *
8 * Xibo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * Xibo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23class DateManager
24{
25 private $db;
26
27 public function __construct(database $db)
28 {
29 $this->db =& $db;
30 }
31
32 public function GetClock()
33 {
34 return date("H:i T");
35 }
36
37 public function GetSystemClock()
38 {
39 return gmdate("H:i T");
40 }
41
42 public function GetLocalDate($format = 'Y-m-d H:i:s', $timestamp = '')
43 {
44 $db =& $this->db;
45
46 if ($timestamp == '')
47 {
48 $timestamp = time();
49 }
50
51 Debug::LogEntry($db, 'audit', 'Converting ' . $timestamp . ' to a Local Date');
52
53 return date($format, $timestamp);
54 }
55
56 public function GetSystemDate($format = 'Y-m-d H:i:s', $timestamp = '')
57 {
58 $db =& $this->db;
59
60 if ($timestamp == '')
61 {
62 $timestamp = time();
63 }
64
65 Debug::LogEntry($db, 'audit', 'Converting ' . $timestamp . ' to a System Date');
66
67 return gmdate($format, $timestamp);
68 }
69}
70?>
0\ No newline at end of file71\ No newline at end of file
172
=== modified file 'server/lib/app/debug.class.php'
--- server/lib/app/debug.class.php 2009-02-21 17:52:52 +0000
+++ server/lib/app/debug.class.php 2009-05-18 21:37:32 +0000
@@ -22,7 +22,6 @@
2222
23class Debug23class Debug
24{24{
25
26 public function __construct()25 public function __construct()
27 {26 {
28 global $db;27 global $db;
2928
=== modified file 'server/lib/app/helpmanager.class.php'
--- server/lib/app/helpmanager.class.php 2009-03-07 23:21:15 +0000
+++ server/lib/app/helpmanager.class.php 2009-05-14 19:43:42 +0000
@@ -45,15 +45,15 @@
45 */45 */
46 public function HelpButton($location, $return = false) 46 public function HelpButton($location, $return = false)
47 {47 {
48 $db =& $this->db;48 $db =& $this->db;
49 49
50 $helpBase = Config::GetSetting($db, 'HELP_BASE');50 $location = split('/', $location);
51 51 $topic = ucfirst($location[0]);
52 $link = $helpBase . "?p=$location";52 $category = ucfirst($location[1]);
53 53
54 $button = <<<END54 $msgHelp = __('Help');
55 <input type="button" onclick="window.open('$link')" value="Help" />55
56END;56 $button = '<input type="button" class="XiboHelpButton" href="' . 'index.php?p=help&q=Display&Topic=' . $topic . '&Category=' . $category . '" value="'. $msgHelp .'" />';
57 57
58 if ($return)58 if ($return)
59 {59 {
@@ -90,5 +90,25 @@
90 return true;90 return true;
91 }91 }
92 }92 }
93
94 /**
95 * Outputs a help link
96 * @return
97 * @param $topic Object[optional]
98 * @param $category Object[optional]
99 */
100 public function Link($topic = "", $category = "General")
101 {
102 $db =& $this->db;
103 $user =& $this->user;
104
105 // if topic is empty use the page name
106 $topic = Kit::GetParam('p', _REQUEST, _WORD, $topic);
107 $topic = ucfirst($topic);
108
109 $link = 'index.php?p=help&q=Display&Topic=' . $topic . '&Category=' . $category . '';
110
111 return $link;
112 }
93}113}
94?>114?>
95115
=== modified file 'server/lib/app/translationengine.class.php'
--- server/lib/app/translationengine.class.php 2009-04-25 12:05:59 +0000
+++ server/lib/app/translationengine.class.php 2009-05-18 21:29:47 +0000
@@ -29,7 +29,7 @@
29 public static function InitLocale(database $db)29 public static function InitLocale(database $db)
30 {30 {
31 $domain = 'default';31 $domain = 'default';
32 $encoding = 'UTF8';32 $encoding = ''; // We dont seem to need an encoding
33 $config = new Config($db);33 $config = new Config($db);
34 34
35 Debug::LogEntry($db, 'audit', 'IN', 'TranslationEngine', 'InitLocal');35 Debug::LogEntry($db, 'audit', 'IN', 'TranslationEngine', 'InitLocal');
@@ -69,8 +69,6 @@
69 }69 }
70 }70 }
71 71
72 //$lang = 'fr';
73
74 // For windows72 // For windows
75 putenv('LANG='.$lang.'.'.$encoding);73 putenv('LANG='.$lang.'.'.$encoding);
76 putenv('LANGUAGE='.$lang.'.'.$encoding); 74 putenv('LANGUAGE='.$lang.'.'.$encoding);
7775
=== modified file 'server/lib/include.php'
--- server/lib/include.php 2009-04-05 13:22:21 +0000
+++ server/lib/include.php 2009-05-16 18:40:19 +0000
@@ -35,6 +35,7 @@
35require_once("lib/app/formmanager.class.php");35require_once("lib/app/formmanager.class.php");
36require_once("lib/app/helpmanager.class.php");36require_once("lib/app/helpmanager.class.php");
37require_once("lib/app/responsemanager.class.php");37require_once("lib/app/responsemanager.class.php");
38require_once("lib/app/datemanager.class.php");
38require_once("lib/app/app_functions.php");39require_once("lib/app/app_functions.php");
39require_once("lib/modules/module.interface.php");40require_once("lib/modules/module.interface.php");
40require_once("lib/modules/module.class.php");41require_once("lib/modules/module.class.php");
4142
=== modified file 'server/lib/js/core.js'
--- server/lib/js/core.js 2009-02-23 19:48:15 +0000
+++ server/lib/js/core.js 2009-05-14 19:43:42 +0000
@@ -30,6 +30,17 @@
30 bgiframe: true,30 bgiframe: true,
31 autoOpen: false31 autoOpen: false
32 }).parent().parent().css("z-index", "300");32 }).parent().parent().css("z-index", "300");
33
34 // Setup the dialogs
35 $('#help_dialog').dialog({
36 title: "Xibo Help",
37 width: "500px",
38 height: "240px",
39 draggable: true,
40 resizable: false,
41 bgiframe: true,
42 autoOpen: false
43 }).parent().parent().css("z-index", "300");
33 44
34 $('#system_message').dialog({45 $('#system_message').dialog({
35 title: "Application Message",46 title: "Application Message",
@@ -117,6 +128,16 @@
117 128
118 return false;129 return false;
119 });130 });
131
132 // Search for any help enabled elements
133 $(scope + " .XiboHelpButton").click(function(){
134
135 var formUrl = $(this).attr("href");
136
137 XiboHelpRender(formUrl);
138
139 return false;
140 });
120}141}
121142
122/**143/**
@@ -343,6 +364,80 @@
343}364}
344365
345/**366/**
367 * Renders the formid provided
368 * @param {String} formId
369 */
370function XiboHelpRender(formUrl) {
371
372 // Prepare the Dialog
373 $('#help_dialog').dialog("close");
374 $('#help_dialog').html("");
375
376 // Call with AJAX
377 $.ajax({
378 type: "get",
379 url: formUrl + "&ajax=true",
380 cache: false,
381 dataType: "json",
382 success: function(response){
383
384 // Was the Call successful
385 if (response.success) {
386 // Set the dialog HTML to be the response HTML
387 $('#help_dialog').html(response.html);
388
389 // Is there a title for the dialog?
390 if (response.dialogTitle != undefined && response.dialogTitle != "") {
391 // Set the dialog title
392 $('#help_dialog').parent().children().each(function(){
393 $(".ui-dialog-title", this).html(response.dialogTitle);
394 });
395 }
396
397 // Do we need to alter the dialog size?
398 if (response.dialogSize) {
399 $('#help_dialog').parent().parent().width(response.dialogWidth).height(response.dialogHeight);
400 }
401
402 // Do we have to call any functions due to this success?
403 if (response.callBack != "" && response.callBack != undefined) {
404 eval(response.callBack)(name);
405 }
406
407 $('#help_dialog').dialog("open");
408
409 // Focus in the first form element
410 $('input[@type=text]', '#help_dialog').eq(0).focus();
411
412 // Call Xibo Init for this form
413 XiboInitialise("#help_dialog");
414 }
415 else {
416 // Login Form needed?
417 if (response.login) {
418 LoginBox(response.message);
419 return false;
420 }
421 else {
422 // Just an error we dont know about
423 if (response.message == undefined) {
424 SystemMessage(response);
425 }
426 else {
427 SystemMessage(response.message);
428 }
429 }
430 }
431
432 return false;
433 }
434 });
435
436 // Dont then submit the link/button
437 return false;
438}
439
440/**
346 * Display a login box441 * Display a login box
347 * @param {String} message442 * @param {String} message
348 */443 */
349444
=== added file 'server/lib/pages/clock.class.php'
--- server/lib/pages/clock.class.php 1970-01-01 00:00:00 +0000
+++ server/lib/pages/clock.class.php 2009-05-17 17:05:42 +0000
@@ -0,0 +1,72 @@
1<?php
2/*
3 * Xibo - Digitial Signage - http://www.xibo.org.uk
4 * Copyright (C) 2009 Daniel Garner
5 *
6 * This file is part of Xibo.
7 *
8 * Xibo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * Xibo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23class clockDAO
24{
25 private $db;
26 private $user;
27
28 function __construct(database $db, user $user)
29 {
30 $this->db =& $db;
31 $this->user =& $user;
32
33 }
34
35 function displayPage()
36 {
37 return false;
38 }
39
40 function on_page_load()
41 {
42 return '';
43 }
44
45 function echo_page_heading()
46 {
47 return true;
48 }
49
50 /**
51 * Shows the Time Information
52 * @return
53 */
54 function ShowTimeInfo()
55 {
56 $db =& $this->db;
57 $response = new ResponseManager();
58 $datemanager = new DateManager($db);
59
60 $output = '<h3>' . __('System Information') . '</h3>';
61 $output .= '<ul>';
62 $output .= '<li>' . __('Local Time') . ': ' . $datemanager->GetClock() . '</li>';
63 $output .= '<li>' . __('System Time') . ': ' . $datemanager->GetSystemClock() . '</li>';
64 $output .= '<li>' . __('Local Date') . ': ' . $datemanager->GetLocalDate('Y-m-d H:i:s') . '</li>';
65 $output .= '<li>' . __('System Date') . ': ' . $datemanager->GetSystemDate('Y-m-d H:i:s') . '</li>';
66 $output .= '</ul>';
67
68 $response->SetFormRequestResponse($output, __('Date / Time Information'), '480px', '240px');
69 $response->Respond();
70 }
71}
72?>
0\ No newline at end of file73\ No newline at end of file
174
=== modified file 'server/lib/pages/fault.class.php'
--- server/lib/pages/fault.class.php 2009-04-29 19:31:19 +0000
+++ server/lib/pages/fault.class.php 2009-05-17 17:05:42 +0000
@@ -57,6 +57,9 @@
57 $output = '';57 $output = '';
58 58
59 $config = new Config($db);59 $config = new Config($db);
60
61 $output .= '<h2>' . __('Report a fault with Xibo') . '</h2>';
62 $output .= '<p>' . __('Before reporting a fault it would be appreciated if you follow the below steps.') . '</p>';
6063
61 $output .= '<div class="ReportFault">'; 64 $output .= '<div class="ReportFault">';
62 $output .= '<ol>'; 65 $output .= '<ol>';
6366
=== added file 'server/lib/pages/help.class.php'
--- server/lib/pages/help.class.php 1970-01-01 00:00:00 +0000
+++ server/lib/pages/help.class.php 2009-05-14 19:20:44 +0000
@@ -0,0 +1,118 @@
1<?php
2/*
3 * Xibo - Digitial Signage - http://www.xibo.org.uk
4 * Copyright (C) 2009 Daniel Garner
5 *
6 * This file is part of Xibo.
7 *
8 * Xibo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * Xibo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23class helpDAO
24{
25 private $db;
26 private $user;
27 private $helpLink;
28
29 function __construct(database $db, user $user)
30 {
31 $this->db =& $db;
32 $this->user =& $user;
33
34 $topic = Kit::GetParam('Topic', _REQUEST, _WORD);
35 $category = Kit::GetParam('Category', _REQUEST, _WORD, 'General');
36
37 if ($topic != '')
38 {
39 Debug::LogEntry($db, 'audit', 'Help requested for Topic = ' . $topic);
40
41 // Look up this help topic / category in the db
42 $SQL = "SELECT Link FROM help WHERE Topic = '%s' and Category = '%s'";
43 $SQL = sprintf($SQL, $db->escape_string($topic), $db->escape_string($category));
44
45 Debug::LogEntry($db, 'audit', $SQL);
46
47 if(!$results = $db->query($SQL))
48 {
49 trigger_error($db->error());
50 trigger_error(__('Error getting Help Link'), E_USER_ERROR);
51 }
52
53 if ($db->num_rows($results) != 0)
54 {
55 $row = $db->get_row($results);
56 $link = $row[0];
57
58 // Store the link for the requested help page
59 $this->helpLink = $link;
60 }
61 else
62 {
63 trigger_error(__('No such help file found'), E_USER_ERROR);
64 }
65 }
66 else
67 {
68 trigger_error(__('You must specify a help page.'), E_USER_ERROR);
69 }
70
71 return true;
72 }
73
74 /**
75 * Displays the particular help subject / page
76 * @return
77 */
78 function Display()
79 {
80 $response = new ResponseManager();
81 $helpLink = $this->helpLink;
82
83 $out = '<iframe src="' . $helpLink . '" width="770" height="600"></iframe>';
84
85 $response->SetFormRequestResponse($out, __('Help'), '800px', '650px');
86 $response->Respond();
87
88 return true;
89 }
90
91 /**
92 * No display page functionaility
93 * @return
94 */
95 function displayPage()
96 {
97 return false;
98 }
99
100 /**
101 * No onload
102 * @return
103 */
104 function on_page_load()
105 {
106 return '';
107 }
108
109 /**
110 * No page heading
111 * @return
112 */
113 function echo_page_heading()
114 {
115 return true;
116 }
117}
118?>
0\ No newline at end of file119\ No newline at end of file
1120
=== modified file 'server/lib/pages/module.class.php'
--- server/lib/pages/module.class.php 2009-04-26 17:28:25 +0000
+++ server/lib/pages/module.class.php 2009-05-14 19:20:44 +0000
@@ -113,7 +113,7 @@
113 */113 */
114 function GetImage()114 function GetImage()
115 {115 {
116 $db =& $this->db;116 $db =& $this->db;
117 117
118 $file = Kit::GetParam('file', _REQUEST, _STRING);118 $file = Kit::GetParam('file', _REQUEST, _STRING);
119 $dynamic = isset($_REQUEST['dynamic']);119 $dynamic = isset($_REQUEST['dynamic']);
120120
=== modified file 'server/template/css/presentation.css'
--- server/template/css/presentation.css 2009-01-04 12:59:11 +0000
+++ server/template/css/presentation.css 2009-05-14 19:20:44 +0000
@@ -287,7 +287,7 @@
287}287}
288288
289#headerback {289#headerback {
290 float: left;290 float: right;
291}291}
292292
293#contentwrap {293#contentwrap {
294294
=== modified file 'server/template/css/xibo.css'
--- server/template/css/xibo.css 2009-03-22 17:58:21 +0000
+++ server/template/css/xibo.css 2009-05-17 17:05:42 +0000
@@ -34,6 +34,10 @@
34 padding-right: 15px;34 padding-right: 15px;
35}35}
3636
37#headerback, #headerback a {
38 color: #003399;
39}
40
37.FilterDiv {41.FilterDiv {
38 display: none;42 display: none;
39}43}
@@ -41,3 +45,12 @@
41.ReportFault ol li {45.ReportFault ol li {
42 display: list-item;46 display: list-item;
43}47}
48
49.HelpLink {
50 float:right;
51}
52
53.HelpLink a {
54 padding-left: 10px;
55 padding-right: 10px;
56}
4457
=== modified file 'server/template/footer.php'
--- server/template/footer.php 2009-01-24 18:54:42 +0000
+++ server/template/footer.php 2009-05-14 19:43:42 +0000
@@ -32,6 +32,7 @@
32</div>32</div>
3333
34<div id="div_dialog"></div>34<div id="div_dialog"></div>
35<div id="help_dialog"></div>
3536
36</div> <!-- Ends the content div -->37</div> <!-- Ends the content div -->
37</div> <!-- Ends contentwrap div -->38</div> <!-- Ends contentwrap div -->
3839
=== modified file 'server/template/header.php'
--- server/template/header.php 2009-02-22 19:13:38 +0000
+++ server/template/header.php 2009-05-17 17:05:42 +0000
@@ -36,6 +36,11 @@
36{36{
37 $homepageName = substr($homepage, 0, strpos($homepage, '&')); 37 $homepageName = substr($homepage, 0, strpos($homepage, '&'));
38}38}
39
40$help = new HelpManager($db, $user);
41$helpLink = $help->Link();
42
43$datemanager = new DateManager($db);
39 44
40?>45?>
41<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">46<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -87,10 +92,15 @@
87 <div id="container">92 <div id="container">
88 <div id="headercontainer">93 <div id="headercontainer">
89 <div id="header"></div>94 <div id="header"></div>
90 <div id="headerback">95 <div class="SecondNav" id="headerback">
91 <h5>Welcome back <?php echo $username; ?>.</h5>96 <ul>
97 <?php displayMessage(); ?>
98 <li><?php echo $username; ?></li>
99 <li><a class="XiboFormButton" href="index.php?p=clock&q=ShowTimeInfo" title="<?php echo __('Click to show more time information'); ?>"><?php echo $datemanager->GetClock(); ?></a></li>
100 <li><a title="Show <?php echo ucfirst($p); ?> Help" class="XiboHelpButton" href="<?php echo $helpLink; ?>">Help</a></li>
101 <li><a title="Logout" href="index.php?q=logout">Logout</a></li>
102 </ul>
92 </div>103 </div>
93 <?php displayMessage(); ?>
94 </div>104 </div>
95 <div id="navigation">105 <div id="navigation">
96 <ul id="nav">106 <ul id="nav">
@@ -146,7 +156,6 @@
146 }156 }
147 }157 }
148 ?>158 ?>
149 <li><a href="index.php?q=logout">Log out</a></li>
150 </ul>159 </ul>
151 </div>160 </div>
152 <div id="contentwrap">161 <div id="contentwrap">
153162
=== modified file 'server/template/pages/content_view.php'
--- server/template/pages/content_view.php 2009-01-25 20:08:32 +0000
+++ server/template/pages/content_view.php 2009-05-17 17:05:42 +0000
@@ -20,6 +20,11 @@
20 */ 20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
2222
23$msgMedia = __('Add Media');
24$msgMediaDet = __('Add media to the Library');
25$msgFilter = __('Filter');
26$msgShowFilter = __('Show Filter');
27
23?>28?>
24<div id="form_container">29<div id="form_container">
25 <div id="form_header">30 <div id="form_header">
@@ -33,61 +38,10 @@
33 <div class="SecondNav">38 <div class="SecondNav">
34 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->39 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
35 <ul>40 <ul>
36 <li><a title="Add media to the Library" class="XiboFormButton" href="index.php?p=content&q=displayForms&sp=add" ><span>Add Media</span></a></li>41 <li><a title="<?php echo $msgMediaDet; ?>" class="XiboFormButton" href="index.php?p=content&q=displayForms&sp=add" ><span><?php echo $msgMedia; ?></span></a></li>
37 <li><a title="Show User Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>42 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('LibraryFilter')"><span><?php echo $msgFilter; ?></span></a></li>
38 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('LibraryFilter')"><span>Filter</span></a></li>
39 </ul>43 </ul>
40 </div>44 </div>
41 <div id="notes" style="display:none;">
42 <h4>Content Help <a href="http://www.xibo.org.uk/manual/index.php?p=content/content/overview" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
43 <div id="helptabs">
44 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
45 <li><a href="#add_help_div" class="help_tab"><span>Add/Edit</span></a></li>
46 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
47 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
48 </ul>
49
50 <div id="add_help_div">
51 <h5>What is content?</h5>
52 <p>Xibo uses content to on layotus. The content library is a store of all the content that
53 has been used on layouts in the past, and content to be used on new layouts.</p>
54
55 <h5>When should content be added?</h5>
56 <p>From this content library page, content should be added before it is needed. However
57 content can also be added when creating layouts using the layout designer.</p>
58
59 <h5>To add content</h5>
60 <p>Click on the top left hand "Add Content" button. The form presented has 5 content options as
61 tabs across the top. To select the appropriate type of content click on the tab required. Enter the details
62 in this form. All required fields are marked with a *.</p>
63
64 <h5>To edit content</h5>
65 <p>Click on the "Edit" button in the action column.<br />
66 <strong>Note:</strong> If there is no edit button then you do not
67 have permission to edit that content.</p>
68
69 </div>
70 <div id="tips_div">
71 <p>A content item is piece of media that you wish to display. This can be may different types of media, such as Videos, Flash animations, RSS feeds, Pictures and more.</p>
72 <p>The table comprises of all the content items that you have uploaded or created. You can also see any other content items that a user has shared within this table</p>
73 <p>You can use the filter form to search for the content item that you would like to modify.</p>
74 <p>Xibo does it's best to auto complete items information, but depending on the source this information may not be available.</p>
75 <p>Xibo's media support will be constantly expanding to cater for more functionality.<p>
76 </div>
77 <div id="terms_div">
78 <p><strong>Content</strong> is used to define the different items that can be added to the database. This can be in the form of media files, websites, RSS files etc..</p>
79 <p><strong>WMV</strong> stands for Windows Media Video files. These files allow full motion video to be shown on your display</p>
80 <p><strong>JPG</strong> is the common type of file used for still photos</p>
81 <p><strong>PPT</strong> Powerpoint files can also be media types. If you wish to set an automated powerpoint presentation to display all your slides you must configure this prior to upload. Powerpoint
82 support is only available under Internet Explorer and with client machines that have MS Office installed.</p>
83 <p><strong>SWF</strong> these are flash animation files.</p>
84 <p><strong>RSS</strong> you can set an RSS news feed to be displayed. You can also add styling so your information has extra visual impact.</p>
85 <p><strong>URL</strong> this will take a live website and display it on the screen</p>
86 <p><strong>Text</strong> text can be used to add information or notes to your display. These can have a style associated with them.</p>
87 </div>
88 </div>
89 </div>
90
91 <?php $this->LibraryFilter(); ?>45 <?php $this->LibraryFilter(); ?>
9246
93 </div> 47 </div>
9448
=== modified file 'server/template/pages/fault_view.php'
--- server/template/pages/fault_view.php 2009-03-22 12:06:30 +0000
+++ server/template/pages/fault_view.php 2009-05-17 17:05:42 +0000
@@ -30,8 +30,6 @@
30 <div class="SecondNav">30 <div class="SecondNav">
31 31
32 </div>32 </div>
33 <h2>Report a fault with Xibo</h2>
34 <p>Before reporting a fault it would be appreciated if you follow the below steps.</p>
35 <?php $this->ReportForm(); ?>33 <?php $this->ReportForm(); ?>
36 </div>34 </div>
37 35
3836
=== modified file 'server/template/pages/group_view.php'
--- server/template/pages/group_view.php 2009-01-24 19:11:18 +0000
+++ server/template/pages/group_view.php 2009-05-17 17:05:42 +0000
@@ -19,6 +19,11 @@
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */ 20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23$msgGroup = __('Add Group');
24$msgFilter = __('Filter');
25$msgShowFilter = __('Show Filter');
26
22?>27?>
2328
24<div id="form_container">29<div id="form_container">
@@ -33,46 +38,10 @@
33 <div class="SecondNav">38 <div class="SecondNav">
34 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->39 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
35 <ul>40 <ul>
36 <li><a title="Add a new Group" class="XiboFormButton" href="index.php?p=group&q=GroupForm" ><span>Add Group</span></a></li>41 <li><a title="<?php echo $msgGroup; ?>" class="XiboFormButton" href="index.php?p=group&q=GroupForm" ><span><?php echo $msgGroup; ?></span></a></li>
37 <li><a title="Show Layout Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>42 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('GroupFilter')"><span><?php echo $msgFilter; ?></span></a></li>
38 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('GroupFilter')"><span>Filter</span></a></li>
39 </ul>43 </ul>
40 </div>44 </div>
41 <div id="notes" style="display:none;">
42 <h4>Group Help <a alt="The Manual" target="_blank" href="manual/index.php?p=content/users/groups">(Click for Manual)</a></h4>
43 <div id="helptabs">
44 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
45 <li><a href="#add_div" class="help_tab"><span>Adding</span></a></li>
46 <li><a href="#edit_div" class="help_tab"><span>Edit</span></a></li>
47 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
48 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
49 </ul>
50 <div id="add_div">
51 <h5>Adding a Group</h5>
52 <p>To add a group click on the "Add Group" button found at the top left of this page.</p>
53
54 <h5>When should a group be added?</h5>
55 <p>A group should be added when there is a new set of components required for a particular group of users.
56 It could be that you want certain users to only have access to certain components or that certain users
57 shouldnt be able to share their content, playlists and schedules with each other.</p>
58 </div>
59 <div id="edit_div">
60 <h5>Edit a Group</h5>
61 <p>To edit a group click on the edit button on the row belonging to the group you wish to edit.</p>
62
63 <h5>Group / Component Security</h5>
64 <p>When editing a group the components that are assigned / unassigned to that group are show. These
65 determine the permissions of the users belonging to that group.</p>
66 </div>
67 <div id="tips_div">
68 <p>You should always have at least one group.</p>
69 </div>
70 <div id="terms_div">
71 <p><strong>Name</strong> is a unique identifier for a group.</p>
72 <p><strong>Components</strong> refer to parts of Xibo, e.g. Content, or Playlists.</p>
73 </div>
74 </div>
75 </div>
76 <?php $this->GroupGrid(); ?>45 <?php $this->GroupGrid(); ?>
77</div>46</div>
78 47
7948
=== modified file 'server/template/pages/layout_view.php'
--- server/template/pages/layout_view.php 2009-01-24 18:54:42 +0000
+++ server/template/pages/layout_view.php 2009-05-17 17:05:42 +0000
@@ -17,7 +17,13 @@
17 *17 *
18 * You should have received a copy of the GNU Affero General Public License18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */ 20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23$msgLayout = __('Add Layout');
24$msgFilter = __('Filter');
25$msgShowFilter = __('Show Filter');
26
21?>27?>
22<div id="form_container">28<div id="form_container">
23 <div id="form_header">29 <div id="form_header">
@@ -29,84 +35,10 @@
29 <div class="SecondNav">35 <div class="SecondNav">
30 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->36 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
31 <ul>37 <ul>
32 <li><a title="Add a new Layout" class="XiboFormButton" href="index.php?p=layout&q=displayForm" ><span>Add Layout</span></a></li>38 <li><a title="<?php echo $msgLayout; ?>" class="XiboFormButton" href="index.php?p=layout&q=displayForm" ><span><?php echo $msgLayout; ?></span></a></li>
33 <li><a title="Show Layout Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>39 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('LayoutFilter')"><span><?php echo $msgFilter; ?></span></a></li>
34 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('LayoutFilter')"><span>Filter</span></a></li>
35 </ul>40 </ul>
36 </div>41 </div>
37 <div id="notes" style="display:none;">
38 <h4>Layout Help <a href="http://www.xibo.org.uk/manual/index.php?p=content/layout/overview" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
39 <div id="helptabs">
40 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
41 <li><a href="#add_div" class="help_tab"><span>Add/Edit</span></a></li>
42 <li><a href="#design_div" class="help_tab"><span>Design</span></a></li>
43 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
44 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
45 </ul>
46
47 <div id="add_div">
48 <h5>When to add a layout, and when to design an existing one?</h5>
49 <p>A Layout should be added when you have some <strong>new</strong> content you want shown together on a different background
50 or for a different screen type.<br />
51 To add to content that is already on a layout and being shown together on the display network you should design the layout.</p>
52
53 <h5>To add a Layout</h5>
54 <p>To add a layout click on the Add Layout button (green plus sign). A form will appear - enter the details
55 in this form. All required fields are marked with a *.</p>
56
57 <h5>To edit a Layout</h5>
58 <p>To edit a layout use the fitler or page navigation buttons to find it in the table list and then click the
59 edit button found in the action column. <br />
60 <strong>Note:</strong> If there is no edit button then you do not
61 have permission to edit that layout.</p>
62
63 <h5>For adding and editing</h5>
64 <p>The layout name be unique - you cannot have two layouts with the same name. <br />
65 The description field is for any more information.<br />
66 The Shared option determines which other Xibo users can use this layout.</p>
67 </div>
68 <div id="design_div">
69 <h5>Designing a Layout</h5>
70 <p>Designing a layout involves adding regions and content to it. Layouts can have many types of content -
71 content from the library (media, text, rss, etc) or content specific to the layout (tickers, text, webpages).</p>
72
73 <h5>When should I design a layout?</h5>
74 <p>Layouts should be designed either just after they have been created, or whenever content needs to
75 be added or changed.</p>
76 </div>
77 <div id="tips_div">
78 <h5>What is a layout?</h5>
79 <p>A layout is the concept used to group together content items into a visual style so that they can be
80 scheduled for a display to show. A layout allows you to create slides which display your content.
81 A layout can be made up of multiple regions, holding your media items. The table below shows you all the
82 layouts that you have created along with any others that have been shared by other users on the system.</p>
83
84 <h5>The other buttons</h5>
85 <p>The action buttons allow you to edit that layout and media.</p>
86
87 <h5>Filter Form and Data table</h5>
88 <p>You can use the filter form to search for the layout that you would like to work on. Altering values
89 in the filter form will alter the layouts shown in the data table below.</p>
90 <p>The table headings can be used to sort the data table. Clicking on a heading will sort the table by that
91 heading. This can be done in conjunction with a filtered search. Holding down the shift key while
92 sorting on headings will progressively sort the data table.</p>
93 <p><strong>E.g.</strong> Select Shared "Public" from the filter form, and then click on the description data
94 table heading. The data table is now only showing the "Public" playlists sorted by description.</p>
95 </div>
96 <div id="terms_div">
97 <p><strong>Name</strong> is the name of the layout that was assigned when it was created. This can be edited by clicking
98 on the edit action button in the table</p>
99 <p><strong>Description</strong> provides information about the layout. This can be edited by clicking on the edit action
100 button in the table</p>
101 <p><strong># Slides</strong> indicates the number of slides on the layout.</p>
102 <p><strong>h:mi:ss</strong> this gives you the runtime of the playlist.</p>
103 <p><strong>Shared</strong> this states whether a playlist has been made public or private. Public layouts are
104 accesible for all users to schedule where as private playlists can only be scheduled by yourself or an administrator</p>
105 <p><strong>Ownership</strong> states the user who has created the layout</p>
106 <p><strong>Action</strong> provides buttons for the actions that are available to you for each layout you own.</p>
107 </div>
108 </div>
109 </div>
110 <?php $this->LayoutFilter(); ?> 42 <?php $this->LayoutFilter(); ?>
111 </div> 43 </div>
112 44
@@ -116,5 +48,4 @@
116 <div id="form_footer_right">48 <div id="form_footer_right">
117 </div>49 </div>
118 </div>50 </div>
119</div>
120
121\ No newline at end of file51\ No newline at end of file
52</div>
122\ No newline at end of file53\ No newline at end of file
12354
=== modified file 'server/template/pages/log_view.php'
--- server/template/pages/log_view.php 2009-02-08 12:49:24 +0000
+++ server/template/pages/log_view.php 2009-05-17 17:05:42 +0000
@@ -19,6 +19,10 @@
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22
23$msgRefresh = __('Refresh');
24$msgFilter = __('Filter');
25$msgShowFilter = __('Show Filter');
22?>26?>
23<div id="form_container">27<div id="form_container">
24 <div id="form_header">28 <div id="form_header">
@@ -32,36 +36,10 @@
32 <div class="SecondNav">36 <div class="SecondNav">
33 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->37 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
34 <ul>38 <ul>
35 <li><a title="Show Sessions Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>39 <li><a title="<?php echo $msgRefresh; ?>" href='#' onclick="XiboGridRender('LogGridId')"><span><?php echo $msgRefresh; ?></span></a></li>
36 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('LogFilter')"><span>Filter</span></a></li>40 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('LogFilter')"><span><?php echo $msgFilter; ?></span></a></li>
37 <li><a title="Refresh the Results" href='#' onclick="XiboGridRender('LogGridId')"><span>Refresh</span></a></li>
38 </ul>41 </ul>
39 </div>42 </div>
40
41 <div id="notes" style="display:none;">
42 <h4>Error Log Help</h4>
43 <div id="helptabs">
44
45 <ul id="help" class="tabs-nav">
46 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
47 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
48 </ul>
49
50 <div id="tips_div">
51 <p>The error log is used to help troubleshoot problems with Xibo. When you encounter an error it will be logged
52 and listed in the system here. These error messages can help the xstreamedia team solve your problem.</p>
53 <p>Truncating the log helps you to troubleshoot a problem by clearing the current error messages</p>
54 <p>The page and sub page items helps locate where the error has been generated from.</p>
55 </div>
56
57 <div id="terms_div">
58 <p><strong>Log Date</strong> states the date and time the error message was logged.</p>
59 <p><strong>Page</strong> states the page that the error has been generated from.</p>
60 <p><strong>Sub Page</strong> states the sub page that the error message has been generated from.</p>
61 <p><strong>Message</strong> gives details of what error has occurred in the system.</p>
62 </div>
63 </div>
64 </div>
65 <?php $this->LogFilter(); ?> 43 <?php $this->LogFilter(); ?>
66 </div>44 </div>
67 45
6846
=== modified file 'server/template/pages/schedule_month_view.php'
--- server/template/pages/schedule_month_view.php 2009-02-15 12:54:04 +0000
+++ server/template/pages/schedule_month_view.php 2009-05-14 19:36:36 +0000
@@ -32,95 +32,6 @@
32 <div class="leftbuttons">32 <div class="leftbuttons">
33 <div class="buttons">33 <div class="buttons">
34 <a id="whatson_button" class="XiboFormButton" href="index.php?p=schedule&q=WhatsOn"><div class="button_text">Broadcasting</div></a>34 <a id="whatson_button" class="XiboFormButton" href="index.php?p=schedule&q=WhatsOn"><div class="button_text">Broadcasting</div></a>
35 <a id="help_button" href="#" onclick="toggle_div_view('notes')"><div class="button_text">Help</div></a>
36 </div>
37
38 <div id="notes" style="display:none;">
39 <h4>Schedule Help <a href="http://www.xibo.org.uk/manual/index.php?p=content/schedule/overview" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
40 <div id="helptabs">
41 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
42 <li><a href="#cal_div" class="help_tab"><span>Calendar</span></a></li>
43 <li><a href="#dayview_div" class="help_tab"><span>Add/Edit</span></a></li>
44 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
45 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
46 </ul>
47
48 <div id="cal_div">
49 <h5>Xibo Calendar</h5>
50 <p>All scheduling in Xibo can be viewed through the calendar. It shows when playlists are scheduled and on which displays.</p>
51
52 <h5>Navigating</h5>
53 <p><strong>Dates</strong>: The calendar months can be navigated using the Prev and Next links. They are either side of
54 the current month/year indicator and the top of the calendar.</p>
55
56 <p><strong>Add</strong>: Events can be added by either <br />
57 a) Clicking the heading for a particular day <br />
58 b) Double clicking within the day cell <br />
59 Either method will open the Add Event form
60 </p>
61 <p>
62 <strong>Edit</strong>: Events can be edited by clicking on the event. This will open up the Edit Event form
63 </p>
64
65 <h5>Deleting</h5>
66 <p>To delete an event first click on the event, and then press the delete button on the "Edit Event" form that opened.</p>
67
68 <h5>Changing Displays</h5>
69 <p>To change displays click on the required display screen above the calendar.</p>
70
71 </div>
72 <div id="dayview_div">
73 <h5>Opening the Add/Edit form</h5>
74 <p>See the "Calendar" section on Navigating for how to open the add/edit form</p>
75
76 <h5>Event Details</h5>
77 <p>The event details part of this form is found on the upper section. It features start and end dates,
78 playlist selections and display selections.</p>
79
80 <p>To pick the correct date and time for start and end time click on the calendar icon next to the field and
81 and calendar selector will open.</p>
82
83 <p>If you selected the hours from the day page these will have been autopoulated for you to adjust.</p>
84
85 <p>You can choose the playlist that you wish to display in this slot from the dropdown menu. This
86 list provides you with all the playlists that you have created or have permission to add to the schedule.</p>
87
88 <p>The "Save" button will save this event to Xibo with the data entered on the form.</p>
89
90 <p>If editing an event the delete button will also be present, allowing the event to be deleted.</p>
91
92 <h5>Recurrence</h5>
93 <p>The Xibo scheduler features the ability to create recurring events, for example Playlist 1 shown between 10 and 11
94 every day for the next two weeks.</p>
95
96 <p>To set recurrence for events select the required "Repeats" value from the list and the appropriate additional fields
97 will be revealed. Select as appropriate.</p>
98
99 <h5>Day View</h5>
100 <p>The day view allows you to see everything that is happening on a display for that day. It gives a far
101 greater degree of information than the calendar month view. This visualisation makes it easy to see when
102 events will overlap and share time on the screen.</p>
103
104 <p>There are a number of additional features for the day view.<br />
105 Firstly events shown on the day view can be loaded into the form for editing by clicking on the blocked out time.<br />
106 Secondly new events can be added by clicking on start and end times in the last row - and then add new. The start and end
107 times will be preloaded in the form that appears.</p>
108 </div>
109 <div id="tips_div">
110 <p>The month view allows you to see all the playlists that have been scheduled on the screen that is highlighted.</p>
111 <p>Double clicking in day items section allows you to schedule an event for the whole day quickly.</p>
112 <p>You can change which display you are looking at by clicking the relevent display at the top of the page.</p>
113 <p>You can edit a specific event directly by clicking on it.</p>
114 </div>
115 <div id="terms_div">
116 <p><strong>Day View</strong> provides a table of the hours within that day for the display specified.</p>
117 <p><strong>Start time</strong> states the time at which the content has been scheduled</p>
118 <p><strong>End time</strong> states the time at whcih the content will cease being shown</p>
119 <p><strong>Day Tab</strong> refers to the blue section of each day on the view.</p>
120 <p><strong>Day Items</strong> refers to the area of the day that lists what's being shown</p>
121 <p><strong>What's On</strong> provides full details of the playlists being displayed on each display on the system.</p>
122 </div>
123 </div>
124 </div> 35 </div>
125 </div>36 </div>
126 <div id="displaybuttons">37 <div id="displaybuttons">
12738
=== modified file 'server/template/pages/sessions_view.php'
--- server/template/pages/sessions_view.php 2009-02-08 12:49:24 +0000
+++ server/template/pages/sessions_view.php 2009-05-17 17:05:42 +0000
@@ -20,6 +20,8 @@
20 */20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
2222
23$msgFilter = __('Filter');
24$msgShowFilter = __('Show Filter');
23?>25?>
24<div id="form_container">26<div id="form_container">
25 <div id="form_header">27 <div id="form_header">
@@ -33,23 +35,9 @@
33 <div class="SecondNav">35 <div class="SecondNav">
34 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->36 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
35 <ul>37 <ul>
36 <li><a title="Show Sessions Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>38 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('SessionFilter')"><span><?php echo $msgFilter; ?></span></a></li>
37 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('SessionFilter')"><span>Filter</span></a></li>
38 </ul>39 </ul>
39 </div>40 </div>
40 <div id="notes" style="display:none;">
41 <h4>Sessions Help</h4>
42 <div id="helptabs">
43 <ul id="help" class="tabs-nav">
44 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
45 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
46 </ul>
47 <div id="tips_div">
48 <p>Reports provide details of users that are currently on the system.</p>
49 </div>
50 <div id="terms_div"></div>
51 </div>
52 </div>
53 <?php $this->SessionFilter(); ?>41 <?php $this->SessionFilter(); ?>
54 </div>42 </div>
55 43
5644
=== modified file 'server/template/pages/settings_view.php'
--- server/template/pages/settings_view.php 2008-12-13 13:44:03 +0000
+++ server/template/pages/settings_view.php 2009-05-14 19:36:36 +0000
@@ -29,44 +29,7 @@
29 </div>29 </div>
30 30
31 <div id="form_body">31 <div id="form_body">
32 <div class="leftbuttons">32 <div class="leftbuttons"></div>
33 <div class="buttons">
34 <a id="help_button" href="#" onclick="toggle_div_view('notes')"><div class="button_text">Help</div></a>
35 </div>
36
37 <div id="notes" style="display:none;">
38 <h4>Settings Help <a href="http://www.xibo.org.uk/manual/index.php?p=content/config/settings" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
39 <div id="helptabs">
40 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
41 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
42 <li><a href="#terms_div" class="help_tab"><span>Tabs</span></a></li>
43 </ul>
44
45 <div id="tips_div">
46 <p>This page provides you with all the settings options to configure Xibo to your environment. Each tab provides a set of forms
47 where you can alter default settings and paths.</p>
48 <p>The items in the boxes provide you with details of your PHP settings on the server with Xibo installed.</p>
49 <p>Settings should only be modified by the administrator of the system, as incorrect settings could cause system
50 stablility issues.</p>
51 </div>
52 <div id="terms_div">
53 <p><strong>Content</strong> this tab allows you to set default content item settings, such as a default lenght and ratio. This
54 helps Xibo if the file does not contain duration information.</p>
55 <p><strong>Default</strong> settings sets the default options on some forms to always appear and be applied unless altered. You can also change
56 your time zone in this section.</p>
57 <p><strong>Error</strong> tab allows you to alter how Xibo handles errors. You can assign a mailbox to send errors and turn the error and audit
58 lgos on and off.</p>
59 <p><strong>General</strong> settings provides details of your current settings in your PHP.ini file on your server. It also allows you to setup
60 whether you are collecting statics off your Xibo displays.</p>
61 <p><strong>Path</strong> settings allows you to specify particular directory locations for where Xibo will store and look for items. It also allows
62 you to specify where you have downloaded additional plugins like openflash charts.</p>
63 <p><strong>User</strong> this section is important if you intent to use a different authentication module to allow your users to log in to the system
64 you will only need this section if you are familiar with an Ldap authentication module.</p>
65 <p><strong>Install Issues</strong> highlights some settings issues that stop some Xibo functions from functioning correctly on your network.</p>
66 </div>
67 </div>
68 </div>
69 </div>
70 <div id="settings">33 <div id="settings">
71 <?php $this->display_settings(); ?>34 <?php $this->display_settings(); ?>
72 </div>35 </div>
7336
=== removed file 'server/template/pages/template_edit.php'
--- server/template/pages/template_edit.php 2008-12-10 23:48:34 +0000
+++ server/template/pages/template_edit.php 1970-01-01 00:00:00 +0000
@@ -1,74 +0,0 @@
1<?php
2/*
3 * Xibo - Digitial Signage - http://www.xibo.org.uk
4 * Copyright (C) 2006,2007,2008 Daniel Garner and James Packer
5 *
6 * This file is part of Xibo.
7 *
8 * Xibo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * Xibo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */
21?>
22<div id="form_container">
23 <div id="form_header">
24 <div id="form_header_left">
25 </div>
26 <div id="form_header_right">
27 </div>
28 </div>
29
30 <div id="form_body">
31
32 <div class="filter_form_container">
33 <div class="leftbuttons">
34 <div class="buttons">
35 <a id="help_button" onclick="toggle_div_view('notes')"><div class="button_text">Help</div></a>
36 </div>
37 <div id="notes" style="display:none;">
38 <h4>Layout Help</h4>
39 <div id="helptabs">
40 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
41 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
42 <li><a href="#terms_div" class="help_tab"><span>Tags</span></a></li>
43 </ul>
44
45 <div id="tips_div">
46 <p>Editing a Layout gives you complete control over the code used to generate it on screen. </p>
47 <p>You can use a combination of HTML and CSS to generate your display layout. These follow all the stand rules used for building a website.</p>
48 <p>It is recommended that you use a text editor to construct your code and then copy and paste it into the tables on the page.</p>
49 <p>The preview player allows you to navigate the presentations available to you and the slides available in each presentation. The preview window autosizes to your screen resolution. For true representation
50 of how a presentation will appear on a screen, it is wise to set the resolution as close to the Display resolution as possible.</p>
51 </div>
52 <div id="terms_div">
53 <p>Layouts use some designated tags that Xibo uses to identify certain custom elements. These are specified below</p>
54 <p><strong>Name</strong> identifies the layout so that people can add it to a presentation.</p>
55 <p><strong>Number of Positions</strong> identifies how many pieces of content can be added to this layout.</p>
56 <p><strong>&lt;position name="1"&gt;</strong> is the tag that is used to define a position on the layout, where the number corresponds to
57 one of the layout positions. So if you have 4 positions, you can have 4 of these tags, each with it's own position number 1,2,3 or 4.</p>
58
59 </div>
60 </div>
61 </div>
62 </div>
63 <?php $this->layout_form("index.php?p=layout&q=edit", "index.php?p=layout&sp=view", "index.php?p=layout&sp=edit", ""); ?>
64 </div>
65
66 </div>
67
68 <div id="form_footer">
69 <div id="form_footer_left">
70 </div>
71 <div id="form_footer_right">
72 </div>
73 </div>
74</div>
75\ No newline at end of file0\ No newline at end of file
761
=== modified file 'server/template/pages/template_view.php'
--- server/template/pages/template_view.php 2009-02-08 12:19:45 +0000
+++ server/template/pages/template_view.php 2009-05-17 17:05:42 +0000
@@ -20,6 +20,8 @@
20 */20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
2222
23$msgFilter = __('Filter');
24$msgShowFilter = __('Show Filter');
23?>25?>
24<div id="form_container">26<div id="form_container">
25 <div id="form_header">27 <div id="form_header">
@@ -33,24 +35,9 @@
33 <div class="SecondNav">35 <div class="SecondNav">
34 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->36 <!-- Maybe at a later date we could have these buttons generated from the DB - and therefore passed through the security system ? -->
35 <ul>37 <ul>
36 <li><a title="Show Template Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>38 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('TemplateFilter')"><span><?php echo $msgFilter; ?></span></a></li>
37 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('TemplateFilter')"><span>Filter</span></a></li>
38 </ul>39 </ul>
39 </div>40 </div>
40 <div id="notes" style="display:none;">
41 <h4>Template Help <a href="manual/index.html" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
42 <div id="helptabs">
43 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
44 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
45 </ul>
46
47 <div id="tips_div">
48 <p>A template is a stored layout without any media assigned to it. It is used when creating a new layout.</p>
49 <p>Templates can be created from the Layout Designer.</p>
50 <p>Templates are for a particular screen resolution.</p>
51 </div>
52 </div>
53 </div>
54 <?php $this->TemplateFilter(); ?>41 <?php $this->TemplateFilter(); ?>
55 </div>42 </div>
56 43
5744
=== modified file 'server/template/pages/user_view.php'
--- server/template/pages/user_view.php 2009-01-25 20:08:32 +0000
+++ server/template/pages/user_view.php 2009-05-17 17:05:42 +0000
@@ -19,7 +19,10 @@
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */20 */
21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");21defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
22 22
23$msgUser = __('Add User');
24$msgFilter = __('Filter');
25$msgShowFilter = __('Show Filter');
23?>26?>
24<div id="form_container">27<div id="form_container">
25 <div id="form_header">28 <div id="form_header">
@@ -36,33 +39,12 @@
36 <?php39 <?php
37 if ($_SESSION['usertype']==1)40 if ($_SESSION['usertype']==1)
38 {41 {
39 echo '<li><a title="Add User" class="XiboFormButton" href="index.php?p=user&q=DisplayForm"><span>Add User</span></a></li>';42 echo '<li><a title="' . $msgUser . '" class="XiboFormButton" href="index.php?p=user&q=DisplayForm"><span>' . $msgUser . '</span></a></li>';
40 }43 }
41 ?>44 ?>
42 <li><a title="Show User Help" href="#" onclick="toggle_div_view('notes')"><span>Help</span></a></li>45 <li><a title="<?php echo $msgShowFilter; ?>" href="#" onclick="ToggleFilterView('UserFilter')"><span><?php echo $msgFilter; ?></span></a></li>
43 <li><a title="Show Filter" href="#" onclick="ToggleFilterView('UserFilter')"><span>Filter</span></a></li>
44 </ul>46 </ul>
45 </div>47 </div>
46 <div id="notes" style="display:none;">
47 <h4>User Help <a href="http://www.xibo.org.uk/manual/index.php?p=content/users/overview" target="_blank" alt="The Manual">(Click for Manual)</a></h4>
48 <div id="helptabs">
49 <ul id="help" class="tabs-nav"><!-- the class on this element has to remain the same -->
50 <li><a href="#tips_div" class="help_tab"><span>Tips</span></a></li>
51 <li><a href="#terms_div" class="help_tab"><span>Terms</span></a></li>
52 </ul>
53
54 <div id="tips_div">
55 <p>Xibo has it's own User module that you can use to allow access to the system. Xibo allows you to manage indvidual
56 users priveleges and basic registered details.</p>
57 <p>The action buttons allow you to edit to edit a persons login details and override their password.</p>
58 <p>Users is only available to administrators of the system.</p>
59 </div>
60 <div id="terms_div">
61 <p><strong>Name</strong> is the username of the profile/</p>
62 <p><strong>Email</strong> provides a contact point for forgotten passwords, and any Xibo notifications.</p>
63 </div>
64 </div>
65 </div>
66 <?php $this->UserFilter(); ?>48 <?php $this->UserFilter(); ?>
67 </div>49 </div>
6850
6951
=== modified file 'server/upgrade.php'
--- server/upgrade.php 2009-05-13 18:57:27 +0000
+++ server/upgrade.php 2009-05-18 21:37:32 +0000
@@ -18,21 +18,20 @@
18 * You should have received a copy of the GNU Affero General Public License18 * You should have received a copy of the GNU Affero General Public License
19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.19 * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
20 */ 20 */
21DEFINE('XIBO', true);21DEFINE('XIBO', true);
2222
23
23if (! checkPHP()) {24if (! checkPHP()) {
24 die("Xibo requires PHP 5.0.2 or later");25 die("Xibo requires PHP 5.0.2 or later");
25}26}
2627
27include('lib/app/kit.class.php');28include('lib/app/kit.class.php');
29include('lib/app/debug.class.php');
28include('config/db_config.php');30include('config/db_config.php');
29include('config/config.class.php');31include('config/config.class.php');
30require('settings.php');
3132
32// Setup the translations for gettext33// Setup the translations for gettext
33require_once("lib/app/translationengine.class.php");34require_once("lib/app/translationengine.class.php");
34TranslationEngine::InitLocale($db);
35
3635
37// Once we've calculated the upgrade in step 2 below, we need36// Once we've calculated the upgrade in step 2 below, we need
38// to have included the appropriate upgrade php files37// to have included the appropriate upgrade php files
@@ -62,12 +61,19 @@
62define('_INPUTBOX', "inputbox");61define('_INPUTBOX', "inputbox");
63define('_PASSWORDBOX', "password");62define('_PASSWORDBOX', "password");
6463
64Config::Load();
65
65// create a database class instance66// create a database class instance
66$db = new database();67$db = new database();
6768
68if (!$db->connect_db($dbhost, $dbuser, $dbpass)) reportError(0, __("Unable to connect to the MySQL database using the settings stored in settings.php.") . "<br /><br />" . __("MySQL Error:") . "<br />" . $db->error());69if (!$db->connect_db($dbhost, $dbuser, $dbpass)) reportError(0, __("Unable to connect to the MySQL database using the settings stored in settings.php.") . "<br /><br />" . __("MySQL Error:") . "<br />" . $db->error());
69if (!$db->select_db($dbname)) reportError(0, __("Unable to select the MySQL database using the settings stored in settings.php.") . "<br /><br />" . __("MySQL Error:") . "<br />" . $db->error());70if (!$db->select_db($dbname)) reportError(0, __("Unable to select the MySQL database using the settings stored in settings.php.") . "<br /><br />" . __("MySQL Error:") . "<br />" . $db->error());
7071
72// Initialise the Translations
73set_error_handler(array(new Debug(), "ErrorHandler"));
74
75TranslationEngine::InitLocale($db);
76
71include('install/header_upgrade.inc');77include('install/header_upgrade.inc');
7278
73if (! $_SESSION['step']) {79if (! $_SESSION['step']) {

Subscribers

People subscribed via source and target branches