Updated to latest version of CMS
This commit is contained in:
parent
ccdf8fbb81
commit
edf41b1198
76 changed files with 465 additions and 1162 deletions
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php global $session;
|
||||
/**
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /modules/nickpage/nickpage.output.php
|
||||
|
@ -24,7 +24,7 @@
|
|||
* @version $Id$
|
||||
*/
|
||||
|
||||
If (!defined("in_astat")) {
|
||||
If (!defined("INBCWE")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$session->page_begin("Nickpage", FALSE);
|
||||
|
@ -232,7 +232,7 @@ class nickpage extends module{
|
|||
$filedir = $root.'/np_images/';
|
||||
$size = 200;
|
||||
if(($userfile_size/1024)>250){
|
||||
$err='<span style="font-color:red;">Das Bild darf nicht grösser als 250kb sein.</span>';
|
||||
$err='<span style="font-color:red;">Das Bild darf nicht gr<EFBFBD>sser als 250kb sein.</span>';
|
||||
}
|
||||
if (isset($_FILES['np_picture']['name']) && $_FILES['np_picture']['name']!="" && !$err){
|
||||
$prod_img = $filedir.$userfile_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue