[svn r10920] add/update icons and language vars

skala
Julian Prud'homme 18 years ago
parent 15c2e58569
commit c10fb79a38
  1. 6
      main/admin/class_information.php
  2. 4
      main/admin/class_list.php
  3. 8
      main/admin/course_information.php
  4. 6
      main/admin/course_list.php
  5. 2
      main/admin/session_list.php
  6. 8
      main/admin/user_information.php
  7. 4
      main/admin/user_list.php
  8. 4
      main/document/document.php
  9. 4
      main/dropbox/index.php
  10. 10
      main/group/group_space.php
  11. BIN
      main/img/course_home.gif
  12. BIN
      main/img/folder_up.gif
  13. 4
      main/mySpace/index.php
  14. 2
      main/newscorm/document.php
  15. 4
      main/newscorm/resourcelinker.inc.php
  16. 6
      main/resourcelinker/resourcelinker.inc.php
  17. 4
      main/work/work.lib.php

@ -1,4 +1,4 @@
<?php // $Id: class_information.php 10811 2007-01-22 08:26:40Z elixir_julian $
<?php // $Id: class_information.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -80,7 +80,7 @@ foreach($users as $index => $user)
$row[] = $user['lastname'];
$row[] = Display :: encrypted_mailto_link($user['email'], $user['email']);
$row[] = $user['status'] == 5 ? get_lang('Student') : get_lang('Teacher');
$row[] = '<a href="user_information.php?user_id='.$user['user_id'].'"><img src="../img/info_small.gif" border="0" /></a>';
$row[] = '<a href="user_information.php?user_id='.$user['user_id'].'"><img src="../img/synthese_view.gif" border="0" /></a>';
$data[] = $row;
}
Display::display_sortable_table($table_header,$data,array(),array(),array('id'=>$_GET['id']));
@ -105,7 +105,7 @@ if (count($courses) > 0)
$row = array ();
$row[] = $course['code'];
$row[] = $course['title'];
$row[] = '<a href="course_information.php?code='.$course['code'].'"><img src="../img/info_small.gif" border="0" /></a>'.'<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'"><img src="../img/home_small.gif" border="0"/></a>' .
$row[] = '<a href="course_information.php?code='.$course['code'].'"><img src="../img/info_small.gif" border="0" /></a>'.'<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'"><img src="../img/course_home.gif" border="0"/></a>' .
'<a href="course_edit.php?course_code='.$course['code'].'"><img src="../img/edit.gif" border="0" title="'.get_lang('Edit').'" alt="'.get_lang('Edit').'"/></a>';
$data[] = $row;
}

@ -1,5 +1,5 @@
<?php
// $Id: class_list.php 10811 2007-01-22 08:26:40Z elixir_julian $
// $Id: class_list.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -83,7 +83,7 @@ function get_class_data($from, $number_of_items, $column, $direction)
*/
function modify_filter($class_id)
{
$result = '<a href="class_information.php?id='.$class_id.'"><img src="../img/info_small.gif" border="0" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>';
$result = '<a href="class_information.php?id='.$class_id.'"><img src="../img/synthese_view.gif" border="0" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>';
$result .= '<a href="class_edit.php?idclass='.$class_id.'"><img src="../img/edit.gif" border="0" title="'.get_lang('Edit').'" alt="'.get_lang('Edit').'"/></a>';
$result .= '<a href="class_list.php?action=delete_class&amp;class_id='.$class_id.'" onclick="javascript:if(!confirm('."'".addslashes(htmlentities(get_lang("ConfirmYourChoice")))."'".')) return false;"><img src="../img/delete.gif" border="0" title="'.get_lang('Delete').'" alt="'.get_lang('Delete').'"/></a>';
$result .= '<a href="subscribe_user2class.php?idclass='.$class_id.'"><img src="../img/group_small.gif" border="0" alt="'.get_lang('AddUsersToAClass').'" title="'.get_lang('AddUsersToAClass').'"/></a>';

@ -1,5 +1,5 @@
<?php
// $Id: course_information.php 10811 2007-01-22 08:26:40Z elixir_julian $
// $Id: course_information.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -94,7 +94,7 @@ Display::display_header($tool_name);
//api_display_tool_title($tool_name);
?>
<p>
<a href="<?php echo api_get_path(WEB_COURSE_PATH).$course->directory; ?>"><img src="../img/home_small.gif" border="0" /> <?php echo api_get_path(WEB_COURSE_PATH).$course->directory; ?></a>
<a href="<?php echo api_get_path(WEB_COURSE_PATH).$course->directory; ?>"><img src="../img/course_home.gif" border="0" /> <?php echo api_get_path(WEB_COURSE_PATH).$course->directory; ?></a>
<br/>
<?php
if( get_setting('server_type') == 'test')
@ -136,7 +136,7 @@ if (mysql_num_rows($res) > 0)
$user[] = $obj->lastname;
$user[] = Display :: encrypted_mailto_link($obj->email, $obj->email);
$user[] = $obj->course_status == 5 ? get_lang('Student') : get_lang('Teacher');
$user[] = '<a href="user_information.php?user_id='.$obj->user_id.'"><img src="../img/info_small.gif" border="0" /></a>';
$user[] = '<a href="user_information.php?user_id='.$obj->user_id.'"><img src="../img/synthese_view.gif" border="0" /></a>';
$users[] = $user;
}
$table = new SortableTableFromArray($users,0,20,'user_table');
@ -169,7 +169,7 @@ if (mysql_num_rows($res) > 0)
{
$row = array ();
$row[] = $class->name;
$row[] = '<a href="class_information.php?id='.$class->id.'"><img src="../img/info_small.gif" border="0" /></a>';
$row[] = '<a href="class_information.php?id='.$class->id.'"><img src="../img/synthese_view.gif" border="0" /></a>';
$data[] = $row;
}
echo '<p><b>'.get_lang('AdminClasses').'</b></p>';

@ -1,5 +1,5 @@
<?php
// $Id: course_list.php 10811 2007-01-22 08:26:40Z elixir_julian $
// $Id: course_list.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -113,8 +113,8 @@ function get_course_data($from, $number_of_items, $column, $direction)
function modify_filter($code)
{
return
'<a href="course_information.php?code='.$code.'"><img src="../img/info_small.gif" border="0" style="vertical-align: middle" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>&nbsp;'.
'<a href="../course_home/course_home.php?cidReq='.$code.'"><img src="../img/home_small.gif" border="0" style="vertical-align: middle" title="'.get_lang('CourseHomepage').'" alt="'.get_lang('CourseHomepage').'"/></a>&nbsp;'.
'<a href="course_information.php?code='.$code.'"><img src="../img/synthese_view.gif" border="0" style="vertical-align: middle" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>&nbsp;'.
'<a href="../course_home/course_home.php?cidReq='.$code.'"><img src="../img/course_home.gif" border="0" style="vertical-align: middle" title="'.get_lang('CourseHomepage').'" alt="'.get_lang('CourseHomepage').'"/></a>&nbsp;'.
'<a href="../tracking/courseLog.php?cidReq='.$code.'"><img src="../img/statistics.gif" border="0" style="vertical-align: middle" title="'.get_lang('Tracking').'" alt="'.get_lang('Tracking').'"/></a>&nbsp;'.
'<a href="course_edit.php?course_code='.$code.'"><img src="../img/edit.gif" border="0" style="vertical-align: middle" title="'.get_lang('Edit').'" alt="'.get_lang('Edit').'"/></a>&nbsp;'.
'<a href="course_list.php?delete_course='.$code.'" onclick="javascript:if(!confirm('."'".addslashes(htmlentities(get_lang("ConfirmYourChoice")))."'".')) return false;"><img src="../img/delete.gif" border="0" style="vertical-align: middle" title="'.get_lang('Delete').'" alt="'.get_lang('Delete').'"/></a>';

@ -109,7 +109,7 @@ else
$session[] = htmlentities($enreg['date_start']);
$session[] = htmlentities($enreg['date_end']);
$session[] = '<a href="add_users_to_session.php?page=session_list.php&id_session='.$enreg['id'].'"><img src="../img/group_small.gif" border="0" align="absmiddle" title="'.get_lang('SubscribeUsersToSession').'"></a>
<a href="add_courses_to_session.php?page=session_list.php&id_session='.$enreg['id'].'"><img src="../img/info_small.gif" border="0" align="absmiddle" title="'.get_lang('SubscribeCoursesToSession').'"></a>
<a href="add_courses_to_session.php?page=session_list.php&id_session='.$enreg['id'].'"><img src="../img/synthese_view.gif" border="0" align="absmiddle" title="'.get_lang('SubscribeCoursesToSession').'"></a>
<a href="session_edit.php?page=session_list.php&id='.$enreg['id'].'"><img src="../img/edit.gif" border="0" align="absmiddle" title="'.get_lang('Edit').'"></a>
<a href="'.$PHP_SELF.'?sort='.$sort.'&action=delete&idChecked='.$enreg['id'].'" onclick="javascript:if(!confirm(\''.get_lang('Confirm').'\')) return false;"><img src="../img/delete.gif" border="0" align="absmiddle" title="'.get_lang('Delete').'"></a>';
$sessions[] = $session;

@ -1,5 +1,5 @@
<?php
// $Id: user_information.php 10811 2007-01-22 08:26:40Z elixir_julian $
// $Id: user_information.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -94,8 +94,8 @@ if (mysql_num_rows($res) > 0)
$row[] = $course->code;
$row[] = $course->title;
$row[] = $course->status == STUDENT ? get_lang('Student') : get_lang('Teacher');
$tools = '<a href="course_information.php?code='.$course->code.'"><img src="../img/info_small.gif" border="0" style="vertical-align: middle" /></a>'.
'<a href="'.api_get_path(WEB_COURSE_PATH).$course->directory.'"><img src="../img/home_small.gif" border="0" style="vertical-align: middle" /></a>' .
$tools = '<a href="course_information.php?code='.$course->code.'"><img src="../img/synthese_view.gif" border="0" style="vertical-align: middle" /></a>'.
'<a href="'.api_get_path(WEB_COURSE_PATH).$course->directory.'"><img src="../img/course_home.gif" border="0" style="vertical-align: middle" /></a>' .
'<a href="course_edit.php?course_code='.$course->code.'"><img src="../img/edit.gif" border="0" style="vertical-align: middle" title="'.get_lang('Edit').'" alt="'.get_lang('Edit').'"/></a>';
if( $course->status == STUDENT )
{
@ -131,7 +131,7 @@ if (mysql_num_rows($res) > 0)
{
$row = array();
$row[] = $class->name;
$row[] = '<a href="class_information.php?id='.$class->id.'"><img src="../img/info_small.gif" border="0" style="vertical-align: middle" /></a>';
$row[] = '<a href="class_information.php?id='.$class->id.'"><img src="../img/synthese_view.gif" border="0" style="vertical-align: middle" /></a>';
$data[] = $row;
}
echo '<p><b>'.get_lang('Classes').'</b></p>';

@ -1,6 +1,6 @@
<?php
// $Id: user_list.php 10815 2007-01-22 13:07:40Z bmol $
// $Id: user_list.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -253,7 +253,7 @@ function email_filter($email)
*/
function modify_filter($user_id,$url_params)
{
$result .= '<a href="user_information.php?user_id='.$user_id.'"><img src="../img/info_small.gif" border="0" style="vertical-align: middle;" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>&nbsp;';
$result .= '<a href="user_information.php?user_id='.$user_id.'"><img src="../img/synthese_view.gif" border="0" style="vertical-align: middle;" title="'.get_lang('Info').'" alt="'.get_lang('Info').'"/></a>&nbsp;';
$result .= '<a href="user_list.php?action=login_as&amp;user_id='.$user_id.'"><img src="../img/loginas.gif" border="0" style="vertical-align: middle;" alt="'.get_lang('LoginAs').'" title="'.get_lang('LoginAs').'"/></a>&nbsp;';
$tbl_user = Database :: get_main_table(TABLE_MAIN_USER);

@ -1,4 +1,4 @@
<?php // $Id: document.php 10839 2007-01-23 09:35:28Z elixir_julian $
<?php // $Id: document.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -475,7 +475,7 @@ echo(build_directory_selector($folders,$curdirpath,$group_properties['directory'
{
?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?curdirpath=<?php echo urlencode((dirname($curdirpath)=='\\')?'/':dirname($curdirpath)) ?>">
<img src="../img/parent.gif" border="0" align="absbottom" hspace="5" alt="" />
<img src="../img/folder_up.gif" border="0" align="absbottom" hspace="5" alt="" />
<?php echo get_lang("Up"); ?></a>&nbsp;
<?php
}

@ -300,7 +300,7 @@ if (!$_GET['view'] OR $_GET['view']=='received' OR $dropbox_cnf['sent_received_t
if ($view_dropbox_category_received<>0)
{
echo get_lang('CurrentlySeeing').': <strong>'.$dropbox_categories[$view_dropbox_category_received]['cat_name'].'</strong><br />';
echo '<img src="../img/parent.gif" alt="'.get_lang('up').'" align="absmiddle" /><a href="'.$_SERVER['PHP_SELF'].'?view_received_category=0&amp;view_sent_category='.$_GET['view_sent_category'].'&amp;view='.$_GET['view'].'">'.get_lang('Root')."</a>\n";
echo '<img src="../img/folder_up.gif" alt="'.get_lang('up').'" align="absmiddle" /><a href="'.$_SERVER['PHP_SELF'].'?view_received_category=0&amp;view_sent_category='.$_GET['view_sent_category'].'&amp;view='.$_GET['view'].'">'.get_lang('Root')."</a>\n";
}
echo "<a href=\"".$_SERVER['PHP_SELF']."?action=addreceivedcategory\"><img src=\"../img/folder_new.gif\" alt=\"".get_lang('NewFolder')."\" align=\"absmiddle\"/> ".get_lang('AddNewCategory')."</a>\n";
@ -447,7 +447,7 @@ if ($_GET['view']=='sent' OR $dropbox_cnf['sent_received_tabs']==false)
if ($view_dropbox_category_sent<>0)
{
echo get_lang('CurrentlySeeing').': <strong>'.$dropbox_categories[$view_dropbox_category_sent]['cat_name'].'</strong><br />';
echo '<img src="../img/parent.gif" alt="'.get_lang('Up').'" align="absmiddle" /><a href="'.$_SERVER['PHP_SELF'].'?view_received_category='.$_GET['view_received_category'].'&amp;view_sent_category=0&amp;view='.$_GET['view'].'">'.get_lang('Root')."</a>\n";
echo '<img src="../img/folder_up.gif" alt="'.get_lang('Up').'" align="absmiddle" /><a href="'.$_SERVER['PHP_SELF'].'?view_received_category='.$_GET['view_received_category'].'&amp;view_sent_category=0&amp;view='.$_GET['view'].'">'.get_lang('Root')."</a>\n";
}
echo "<a href=\"".$_SERVER['PHP_SELF']."?view=".$_GET['view']."&amp;action=add\"><img src=\"../img/submit_file.gif\" alt=\"".get_lang('Upload')."\" align=\"absmiddle\"/> ".get_lang('UploadNewFile')."</a>&nbsp;\n";
echo "<a href=\"".$_SERVER['PHP_SELF']."?view=".$_GET['view']."&amp;action=addsentcategory\"><img src=\"../img/folder_new.gif\" alt=\"".get_lang('NewFolder')."\" align=\"absmiddle\" /> ".get_lang('AddNewCategory')."</a>\n";

@ -153,27 +153,27 @@ if (api_is_allowed_to_edit() OR GroupManager :: is_user_in_group($_SESSION['_uid
// Edited by Patrick Cool, 12 feb 2004: hide the forum link if there is no forum for this group (deleted through forum_admin.php)
if (!is_null($current_group['forum_id']) && $current_group['forum_state'] != TOOL_NOT_AVAILABLE)
{
$tools .= "- <a href=\"../phpbb/viewforum.php?".api_get_cidreq()."&amp;origin=$origin&amp;gidReq=".$current_group['id']."&amp;forum=".$current_group['forum_id']."\">".get_lang("Forums")."</a><br/>";
$tools .= "<a href=\"../phpbb/viewforum.php?".api_get_cidreq()."&amp;origin=$origin&amp;gidReq=".$current_group['id']."&amp;forum=".$current_group['forum_id']."\"><img src='../img/forum.gif' align='absbottom'>&nbsp;".get_lang("Forums")."</a></div>";
}
if( $current_group['doc_state'] != TOOL_NOT_AVAILABLE )
{
// link to the documents area of this group
$tools .= "- <a href=\"../document/document.php?".api_get_cidreq()."&amp;gidReq=".$current_group['id']."\">".get_lang("GroupDocument")."</a><br/>";
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../document/document.php?".api_get_cidreq()."&amp;gidReq=".$current_group['id']."\"><img src='../img/documents.gif' align='absbottom'>&nbsp;".get_lang("GroupDocument")."</a></div>";
}
if ( $current_group['calendar_state'] != TOOL_NOT_AVAILABLE)
{
//link to a group-specific part of agenda
$tools .= "- <a href=\"../calendar/agenda.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."&amp;group=".$current_group['id']."&amp;acces=0\">".get_lang("GroupCalendar")."</a><br/>";
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../calendar/agenda.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."&amp;group=".$current_group['id']."&amp;acces=0\"><img src='../img/agenda.gif' align='absbottom'>&nbsp;".get_lang("GroupCalendar")."</a></div>";
}
if ( $current_group['work_state'] != TOOL_NOT_AVAILABLE)
{
//link to the works area of this group
$tools .= "- <a href=\"../work/work.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."\">".get_lang("GroupWork")."</a><br/>";
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../work/work.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."\"><img src='../img/works.gif' align='absbottom'>&nbsp;".get_lang("GroupWork")."</a></div>";
}
if ( $current_group['announcements_state'] != TOOL_NOT_AVAILABLE)
{
//link to a group-specific part of announcements
$tools .= "- <a href=\"../announcements/announcements.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."\">".get_lang("GroupAnnouncements")."</a><br/>";
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../announcements/announcements.php?".api_get_cidreq()."&amp;toolgroup=".$current_group['id']."\"><img src='../img/valves.gif' align='absbottom'>&nbsp;".get_lang("GroupAnnouncements")."</a></div>";
}
echo '<b>'.get_lang("Tools").':</b><blockquote>'.$tools.'</blockquote>';

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -317,7 +317,7 @@ if((api_is_platform_admin() || $is_allowedCreateCourse) && api_get_setting('use_
{
echo '<div class="admin_section">
<h4>
<a href="coaches.php"><img src="'.api_get_path(WEB_IMG_PATH).'coachs.gif">&nbsp;'.get_lang("Tutor").' ('.$nbCoachs.')</a>
<a href="coaches.php"><img src="'.api_get_path(WEB_IMG_PATH).'coachs.gif">&nbsp;'.get_lang("Tutors").' ('.$nbCoachs.')</a>
</h4>
</div>';
}
@ -336,7 +336,7 @@ if((api_is_platform_admin() || $is_allowedCreateCourse) && api_get_setting('use_
</div>
<div class="admin_section">
<h4>
<?php echo "<a href='cours.php'><img src='".api_get_path(WEB_IMG_PATH)."courses.gif'>&nbsp;".get_lang('Course').' ('.$nbCours.')'."</a>"; ?>
<?php echo "<a href='cours.php'><img src='".api_get_path(WEB_IMG_PATH)."courses.gif'>&nbsp;".get_lang('Courses').' ('.$nbCours.')'."</a>"; ?>
</h4>
</div>

@ -247,7 +247,7 @@ if ($curDirName) /* if the $curDirName is empty, we're in the root point
?>
<!-- parent dir -->
<a href="<?php echo $_SERVER['PHP_SELF'].'?'.api_get_cidreq().'&openDir='.$cmdParentDir.'&subdirs=yes'; ?>">
<img src="../img/parent.gif" border="0" align="absbottom" hspace="5" alt="parent" />
<img src="../img/folder_up.gif" border="0" align="absbottom" hspace="5" alt="parent" />
<?php echo get_lang("Up"); ?></a>&nbsp;
<?php
}

@ -74,7 +74,7 @@ function show_folder_up()
if ($level == 1)
{
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/parent.gif' border='0' />".get_lang('LevelUp')."</a>";
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/folder_up.gif' border='0' />".get_lang('LevelUp')."</a>";
}
if ($level and $level != 0 and $level != 1)
{
@ -83,7 +83,7 @@ function show_folder_up()
$last=count($folder_temp)-1;
unset($folder_temp[$last]);
$folder_up=implode('/',$folder_temp);
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;folder=$folder_up&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/parent.gif' border='0' />".get_lang('LevelUp')."</a>";
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;folder=$folder_up&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/folder_up.gif' border='0' />".get_lang('LevelUp')."</a>";
}
}

@ -1,4 +1,4 @@
<?php // $Id: resourcelinker.inc.php 10204 2006-11-26 20:46:53Z pcool $
<?php // $Id: resourcelinker.inc.php 10920 2007-01-26 10:55:37Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -73,7 +73,7 @@ function show_folder_up()
if ($level == 1)
{
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/parent.gif' border='0' />".get_lang('LevelUp')."</a>";
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/folder_up.gif' border='0' />".get_lang('LevelUp')."</a>";
}
if ($level and $level != 0 and $level != 1)
{
@ -82,7 +82,7 @@ function show_folder_up()
$last=count($folder_temp)-1;
unset($folder_temp[$last]);
$folder_up=implode('/',$folder_temp);
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;folder=$folder_up&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/parent.gif' border='0' />".get_lang('LevelUp')."</a>";
echo "<a href='".$_SERVER['PHP_SELF']."?content=Document&amp;source_forum=".$_GET['source_forum']."&amp;folder=$folder_up&amp;source_id=$source_id&amp;action=$action&amp;learnpath_id=$learnpath_id&amp;chapter_id=$chapter_id&amp;originalresource=no'><img src='../img/folder_up.gif' border='0' />".get_lang('LevelUp')."</a>";
}
}

@ -37,7 +37,7 @@ function display_action_links($cur_dir_path, $always_show_tool_options, $always_
if(strlen($cur_dir_path) > 0 && $cur_dir_path != '/')
{
$parent_dir = dirname($cur_dir_path);
$display_output .= '<a href="'.$_SERVER['PHP_SELF'].'?curdirpath='.$parent_dir.'">'.Display::return_icon('parent.gif').' '.get_lang('Up').'</a> ';
$display_output .= '<a href="'.$_SERVER['PHP_SELF'].'?curdirpath='.$parent_dir.'">'.Display::return_icon('folder_up.gif').' '.get_lang('Up').'</a> ';
}
if (! $always_show_upload_form )
{
@ -131,7 +131,7 @@ function display_tool_options($uploadvisibledisabled, $origin)
get_lang("Up").'</a>&nbsp;'."\n";
}
echo '<!-- create directory -->' .
'<a href="'.$_SERVER['PHP_SELF'].'?'.api_get_cidreq().'&curdirpath='.$cur_dir_path.'&amp;createdir=1"><img src="../img/new_folder.gif" border="0" align="absmiddle" alt ="" /></a>'.
'<a href="'.$_SERVER['PHP_SELF'].'?'.api_get_cidreq().'&curdirpath='.$cur_dir_path.'&amp;createdir=1"><img src="../img/folder_new.gif" border="0" align="absmiddle" alt ="" /></a>'.
'<a href="'.$_SERVER['PHP_SELF'].'?'.api_get_cidreq().'&curdirpath='.$cur_dir_path.'&amp;createdir=1">'.get_lang("CreateDir").'</a>&nbsp;'."\n";
echo "</td></tr></table>";

Loading…
Cancel
Save