Subversion Repositories wimsdev

Rev

Rev 17673 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2495 bpr 1
!set lang_exists=yes
2
 
16267 guerimand 3
!set name_communication=Communication
15020 czzmrn 4
!set name_optionalmod=Optional modules
5
!set name_optionalmoddesc=The following optional modules are available on this server. Only checked modules will be available for teachers in classes.
6
!set name_optionalmod_parameter_desc=List of options for the optional modules. Only the checked options will be active.
7
!set name_optionalmod_param_freework_nofile=Disable file deposit in freework
15999 obado 8
!set name_optionalmod_param_tchat_nofile=Disable temporary file deposit in chat
3930 bpr 9
!set name_intromain=This tool allows the webmaster to maintain this WIMS installation online. Its\
2486 bpr 10
 access is strictly controled by definitions in the configuration file
11
 
16176 obado 12
!set name_motd=Greeting messages
13
!set name_motdtype=Server home page, Supervisor home page
14
!set name_motdintro=!nosubst This interface allows you to enter and modify certain greetings. HTML tags are allowed. \
15
Text length is limited to $max_motdchar characters. To enter longer texts it is necessary to connect \
16
  directly to the server in console mode.
17
!set name_motdtypename=Message
18
!set name_motddesc=Content
19
!set name_motdlangdesc=The message will only be displayed to users using this language.
20
!set name_motdmodify=Edit
21
!set name_motdview=View
22
!set name_motdview=Verify
23
!set name_motd_intro2=Display the home page of the server, Display the messages of the day on supervisors home page
16185 guerimand 24
!set name_motd_introdesc=Ci-dessous le message affiché dans chacunes des langues disponibles sur le serveur.
16176 obado 25
 
15999 obado 26
!set name_geolocoption=Geolocation option
27
!set name_geolocoptiondesc=The location indications and GPS coordinates allow the server to be located on the world map.\
28
 The classes for which this information is completed are also marked on the same map.\
17180 bpr 29
 Classes without GPS coordinates are pointed to the location of the server if it is defined or not pointed if it is not defined.<br>\
15999 obado 30
 The server location data is updated every Monday.
18120 bpr 31
 
15999 obado 32
!set name_serverlocation_help=GPS coordinates are two real numbers separated by a comma.
33
!set name_serverlocation=Server location (City Country)
34
!set name_geoloc=GPS coordinates
35
!set name_autocompletion=Automatic location suggestion
36
!set name_autocompletion_help=It is possible to define a different autocompletion API for each language (among the available APIs).\
37
 Each API manages a region of the world.\
38
 The API allows you to auto-complete the GPS coordinates according to the location field\
39
 (also to format this field in a standard way).\
40
 However, the user can always enter information outside of autocompletion\
41
 when this latter is not available or does not give the desired result.
42
!set name_autocompletionscript=Autocompletion script
43
!set name_noone=No API
15792 guerimand 44
 
4370 bpr 45
!set name_warning_wrongpass=You have given a wrong password.
3093 bpr 46
!set name_try_wrongpass=Try again
3882 bpr 47
 
2495 bpr 48
!!list
17673 bpr 49
!distribute lines Security setup should be established after compilation. Please execute <code class="bash">bin/wrapuid</code> by root!\
50
  Here is the list of tasks you may perform online.\
51
  Configuration\
52
  System checklist\
53
  to be run after each addition of new teaching materials as modules, sheets, ... to the server\
54
  Maintain\
55
  Create/maintain\
56
  Various\
2495 bpr 57
into name_warning,name_online,name_configuration,name_checklist,name_mkindex,name_checkmaintain,\
11980 obado 58
  name_createmaintain,name_various
2495 bpr 59
 
8961 bpr 60
!set name_restore_class=Restore a class
2495 bpr 61
!!help
62
 
63
!set name_warning_help=Please use specific help links for the various help subjects.
64
 
2514 bpr 65
!set name_visit=Visit
2553 bpr 66
!set name_click=Click here
2851 reyssat 67
 
4106 bpr 68
!set wims_name_download_module=Module download
69
 
2486 bpr 70
!if $job=access
16880 bpr 71
  !set title=Access policy configuration
72
  !set name_subtitle=Access policy definition
73
  !exit
2486 bpr 74
!endif
16880 bpr 75
!if $job=geolocoption
76
  !set title=$name_geolocoption
77
!endif
78
!if $job=optionalmod
79
  !set title=$name_optionalmod
80
!endif
18120 bpr 81
!! 'activ' job strings, but some are also used in class & bestclass jobs
14890 obado 82
!if $job iswordof activ class bestclass
2486 bpr 83
  !set title=Current server activities
84
  !distribute lines Server Time\
14890 obado 85
Load average\
86
minute\
87
minutes\
88
hour\
89
hours\
90
last\
91
since\
92
Number of requests\
93
Active sessions within last 10 minutes\
94
Session\
95
Client IP\
96
Requests\
97
Module\
2851 reyssat 98
  into name_servor_time,name_Load,name_min,name_mins,name_hour,name_hours,name_last,name_since,\
2486 bpr 99
   name_requests,name_activesessions,name_session,name_IP,name_Requests,name_module
15535 czzmrn 100
 
101
   !if $job=activ
102
     !exit
103
   !endif
2486 bpr 104
!endif
105
 
106
!if $job=attrib
107
  !set title=File permission verification
2828 didsene 108
 
2843 reyssat 109
  !distribute lines The access permissions of this WIMS installation are all in secure mode.\
17673 bpr 110
    The following files/directories are readable by others, while they should not\
111
    There are a huge number of files/directories writable by others, while they should not.\
112
    The problem is only partially fixed. Please\
113
    repeat the process once again\
114
    until there is no longer files/directories with bad permissions\
115
    List of fixed permissions this time\
116
    The following files/directories are writable by others, while they should not\
117
    The following files/directories are executable by others, while they should not\
118
    There are a huge number of files/directories not owned by WIMS. Partial list below.\
119
    The following files/directories are not owned by WIMS.\
120
    The following directories/files should be world executable, while they are not.\
2486 bpr 121
into name_attrib1,name_attrib2,name_attrib3,name_attrib4,name_repeat,\
122
  name_attrib5,name_attrib6,name_attrib7,name_attrib8,name_attrib9,name_attrib10,
123
  name_attrib11
2828 didsene 124
 
2486 bpr 125
  !set name_warning1=WIMS directories should not contain files belonging to others.\
3882 bpr 126
  Now you MUST manually check the origin of these files, and either erase them, or change their ownership.
2486 bpr 127
  !set name_warning2=Important security recommendation: please make correct changes\
7177 bpr 128
  of the owner of some files
129
 
3882 bpr 130
  !set name_warning_chroot=If you use wims-chroot distribution, you must execute \
5978 bpr 131
  as <span class="tt">root</span> the script <span class="tt">bin/setchroot</span>.
17673 bpr 132
  !set name_warning_wimsd=If you use wimsd, you must execute as <span class="tt">root</span> \
7177 bpr 133
   the script <span class="tt">bin/setwimsd</span>.
17673 bpr 134
  !set name_warning_wrapexec=You must execute as <span class="tt">root</span> the script <span class="tt">bin/setwrapexec</span>.\
135
  This is crucial for the security of your installation.
136
  !set name_warning3=These wrong permissions represent a security risk to your installation. This has\
2486 bpr 137
  been fixed for the time being, but you should be alerted and verify access\
138
  permissions more regularly. If the same problem reappears, you should check\
139
  the possibility of an intrusion to your system, and data on this server\
140
  might be compromised.
18120 bpr 141
  !exit
2486 bpr 142
!endif
143
 
144
!if $job=backup
145
 
16887 bpr 146
  !distribute lines Data backup is not active on this server.\
147
    Click here\
148
    to set up the automatic daily data backup.\
149
    Last data backup\
150
    Download the backup files\
151
    To restore an old backup file, give the file name (it must be a *.tgz file)\
152
    You need a fast connection if the file to upload is big.\
153
  into name_backup,name_click,name_daily,name_last,name_download,name_restore,name_fast
17275 bpr 154
 
16887 bpr 155
  !exit
2486 bpr 156
!endif
157
 
158
!if $job=badconf
2828 didsene 159
 
2486 bpr 160
  !set name_warning1=!nosubst The file $fname is world readable!\
3930 bpr 161
    There is a serious risk that your webmaster setup and/or password have\
2486 bpr 162
   leaked. Now you MUST change the file attribute of $fname by making them readable only by the owner,
163
  !set name_warning2=and make more secure definitions in it whenever possible.
164
  !set name_warning3=and define a new manager password.
165
  !set name_warning4=Once you have done this, try this page again.
166
 
16887 bpr 167
  !exit
2486 bpr 168
!endif
169
 
2495 bpr 170
!if $job iswordof class bestclass
2486 bpr 171
  !set title=
172
  !distribute lines Click here\
16887 bpr 173
    to configure the site's access policies to virtual classes.\
2486 bpr 174
    There is no virtual class corresponding to your search. \
175
    List of institutions and class groups\
176
    created\
177
    expires\
178
    means the number of cumulative connection hours since\
3076 bpr 179
    best class activity on this period\
2495 bpr 180
    Participant\
181
    List of independent classes\
2828 didsene 182
    means cumulative hour.student connection since\
2495 bpr 183
    best class of cumulative connection hours since\
184
    Your WIMS virtual class\
2498 bpr 185
    List of classes\
2514 bpr 186
    load\
187
    format\
2495 bpr 188
  into name_click,name_config,name_noclass,name_list,name_created,name_expire,name_cumul,name_best,\
2851 reyssat 189
  name_part,name_listindependant,name_cumul_student,name_bestcumul,name_yourclass,name_listclass,\
2514 bpr 190
  name_load,name_format
2828 didsene 191
 
2490 bpr 192
  !set name_search1=There are many virtual classes on this site. To find a class, please type a search keyword.
193
  !set name_search2=There are still too many classes corresponding to your search word. Please give a more precise word.
2851 reyssat 194
  !set name_total=!nosubst There are $nbcls class groups or classes in this server.
2828 didsene 195
 
2521 bpr 196
  !if $job2 iswordof modify erase
16887 bpr 197
    !set title=
198
    !distribute lines Important properties of the virtual class\
199
      of\
200
      serial number\
201
      This class comes with WIMS distribution.\
202
      Supervisor password\
203
      Password for participant registration\
204
      Erasing this password makes the class world-accessible.\
205
      Secure hosts\
206
      Expiration date\
207
      notify the supervisor\
208
      of the class of your changes.\
209
      Other classes\
210
      Limit of participants\
211
      Are you sure you want to erase this class?\
212
      Your WIMS virtual class\
213
      WIMS class modification\
2521 bpr 214
  into name_prop,name_of,name_serial,name_distrib,name_supervisor_p,name_supervisor_r,\
215
    name_warning,name_secure,name_expire,name_notify,name_change,name_other,name_limit,name_erase,\
216
    name_yourclass,name_yourclassmod
217
  !set name_creation=!nosubst is created on $class_creation and
2867 reyssat 218
  !set name_expires=!nosubst expires on $class_expiration
2521 bpr 219
  !set name_remark=<b>Remark</b>. Changes to these fields only make sense when asked for by\
220
     the supervisor of the class (who has lost the control of the class). And you should probably
17275 bpr 221
  !endif
2521 bpr 222
 
17275 bpr 223
  !exit
2486 bpr 224
!endif
225
 
226
!if $job=conf
227
  !set title=!nosubst Configuration of $cattit
228
  !distribute lines Configuration not changed because you have made no modifications.\
7521 obado 229
default\
10325 bpr 230
recommended\
231
   into name_config,name_default,recommended
2828 didsene 232
 
17275 bpr 233
  !set name_updated=!nosubst The file <span class="tt">wims.conf</span> is updated. You can recover the old\
5978 bpr 234
   configuration information from <span class="tt">$backdir/wims.conf.old</span>.
2828 didsene 235
 
11887 obado 236
  !set name_warning=Parameters with a <span class="tt wims_warning">'*'</span> in their titles are important ones. \
17180 bpr 237
Those with a <span class="tt wims_warning">'!'</span> may damage the installation if you mess up.<br>\
5978 bpr 238
Anyway, remember that erasing the file <span class="tt">log/wims.conf</span> will\
2851 reyssat 239
allows you to restart from a default configuration set. Saved configurations\
2486 bpr 240
can also be recovered from log directory.
2521 bpr 241
!!confcat=6
18120 bpr 242
  !distribute lines Click here\
2521 bpr 243
   for backup management and\
244
   here\
245
  for manual module management.\
17275 bpr 246
  into name_click,name_backup,name_here,name_manual
2486 bpr 247
 
2521 bpr 248
!!ressources
249
  !set name_config_site=to configure the site's access restriction policy.
2828 didsene 250
!!graphics and software
16887 bpr 251
  !distribute line to check the effect of the new setup.\
18120 bpr 252
    Check computational softwares used by various WIMS modules\
253
    to check dynamic graphics\
254
    command\
255
    importance\
256
    availability\
257
    Unavailable\
258
    Example of modules depending on it\
259
    This software is usually attached to WIMS distribution. Its compilation may have failed\
260
    to check the effect of the new setup.\
17275 bpr 261
  into name_check,name_checksoftware,name_checkgraphics,name_command,name_importance,\
2529 bpr 262
   name_availability,name_Unavailable,name_dependingonit,name_fail,name_refresh
2828 didsene 263
 
17275 bpr 264
  !set name_warning_program=WIMS is unable to find the following programs which are used by some of its\
2529 bpr 265
 modules. These programs are either not installed in the system (in which\
266
 case please install them), or are installed in a directory not included in\
267
 the searching path of WIMS (in which case you can add the directory to\
268
 the PATH parameter in
269
 
17275 bpr 270
  !set name_imagemagick=We did not find a working ImageMagick on the system.\
2529 bpr 271
 Without this package, most WIMS images and animations will be broken. So we\
272
 strongly recommend that you install ImageMagick before continuing.
2828 didsene 273
 
18120 bpr 274
  !set name_dynamic=Check dynamic graphics
275
    (you may wish to do it with different browsers)
17275 bpr 276
  !set name_tex=This formula uses dynamic TeX insertion. It should appear correctly, unless <b>TeX</b> is not\
7177 bpr 277
  correctly installed on your system.
17275 bpr 278
  !set name_size=You may change TeX font size step if they appear too big or too small
5651 bpr 279
!set name_mathml=This formula uses dynamic MathML. If it does not appear correctly, it is certainly\
280
because the browser you use does not treat correctly MathML.
2529 bpr 281
 
17275 bpr 282
  !set name_drawing=The following two pictures are generated by the internal dynamic drawing\
2529 bpr 283
  program. One is still image, the other is animated. Can you see them\
284
correctly? If not, try different graphics/animation formats.
285
 
17275 bpr 286
  !set name_gnuplot1=The following plot uses <b>gnuplot</b>
287
  !set name_gnuplot2=The curves should have different colors. If this is not OK, try different graphics formats.
2529 bpr 288
 
17275 bpr 289
  !set name_graphviz1=The following colored horizontal graph uses <b>graphviz</b> and is not affected by the above formats. \
2851 reyssat 290
  If it does not appear, then
17275 bpr 291
  !set name_graphviz2=is not correctly installed.
2851 reyssat 292
 
17275 bpr 293
  !set name_povray1=The following ray-traced picture is not affected by the above formats. \
2828 didsene 294
  If it does not appear, then
17275 bpr 295
  !set name_povray2=is not correctly installed.
296
  !exit
2486 bpr 297
!endif
298
 
299
 
300
!if $job=crontab
301
  !set title=Automatic daily maintenances
17275 bpr 302
  !distribute  Manually installed crontab found. You should either continue to manage cron jobs manually, or erase your manual crontab before switching to this online tool.\
2486 bpr 303
   Never use this tool if you have a personalized crontab!\
304
   Strange error: I cannot recover my working directory. Check your installation: it is not working normally.\
305
   Available maintenance works\
306
   Daily data backup at\
307
   Choose a time when the server is not busy.\
308
   Activity accounting (necessary for site statistics)\
17275 bpr 309
  into name_manually,name_warning,name_strange,name_available,name_daily,name_notbusy,name_accounting
2486 bpr 310
 
17275 bpr 311
  !exit
2486 bpr 312
!endif
313
 
3774 reyssat 314
!if $job2=del1
2851 reyssat 315
  !set name_warning=Are you sure you want to erase the developer account
2828 didsene 316
 
17275 bpr 317
  !exit
2486 bpr 318
!endif
319
 
320
!if $job=developer
321
  !set title=
322
  !set wims_name_adddevel=Add a new developer account
323
  !set wims_name_develaccount=List of developer accounts
324
  !set name_dev=Registered module developers on this server
2828 didsene 325
 
2486 bpr 326
  !set name_allowed=Developers who are allowed to install modules in the site's local\
11938 bpr 327
  subdirectory, Enter login names:
2486 bpr 328
 
12155 obado 329
  !set name_modification=Modification of properties of a developer account.
330
  !set name_mod_password=Leave the password field\
331
    empty if you do not want to change the old password.
332
  !set name_add=To add a new developer account, please specify: (All the fields are mandatory)
16887 bpr 333
  !set name_bad_devpub=The developers who are allowed to install modules must be\
334
    also a registered module developpers.
12727 obado 335
  !if $job2=mod2
336
    !set name_error1=!nosubst The login name <span class="tt">$devlogin</span> is already in use by another\
337
   account. Please choose a different name.
338
    !set name_error2=!nosubst The <span class="tt">$badfield</span> field is not correctly entered. Please\
339
   correct it.
340
  !endif
341
 
16880 bpr 342
  !exit
2486 bpr 343
!endif
344
 
2487 bpr 345
!if $job=file
346
  !distribute lines Here is the file for download\
347
     Do you really want to erase the file\
348
     last modified\
349
     bytes\
350
     is an image\
351
      is a binary file\
352
     is too long to be shown or edited.\
353
     This file belongs to the distribution, it should not be modified.\
354
     Download the file\
355
     Content of\
356
   into name_file,name_erase,name_last,name_bytes,name_image,name_binary,name_toolong,\
357
   name_distrib,name_download,name_content
2828 didsene 358
 
16880 bpr 359
  !exit
2487 bpr 360
!endif
361
 
2486 bpr 362
!if $job=fs
17275 bpr 363
  !distribute lines Current directory\
18120 bpr 364
    Subdirectories (click to go)\
365
    Symbolic links\
366
    Add a new file to it\
367
    Files\
368
    No regular file in this directory.\
369
  into name_current,name_sub,name_symbolic,name_add,name_files,name_file
2486 bpr 370
 
16880 bpr 371
  !exit
2486 bpr 372
!endif
373
 
2499 bpr 374
!if $job=no_right
3941 bpr 375
  !set name_warning=Sorry but you are not recognized as manager of this site. You do not have\
2499 bpr 376
right to access this module.
17275 bpr 377
 
16880 bpr 378
  !exit
2499 bpr 379
!endif
17275 bpr 380
 
2486 bpr 381
!if $job=mkindex
382
  !set title=Rebuild resource index
383
  !distribute lines Resource index rebuilding is scheduled. You will receive a mail containing the result of resource rebuilding.\
3970 bpr 384
    Rebuilding resource index takes server teaching materials, so should better be avoided when the server is very busy.\
2486 bpr 385
    Result of last resource index building at\
386
    Click here\
3941 bpr 387
    to restart a resource index rebuilding (you should not).\
2486 bpr 388
    to start resource index rebuilding.\
389
  into name_scheduled,name_rebuilding,name_result,name_click,name_restart,name_start
17275 bpr 390
 
16880 bpr 391
  !exit
2486 bpr 392
!endif
393
 
2495 bpr 394
!if $job=modules
3081 bpr 395
  !set title=Module download
5901 bpr 396
  !set name_scheduled=!nosubst Your <span class="tt wims_code_words">$auto</span> command is scheduled for execution. The result will be sent to\
12155 obado 397
    you by email. Please do not repeat this command before the execution is completed.
3081 bpr 398
  !distribute lines in the module download center (s)\
2486 bpr 399
    for modules in zone\
11412 obado 400
    the general search zone, or <tt>all</tt> for all zones\
401
    sample : H1\
2486 bpr 402
    and category\
11412 obado 403
    the general search category, or <tt>all</tt> for all categories\
404
    sample : geometry\
2486 bpr 405
    changed at least\
406
    days ago\
11412 obado 407
    Reduce the risk of getting new bugs\
3168 bpr 408
    Download configuration\
11412 obado 409
  into name_mod, name_zone, muzone_help, muzone_placeholder,\
410
    name_cat, mucat_help, mucat_placeholder, name_change, name_ago,\
411
    mudelay_help, wims_name_config_module
2828 didsene 412
 
2486 bpr 413
  !distribute lines Error fetching the module \
414
      Error installing/updating\
415
      Installing/updating\
2734 bpr 416
      successful\
2486 bpr 417
      You will need to\
418
      test it\
419
      rebuild module index\
420
      Install\
421
      Update\
422
      versus\
423
      Changes\
424
      New version of\
425
      New module\
2487 bpr 426
      You need to\
427
      after module update\
428
      Click here\
3081 bpr 429
      to configure the download centers and the publication centers, to configure daily automatic module update or to choose the publication centers for the developpers of your site.\
2487 bpr 430
      You can also update\
3081 bpr 431
      Here you can update / download modules.\
2486 bpr 432
    into name_error1,name_error2,name_install,name_successful,name_need,name_test,name_rebuild,name_Install,\
2487 bpr 433
      name_Update,name_versus,name_Changes,name_version,name_newmodule,name_youneed,name_after,\
3081 bpr 434
      name_click,name_automatic,name_rss,name_canupdate
2495 bpr 435
 
436
!!check
437
  !distribute lines No module publication found corresponding to your search.\
438
    Click on the address of a module to check/install/update it.\
439
    Found new versions\
440
    Found new modules\
441
    update all\
2825 reyssat 442
    install all\
2495 bpr 443
    updated by\
444
    New version\
445
    New modules\
17180 bpr 446
    Server<br>version\
447
    published<br>by\
3030 guerimand 448
  into name_check1,name_click_adress,name_foundv,name_foundm,name_all_u,name_all_i,name_updated,name_newv,name_newm,name_server,name_published
2495 bpr 449
 
16880 bpr 450
  !exit
2486 bpr 451
!endif
452
 
453
!if $job=restore
16887 bpr 454
  !set name_warning1=Wrong archive file: no compatible content found in it.
455
  !set name_warning2=Data in following directories are successfully restored/installed
12155 obado 456
 
16880 bpr 457
  !exit
2486 bpr 458
!endif
2828 didsene 459
 
2486 bpr 460
!if $job=sess
461
  !set title=User session
462
  !distribute lines Content of the session\
463
    Content of the session variable file\
464
    Content of the file\
465
    List of active sessions\
466
  into name_content_s,name_content_v,name_content_f,name_listsessions
16887 bpr 467
 
16880 bpr 468
  !exit
2486 bpr 469
!endif
470
 
471
!if $job=upload
12155 obado 472
  !set name_warning=To upload teaching materials to the server, insert the cd-rom or usb key containing\
3751 bpr 473
   the resource into$ your computer, and find a file named "wims-resource.tgz" or "wimsres-*.tgz"\
2486 bpr 474
  in the following input field
12155 obado 475
  !set name_need=You need a fast connection if the file to upload is big.
17673 bpr 476
  !set name_depositcheck=Do this only after checking the file you are loading.\
477
    It can be difficult to go back through this interface.
16880 bpr 478
  !exit
2486 bpr 479
!endif
2499 bpr 480
 
2527 bpr 481
!if $job=rss
12155 obado 482
  !set title= Rebuild RSS feed
483
  !set name_start=to start RSS Feed rebuilding.
484
 
16880 bpr 485
  !exit
2535 bpr 486
!endif
487
 
488
!if $job=otherdownload
3970 bpr 489
  !set name_text1=Other teaching materials can be downloaded manually.
490
  !set name_shtooka=Download Shtooka teaching materials (audio words)
2535 bpr 491
 
16880 bpr 492
  !exit
2535 bpr 493
!endif
494
 
495
!if $job=swac
496
  !set name_mkindex=Make the index
497
  !set name_text_swac= You may download the mp3 files of some packages of the Shtooka project.\
16887 bpr 498
  <p>If the modules which call them are intensively used by the wims server, you should do it.\
499
  If you do not, these modules will look for the mp3 of the site http://shtooka.net\
500
  </p><p>\
501
  To download the collections, do it by line command  with the script\
502
  <span class="tt">$wims_home/bin/swac </span>. It will install some swac packs at the right place.\
503
  </p><p class="small">Because of the fact that the files of wims are encoded iso-latin, it's not\
504
  yet possible to use the cyrillic packs.</p>
12155 obado 505
 
16880 bpr 506
  !exit
2535 bpr 507
!endif
2845 guerimand 508
 
509
!if $job=sendmail
12155 obado 510
  !distribute item Subject,Message \
16887 bpr 511
  into name_subject,name_message
18120 bpr 512
  !let name_dest=Recipient,Server administrator,Individual class supervisor,Superclass administrator,Portal administrator,Teacher of a superclass,Teacher of a portal,Developers
15676 obado 513
  !let name_sending=Your message has been sent to all recipients
12155 obado 514
 
16880 bpr 515
  !exit
7177 bpr 516
!endif
8961 bpr 517
 
518
!if $job=classrestore
519
  !distribute lines Choose the class to restore in the following list\
520
  There is no class to restore.\
11086 bpr 521
  There are many archived classes. You must enter the identifier of the class to restore.\
522
into name_restore_choose, name_restore_noclass,name_toomuchbackup
12155 obado 523
 
14277 obado 524
  !set name_restore_done=!nosubst The class <strong>$year/$class</strong> has been restored.\
525
  Tell to its teacher that the new expiration date is the <strong>$date</strong>.\
526
  It is disadvised to redo this operation.
8961 bpr 527
 
14277 obado 528
  !set name_class_link=Direct link to the class maintenance page:
529
  !exit
8961 bpr 530
!endif