© Сделано на LiveStreet
Дизайн - ©2009 MODx RED Group
function getExtension($string) {
$pos = false;
$search = ".";
if (is_int(strpos($string, $search))) {
$endPos = strlen($string);
while ($endPos > 0) {
$endPos = $endPos - 1;
$pos = strpos($string, $search, $endPos);
if (is_int($pos)) {
break;
}
}
}
if (is_int($pos)) {
$len = strlen($search);
return strtolower(substr($string, $pos));
}
return strtolower($string);
}
$uploadablefiles[$i] = ".".$uploadablefiles[$i]; // add a dot :)на$uploadablefiles[$i] = ".".strtolower($uploadablefiles[$i]); // add a dot :)$upload_files = explode(',',$upload_files);
$upload_images = explode(',',$upload_images);
$upload_media = explode(',',$upload_media);
$upload_flash = explode(',',$upload_flash);на$upload_files = explode(',',strtolower($upload_files));
$upload_images = explode(',',strtolower($upload_images));
$upload_media = explode(',',strtolower($upload_media));
$upload_flash = explode(',',strtolower($upload_flash));/** @var quipCommentNotify $notify */
$notify = $this->modx->getObject('quipCommentNotify',array(
'email' => $this->modx->user->Profile->get('email'),
'thread' => $this->thread,
));/** @var quipCommentNotify $notify */
$notify = $this->modx->getObject('quipCommentNotify',array(
'email' => $this->modx->user->Profile->get('email'),
'thread' => $this->thread->get('name'),
));Fatal error: Cannot redeclare class modTemplateVarInputRenderText in core/model/modx/processors/element/tv/renders/mgr/input/text.class.php on line 10
.x-viewport, .x-viewport body {
border: 0 none;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
}
