[svn r10101] multiple updates (essentially for icons and new display)

skala
Eric Marguin 19 years ago
parent 6844d51b84
commit d1e2e9e677
  1. 8
      main/course_info/maintenance.php
  2. 12
      main/document/document.php
  3. 4
      main/exercice/exercice.php
  4. BIN
      main/img/Sessions.gif
  5. BIN
      main/img/empty.gif
  6. BIN
      main/img/filenew.gif
  7. BIN
      main/img/folder_new.gif
  8. BIN
      main/img/images_gallery.gif
  9. BIN
      main/img/save_import.gif
  10. BIN
      main/img/scormbuilder.gif
  11. BIN
      main/img/submit_file.gif
  12. BIN
      main/img/test.gif
  13. BIN
      main/img/tool_delete.gif
  14. BIN
      main/img/zip_save.gif
  15. 3
      main/inc/local.inc.php
  16. 24
      main/newscorm/lp_list.php

@ -29,13 +29,13 @@ api_display_tool_title($nameTools);
<table width="100%" cellpadding="0" cellspacing="20">
<tr>
<td width="50%" valign="top" style="border:1px #4171B5 solid; padding: 4px;">
<div><a href="../course_info/delete_course.php"><?php echo get_lang("DelCourse");?></a></div><br>
<div><img src="../img/tool_delete.gif">&nbsp;&nbsp;<a href="../course_info/delete_course.php"><?php echo get_lang("DelCourse");?></a></div><br>
<?php
echo get_lang("DescriptionDeleteCourse");
?>
</td>
<td width="50%" valign="top" style="border:1px #4171B5 solid; padding: 4px;">
<div><a href="../coursecopy/backup.php"><?php echo get_lang("backup");?></a></div>
<div><img src="../img/save_import.gif">&nbsp;&nbsp;<a href="../coursecopy/backup.php"><?php echo get_lang("backup");?></a></div>
<ul>
<li><a href="../coursecopy/create_backup.php"><?php echo get_lang('CreateBackup') ?></a><br/>
<?php echo get_lang('CreateBackupInfo') ?>
@ -48,12 +48,12 @@ api_display_tool_title($nameTools);
</tr>
<tr>
<td width="50%" valign="top" style="border:1px #4171B5 solid; padding: 4px;">
<div><a href="../coursecopy/recycle_course.php"><?php echo get_lang("recycle_course");?></a></div><br>
<div><img src="../img/empty.gif">&nbsp;&nbsp;<a href="../coursecopy/recycle_course.php"><?php echo get_lang("recycle_course");?></a></div><br>
<?php echo get_lang("DescriptionRecycleCourse");?><br><br>
</td>
<td width="50%" valign="top" style="border:1px #4171B5 solid; padding: 4px;">
<div><a href="../coursecopy/copy_course.php"><?php echo get_lang("CopyCourse");?></a></div><br>
<div><img src="../img/copy.gif">&nbsp;&nbsp;<a href="../coursecopy/copy_course.php"><?php echo get_lang("CopyCourse");?></a></div><br>
<?php
echo get_lang("DescriptionCopyCourse");
?>

@ -1,4 +1,4 @@
<?php // $Id: document.php 10079 2006-11-21 14:48:00Z elixir_inter $
<?php // $Id: document.php 10101 2006-11-22 12:42:53Z elixir_inter $
/*
==============================================================================
Dokeos - elearning and course management software
@ -614,19 +614,19 @@ echo(build_directory_selector($folders,$curdirpath,$group_properties['directory'
/* CREATE NEW DOCUMENT OR NEW DIRECTORY / GO TO UPLOAD / DOWNLOAD ZIPPED FOLDER */
?>
<!-- create new document or directory -->
<a href="create_document.php?dir=<?php echo $curdirpathurl; ?>"><img src="../img/new_doc.gif" border="0" alt="" title="<?php echo get_lang('CreateDoc'); ?>" /></a>
<a href="create_document.php?dir=<?php echo $curdirpathurl; ?>"><img src="../img/filenew.gif" border="0" alt="" title="<?php echo get_lang('CreateDoc'); ?>" /></a>
<a href="create_document.php?dir=<?php echo $curdirpathurl; ?>"><?php echo get_lang("CreateDoc"); ?></a>&nbsp;&nbsp;
<!-- file upload link -->
<a href="upload.php?path=<?php echo $curdirpathurl.$req_gid; ?>"><img src="../img/upload.gif" border="0" title="<?php echo get_lang('UplUploadDocument'); ?>" alt="" /></a>
<a href="upload.php?path=<?php echo $curdirpathurl.$req_gid; ?>"><img src="../img/submit_file.gif" border="0" title="<?php echo get_lang('UplUploadDocument'); ?>" alt="" /></a>
<a href="upload.php?path=<?php echo $curdirpathurl.$req_gid; ?>"><?php echo get_lang('UplUploadDocument'); ?></a>&nbsp;
<!-- create directory -->
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?curdirpath=<?php echo $curdirpathurl; ?>&amp;createdir=1"><img src="../img/new_folder.gif" border="0" alt ="" /></a>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?curdirpath=<?php echo $curdirpathurl; ?>&amp;createdir=1"><img src="../img/folder_new.gif" border="0" alt ="" /></a>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?curdirpath=<?php echo $curdirpathurl; ?>&amp;createdir=1"><?php echo get_lang("CreateDir"); ?></a>&nbsp;
<?php
}
?>
<!-- download zipped folder -->
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?action=downloadfolder&amp;path=<?php echo $curdirpathurl; ?>"><img src="../img/save_zip.gif" border="0" title="<?php echo get_lang("Save"); ?> (ZIP)" alt="" /></a>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?action=downloadfolder&amp;path=<?php echo $curdirpathurl; ?>"><img src="../img/zip_save.gif" border="0" title="<?php echo get_lang("Save"); ?> (ZIP)" alt="" /></a>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?action=downloadfolder&amp;path=<?php echo $curdirpathurl; ?>"><?php echo get_lang("Save"); ?> (ZIP)</a>&nbsp;
<?php
// Slideshow by Patrick Cool, May 2004
@ -635,7 +635,7 @@ echo(build_directory_selector($folders,$curdirpath,$group_properties['directory'
include(api_get_path(SYS_LANG_PATH).$languageInterface."/"."slideshow.inc.php");
if ($image_present)
{
echo "<a href=\"slideshow.php?curdirpath=".$curdirpathurl."\"><img src=\"../img/gif.gif\" border=\"0\" align=\"absmiddle\" title=\"".get_lang('ViewSlideshow')."\"/>". get_lang('ViewSlideshow') . "</a>";
echo "<a href=\"slideshow.php?curdirpath=".$curdirpathurl."\"><img src=\"../img/images_gallery.gif\" border=\"0\" title=\"".get_lang('ViewSlideshow')."\"/>&nbsp;". get_lang('ViewSlideshow') . "</a>";
}
echo "</div>";

@ -478,8 +478,8 @@ if($show == 'test'){
?>
<td width="27%"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="20" valign="top" align="right"><?php echo ($i+($page*$limitExPage)).'.'; ?></td>
<td width="1">&nbsp;</td>
<td width="30" align="left"><img src="../img/test.gif"></td>
<td width="15" valign="left" align="center"><?php echo ($i+($page*$limitExPage)).'.'; ?></td>
<?php $row['title']=api_parse_tex($row['title']); ?>
<td><a href="exercice_submit.php?<?php echo api_get_cidreq()."&origin=$origin&learnpath_id=$learnpath_id&learnpath_item_id=$learnpath_item_id"; ?>&exerciseId=<?php echo $row['id']; ?>" <?php if(!$row['active']) echo 'class="invisible"'; ?>><?php echo $row['title']; ?></a></td>
</tr>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 767 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -232,7 +232,8 @@ else
{
$password = md5($password);
}
// check the user's password
if ($password == $uData['password'] AND (trim($login) == $uData['username']))
{

@ -122,7 +122,7 @@ if(api_is_allowed_to_edit())
'<input type="hidden" name="curdirpath" value="/">' .
'<input type="hidden" name="tool" value="'.TOOL_LEARNPATH.'">' .
'<img src="../img/download_manager.gif" border="0" align="absmiddle" alt="scormbuilder" style="margin-top:-10px;">'.
'<input type="submit" name="upload" value="Upload">' .
'<input type="submit" name="upload" value="'.get_lang("UploadScorm").'">' .
'</form>'.
"</td>" .
"</tr>
@ -209,7 +209,7 @@ if (is_array($flat_list))
$dsp_progress = '<td style="padding-top:1em;">'.learnpath::get_db_progress($id,api_get_user_id(),'both').'</td>';
if(api_is_allowed_to_edit())
{
$dsp_desc = '<td valign="middle" style="color: grey; padding-top:1em;"><em>'.$details['lp_maker'].'</em> &nbsp;&nbsp; '.$details['lp_proximity'].' &nbsp;&nbsp; '.$details['lp_encoding'].'<a href="lp_controller.php?'.api_get_cidreq().'&action=edit&lp_id='.$id.'"><img src="../img/edit.gif" border="0" title="'.get_lang('_edit_learnpath').'"></a></td>'."\n";
$dsp_desc = '<td valign="middle" style="color: grey; padding-top:1em;"><em>'.$details['lp_maker'].'</em> &nbsp;&nbsp; '.$details['lp_proximity'].' &nbsp;&nbsp; '.$details['lp_encoding'].'<a href="lp_controller.php?'.api_get_cidreq().'&action=edit&lp_id='.$id.'">&nbsp;&nbsp;<img src="../img/edit.gif" border="0" title="'.get_lang('_edit_learnpath').'"></a></td>'."\n";
$fileExtension=explode('.',$dspFileName);
$fileExtension=strtolower($fileExtension[sizeof($fileExtension)-1]);
@ -264,44 +264,44 @@ if (is_array($flat_list))
if($details['lp_view_mode'] == 'fullscreen'){
$dsp_default_view = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_view_mode&lp_id='.$id.'">' .
'<img src="../img/view_fullscreen.gif" border="0" alt="View mode: embedded" title="Make mode embedded"/>' .
'</a>';
'</a>&nbsp;';
}else{
$dsp_default_view = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_view_mode&lp_id='.$id.'">' .
'<img src="../img/view_choose.gif" border="0" alt="View mode: fullscreen" title="Make mode fullscreen"/>' .
'</a>';
'</a>&nbsp;';
}
/* Increase SCORM recording */
if($details['lp_force_commit'] == 1){
$dsp_force_commit = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_force_commit&lp_id='.$id.'">' .
'<img src="../img/clock.gif" border="0" alt="Normal SCORM recordings" title="Make SCORM recordings normal"/>' .
'</a>';
'</a>&nbsp;';
}else{
$dsp_force_commit = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_force_commit&lp_id='.$id.'">' .
'<img src="../img/clock.gif" border="0" alt="Extra SCORM recordings" title="Make SCORM recordings extra"/>' .
'</a>';
'</a>&nbsp;';
}
if($details['lp_prevent_reinit']==1){
$dsp_reinit = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_reinit&lp_id='.$id.'">' .
'<img src="../img/kaboodleloop.gif" border="0" alt="Allow reinit" title="Allow multiple attempts"/>' .
'</a>';
'</a>&nbsp;';
}else{
$dsp_reinit = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_reinit&lp_id='.$id.'">' .
'<img src="../img/kaboodleloop.gif" border="0" alt="Prevent reinit" title="Prevent multiple attempts"/>' .
'</a>';
'</a>&nbsp;';
}
if($details['lp_type']==1){
$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&amp;action=build&amp;lp_id='.$id.'"><img src="../img/wizard.gif" border="0" title="Build"></a>';
$dsp_build = '<a href="lp_controller.php?'.api_get_cidreq().'&amp;action=build&amp;lp_id='.$id.'"><img src="../img/wizard.gif" border="0" title="Build"></a>&nbsp;';
}else{
$dsp_build = '<img src="../img/wizard_gray.gif" border="0" title="Build">';
$dsp_build = '<img src="../img/wizard_gray.gif" border="0" title="Build">&nbsp;';
}
if($details['lp_scorm_debug']==1){
$dsp_debug = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_scorm_debug&lp_id='.$id.'">' .
'<img src="../img/bug.gif" border="0" alt="Hide debug" title="Hide debug"/>' .
'</a>';
'</a>&nbsp;';
}else{
$dsp_debug = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_scorm_debug&lp_id='.$id.'">' .
'<img src="../img/bug_gray.gif" border="0" alt="Show debug" title="Show debug"/>' .
'</a>';
'</a>&nbsp;';
}
} // end if($is_allowedToEdit)

Loading…
Cancel
Save