This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
2008-02-19 21:27:14 +00:00
|
|
|
import cgi
|
2009-02-11 09:58:14 +00:00
|
|
|
from config.Version import VERSION
|
2008-02-19 21:27:14 +00:00
|
|
|
|
|
|
|
|
2008-02-21 19:39:03 +00:00
|
|
|
general_error_script = \
|
2008-02-20 20:21:54 +00:00
|
|
|
"""
|
2008-10-09 00:09:13 +00:00
|
|
|
withDocument( window.parent.document, function () { var frame = getFirstElementByTagAndClassName( "iframe", "upload_frame" ); if ( frame && frame.pulldown ) frame.pulldown.cancel_due_to_error( "%s" ); } );
|
2008-02-21 19:39:03 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
quota_error_script = \
|
|
|
|
"""
|
2008-10-09 00:09:13 +00:00
|
|
|
withDocument( window.parent.document, function () { var frame = getFirstElementByTagAndClassName( "iframe", "upload_frame" ); if ( frame && frame.pulldown ) frame.pulldown.cancel_due_to_quota(); } );
|
2008-02-20 20:21:54 +00:00
|
|
|
"""
|