commit
25f53b5d23
@ -1,232 +1,232 @@ |
|||||||
<?php |
<?php |
||||||
/* For licensing terms, see /dokeos_license.txt */ |
/* For licensing terms, see /dokeos_license.txt */ |
||||||
|
|
||||||
$language_file='admin'; |
$language_file='admin'; |
||||||
$cidReset=true; |
$cidReset=true; |
||||||
|
|
||||||
include('../inc/global.inc.php'); |
include('../inc/global.inc.php'); |
||||||
require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); |
require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); |
||||||
require_once (api_get_path(LIBRARY_PATH).'sessionmanager.lib.php'); |
require_once (api_get_path(LIBRARY_PATH).'sessionmanager.lib.php'); |
||||||
|
|
||||||
api_protect_admin_script(true); |
api_protect_admin_script(true); |
||||||
// setting the section (for the tabs) |
// setting the section (for the tabs) |
||||||
$this_section=SECTION_PLATFORM_ADMIN; |
$this_section=SECTION_PLATFORM_ADMIN; |
||||||
$htmlHeadXtra[] = '<script language="javascript"> |
$htmlHeadXtra[] = '<script language="javascript"> |
||||||
|
|
||||||
function selectAll(idCheck,numRows,action) { |
function selectAll(idCheck,numRows,action) { |
||||||
|
|
||||||
for(i=0;i<numRows;i++) { |
for(i=0;i<numRows;i++) { |
||||||
idcheck = document.getElementById(idCheck+"_"+i); |
idcheck = document.getElementById(idCheck+"_"+i); |
||||||
if (action == "true"){ |
if (action == "true"){ |
||||||
idcheck.checked = true; |
idcheck.checked = true; |
||||||
} else { |
} else { |
||||||
idcheck.checked = false; |
idcheck.checked = false; |
||||||
} |
} |
||||||
} |
} |
||||||
|
|
||||||
} |
} |
||||||
</script>'; |
</script>'; |
||||||
|
|
||||||
$tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY); |
$tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY); |
||||||
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION); |
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION); |
||||||
|
|
||||||
$page=intval($_GET['page']); |
$page=intval($_GET['page']); |
||||||
$action= Security::remove_XSS($_REQUEST['action']); |
$action= Security::remove_XSS($_REQUEST['action']); |
||||||
$sort=in_array($_GET['sort'],array('name','nbr_session','date_start','date_end'))? Security::remove_XSS($_GET['sort']) : 'name'; |
$sort=in_array($_GET['sort'],array('name','nbr_session','date_start','date_end'))? Security::remove_XSS($_GET['sort']) : 'name'; |
||||||
$idChecked = Security::remove_XSS($_REQUEST['idChecked']); |
$idChecked = Security::remove_XSS($_REQUEST['idChecked']); |
||||||
$order = (isset($_REQUEST['order']))? Security::remove_XSS($_REQUEST['order']): 'ASC'; |
$order = (isset($_REQUEST['order']))? Security::remove_XSS($_REQUEST['order']): 'ASC'; |
||||||
|
|
||||||
if ($action == 'delete_on_session' || $action == 'delete_off_session') { |
if ($action == 'delete_on_session' || $action == 'delete_off_session') { |
||||||
$delete_session = ($action == 'delete_on_session')? true: false; |
$delete_session = ($action == 'delete_on_session')? true: false; |
||||||
SessionManager::delete_session_category($idChecked, $delete_session); |
SessionManager::delete_session_category($idChecked, $delete_session); |
||||||
header('Location: '.api_get_self().'?sort='.$sort.'&action=show_message&message='.urlencode(get_lang('SessionCategoryDelete'))); |
header('Location: '.api_get_self().'?sort='.$sort.'&action=show_message&message='.urlencode(get_lang('SessionCategoryDelete'))); |
||||||
exit(); |
exit(); |
||||||
} |
} |
||||||
|
|
||||||
$interbreadcrumb[]=array("url" => "index.php","name" => get_lang('PlatformAdmin')); |
$interbreadcrumb[]=array("url" => "index.php","name" => get_lang('PlatformAdmin')); |
||||||
|
|
||||||
if (isset ($_GET['search']) && $_GET['search'] == 'advanced') { |
if (isset ($_GET['search']) && $_GET['search'] == 'advanced') { |
||||||
$interbreadcrumb[] = array ("url" => 'session_category_list.php', "name" => get_lang('ListSessionCategory')); |
$interbreadcrumb[] = array ("url" => 'session_category_list.php', "name" => get_lang('ListSessionCategory')); |
||||||
$tool_name = get_lang('SearchASession'); |
$tool_name = get_lang('SearchASession'); |
||||||
Display :: display_header($tool_name); |
Display :: display_header($tool_name); |
||||||
$form = new FormValidator('advanced_search','get'); |
$form = new FormValidator('advanced_search','get'); |
||||||
$form->addElement('header', '', $tool_name); |
$form->addElement('header', '', $tool_name); |
||||||
$active_group = array(); |
$active_group = array(); |
||||||
$active_group[] = $form->createElement('checkbox','active','',get_lang('Active')); |
$active_group[] = $form->createElement('checkbox','active','',get_lang('Active')); |
||||||
$active_group[] = $form->createElement('checkbox','inactive','',get_lang('Inactive')); |
$active_group[] = $form->createElement('checkbox','inactive','',get_lang('Inactive')); |
||||||
$form->addGroup($active_group,'',get_lang('ActiveSession'),'<br/>',false); |
$form->addGroup($active_group,'',get_lang('ActiveSession'),'<br/>',false); |
||||||
|
|
||||||
$form->addElement('style_submit_button', 'submit',get_lang('SearchUsers'),'class="search"'); |
$form->addElement('style_submit_button', 'submit',get_lang('SearchUsers'),'class="search"'); |
||||||
$defaults['active'] = 1; |
$defaults['active'] = 1; |
||||||
$defaults['inactive'] = 1; |
$defaults['inactive'] = 1; |
||||||
$form->setDefaults($defaults); |
$form->setDefaults($defaults); |
||||||
$form->display(); |
$form->display(); |
||||||
} else { |
} else { |
||||||
$limit = 20; |
$limit = 20; |
||||||
$from = $page * $limit; |
$from = $page * $limit; |
||||||
//if user is crfp admin only list its sessions |
//if user is crfp admin only list its sessions |
||||||
if(!api_is_platform_admin()) { |
if(!api_is_platform_admin()) { |
||||||
$where .= (empty($_REQUEST['keyword']) ? " " : " WHERE name LIKE '%".addslashes($_REQUEST['keyword'])."%'"); |
$where .= (empty($_REQUEST['keyword']) ? " " : " WHERE name LIKE '%".addslashes($_REQUEST['keyword'])."%'"); |
||||||
} |
} |
||||||
else { |
else { |
||||||
$where .= (empty($_REQUEST['keyword']) ? " " : " WHERE name LIKE '%".addslashes($_REQUEST['keyword'])."%'"); |
$where .= (empty($_REQUEST['keyword']) ? " " : " WHERE name LIKE '%".addslashes($_REQUEST['keyword'])."%'"); |
||||||
} |
} |
||||||
|
|
||||||
$query = "SELECT sc.*, (select count(id) FROM $tbl_session WHERE session_category_id = sc.id) as nbr_session |
$query = "SELECT sc.*, (select count(id) FROM $tbl_session WHERE session_category_id = sc.id) as nbr_session |
||||||
FROM $tbl_session_category sc |
FROM $tbl_session_category sc |
||||||
$where |
$where |
||||||
ORDER BY $sort $order |
ORDER BY $sort $order |
||||||
LIMIT $from,".($limit+1); |
LIMIT $from,".($limit+1); |
||||||
|
|
||||||
$query_rows = "SELECT count(*) as total_rows |
$query_rows = "SELECT count(*) as total_rows |
||||||
FROM $tbl_session_category sc $where "; |
FROM $tbl_session_category sc $where "; |
||||||
|
|
||||||
$order = ($order == 'ASC')? 'DESC': 'ASC'; |
$order = ($order == 'ASC')? 'DESC': 'ASC'; |
||||||
$result_rows = Database::query($query_rows,__FILE__,__LINE__); |
$result_rows = Database::query($query_rows,__FILE__,__LINE__); |
||||||
$recorset = Database::fetch_array($result_rows); |
$recorset = Database::fetch_array($result_rows); |
||||||
$num = $recorset['total_rows']; |
$num = $recorset['total_rows']; |
||||||
$result = Database::query($query,__FILE__,__LINE__); |
$result = Database::query($query,__FILE__,__LINE__); |
||||||
$Sessions = Database::store_result($result); |
$Sessions = Database::store_result($result); |
||||||
$nbr_results = sizeof($Sessions); |
$nbr_results = sizeof($Sessions); |
||||||
$tool_name = get_lang('ListSessionCategory'); |
$tool_name = get_lang('ListSessionCategory'); |
||||||
Display::display_header($tool_name); |
Display::display_header($tool_name); |
||||||
api_display_tool_title($tool_name); |
api_display_tool_title($tool_name); |
||||||
|
|
||||||
if (!empty($_GET['warn'])) { |
if (!empty($_GET['warn'])) { |
||||||
Display::display_warning_message(urldecode($_GET['warn']),false); |
Display::display_warning_message(urldecode($_GET['warn']),false); |
||||||
} |
} |
||||||
if(isset($_GET['action'])) { |
if(isset($_GET['action'])) { |
||||||
Display::display_normal_message(stripslashes($_GET['message']),false); |
Display::display_confirmation_message(stripslashes($_GET['message']),false); |
||||||
} |
} |
||||||
?> |
?> |
||||||
|
|
||||||
<div class="actions"> |
<div class="actions"> |
||||||
<?php |
<?php |
||||||
echo '<div style="float:right;"> |
echo '<div style="float:right;"> |
||||||
<a href="'.api_get_path(WEB_CODE_PATH).'admin/session_category_add.php">'.Display::return_icon('view_more_stats.gif',get_lang('AddSession')).get_lang('AddSessionCategory').'</a> |
<a href="'.api_get_path(WEB_CODE_PATH).'admin/session_category_add.php">'.Display::return_icon('view_more_stats.gif',get_lang('AddSession')).get_lang('AddSessionCategory').'</a> |
||||||
</div>'; |
</div>'; |
||||||
?> |
?> |
||||||
<form method="POST" action="session_category_list.php"> |
<form method="POST" action="session_category_list.php"> |
||||||
<input type="text" name="keyword" value="<?php echo Security::remove_XSS($_GET['keyword']); ?>"/>
|
<input type="text" name="keyword" value="<?php echo Security::remove_XSS($_GET['keyword']); ?>"/>
|
||||||
<button class="search" type="submit" name="name" value="<?php echo get_lang('Search') ?>"><?php echo get_lang('Search') ?></button>
|
<button class="search" type="submit" name="name" value="<?php echo get_lang('Search') ?>"><?php echo get_lang('Search') ?></button>
|
||||||
<!-- <a href="session_list.php?search=advanced"><?php echo get_lang('AdvancedSearch'); ?></a> -->
|
<!-- <a href="session_list.php?search=advanced"><?php echo get_lang('AdvancedSearch'); ?></a> -->
|
||||||
</form> |
</form> |
||||||
<form method="post" action="<?php echo api_get_self(); ?>?action=delete&sort=<?php echo $sort; ?>" onsubmit="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;">
|
<form method="post" action="<?php echo api_get_self(); ?>?action=delete&sort=<?php echo $sort; ?>" onsubmit="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;">
|
||||||
</div><br /> |
</div><br /> |
||||||
<div align="left"> |
<div align="left"> |
||||||
<?php |
<?php |
||||||
if(count($Sessions)==0 && isset($_POST['keyword'])) { |
if(count($Sessions)==0 && isset($_POST['keyword'])) { |
||||||
echo get_lang('NoSearchResults'); |
echo get_lang('NoSearchResults'); |
||||||
echo '</div>'; |
echo '</div>'; |
||||||
} else { |
} else { |
||||||
if ($num > $limit) { |
if ($num > $limit) { |
||||||
if ($page) { |
if ($page) { |
||||||
?> |
?> |
||||||
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page-1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Previous'); ?></a>
|
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page-1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Previous'); ?></a>
|
||||||
<?php |
<?php |
||||||
} else { |
} else { |
||||||
echo get_lang('Previous'); |
echo get_lang('Previous'); |
||||||
} |
} |
||||||
?> |
?> |
||||||
| |
| |
||||||
<?php |
<?php |
||||||
if($nbr_results > $limit) { |
if($nbr_results > $limit) { |
||||||
?> |
?> |
||||||
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page+1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Next'); ?></a>
|
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page+1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Next'); ?></a>
|
||||||
<?php |
<?php |
||||||
} else { |
} else { |
||||||
echo get_lang('Next'); |
echo get_lang('Next'); |
||||||
} |
} |
||||||
} |
} |
||||||
?> |
?> |
||||||
</div> |
</div> |
||||||
<br /> |
<br /> |
||||||
<table class="data_table" width="100%"> |
<table class="data_table" width="100%"> |
||||||
<tr> |
<tr> |
||||||
<th> </th> |
<th> </th> |
||||||
<th><a href="<?php echo api_get_self(); ?>?sort=name&order=<?php echo ($sort=='name')? $order: 'ASC'; ?>"><?php echo get_lang('SessionCategoryName'); ?></a></th>
|
<th><a href="<?php echo api_get_self(); ?>?sort=name&order=<?php echo ($sort=='name')? $order: 'ASC'; ?>"><?php echo get_lang('SessionCategoryName'); ?></a></th>
|
||||||
<th><a href="<?php echo api_get_self(); ?>?sort=nbr_session&order=<?php echo ($sort=='nbr_session')? $order: 'ASC'; ?>"><?php echo get_lang('NumberOfSession'); ?></a></th>
|
<th><a href="<?php echo api_get_self(); ?>?sort=nbr_session&order=<?php echo ($sort=='nbr_session')? $order: 'ASC'; ?>"><?php echo get_lang('NumberOfSession'); ?></a></th>
|
||||||
<th><a href="<?php echo api_get_self(); ?>?sort=date_start&order=<?php echo ($sort=='date_start')? $order: 'ASC'; ?>"><?php echo get_lang('StartDate'); ?></a></th>
|
<th><a href="<?php echo api_get_self(); ?>?sort=date_start&order=<?php echo ($sort=='date_start')? $order: 'ASC'; ?>"><?php echo get_lang('StartDate'); ?></a></th>
|
||||||
<th><a href="<?php echo api_get_self(); ?>?sort=date_end&order=<?php echo ($sort=='date_end')? $order: 'ASC'; ?>"><?php echo get_lang('EndDate'); ?></a></th>
|
<th><a href="<?php echo api_get_self(); ?>?sort=date_end&order=<?php echo ($sort=='date_end')? $order: 'ASC'; ?>"><?php echo get_lang('EndDate'); ?></a></th>
|
||||||
<th><?php echo get_lang('Actions'); ?></th>
|
<th><?php echo get_lang('Actions'); ?></th>
|
||||||
</tr> |
</tr> |
||||||
|
|
||||||
<?php |
<?php |
||||||
$i=0; |
$i=0; |
||||||
$x=0; |
$x=0; |
||||||
foreach ($Sessions as $key=>$enreg) { |
foreach ($Sessions as $key=>$enreg) { |
||||||
if($key == $limit) { |
if($key == $limit) { |
||||||
break; |
break; |
||||||
} |
} |
||||||
$sql = 'SELECT COUNT(session_category_id) FROM '.$tbl_session.' WHERE session_category_id = '.intval($enreg['id']); |
$sql = 'SELECT COUNT(session_category_id) FROM '.$tbl_session.' WHERE session_category_id = '.intval($enreg['id']); |
||||||
$rs = Database::query($sql, __FILE__, __LINE__); |
$rs = Database::query($sql, __FILE__, __LINE__); |
||||||
list($nb_courses) = Database::fetch_array($rs); |
list($nb_courses) = Database::fetch_array($rs); |
||||||
?> |
?> |
||||||
<tr class="<?php echo $i?'row_odd':'row_even'; ?>">
|
<tr class="<?php echo $i?'row_odd':'row_even'; ?>">
|
||||||
<td><input type="checkbox" id="idChecked_<?php echo $x; ?>" name="idChecked[]" value="<?php echo $enreg['id']; ?>"></td>
|
<td><input type="checkbox" id="idChecked_<?php echo $x; ?>" name="idChecked[]" value="<?php echo $enreg['id']; ?>"></td>
|
||||||
<td><?php echo api_htmlentities($enreg['name'],ENT_QUOTES,$charset); ?></td>
|
<td><?php echo api_htmlentities($enreg['name'],ENT_QUOTES,$charset); ?></td>
|
||||||
<td><?php echo "<a href=\"session_list.php?id_category=".$enreg['id']."\">".$nb_courses." Sesion(es) </a>"; ?></td>
|
<td><?php echo "<a href=\"session_list.php?id_category=".$enreg['id']."\">".$nb_courses." Sesion(es) </a>"; ?></td>
|
||||||
<td><?php echo api_htmlentities($enreg['date_start'],ENT_QUOTES,$charset); ?></td>
|
<td><?php echo api_htmlentities($enreg['date_start'],ENT_QUOTES,$charset); ?></td>
|
||||||
<td><?php echo api_htmlentities($enreg['date_end'],ENT_QUOTES,$charset); ?></td>
|
<td><?php echo api_htmlentities($enreg['date_end'],ENT_QUOTES,$charset); ?></td>
|
||||||
<td> |
<td> |
||||||
<a href="session_category_edit.php?&id=<?php echo $enreg['id']; ?>"><?php Display::display_icon('edit.gif', get_lang('Edit')); ?></a>
|
<a href="session_category_edit.php?&id=<?php echo $enreg['id']; ?>"><?php Display::display_icon('edit.gif', get_lang('Edit')); ?></a>
|
||||||
<a href="<?php echo api_get_self(); ?>?sort=<?php echo $sort; ?>&action=delete_off_session&idChecked=<?php echo $enreg['id']; ?>" onclick="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;"><?php Display::display_icon('delete.gif', get_lang('Delete')); ?></a>
|
<a href="<?php echo api_get_self(); ?>?sort=<?php echo $sort; ?>&action=delete_off_session&idChecked=<?php echo $enreg['id']; ?>" onclick="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;"><?php Display::display_icon('delete.gif', get_lang('Delete')); ?></a>
|
||||||
</td> |
</td> |
||||||
</tr> |
</tr> |
||||||
<?php |
<?php |
||||||
$i=$i ? 0 : 1; |
$i=$i ? 0 : 1; |
||||||
$x++; |
$x++; |
||||||
} |
} |
||||||
unset($Sessions); |
unset($Sessions); |
||||||
?> |
?> |
||||||
</table> |
</table> |
||||||
<br /> |
<br /> |
||||||
|
|
||||||
<div align="left"> |
<div align="left"> |
||||||
|
|
||||||
<?php |
<?php |
||||||
|
|
||||||
if ($num > $limit) { |
if ($num > $limit) { |
||||||
if ($page) |
if ($page) |
||||||
{ |
{ |
||||||
?> |
?> |
||||||
|
|
||||||
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page-1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Previous'); ?></a>
|
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page-1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Previous'); ?></a>
|
||||||
|
|
||||||
<?php |
<?php |
||||||
} |
} |
||||||
else |
else |
||||||
{ |
{ |
||||||
echo get_lang('Previous'); |
echo get_lang('Previous'); |
||||||
} |
} |
||||||
?> |
?> |
||||||
|
|
||||||
| |
| |
||||||
|
|
||||||
<?php |
<?php |
||||||
if($nbr_results > $limit) |
if($nbr_results > $limit) |
||||||
{ |
{ |
||||||
?> |
?> |
||||||
|
|
||||||
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page+1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Next'); ?></a>
|
<a href="<?php echo api_get_self(); ?>?page=<?php echo $page+1; ?>&sort=<?php echo $sort; ?>&order=<?php echo Security::remove_XSS($_REQUEST['order']); ?>&keyword=<?php echo $_REQUEST['keyword']; ?><?php echo @$cond_url; ?>"><?php echo get_lang('Next'); ?></a>
|
||||||
|
|
||||||
<?php |
<?php |
||||||
} |
} |
||||||
else |
else |
||||||
{ |
{ |
||||||
echo get_lang('Next'); |
echo get_lang('Next'); |
||||||
} |
} |
||||||
} ?> |
} ?> |
||||||
</div> |
</div> |
||||||
<br /> |
<br /> |
||||||
<a href="#" onclick="selectAll('idChecked',<?php echo $x; ?>,'true');return false;"><?php echo get_lang('SelectAll') ?></a> -
|
<a href="#" onclick="selectAll('idChecked',<?php echo $x; ?>,'true');return false;"><?php echo get_lang('SelectAll') ?></a> -
|
||||||
<a href="#" onclick="selectAll('idChecked',<?php echo $x; ?>,'false');return false;"><?php echo get_lang('UnSelectAll') ?></a>
|
<a href="#" onclick="selectAll('idChecked',<?php echo $x; ?>,'false');return false;"><?php echo get_lang('UnSelectAll') ?></a>
|
||||||
<select name="action"> |
<select name="action"> |
||||||
<option value="delete_off_session" selected="selected"><?php echo get_lang('DeleteSelectedSessionCategory'); ?></option>
|
<option value="delete_off_session" selected="selected"><?php echo get_lang('DeleteSelectedSessionCategory'); ?></option>
|
||||||
<option value="delete_on_session"><?php echo get_lang('DeleteSelectedFullSessionCategory'); ?></option>
|
<option value="delete_on_session"><?php echo get_lang('DeleteSelectedFullSessionCategory'); ?></option>
|
||||||
</select> |
</select> |
||||||
<button class="save" type="submit" name="name" value="<?php echo get_lang('Ok') ?>"><?php echo get_lang('Ok') ?></button>
|
<button class="save" type="submit" name="name" value="<?php echo get_lang('Ok') ?>"><?php echo get_lang('Ok') ?></button>
|
||||||
<?php } ?> |
<?php } ?> |
||||||
</table> |
</table> |
||||||
|
|
||||||
<?php } Display::display_footer(); ?> |
<?php } Display::display_footer(); ?> |
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@ |
|||||||
<?php /* |
<?php /* |
||||||
for more information: see languages.txt in the lang folder. |
for more information: see languages.txt in the lang folder. |
||||||
*/ |
*/ |
||||||
$langMyAgenda = "Minha agenda"; |
$langMyAgenda = "Agenda pessoal"; |
||||||
$langToday = "Hoje"; |
$langToday = "Hoje"; |
||||||
?> |
?> |
||||||
@ -1,21 +1,35 @@ |
|||||||
<?php /* |
<?php /* |
||||||
for more information: see languages.txt in the lang folder. |
for more information: see languages.txt in the lang folder. |
||||||
*/ |
*/ |
||||||
$lang_new_item = "novo item acrescentado"; |
$lang_new_item = "novo item adicionado"; |
||||||
$lang_title_notification = "Desde a última visita"; |
$lang_title_notification = "Desde a última visita"; |
||||||
$lang_update_agenda = "existe um item da Agenda actualizado"; |
$lang_update_agenda = "evento actualizado"; |
||||||
$lang_new_agenda = "novo item da Agenda acrescentado"; |
$lang_new_agenda = "evento adicionado"; |
||||||
$lang_update_announcements = "existe um anúncio actualizado"; |
$lang_update_announcements = "actualizado o anúncio existente "; |
||||||
$lang_new_announcements = "novo anúncio acrescentado"; |
$lang_new_announcements = "novo anúncio adicionado "; |
||||||
$lang_new_document = "novo(s) documentos(s) acrescentado(s)"; |
$lang_new_document = "novo(s) documentos(s) adicionado "; |
||||||
$lang_new_exercise = "novo Exercício disponível"; |
$lang_new_exercise = "novo exercício activado"; |
||||||
$lang_update_link = "existe uma ligação actualizada"; |
$lang_update_link = "actualizada a ligação/link existente"; |
||||||
$lang_new_link = "nova ligação acrescentada"; |
$lang_new_link = "nova ligação/link adicionada"; |
||||||
$lang_new_forum_topic = "novo tópico acrescentado"; |
$lang_new_forum_topic = "novo tópico adicionado"; |
||||||
$lang_new_groupforum_topic = "novo tópico acrescentado num fórum de grupo"; |
$lang_new_groupforum_topic = "novo tópico adicionado ao grupo do fórum"; |
||||||
$lang_new_dropbox_file = "novo ficheiro recebido"; |
$lang_new_dropbox_file = "novo ficheiro recebido"; |
||||||
$lang_update_dropbox_file = "ficheiro na dropbox actualizado"; |
$lang_update_dropbox_file = "um ficheiro na caixa de entrega foi actualizado"; |
||||||
$ForumCategoryAdded = "Acrescentada uma nova categoria no fórum"; |
$ForumCategoryAdded = "Categoria fórum adicionada"; |
||||||
$LearnpathAdded = "Sequência de Aprendizagem acrescentada"; |
$LearnpathAdded = "Curso adicionado"; |
||||||
$GlossaryAdded = "Adicionado um novo termo no Glossário"; |
$GlossaryAdded = "Adicionado um novo termo ao Glossário"; |
||||||
|
$QuizQuestionAdded = "Adicionada uma nova pergunta ao questionário"; |
||||||
|
$QuizQuestionUpdated = "Actualizada a nova pergunta no Questionário"; |
||||||
|
$QuizQuestionDeleted = "Eliminada a nova pergunta no Questionário"; |
||||||
|
$QuizUpdated = "Questionário actualizado"; |
||||||
|
$QuizAdded = "Questionário adicionado"; |
||||||
|
$QuizDeleted = "Questionário eliminado"; |
||||||
|
$DocumentInvisible = "Documento invisível"; |
||||||
|
$DocumentVisible = "Documento visível"; |
||||||
|
$CourseDescriptionAdded = "Descrição do curso adicionada"; |
||||||
|
$WikiAdded = "Wiki adicionado"; |
||||||
|
$SurveyAdded = "Inquérito adicionado"; |
||||||
|
$NotebookAdded = "Nota adicionada"; |
||||||
|
$NotebookUpdated = "Nota actualizada"; |
||||||
|
$NotebookDeleted = "Nota eliminada"; |
||||||
?> |
?> |
||||||
@ -1,25 +1,25 @@ |
|||||||
<?php /* |
<?php /* |
||||||
for more information: see languages.txt in the lang folder. |
for more information: see languages.txt in the lang folder. |
||||||
*/ |
*/ |
||||||
$GeneralDescription = "Descrição Geral"; |
$GeneralDescription = "Descrição"; |
||||||
$GeneralDescriptionQuestions = "Qual o lugar do curso dentro do programa? Existem pré-requisitos? De que modo o curso está relacionado com outros cursos?"; |
$GeneralDescriptionQuestions = "Qual é o objectivo deste curso? Existem pré-requisitos? De que forma é que este curso está interligado com outros cursos?"; |
||||||
$GeneralDescriptionInformation = "Descrever o curso (número de horas, código oficial, sala de aula...) e o professor (nome, gabinete, telefone, email, etc.)."; |
$GeneralDescriptionInformation = "Descreva o curso (número de horas, número sser, localização) e o instrutor (nome, escritório, tel., E-mail, o horário de expediente....). "; |
||||||
$Objectives = "Objectivos"; |
$Objectives = "Objectivos"; |
||||||
$ObjectivesInformation = "Apresentação dos objectivos gerais e objectivos específicos do curso."; |
$ObjectivesInformation = "Quais são os objectivos do curso (competências, resultados)?"; |
||||||
$ObjectivesQuestions = "O que é que os alunos deverão saber no final do curso e o que é suposto fazerem durante o processo de aprendizagem."; |
$ObjectivesQuestions = "Qual deverá ser o resultado final, quando o aluno tiver concluído o curso? Quais são as actividades realizadas durante o curso?"; |
||||||
$Topics = "Tópicos"; |
$Topics = "Tópicos"; |
||||||
$TopicsInformation = "Lista dos tópicos fundamentais do curso. Importância de cada tópico. Grau de dificuldades. Estrutura e interdependência de cada uma das partes."; |
$TopicsInformation = "Lista dos tópicos incluídos no curso. Importância de cada tópico. Nível de dificuldade. Estrutura e interdependência das diferentes partes."; |
||||||
$TopicsQuestions = "Como é que o curso evolui? A que devem tomar mais atenção? Há algum problema na compreensão dos diferentes capítulos? Quanto tempo se deverá dedicar a cada parte do curso?"; |
$TopicsQuestions = "Como funciona o curso de formação? Onde é que o aluno deverá prestar cuidados especiais? Existem alguns problemas identificados na compreenção das diferentes áreas? Quanto tempo deverá dedicar a cada uma das diferentes áreas do curso?"; |
||||||
$Methodology = "Metodologia"; |
$Methodology = "Metodologia"; |
||||||
$MethodologyQuestions = "Que métodos e que actividades ajudarão a alcançar os objectivos do curso? Com que horário?"; |
$MethodologyQuestions = "Quais os métodos e atividades que podem ajudar a alcançar os objectivos do curso? Qual seria o calendário/cronograma/horário/catálogo?"; |
||||||
$MethodologyInformation = "Apresentação de actividades (conferências, trabalhos, grupos de investigação, laboratório, etc.)."; |
$MethodologyInformation = "Apresentação das actividades (conferências, artigos de jornais/imprensa, grupo de pesquisa, laboratórios...). "; |
||||||
$CourseMaterial = "Material do Curso"; |
$CourseMaterial = "Material do curso"; |
||||||
$CourseMaterialQuestions = "Há alguma sebenta, colectânea de textos, bibliografia, lista de ligações na Internet?"; |
$CourseMaterialQuestions = "Existe um livro do curso, uma colecção artigos de jornais/imprensa, uma bibliografia, uma lista de ligações/links na internet?"; |
||||||
$CourseMaterialInformation = "Breve descrição dos materiais do curso."; |
$CourseMaterialInformation = "Breve descrição dos materiais do curso."; |
||||||
$HumanAndTechnicalResources = "Recursos humanos e técnicos"; |
$HumanAndTechnicalResources = "Recursos"; |
||||||
$HumanAndTechnicalResourcesQuestions = "Há professores, tutores, ajuda, assistente social, psicólogo, sala de computadores?"; |
$HumanAndTechnicalResourcesQuestions = "Considere os instrutores, tutores, técnico de helpdesk, gestores de cursos, e/ou materiais disponíveis"; |
||||||
$HumanAndTechnicalResourcesInformation = "Breve descrição sobre as diferentes pessoas a contactar e sobre os recursos materiais e técnicos."; |
$HumanAndTechnicalResourcesInformation = "Identifique e descreva as diferentes pessoas a contactar e os dispositivos técnicos disponíveis."; |
||||||
$Assessment = "Avaliação"; |
$Assessment = "Avaliação"; |
||||||
$AssessmentQuestions = "Como serão avaliados os alunos? Há alguma estratégia a desenvolver em ordem à prossecução dos objectivos?"; |
$AssessmentQuestions = "Como serão avaliados os alunos? Existem algumas estratégias a desenvolver afim de conseguirem dominar o tópico/tema?"; |
||||||
$AssessmentInformation = "Exemplo de questões de exame. Critérios de avaliação. Sugestões e truques."; |
$AssessmentInformation = "Critérios para a aquisição de competências."; |
||||||
?> |
?> |
||||||
Loading…
Reference in new issue