';
diff --git a/main/newscorm/lp_admin_view.php b/main/newscorm/lp_admin_view.php
index 61ebb009d9..6c89016665 100644
--- a/main/newscorm/lp_admin_view.php
+++ b/main/newscorm/lp_admin_view.php
@@ -198,7 +198,7 @@ switch($_GET['action'])
}
// POST action handling (uploading mp3, deleting mp3)
-if ($_POST['save_audio'])
+if (isset($_POST['save_audio']))
{
// deleting the audio fragments
foreach ($_POST as $key=>$value)
@@ -264,4 +264,4 @@ echo $_SESSION['oLP']->overview();
==============================================================================
*/
Display::display_footer();
-?>
\ No newline at end of file
+?>
diff --git a/main/wiki/index.php b/main/wiki/index.php
index 34dbdc847b..a37033c181 100644
--- a/main/wiki/index.php
+++ b/main/wiki/index.php
@@ -188,7 +188,7 @@ if(!api_is_allowed_to_edit())
*/
// saving a change
-if ($_POST['SaveWikiChange'] AND $_POST['title']<>'')
+if (isset($_POST['SaveWikiChange']) AND $_POST['title']<>'')
{
if(empty($_POST['title']))
{
@@ -201,7 +201,7 @@ if ($_POST['SaveWikiChange'] AND $_POST['title']<>'')
}
//saving a new wiki entry
-if ($_POST['SaveWikiNew'])
+if (isset($_POST['SaveWikiNew']))
{
if(empty($_POST['title']))
{
@@ -440,7 +440,7 @@ echo '
';
echo "
";
-/////////////////////// more options /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// more options /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='more')
{
@@ -519,7 +519,7 @@ if ($_GET['action']=='more')
}
-/////////////////////// Most active users /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most active users /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='mactiveusers')
{
@@ -553,7 +553,7 @@ if ($_GET['action']=='mactiveusers')
}
-/////////////////////// User contributions /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// User contributions /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='usercontrib')
{
@@ -643,7 +643,7 @@ if ($_GET['action']=='usercontrib')
}
}
-/////////////////////// Most changed pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most changed pages /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='mostchanged')
{
@@ -700,7 +700,7 @@ if ($_GET['action']=='mostchanged')
}
-/////////////////////// Most visited pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most visited pages /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='mvisited')
{
@@ -755,7 +755,7 @@ if ($_GET['action']=='mvisited')
}
}
-/////////////////////// Wanted pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Wanted pages /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='wanted')
{
@@ -806,7 +806,7 @@ if ($_GET['action']=='wanted')
echo '';
}
-/////////////////////// Orphaned pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Orphaned pages /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='orphaned')
{
@@ -889,7 +889,7 @@ if ($_GET['action']=='orphaned')
}
-/////////////////////// delete current page /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// delete current page /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='delete')
{
@@ -935,7 +935,7 @@ if ($_GET['action']=='delete')
}
-/////////////////////// delete all wiki /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// delete all wiki /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='deletewiki')
{
@@ -945,7 +945,7 @@ if ($_GET['action']=='deletewiki')
}
-/////////////////////// search pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// search pages /////////////////////// Juan Carlos Ra�a Trabado
//// 1 Searchpages: input search
if ($_GET['action']=='searchpages')
@@ -958,7 +958,7 @@ if ($_GET['action']=='searchpages')
{
echo '';
}
@@ -1052,7 +1052,7 @@ if ($_GET['action']=='showsearchpages')
}
-/////////////////////// What links here. Show pages that have linked this page /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// What links here. Show pages that have linked this page /////////////////////// Juan Carlos Ra�a Trabado
if ($_GET['action']=='links')
{
@@ -1344,7 +1344,7 @@ if ($_GET['action']=='edit')
%';
echo '
';
echo ''; //for save icon
- echo '';//for save button
+ echo '';//for save button
echo '';
echo '
';
}
@@ -1405,8 +1405,8 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
echo '
';
$counter=0;
@@ -1462,8 +1462,8 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
$counter++;
} //end while
- echo '';
- echo '';
+ echo '';
+ echo '';
echo '
';
}
// We show the differences between two versions
@@ -1478,13 +1478,13 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
$result_new=api_sql_query($sql_new,__LINE__,__FILE__);
$version_new=Database::fetch_array($result_new);
- if($_POST['HistoryDifferences'])
+ if(isset($_POST['HistoryDifferences']))
{
include('diff.inc.php');
//title
echo '
';
@@ -1514,7 +1514,7 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
}
- if($_POST['HistoryDifferences2'])
+ if(isset($_POST['HistoryDifferences2']))
{
$lines1 = array(strip_tags($version_old['content'])); //without <> tags
@@ -1848,13 +1848,13 @@ if ($_GET['action']=='discuss')
-
'; ?>
+
'.get_lang('Send').''; ?>
+* @author Juan Carlos Ra�a
* check wikilinks that has a page
**/
function links_to($input)
@@ -2102,7 +2102,7 @@ function links_to($input)
/*
detect and add style to external links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_external_link($input)
{
@@ -2114,7 +2114,7 @@ function detect_external_link($input)
/*
detect and add style to anchor links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_anchor_link($input)
{
@@ -2126,7 +2126,7 @@ function detect_anchor_link($input)
/*
detect and add style to mail links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_mail_link($input)
{
@@ -2138,7 +2138,7 @@ function detect_mail_link($input)
/*
detect and add style to ftp links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_ftp_link($input)
{
@@ -2150,7 +2150,7 @@ function detect_ftp_link($input)
/*
detect and add style to news links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_news_link($input)
{
@@ -2162,7 +2162,7 @@ function detect_news_link($input)
/*
detect and add style to irc links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
**/
function detect_irc_link($input)
{
@@ -2178,8 +2178,8 @@ function detect_irc_link($input)
* It is true that the adding of links is probably the most anoying part of Wiki for the people
* who know something about the wiki syntax.
* @author Patrick Cool , Ghent University
-* Improvements [[]] and [[ | ]]by Juan Carlos Raña
-* Improvements internal wiki style and mark group by Juan Carlos Raña
+* Improvements [[]] and [[ | ]]by Juan Carlos Ra�a
+* Improvements internal wiki style and mark group by Juan Carlos Ra�a
**/
function make_wiki_link_clickable($input)
{
@@ -2299,7 +2299,7 @@ function save_wiki()
/**
* This function restore a wikipage
-* @author Juan Carlos Raña
+* @author Juan Carlos Ra�a
**/
function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assignment, $r_progress, $c_version, $r_version, $r_linksto)
{
@@ -2324,7 +2324,7 @@ function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assi
/**
* This function delete a wiki
-* @author Juan Carlos Raña
+* @author Juan Carlos Ra�a
**/
function delete_wiki()
@@ -2506,7 +2506,7 @@ function display_new_wiki_form()
%';
echo '
';
echo ''; //for save icon
- echo ''; //for button icon
+ echo ''; //for button icon
echo '';
echo '';
}
@@ -2803,7 +2803,7 @@ function is_active_navigation_tab($paramwk)
/**
* Lock add pages
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_addnewpagelock()
@@ -2854,7 +2854,7 @@ function check_addnewpagelock()
/**
* Protect page
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_protect_page()
{
@@ -2909,7 +2909,7 @@ function check_protect_page()
/**
* Visibility page
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_visibility_page()
{
@@ -2964,7 +2964,7 @@ function check_visibility_page()
/**
* Visibility discussion
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_visibility_discuss()
{
@@ -3020,7 +3020,7 @@ function check_visibility_discuss()
/**
* Lock add discussion
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_addlock_discuss()
{
@@ -3075,7 +3075,7 @@ function check_addlock_discuss()
/**
* Lock rating discussion
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_ratinglock_discuss()
{
@@ -3130,7 +3130,7 @@ function check_ratinglock_discuss()
/**
* Notify page changes
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_notify_page($reflink)
@@ -3196,7 +3196,7 @@ function check_notify_page($reflink)
/**
* Notify discussion changes
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_notify_discuss($reflink)
{
@@ -3277,7 +3277,7 @@ function check_notify_discuss($reflink)
/**
* Notify all changes
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_notify_all()
@@ -3336,7 +3336,7 @@ function check_notify_all()
/**
* Function check emailcue and send email when a page change
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function check_emailcue($id_or_ref, $type, $lastime, $lastuser)
@@ -3527,7 +3527,7 @@ function check_emailcue($id_or_ref, $type, $lastime, $lastuser)
/**
* Function export last wiki page version to document area
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function export2doc($wikiTitle, $wikiContents, $groupId)
{
@@ -3561,7 +3561,7 @@ function export2doc($wikiTitle, $wikiContents, $groupId)
/**
* Function wizard individual assignment
- * @author Juan Carlos Raña
+ * @author Juan Carlos Ra�a
*/
function auto_add_page_users($assignment_type)
{
diff --git a/mnogo_login18.php b/mnogo_login18.php
new file mode 100644
index 0000000000..ff092c1de1
--- /dev/null
+++ b/mnogo_login18.php
@@ -0,0 +1,11 @@
+