改寫mainfunc::rand_str
Merge branch 'master2' into newtinymce