Screenshots

* reworked upload process to be more user-friendly
  * handle bricks that consist mostly of localized text separately
  * added handle to display errors, when adding CommunityContent on the page they originated from
This commit is contained in:
Sarjuuk
2015-07-09 23:31:57 +02:00
parent f6d80cf473
commit 08270ae09e
19 changed files with 1518 additions and 370 deletions

View File

@@ -1395,11 +1395,11 @@ class Util
public static function createHash($length = 40) // just some random numbers for unsafe identifictaion purpose
{
static $seed = ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
static $seed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$hash = '';
for ($i = 0; $i < $length; $i++)
$hash .= substr($seed, mt_rand(0, 62), 1);
$hash .= substr($seed, mt_rand(0, 61), 1);
return $hash;
}