Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 27, 2015
2 parents 7ef656e + 0c76e0e commit 789b087
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 24 deletions.
2 changes: 1 addition & 1 deletion core/src/core/classes/class.AJXP_Utils.php
Expand Up @@ -991,7 +991,7 @@ public static function extractHooksToDoc()
*
* @return string Indented version of the original JSON string.
*/
public function prettyPrintJSON($json)
public static function prettyPrintJSON($json)
{
$result = '';
$pos = 0;
Expand Down
2 changes: 1 addition & 1 deletion core/src/core/classes/class.Repository.php
Expand Up @@ -151,7 +151,7 @@ public function getContentFilter()
* @param string $driver
* @return void
*/
public function Repository($id, $display, $driver)
public function __construct($id, $display, $driver)
{
$this->setAccessType($driver);
$this->setDisplay($display);
Expand Down
2 changes: 1 addition & 1 deletion core/src/core/classes/class.UserSelection.php
Expand Up @@ -50,7 +50,7 @@ class UserSelection
* @param Repository|null $repository
* @param array|null $httpVars
*/
public function UserSelection($repository = null, $httpVars = null)
public function __construct($repository = null, $httpVars = null)
{
$this->files = array();
if(isSet($repository)){
Expand Down
4 changes: 2 additions & 2 deletions core/src/core/classes/securimage/securimage.php
Expand Up @@ -503,7 +503,7 @@ class Securimage
* </code>
*
*/
public function Securimage()
public function __construct()
{
// Initialize session or attach to existing
if ( session_id() == '' ) { // no session has been started yet, which is needed for validation
Expand Down Expand Up @@ -1551,7 +1551,7 @@ class Securimage_Color
* @param $green int Green component 0-255
* @param $blue int Blue component 0-255
*/
public function Securimage_Color($red, $green = null, $blue = null)
public function __construct($red, $green = null, $blue = null)
{
if ($green == null && $blue == null && preg_match('/^#[a-f0-9]{3,6}$/i', $red)) {
$col = substr($red, 1);
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/access.fs/test.fsAccess.php
Expand Up @@ -28,7 +28,7 @@
*/
class fsAccessTest extends AbstractTest
{
public function fsAccessTest() { parent::__construct("Filesystem Plugin", ""); }
public function __construct() { parent::__construct("Filesystem Plugin", ""); }

/**
* Test Repository
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/access.ftp/test.ftpAccess.php
Expand Up @@ -28,7 +28,7 @@
*/
class ftpAccessTest extends AbstractTest
{
public function ftpAccessTest() { parent::__construct("Remote FTP Filesystem Plugin", ""); }
public function __construct() { parent::__construct("Remote FTP Filesystem Plugin", ""); }

public function doRepositoryTest($repo)
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/access.sftp_psl/phpseclib/SSH2.php
Expand Up @@ -758,7 +758,7 @@ class Net_SSH2
* @return Net_SSH2
* @access public
*/
function Net_SSH2($host, $port = 22, $timeout = 10)
function __construct($host, $port = 22, $timeout = 10)
{
// Include Math_BigInteger
// Used to do Diffie-Hellman key exchange and DSA/RSA signature verification.
Expand Down
2 changes: 2 additions & 0 deletions core/src/plugins/action.share/res/i18n/conf/de.php
Expand Up @@ -68,4 +68,6 @@
"Minisites only" => "Nur als Miniseite",
"Workspaces only" => "Nur als Arbeitsumgebung",
"Disable Folder Sharing" => "Freigabe von Ordnern deaktivieren",
"Set password mandatory" => "Passwort als Pflichtfeld",
"Do not allow users to create public links, only private links (password-protected)" => "Es ist nicht mögich, öffentliche Links zu erstellen, sondern nur welche mit Passwortschutz.",
);
2 changes: 2 additions & 0 deletions core/src/plugins/action.share/res/i18n/conf/en.php
Expand Up @@ -68,4 +68,6 @@
"Minisites only" => "Minisites only",
"Workspaces only" => "Workspaces only",
"Disable Folder Sharing" => "Disable Folder Sharing",
"Set password mandatory" => "Set password mandatory",
"Do not allow users to create public links, only private links (password-protected)" => "Do not allow users to create public links, only private links (password-protected)",
);
2 changes: 2 additions & 0 deletions core/src/plugins/action.share/res/i18n/conf/fr.php
Expand Up @@ -77,4 +77,6 @@
"Minisite" => "Minisite",
"Minisite Logo" => "Logo du minisite",
"Top-right logo displayed on minisite page" => "Logo affiché en haut à droite du minisite",
"Set password mandatory" => "Set password mandatory",
"Do not allow users to create public links, only private links (password-protected)" => "Do not allow users to create public links, only private links (password-protected)",
);
2 changes: 2 additions & 0 deletions core/src/plugins/action.share/res/i18n/conf/it.php
Expand Up @@ -77,4 +77,6 @@
"Minisite" => "Minisito",
"Minisite Logo" => "Logo Minisito",
"Top-right logo displayed on minisite page" => "Logo visualizzato in alto a destra nella pagina del minisito",
"Set password mandatory" => "Set password mandatory",
"Do not allow users to create public links, only private links (password-protected)" => "Do not allow users to create public links, only private links (password-protected)",
);
2 changes: 2 additions & 0 deletions core/src/plugins/action.share/res/i18n/conf/pt.php
Expand Up @@ -77,4 +77,6 @@
"Minisite" => "Minisite",
"Minisite Logo" => "Minisite Logo",
"Top-right logo displayed on minisite page" => "Top-right logo displayed on minisite page",
"Set password mandatory" => "Set password mandatory",
"Do not allow users to create public links, only private links (password-protected)" => "Do not allow users to create public links, only private links (password-protected)",
);
14 changes: 7 additions & 7 deletions core/src/plugins/action.share/res/i18n/de.php
Expand Up @@ -21,7 +21,7 @@
"18"=> "Ordner ist als neue Arbeitsumgebung freigegeben",
"19"=> "Optionen der freigegebene Arbeitsumgebung wurden erfolgreich geändert",
"20"=> "Ooops, die gesuchte Datei konnte nicht gefunden werden! Möglicherweise wurde die Datei bereits entfernt oder ist nicht mehr freigegeben.",
"21"=> "Ungültig (Tagen): ",
"21"=> "Gültigkeit (Tage): ",
"22"=> "Erlaubte Downloads: ",
"23"=> "Optionales Passwort: ",
"24"=> "Setze eine Ablaufzeit und ein Passwort für den Dateizugriff. Klicke danach auf das <span class=\"icon-plus-sign\"></span> Zeichen um ein Weblink zu generieren. Es können mehrere Links generiert werden, um diese zu unterschiedlichen Nutzern zu senden.",
Expand All @@ -32,7 +32,7 @@
"29"=> "Freigabe",
"30"=> "Benutzerzugang",
"31"=> "Lesen",
"32"=> "Upload",
"32"=> "Schreiben",
"33"=> "Sehen",
"34"=> "Existierende oder neuer Benutzer",
"35"=> "Bezeichnung",
Expand Down Expand Up @@ -74,9 +74,9 @@
"69r"=>"Miniseite Konfigurieren",
"70r"=> "Kennzeichnung und Berechtigungen der Benutzer dieser Miniseite",
"71" => "Berechtigungen",
"72" => "Anschauen",
"73" => "Downloaden",
"74" => "Uploaden",
"72" => "Ansehen",
"73" => "Herunterladen",
"74" => "Hochladen",
"75"=> "Bitte verwenden Sie eine positive Zahl für die Verfall- und Downloadbegrenzung.",
"76"=> "Bitte Cookies aktivieren um auf diese Anwendung zuzugreifen",
"77"=> "Bitte JavaScript aktivieren um auf diese Anwendung zuzugreifen",
Expand Down Expand Up @@ -185,7 +185,7 @@
"172" => "Dieser Link wird bereits genutzt. Wähle ein anderes Kürzel.",
"173" => "Wenn Sie ein dauerhaften und ansehlichen Link möchten (z.B. https://.../mein-kuerzel), können Sie dieses Feld nutzen. Ansonsten wird das Kürzel zufällig generiert.",
"174" => "Deaktiviere Passwort",
"175" => "Please set a password and make sure it's long enough!",
"176" => "(Mandatory)",
"175" => "Bitte ein ausreichend langes Passwort festlegen!",
"176" => "(Pflichtfeld)",
"177" => "View parameters",
);
4 changes: 2 additions & 2 deletions core/src/plugins/conf.serial/class.AJXP_SerialUser.php
Expand Up @@ -50,9 +50,9 @@ class AJXP_SerialUser extends AbstractAjxpUser
* @param $id
* @param serialConfDriver $storage
*/
public function AJXP_SerialUser($id, $storage=null)
public function __construct($id, $storage=null)
{
parent::AbstractAjxpUser($id, $storage);
parent::__construct($id, $storage);
$this->registerForSave = array();
}

Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/conf.sql/class.AJXP_SqlUser.php
Expand Up @@ -96,9 +96,9 @@ class AJXP_SqlUser extends AbstractAjxpUser
* @param $storage AbstractConfDriver User storage implementation.
* @return AJXP_SqlUser
*/
public function AJXP_SqlUser($id, $storage=null, $debugEnabled = false)
public function __construct($id, $storage=null, $debugEnabled = false)
{
parent::AbstractAjxpUser($id, $storage);
parent::__construct($id, $storage);
//$this->debugEnabled = true;

$this->log('Instantiating User');
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/core.conf/class.AbstractAjxpUser.php
Expand Up @@ -91,7 +91,7 @@ public function isHidden()
*/
public $storage;

public function AbstractAjxpUser($id, $storage=null)
public function __construct($id, $storage=null)
{
$this->id = $id;
if ($storage == null) {
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/gui.ajax/res/themes/orbit/css/ajaxplorer.css
Expand Up @@ -4929,7 +4929,7 @@ div.user_entry span.cbContainer
{
display: inline-block;
padding: 0 2px;
width: 30px;
width: 40px;
text-align: center;
cursor: pointer;
}
Expand Down Expand Up @@ -5009,7 +5009,7 @@ input.share_info_panel_link_expired{
#share_folder_form div.dialogContentMainTitle{
clear: left;
margin-top: 10px;
margin-bottom: -4px;
margin-bottom: 0;
padding: 10px 0 0;
border-top: 1px dashed rgb(150,150,150);
border-bottom: 0;
Expand Down
Expand Up @@ -2836,7 +2836,7 @@ div.user_entry span.cbContainer
{
display: inline-block;
padding: 0 2px;
width: 30px;
width: 40px;
text-align: center;
cursor: pointer;
}
Expand Down
Expand Up @@ -3825,7 +3825,7 @@ div.user_entry span.cbContainer
{
display: inline-block;
padding: 0 2px;
width: 30px;
width: 40px;
text-align: center;
cursor: pointer;
}
Expand Down

0 comments on commit 789b087

Please sign in to comment.