diff --git a/main/lang/english/survey.inc.php b/main/lang/english/survey.inc.php
old mode 100755
new mode 100644
index 30d886000e..27e0fb6204
--- a/main/lang/english/survey.inc.php
+++ b/main/lang/english/survey.inc.php
@@ -202,4 +202,5 @@ $BackToSurvey = "Back to survey";
$UpdateInformation = "Update information";
$PleaseFillSurvey = "Please fill survey";
$ReportingOverview = "Reporting overview";
+$ThereAreNotQuestionsForthisSurvey = "There are not questions for this survey";
?>
\ No newline at end of file
diff --git a/main/lang/english/userInfo.inc.php b/main/lang/english/userInfo.inc.php
index e8aa0a2a09..1c29b8fda9 100644
--- a/main/lang/english/userInfo.inc.php
+++ b/main/lang/english/userInfo.inc.php
@@ -188,4 +188,5 @@ $YouHaveReceivedANewMessageInTheGroupX = "You have received a new message in the
$ClickHereToSeeMessageGroup = "Click here to see message group";
$OrCopyPasteTheFollowingUrl = "Or copy paste the following url";
$ThereIsANewMessageInTheGroupX = "There is a new message in the group %s";
+$UserIsAlreadySubscribedToThisGroup = "User is already subscribed to this group";
?>
\ No newline at end of file
diff --git a/main/lang/english/wiki.inc.php b/main/lang/english/wiki.inc.php
old mode 100755
new mode 100644
index dc975178d8..a05a739abf
--- a/main/lang/english/wiki.inc.php
+++ b/main/lang/english/wiki.inc.php
@@ -176,4 +176,5 @@ $Feedback3 = "Third message";
$FProgress = "Progress";
$PutATimeLimit = "Set a time limit";
$StandardTask = "Standard Task";
+$ThePageHasBeenExportedToDocArea = "The page has been exported to doc area";
?>
\ No newline at end of file
diff --git a/main/lang/spanish/survey.inc.php b/main/lang/spanish/survey.inc.php
old mode 100755
new mode 100644
index 1b904f1060..f5e538cbb4
--- a/main/lang/spanish/survey.inc.php
+++ b/main/lang/spanish/survey.inc.php
@@ -202,4 +202,5 @@ $BackToSurvey = "Volver a la encuesta";
$UpdateInformation = "Actualización de información";
$PleaseFillSurvey = "Por favor, llene la encuesta";
$ReportingOverview = "Sumario de informes";
+$ThereAreNotQuestionsForthisSurvey = "No hay preguntas para esta encuesta";
?>
\ No newline at end of file
diff --git a/main/lang/spanish/trad4all.inc.php b/main/lang/spanish/trad4all.inc.php
index a8b95513ed..4f69ea86d6 100644
--- a/main/lang/spanish/trad4all.inc.php
+++ b/main/lang/spanish/trad4all.inc.php
@@ -764,7 +764,7 @@ $UserAdded = "Usuario agregado";
$UpdatedIn = "Actualizado";
$Metadata = "Metadatos";
$langAddMetadata = "Ver/Editar Metadatos";
-$SendMessage = "Enviar Mensaje";
+$SendMessage = "Enviar mensaje";
$SeeForum = "Ver foro";
$SeeMore = "Ver más";
$NoDataAvailable = "No hay datos disponibles";
diff --git a/main/lang/spanish/userInfo.inc.php b/main/lang/spanish/userInfo.inc.php
index a64de1943a..f74c2a069d 100644
--- a/main/lang/spanish/userInfo.inc.php
+++ b/main/lang/spanish/userInfo.inc.php
@@ -160,7 +160,7 @@ $DeleteFromGroup = "Eliminar de grupo";
$GroupMembers = "Miembros del grupo";
$Subscribe = "Inscribir";
$YouAreInvitedToGroupContent = "Ud. esta invitado al contenido del grupo";
-$YouAreInvitedToGroup = "Tu estas invitado a unirte al grupo";
+$YouAreInvitedToGroup = "Estas invitado a unirte al grupo";
$ToSubscribeClickInTheLinkBelow = "Para inscribirte has clic en el siguiente enlace";
$ReturnToInbox = "Regresar a bandeja de entrada";
$View = "Vista";
@@ -188,4 +188,5 @@ $YouHaveReceivedANewMessageInTheGroupX = "Usted ha recibido un nuevo mensaje en
$ClickHereToSeeMessageGroup = "Clic aquí para ver el mensaje de grupo";
$OrCopyPasteTheFollowingUrl = "O copiar y pegar la siguente url";
$ThereIsANewMessageInTheGroupX = "Hay un nuevo mensaje en el grupo %s";
+$UserIsAlreadySubscribedToThisGroup = "El usuario ya esta suscrito a este grupo";
?>
\ No newline at end of file
diff --git a/main/lang/spanish/wiki.inc.php b/main/lang/spanish/wiki.inc.php
old mode 100755
new mode 100644
index 3ab7c132e2..e71a69012f
--- a/main/lang/spanish/wiki.inc.php
+++ b/main/lang/spanish/wiki.inc.php
@@ -176,4 +176,5 @@ $Feedback3 = "Tercer mensaje";
$FProgress = "Progreso";
$PutATimeLimit = "Establecer una limitación temporal";
$StandardTask = "Tarea estándard";
+$ThePageHasBeenExportedToDocArea = "La página ha sido exportada al área de documentos";
?>
\ No newline at end of file
diff --git a/main/wiki/diff.inc.php b/main/wiki/diff.inc.php
index 74d281ea0b..c092b70ca4 100755
--- a/main/wiki/diff.inc.php
+++ b/main/wiki/diff.inc.php
@@ -116,15 +116,15 @@
{
$content = array();
- if ( strpos( $str, "\r\n" ) != false )
+ if ( api_strpos( $str, "\r\n" ) !== false )
{
$content = explode("\r\n", $str );
}
- elseif ( strpos( $str, "\n" ) != false )
+ elseif ( api_strpos( $str, "\n" ) !== false )
{
$content = explode( "\n", $str );
}
- elseif ( strpos( $str, "\r" ) != false )
+ elseif ( api_strpos( $str, "\r" ) !== false )
{
$content = explode( "\r", $str );
}
diff --git a/main/wiki/wiki.inc.php b/main/wiki/wiki.inc.php
index d8bf4a5808..7c11d0d93f 100755
--- a/main/wiki/wiki.inc.php
+++ b/main/wiki/wiki.inc.php
@@ -97,7 +97,7 @@ function links_to($input)
if ($input_array[$key-1]=='[[' AND $input_array[$key+1]==']]')
{
- if (strpos($value, "|") != false)
+ if (api_strpos($value, "|") !== false)
{
$full_link_array=explode("|", $value);
$link=trim($full_link_array[0]);
@@ -241,7 +241,7 @@ function make_wiki_link_clickable($input)
/////////
//now full wikilink
- if (strpos($value, "|") != false)
+ if (api_strpos($value, "|") !== false)
{
$full_link_array=explode("|", $value);
$link=trim($full_link_array[0]);
@@ -604,7 +604,7 @@ return true;
//form
echo '