openupload-svn-update Mailing List for Open Upload
Status: Beta
Brought to you by:
tsdogs
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(100) |
Nov
(72) |
Dec
(44) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(7) |
Feb
(47) |
Mar
(30) |
Apr
(11) |
May
(10) |
Jun
(8) |
Jul
(1) |
Aug
(22) |
Sep
|
Oct
|
Nov
(13) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(17) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(10) |
Dec
(1) |
2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ts...@us...> - 2012-01-31 17:06:16
|
Revision: 398 http://openupload.svn.sourceforge.net/openupload/?rev=398&view=rev Author: tsdogs Date: 2012-01-31 17:06:10 +0000 (Tue, 31 Jan 2012) Log Message: ----------- typo fix. thanks to gmartin Modified Paths: -------------- trunk/templates/default/plugins/email/uploadNotifyHtml.tpl trunk/templates/default/plugins/email/uploadNotifyText.tpl Modified: trunk/templates/default/plugins/email/uploadNotifyHtml.tpl =================================================================== --- trunk/templates/default/plugins/email/uploadNotifyHtml.tpl 2012-01-31 17:02:29 UTC (rev 397) +++ trunk/templates/default/plugins/email/uploadNotifyHtml.tpl 2012-01-31 17:06:10 UTC (rev 398) @@ -68,8 +68,8 @@ {/if} {if isset($adminemail)} -<p>{tr}For complains please send an email to{/tr}: <a href="mailto:{$adminemail}">{$adminemail}</a></p> +<p>{tr}For complaints please send an email to{/tr}: <a href="mailto:{$adminemail}">{$adminemail}</a></p> {/if} -<div id="footer"><a href="http://openupload.sourceforge.net>OpenUpload</a> © by Alessandro Briosi</div> +<div id="footer"><a href="http://openupload.sourceforge.net">OpenUpload</a> © by Alessandro Briosi</div> </body> </html> \ No newline at end of file Modified: trunk/templates/default/plugins/email/uploadNotifyText.tpl =================================================================== --- trunk/templates/default/plugins/email/uploadNotifyText.tpl 2012-01-31 17:02:29 UTC (rev 397) +++ trunk/templates/default/plugins/email/uploadNotifyText.tpl 2012-01-31 17:06:10 UTC (rev 398) @@ -20,7 +20,7 @@ {/if} {if isset($adminemail)} -{tr}For complains please send an email to{/tr}: {$adminemail} +{tr}For complaints please send an email to{/tr}: {$adminemail} {/if} ------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2012-01-31 17:02:35
|
Revision: 397 http://openupload.svn.sourceforge.net/openupload/?rev=397&view=rev Author: tsdogs Date: 2012-01-31 17:02:29 +0000 (Tue, 31 Jan 2012) Log Message: ----------- 0.5alpha1 Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2011-09-09 10:55:28 UTC (rev 396) +++ trunk/index.php 2012-01-31 17:02:29 UTC (rev 397) @@ -24,11 +24,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @link http://openupload.sf.net/ - * @copyright 2008 Alessandro Briosi + * @copyright 2008-2010 Alessandro Briosi * @author Alessandro Briosi <tsdogs at briosix dot org> * @package OpenUpload - * @version 0.4 + * @version 0.5alpha1 */ - define('__NOT_MAIN_SCRIPT',true); - require_once('www/index.php'); + + /* Redirect to the main script, no more include which causes more troubles that is worth. + If you want a nice URL publish only the www directory! See documentation + */ + header('location: www/'); + exit(0); ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2011-09-09 10:55:34
|
Revision: 396 http://openupload.svn.sourceforge.net/openupload/?rev=396&view=rev Author: tsdogs Date: 2011-09-09 10:55:28 +0000 (Fri, 09 Sep 2011) Log Message: ----------- fix script injection BUG: 3406693 Modified Paths: -------------- trunk/www/index.php Modified: trunk/www/index.php =================================================================== --- trunk/www/index.php 2011-09-09 10:54:41 UTC (rev 395) +++ trunk/www/index.php 2011-09-09 10:55:28 UTC (rev 396) @@ -24,10 +24,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @link http://openupload.sf.net/ - * @copyright 2008-2009 Alessandro Briosi + * @copyright 2008-2010 Alessandro Briosi * @author Alessandro Briosi <tsdogs at briosix dot org> * @package OpenUpload - * @version 0.4 + * @version 0.5alpha1 */ define ('__VALID_CALLING_SCRIPT',true); @@ -54,6 +54,12 @@ } else { $step = ''; } + + /* sanitize the user input a bit more */ +$action = htmlentities($action); +$step = htmlentities($step); +if (!is_numeric($step)) $step = 1; + $configfile = 'config.inc.php'; if (defined('__NOT_MAIN_SCRIPT')) $configfile = 'www/'.$configfile; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2011-09-09 10:54:48
|
Revision: 395 http://openupload.svn.sourceforge.net/openupload/?rev=395&view=rev Author: tsdogs Date: 2011-09-09 10:54:41 +0000 (Fri, 09 Sep 2011) Log Message: ----------- fix script injection BUG: 3406693 Modified Paths: -------------- branches/v0.4/www/index.php Modified: branches/v0.4/www/index.php =================================================================== --- branches/v0.4/www/index.php 2011-02-28 17:08:12 UTC (rev 394) +++ branches/v0.4/www/index.php 2011-09-09 10:54:41 UTC (rev 395) @@ -54,6 +54,12 @@ } else { $step = ''; } + + /* sanitize the user input a bit more */ +$action = htmlentities($action); +$step = htmlentities($step); +if (!is_numeric($step)) $step = 1; + $configfile = 'config.inc.php'; if (defined('__NOT_MAIN_SCRIPT')) $configfile = 'www/'.$configfile; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2011-02-28 17:08:18
|
Revision: 394 http://openupload.svn.sourceforge.net/openupload/?rev=394&view=rev Author: tsdogs Date: 2011-02-28 17:08:12 +0000 (Mon, 28 Feb 2011) Log Message: ----------- update copyright Modified Paths: -------------- trunk/README Modified: trunk/README =================================================================== --- trunk/README 2010-12-08 19:07:02 UTC (rev 393) +++ trunk/README 2011-02-28 17:08:12 UTC (rev 394) @@ -68,6 +68,6 @@ COPYRIGHT: - Copyright (c) 2009 Alessandro Briosi. All rights reserved. + Copyright (c) 2011 Alessandro Briosi. All rights reserved. This software is released under the GNU General Public License. Please read the disclaimer at the top of the index.php file. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-12-08 19:07:08
|
Revision: 393 http://openupload.svn.sourceforge.net/openupload/?rev=393&view=rev Author: tsdogs Date: 2010-12-08 19:07:02 +0000 (Wed, 08 Dec 2010) Log Message: ----------- escape the fields to prevent scripting attaks Modified Paths: -------------- branches/v0.4/lib/modules/default/auth.inc.php Modified: branches/v0.4/lib/modules/default/auth.inc.php =================================================================== --- branches/v0.4/lib/modules/default/auth.inc.php 2010-11-25 17:45:55 UTC (rev 392) +++ branches/v0.4/lib/modules/default/auth.inc.php 2010-12-08 19:07:02 UTC (rev 393) @@ -240,7 +240,7 @@ app()->error(tr('Full Name cannot be empty!')); $error = true; } else - $user['name']=$_POST['username']; + $user['name']=htmlentities($_POST['username']); if (!validEmail($_POST['useremail'])) { app()->error(tr('Please enter a valid e-mail address!')); $error=true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-25 17:46:01
|
Revision: 392 http://openupload.svn.sourceforge.net/openupload/?rev=392&view=rev Author: tsdogs Date: 2010-11-25 17:45:55 +0000 (Thu, 25 Nov 2010) Log Message: ----------- upgrade to jquery-ui 1.8.6 and jquery 1.4.2 Modified Paths: -------------- trunk/templates/default/index.tpl Modified: trunk/templates/default/index.tpl =================================================================== --- trunk/templates/default/index.tpl 2010-11-25 17:45:34 UTC (rev 391) +++ trunk/templates/default/index.tpl 2010-11-25 17:45:55 UTC (rev 392) @@ -8,10 +8,10 @@ <meta name="rating" content="general" /> <meta name="revisit-after" content="30 days" /> <link rel="shortcut icon" href="{tpl file=img/openupload.ico}" /> - <link rel="stylesheet" type="text/css" href="{tpl file=/css/ui-lightness/jquery-ui-1.7.2.custom.css}" /> + <link rel="stylesheet" type="text/css" href="{tpl file=/css/ui-lightness/jquery-ui-1.8.6.custom.css}" /> <link rel="stylesheet" type="text/css" href="{tpl file=/css/main.css}" /> - <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery.js}"></script> - <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-ui-1.7.2.custom.min.js}"></script> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-1.4.2.min.js}"></script> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-ui-1.8.6.custom.min.js}"></script> <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery.multifile.js}"></script> <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-ou.js}"></script> <script language="javascript" type="text/javascript"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-25 17:45:43
|
Revision: 391 http://openupload.svn.sourceforge.net/openupload/?rev=391&view=rev Author: tsdogs Date: 2010-11-25 17:45:34 +0000 (Thu, 25 Nov 2010) Log Message: ----------- upgrade to jquery-ui 1.8.6 and jquery 1.4.2 Modified Paths: -------------- trunk/www/templates/default/css/ui-lightness/images/ui-icons_222222_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_228ef1_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ef8c08_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffd27a_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffffff_256x240.png trunk/www/templates/default/js/jquery-ou.js Added Paths: ----------- trunk/www/templates/default/css/ui-lightness/jquery-ui-1.8.6.custom.css trunk/www/templates/default/js/jquery-1.4.2.min.js trunk/www/templates/default/js/jquery-ui-1.8.6.custom.min.js Removed Paths: ------------- trunk/www/templates/default/js/jquery.js Modified: trunk/www/templates/default/css/ui-lightness/images/ui-icons_222222_256x240.png =================================================================== (Binary files differ) Modified: trunk/www/templates/default/css/ui-lightness/images/ui-icons_228ef1_256x240.png =================================================================== (Binary files differ) Modified: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ef8c08_256x240.png =================================================================== (Binary files differ) Modified: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffd27a_256x240.png =================================================================== (Binary files differ) Modified: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffffff_256x240.png =================================================================== (Binary files differ) Added: trunk/www/templates/default/css/ui-lightness/jquery-ui-1.8.6.custom.css =================================================================== --- trunk/www/templates/default/css/ui-lightness/jquery-ui-1.8.6.custom.css (rev 0) +++ trunk/www/templates/default/css/ui-lightness/jquery-ui-1.8.6.custom.css 2010-11-25 17:45:34 UTC (rev 391) @@ -0,0 +1,572 @@ +/* + * jQuery UI CSS Framework 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/* + * jQuery UI CSS Framework 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } +.ui-widget-content a { color: #333333; } +.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; } +.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } +.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } + +/* Overlays */ +.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } +.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* + * jQuery UI Resizable 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* + * jQuery UI Selectable 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } +/* + * jQuery UI Accordion 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Accordion#theming + */ +/* IE/Win - Fix animation bug - #4615 */ +.ui-accordion { width: 100%; } +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } +.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } +.ui-accordion .ui-accordion-content-active { display: block; }/* + * jQuery UI Autocomplete 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Autocomplete#theming + */ +.ui-autocomplete { position: absolute; cursor: default; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ + +/* + * jQuery UI Menu 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Menu#theming + */ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; + float: left; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/* + * jQuery UI Button 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Button#theming + */ +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: .4em 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ +/* + * jQuery UI Dialog 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Dialog#theming + */ +.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } +.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* + * jQuery UI Slider 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/* + * jQuery UI Tabs 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } +/* + * jQuery UI Datepicker 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { width: 17em; padding: .2em .2em 0; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/* + * jQuery UI Progressbar 1.8.6 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Progressbar#theming + */ +.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file Added: trunk/www/templates/default/js/jquery-1.4.2.min.js =================================================================== --- trunk/www/templates/default/js/jquery-1.4.2.min.js (rev 0) +++ trunk/www/templates/default/js/jquery-1.4.2.min.js 2010-11-25 17:45:34 UTC (rev 391) @@ -0,0 +1,154 @@ +/*! + * jQuery JavaScript Library v1.4.2 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Sat Feb 13 22:33:48 2010 -0500 + */ +(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i? +e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r= +j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g, +"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e= +true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, +Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& +(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, +a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== +"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, +function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)|| +c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded", +L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype, +"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+ +a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f], +d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]=== +a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&& +!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari= +true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; +var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, +parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= +false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= +s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, +applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; +else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, +a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== +w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, +cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ", +i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ", +" ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className= +this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i= +e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= +c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); +a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, +function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); +k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), +C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!= +null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type= +e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& +f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; +if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), +fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop|| +d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this, +"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent= +a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y, +isImmediatePropagationStopped:Y};... [truncated message content] |
From: <ts...@us...> - 2010-11-20 11:22:08
|
Revision: 390 http://openupload.svn.sourceforge.net/openupload/?rev=390&view=rev Author: tsdogs Date: 2010-11-20 11:22:02 +0000 (Sat, 20 Nov 2010) Log Message: ----------- fix Modified Paths: -------------- branches/v0.4/UPGRADE Modified: branches/v0.4/UPGRADE =================================================================== --- branches/v0.4/UPGRADE 2010-11-20 11:17:37 UTC (rev 389) +++ branches/v0.4/UPGRADE 2010-11-20 11:22:02 UTC (rev 390) @@ -9,9 +9,8 @@ * lib * locale * plugins -index.php -upgrade.php + You might need to reapply changes to the templates if you made any. 2. Connect to your openupload installation and login as administrator: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 11:17:43
|
Revision: 389 http://openupload.svn.sourceforge.net/openupload/?rev=389&view=rev Author: tsdogs Date: 2010-11-20 11:17:37 +0000 (Sat, 20 Nov 2010) Log Message: ----------- fix upgrade problems + add version option in setup Modified Paths: -------------- branches/v0.4/lib/modules/default/admin.inc.php branches/v0.4/www/setup.inc.php Modified: branches/v0.4/lib/modules/default/admin.inc.php =================================================================== --- branches/v0.4/lib/modules/default/admin.inc.php 2010-11-20 10:52:58 UTC (rev 388) +++ branches/v0.4/lib/modules/default/admin.inc.php 2010-11-20 11:17:37 UTC (rev 389) @@ -1113,13 +1113,13 @@ /* run the upgrade */ if (isset($_GET['upgrade'])) { $errors = array(); - $fields = array(''); + $fields = array('ip','user_login','module','action','realaction','plugin','result','moreinfo'); $logs = app()->db->read('activitylog'); foreach ($logs as $l) { foreach ($fields as $f) { $l[$f]=htmlentities($l[$f]); } - if (app()->db->update('activitylog',$l,array('id' => $l['id']))) + if (!app()->db->update('activitylog',$l,array('id' => $l['id']))) $errors[] = 'ERROR updating activitylog ID: '.$l['id']; } /* now update the files */ @@ -1133,8 +1133,8 @@ $users = app()->db->read('users'); foreach ($users as $u) { $u['name']=htmlentities($u['name']); - if (app()->db->update('users',$u,array('login' => $u['login']))) - $errors[] = 'ERROR updating users ID: '.$u['login']; + if (!app()->db->update('users',$u,array('id' => $u['id']))) + $errors[] = 'ERROR updating user ID: '.$u['login']; } app()->tpl->assign('upgradeerrors',$errors); if (count($errors)==0) { Modified: branches/v0.4/www/setup.inc.php =================================================================== --- branches/v0.4/www/setup.inc.php 2010-11-20 10:52:58 UTC (rev 388) +++ branches/v0.4/www/setup.inc.php 2010-11-20 11:17:37 UTC (rev 389) @@ -300,6 +300,7 @@ array ( 'id' => '1', 'plugin' => 'mimetypes', 'group_name' => '%5', 'name' => 'message', 'value' => 'Pdf, Jpeg'), array ( 'id' => '2', 'plugin' => 'mimetypes', 'group_name' => '%5', 'name' => 'allowed', 'value' => 'application/pdf'."\n".'image/jpeg'), array ( 'id' => '3', 'plugin' => 'expire', 'group_name' => '*', 'name' => 'days', 'value' => '30'), + array ( 'id' => '4', 'plugin' => 'upgrade', 'group_name' => '*', 'name' => 'version', 'value' => '0.4.2'), ), ), 'mode_1' => array ( /* Private mode */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 10:53:04
|
Revision: 388 http://openupload.svn.sourceforge.net/openupload/?rev=388&view=rev Author: tsdogs Date: 2010-11-20 10:52:58 +0000 (Sat, 20 Nov 2010) Log Message: ----------- v0.4.2 release Modified Paths: -------------- web/index.html Modified: web/index.html =================================================================== --- web/index.html 2010-11-20 10:48:50 UTC (rev 387) +++ web/index.html 2010-11-20 10:52:58 UTC (rev 388) @@ -46,7 +46,7 @@ <div class="text"> <div style="font-size:11pt"><b>Stable version 0.4.2</b> - 2010.11.20<br /></div> This is a security BUG update. Please upgrade!! Read the UPGRADE document.<br /> - Click <a href="http://sourceforge.net/projects/openupload/files/" rel="external">here</a> to download.<br /> + Click <a href="http://sourceforge.net/projects/openupload/files/openupload/v0.4/openupload-0.4.2.tar.gz/download" rel="external">here</a> to download.<br /> </div> <div class="text"> <div style="font-size:11pt"><b>OLD Stable version 0.4.1 (secrity flaw)</b> - 2009.08.28<br /></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 10:48:56
|
Revision: 387 http://openupload.svn.sourceforge.net/openupload/?rev=387&view=rev Author: tsdogs Date: 2010-11-20 10:48:50 +0000 (Sat, 20 Nov 2010) Log Message: ----------- v0.4.2 release Modified Paths: -------------- branches/v0.4/CHANGELOG Modified: branches/v0.4/CHANGELOG =================================================================== --- branches/v0.4/CHANGELOG 2010-11-20 10:48:46 UTC (rev 386) +++ branches/v0.4/CHANGELOG 2010-11-20 10:48:50 UTC (rev 387) @@ -1,3 +1,6 @@ +Changelog from release 0.4.1 to 0.4.2 +* Fix problems with XSS scripting + Changelog from release 0.4 to 0.4.1 * Database This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 10:48:52
|
Revision: 386 http://openupload.svn.sourceforge.net/openupload/?rev=386&view=rev Author: tsdogs Date: 2010-11-20 10:48:46 +0000 (Sat, 20 Nov 2010) Log Message: ----------- v0.4.2 release Modified Paths: -------------- web/index.html Modified: web/index.html =================================================================== --- web/index.html 2010-11-20 10:38:11 UTC (rev 385) +++ web/index.html 2010-11-20 10:48:46 UTC (rev 386) @@ -44,11 +44,15 @@ <div class="section"> <h1 class="title">Download</h1> <div class="text"> - <div style="font-size:11pt"><b>Stable version 0.4.1</b> - 2009.08.28<br /></div> + <div style="font-size:11pt"><b>Stable version 0.4.2</b> - 2010.11.20<br /></div> + This is a security BUG update. Please upgrade!! Read the UPGRADE document.<br /> + Click <a href="http://sourceforge.net/projects/openupload/files/" rel="external">here</a> to download.<br /> + </div> + <div class="text"> + <div style="font-size:11pt"><b>OLD Stable version 0.4.1 (secrity flaw)</b> - 2009.08.28<br /></div> This is a bug fix release. Though also introduces mssql support and Brazilian Portuguese translation.<br /> + Please test and report bugs.<br /> Click <a href="http://sourceforge.net/project/showfiles.php?group_id=242018&package_id=294593&release_id=659152" rel="external">here</a> to download.<br /> - </div> - <div class="text"> <div style="font-size:11pt"><b>Old Stable version 0.4</b> - 2009.04.18<br /></div> I'm pleased to announce the availability of the new Open Upload version.<br /> Major changes are: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 10:38:18
|
Revision: 385 http://openupload.svn.sourceforge.net/openupload/?rev=385&view=rev Author: tsdogs Date: 2010-11-20 10:38:11 +0000 (Sat, 20 Nov 2010) Log Message: ----------- add upgrade function Modified Paths: -------------- branches/v0.4/lib/modules/db/mssql.inc.php branches/v0.4/lib/modules/db/mysql.inc.php branches/v0.4/lib/modules/db/pgsql.inc.php branches/v0.4/lib/modules/db/txt.inc.php branches/v0.4/lib/modules/default/admin.inc.php branches/v0.4/templates/default/modules/admin/admin.tpl Added Paths: ----------- branches/v0.4/UPGRADE Added: branches/v0.4/UPGRADE =================================================================== --- branches/v0.4/UPGRADE (rev 0) +++ branches/v0.4/UPGRADE 2010-11-20 10:38:11 UTC (rev 385) @@ -0,0 +1,23 @@ +IMPORTANT +Before any upgrade be sure to have a backup of the database and the configuration. + +FROM v0.4.1 TO v0.4.2 + +1. Replace all files in the following files and directories (www/config.inc.php does not need to be touched): +* www +* templates +* lib +* locale +* plugins +index.php +upgrade.php + +You might need to reapply changes to the templates if you made any. + +2. Connect to your openupload installation and login as administrator: +http://<yourserver>/<openupload>/ + +3. Go to the administration page +4. Follow the "Upgrade to v0.4.2" link +5. IMPORTANT: check your logs for any error + Modified: branches/v0.4/lib/modules/db/mssql.inc.php =================================================================== --- branches/v0.4/lib/modules/db/mssql.inc.php 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/lib/modules/db/mssql.inc.php 2010-11-20 10:38:11 UTC (rev 385) @@ -229,7 +229,7 @@ } } $sql .= ' ('.$flist.') VALUES ('.$vlist.')'; - mssql_query($sql) or die("ERROR: query failed: ".$sql); + return mssql_query($sql) or die("ERROR: query failed: ".$sql); } function update($tbl,$values,$keys = array(),$fields = array()) { @@ -255,7 +255,7 @@ } $sql .= ' WHERE '.$where; } - mssql_query($sql); + return mssql_query($sql); } function delete($tbl,$keys = array()) { @@ -268,7 +268,7 @@ } $sql .= ' WHERE '.$where; } - mssql_query($sql); + return mssql_query($sql); } } Modified: branches/v0.4/lib/modules/db/mysql.inc.php =================================================================== --- branches/v0.4/lib/modules/db/mysql.inc.php 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/lib/modules/db/mysql.inc.php 2010-11-20 10:38:11 UTC (rev 385) @@ -167,7 +167,7 @@ } } $sql .= ' ('.$flist.') VALUES ('.$vlist.')'; - mysql_query($sql); + return mysql_query($sql); } function update($tbl,$values,$keys = array(),$fields = array()) { @@ -193,7 +193,7 @@ } $sql .= ' WHERE '.$where; } - mysql_query($sql); + return mysql_query($sql); } function delete($tbl,$keys = array()) { @@ -206,7 +206,7 @@ } $sql .= ' WHERE '.$where; } - mysql_query($sql); + return mysql_query($sql); } } Modified: branches/v0.4/lib/modules/db/pgsql.inc.php =================================================================== --- branches/v0.4/lib/modules/db/pgsql.inc.php 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/lib/modules/db/pgsql.inc.php 2010-11-20 10:38:11 UTC (rev 385) @@ -176,7 +176,7 @@ } } $sql .= ' ('.$flist.') VALUES ('.$vlist.')'; - pg_query($sql) or die("ERROR: query failed: ".$sql); + return pg_query($sql) or die("ERROR: query failed: ".$sql); } function update($tbl,$values,$keys = array(),$fields = array()) { @@ -202,7 +202,7 @@ } $sql .= ' WHERE '.$where; } - pg_query($sql); + return pg_query($sql); } function delete($tbl,$keys = array()) { @@ -215,7 +215,7 @@ } $sql .= ' WHERE '.$where; } - pg_query($sql); + return pg_query($sql); } } Modified: branches/v0.4/lib/modules/db/txt.inc.php =================================================================== --- branches/v0.4/lib/modules/db/txt.inc.php 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/lib/modules/db/txt.inc.php 2010-11-20 10:38:11 UTC (rev 385) @@ -112,7 +112,7 @@ } $x .= $r."\n"; } - file_put_contents($file,$x); + return file_put_contents($file,$x); } function init() { @@ -290,7 +290,7 @@ } $rows[]=$row; } - $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); + return $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); } } @@ -323,7 +323,7 @@ $rows[$i]=$row; } } - $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); + return $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); } } @@ -346,7 +346,7 @@ unset($rows[$i]); } } - $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); + return $this->writeTxt($file.'.txt',$rows,$this->tables[$tbl]['fields']); } } Modified: branches/v0.4/lib/modules/default/admin.inc.php =================================================================== --- branches/v0.4/lib/modules/default/admin.inc.php 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/lib/modules/default/admin.inc.php 2010-11-20 10:38:11 UTC (rev 385) @@ -73,6 +73,10 @@ "adminlogs" => array ( 1 => "logs", ), + "adminupgrade" => array ( + 1 => "upgrade", + 2 => "upgraderesult" + ), ); var $page; @@ -92,6 +96,10 @@ } function admin() { + $v = app()->db->read('plugin_options',array('plugin' => 'upgrade', 'name' => 'version')); + if (count($v)==0) { + app()->tpl->assign('upgrade','true'); + } } function users() { @@ -1092,5 +1100,51 @@ } + function upgrade() { + $v = app()->db->read('plugin_options',array('plugin' => 'upgrade', 'name' => 'version')); + if (count($v)>0) { + app()->tpl->assign('version',$v); + } + } + + function upgraderesult() { + global $_GET; + + /* run the upgrade */ + if (isset($_GET['upgrade'])) { + $errors = array(); + $fields = array(''); + $logs = app()->db->read('activitylog'); + foreach ($logs as $l) { + foreach ($fields as $f) { + $l[$f]=htmlentities($l[$f]); + } + if (app()->db->update('activitylog',$l,array('id' => $l['id']))) + $errors[] = 'ERROR updating activitylog ID: '.$l['id']; + } + /* now update the files */ + $files = app()->db->read('files'); + foreach ($files as $f) { + $f['description']=htmlentities($f['description']); + if (!app()->db->update('files',$f,array('id' => $f['id']))) + $errors[] = 'ERROR updating files ID: '.$f['id']; + } + /* now the user names */ + $users = app()->db->read('users'); + foreach ($users as $u) { + $u['name']=htmlentities($u['name']); + if (app()->db->update('users',$u,array('login' => $u['login']))) + $errors[] = 'ERROR updating users ID: '.$u['login']; + } + app()->tpl->assign('upgradeerrors',$errors); + if (count($errors)==0) { + $x = array('plugin' => 'upgrade', 'group_name' => '*', 'name' => 'version', 'value' => '0.4.2'); + app()->db->insert('plugin_options',$x); + } + } else { + app()->error('ERROR: No upgrade was RUN'); + $this->nextStep(1); + } + } } ?> \ No newline at end of file Modified: branches/v0.4/templates/default/modules/admin/admin.tpl =================================================================== --- branches/v0.4/templates/default/modules/admin/admin.tpl 2010-11-20 10:37:34 UTC (rev 384) +++ branches/v0.4/templates/default/modules/admin/admin.tpl 2010-11-20 10:38:11 UTC (rev 385) @@ -15,5 +15,8 @@ <td align="center"><a href="{$script}?action=adminbanned"><img src="{tpl file=/img/admin/banned.png}" border="0" ><br />{tr}Banned IPs{/tr}</a></td> <td align="center"><a href="{$script}?action=adminlogs"><img src="{tpl file=/img/admin/log.png}" border="0" ><br />{tr}Logs / Statistics{/tr}</td> </tr> +{if isset($upgrade)} +<a href="{$script}?action=adminupgrade">Upgrade to 0.4.2</a> +{/if} {$plugins} </table> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-20 10:37:40
|
Revision: 384 http://openupload.svn.sourceforge.net/openupload/?rev=384&view=rev Author: tsdogs Date: 2010-11-20 10:37:34 +0000 (Sat, 20 Nov 2010) Log Message: ----------- add upgrade function Added Paths: ----------- branches/v0.4/templates/default/modules/admin/upgrade.tpl branches/v0.4/templates/default/modules/admin/upgraderesult.tpl Added: branches/v0.4/templates/default/modules/admin/upgrade.tpl =================================================================== --- branches/v0.4/templates/default/modules/admin/upgrade.tpl (rev 0) +++ branches/v0.4/templates/default/modules/admin/upgrade.tpl 2010-11-20 10:37:34 UTC (rev 384) @@ -0,0 +1,9 @@ +<h3>This must be run only 1 time</h3> +{if isset($version)} +<p>This has been already RUN</p> +<a href="{$script}?action=admin">Go back to administration page</a> +{else} +<p>Running this will change the contents of the database, so be sure you have a backup just in case</p> +<p>It might take some time to upgrade, please wait for it to finish</p> +<a href="{$script}?action=adminupgrade&step=2&upgrade=true">Proceed >></a> +{/if} \ No newline at end of file Added: branches/v0.4/templates/default/modules/admin/upgraderesult.tpl =================================================================== --- branches/v0.4/templates/default/modules/admin/upgraderesult.tpl (rev 0) +++ branches/v0.4/templates/default/modules/admin/upgraderesult.tpl 2010-11-20 10:37:34 UTC (rev 384) @@ -0,0 +1,12 @@ +{if count($upgradeerrors)>0} +<h3>Upgrade completed with the following errors:</h3> +<p> +{foreach from=$upgradeerrors item=e} +{$e}<br /> +{/foreach} +</p> +{else} +<h3>Upgrade completed successfully</h3> +<a href="{$script}?action=admin">Back to Admin</a> +{/if} + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-11-18 20:32:57
|
Revision: 383 http://openupload.svn.sourceforge.net/openupload/?rev=383&view=rev Author: tsdogs Date: 2010-11-18 20:32:51 +0000 (Thu, 18 Nov 2010) Log Message: ----------- escape the fields to prevent scripting attaks Modified Paths: -------------- branches/v0.4/lib/main.inc.php branches/v0.4/lib/modules/default/auth.inc.php branches/v0.4/lib/modules/default/files.inc.php branches/v0.4/plugins/email.inc.php branches/v0.4/templates/default/modules/admin/logs.tpl Modified: branches/v0.4/lib/main.inc.php =================================================================== --- branches/v0.4/lib/main.inc.php 2010-03-24 16:41:36 UTC (rev 382) +++ branches/v0.4/lib/main.inc.php 2010-11-18 20:32:51 UTC (rev 383) @@ -71,8 +71,8 @@ /* check if it was forced */ if (isset($_GET['lang'])) { $user = $this->user->info(); - $user['lang']=$_GET['lang']; - $this->user->setInfo('lang',$_GET['lang']); + $user['lang']=htmlentities($_GET['lang']); + $this->user->setInfo('lang',htmlentities($_GET['lang'])); } /* configure the language */ @@ -176,9 +176,14 @@ if (isset($this->config['logging'])) { if ($this->config['logging']['enabled']=='yes') { $ip = $_SERVER['REMOTE_ADDR']; - $login = $this->user->info('login'); - $module = $this->actions[$this->action]; - $action = $this->action; + $login = htmlentities($this->user->info('login')); + $module = $this->actions[htmlentities($this->action)]; + $action = htmlentities($this->action); + $ip = htmlentities($ip); + $realaction = htmlentities($realaction); + $plugin = htmlentities($plugin); + $result = htmlentities($result); + $moreinfo = htmlentities($moreinfo); if ($this->config['logging']['db_level']>=$this->loglevels[$level]['id']) { if (is_object($this->db)) { $this->db->insert('activitylog', @@ -191,7 +196,7 @@ 'realaction' => $realaction, 'plugin' => $plugin, 'result' => $result, - 'moreinfo' => $moreinfo + 'moreinfo' => $moreinfo ) ); } } Modified: branches/v0.4/lib/modules/default/auth.inc.php =================================================================== --- branches/v0.4/lib/modules/default/auth.inc.php 2010-03-24 16:41:36 UTC (rev 382) +++ branches/v0.4/lib/modules/default/auth.inc.php 2010-11-18 20:32:51 UTC (rev 383) @@ -149,10 +149,10 @@ $failed = true; } $user['login'] = $_POST['registerlogin']; - $user['name'] = $_POST['registername']; + $user['name'] = htmlentities($_POST['registername']); $user['password'] = $_POST['registerpassword']; $user['email'] = $_POST['registeremail']; - $user['lang'] = $_POST['registerlang']; + $user['lang'] = htmlentities($_POST['registerlang']); $user['group_name'] = app()->config['register']['default_group']; $user['reg_date']=date('Y-m-d H:i:s'); $result = app()->pluginAction('registerConfirm',$user); @@ -274,4 +274,4 @@ $this->tpl->assign('puser',$user); } } -?> \ No newline at end of file +?> Modified: branches/v0.4/lib/modules/default/files.inc.php =================================================================== --- branches/v0.4/lib/modules/default/files.inc.php 2010-03-24 16:41:36 UTC (rev 382) +++ branches/v0.4/lib/modules/default/files.inc.php 2010-11-18 20:32:51 UTC (rev 383) @@ -212,7 +212,7 @@ $this->prevStep(); for ($i = 0; $i<count($_SESSION['user']['u']); $i++) { $finfo = $_SESSION['user']['u'][$i]; - $finfo['description'] = $_POST['description']; + $finfo['description'] = htmlentities($_POST['description']); if ($i==0) { $s = isset(app()->config['id_max_length'])?app()->config['id_max_length']:30; $a = isset(app()->config['id_use_alpha'])?app()->config['id_use_alpha']=='yes':false; @@ -562,4 +562,4 @@ } } -?> \ No newline at end of file +?> Modified: branches/v0.4/plugins/email.inc.php =================================================================== --- branches/v0.4/plugins/email.inc.php 2010-03-24 16:41:36 UTC (rev 382) +++ branches/v0.4/plugins/email.inc.php 2010-11-18 20:32:51 UTC (rev 383) @@ -26,8 +26,8 @@ $finfo[0]['emailfrom']=app()->config['site']['email']; $finfo[0]['emailto']=$_POST['emailto']; $finfo[0]['email_removelink']=$_POST['removelink']; - $finfo[0]['subject']=$_POST['subject']; - $finfo[0]['message']=$_POST['message']; + $finfo[0]['subject']=htmlentities($_POST['subject']); + $finfo[0]['message']=htmlentities($_POST['message']); // TODO: Fix this mess with the e-mail sender if ($_SESSION['user']['email']=='') { if ($finfo[0]['emailme']=="yes") { Modified: branches/v0.4/templates/default/modules/admin/logs.tpl =================================================================== --- branches/v0.4/templates/default/modules/admin/logs.tpl 2010-03-24 16:41:36 UTC (rev 382) +++ branches/v0.4/templates/default/modules/admin/logs.tpl 2010-11-18 20:32:51 UTC (rev 383) @@ -49,7 +49,7 @@ <td id="{$rid}">{$l.realaction}</td> <td id="{$rid}">{$l.plugin}</td> <td id="{$rid}">{$l.result}</td> - <td id="{$rid}">{$l.additional}</td> + <td id="{$rid}">{$l.moreinfo}</td> </tr> {/foreach} -</table> \ No newline at end of file +</table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-24 16:41:43
|
Revision: 382 http://openupload.svn.sourceforge.net/openupload/?rev=382&view=rev Author: tsdogs Date: 2010-03-24 16:41:36 +0000 (Wed, 24 Mar 2010) Log Message: ----------- group on IP plugin Added Paths: ----------- branches/v0.4/plugins/grouponip.inc.php Added: branches/v0.4/plugins/grouponip.inc.php =================================================================== --- branches/v0.4/plugins/grouponip.inc.php (rev 0) +++ branches/v0.4/plugins/grouponip.inc.php 2010-03-24 16:41:36 UTC (rev 382) @@ -0,0 +1,64 @@ +<?php + +/* description: This plugin sets the user group based on it's connection IP + * this allows a company to overcome the login part. + * It does that only for the 'unregistered' users + * NOTE: this is still experimantal + * + * Installation: + * 1. Put this file inside the plugins directory of Open Upload + * 2. change the www/config.inc.php and add this plugin (I think it's better to put it as the first one in the list) + * 3. Login as administrator + * 4. Set the options for the 'unregistered' group for this plugin + * The options associate 1 line IP to 1 Line group so you can differentiate depending on the IP + * i.e. IPs: 127.0.0.1 + * 10.10.0.0/24 + * Groups: admins + * registered + * 5. Enable the plugin for the 'unregisterd' group (it won't work for other groups) + * + * Be ware: the files uploaded with this method are visible by all the people in the group if the file listing is enabled for it + * I'd suggest to create a separate group for this uploads (as users can still login) and disable file listing + * + */ + +class groupOnIpPlugin extends OpenUploadPlugin { + + function groupOnIpPlugin() { + $this->description = tr('Set the default group based on the IP.'); + $this->options = array( + array('name' => 'ip', 'description' => tr('Client IPs'), 'type' => 'list'), + array('name' => 'group', 'description' => tr('Associated groups'), 'type' => 'list'), + ); + } + + function init() { + $this->loadConfig(); + /* check if enabled, and the source IP matches then it will set the associated group */ + if (app()->user->group()!=app()->config['register']['nologingroup']) return true; + + /* TODO: should I check if I have already done this */ + + + $group = $this->getGroup('ip'); + if (count($this->config['ip'][$group])==0 and count($this->config['ip']['*'])>0) { + $this->config['ip'][$group]=$this->config['ip']['*']; + $this->config['group'][$group]=$this->config['group']['*']; + } + if (count($this->config['ip'][$group])>0) { + foreach ($this->config['ip'][$group] as $k => $ip ) { + if (app()->matchIP($_SERVER['REMOTE_ADDR'],$ip)) { + /* set the corrisponding value and return */ + if ($this->config['group'][$group][$k]!='') { + app()->user->setInfo('group',$this->config['group'][$group][$k]); + return; + } + } + } + } + + /* TODO: save that this operation was already done ? */ + + } +} +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-24 15:56:27
|
Revision: 381 http://openupload.svn.sourceforge.net/openupload/?rev=381&view=rev Author: tsdogs Date: 2010-03-24 15:56:20 +0000 (Wed, 24 Mar 2010) Log Message: ----------- a few modifications to fix minor bugs in the email plugin dealing with multiple recipients Modified Paths: -------------- branches/v0.4/plugins/email.inc.php Modified: branches/v0.4/plugins/email.inc.php =================================================================== --- branches/v0.4/plugins/email.inc.php 2010-03-22 15:36:13 UTC (rev 380) +++ branches/v0.4/plugins/email.inc.php 2010-03-24 15:56:20 UTC (rev 381) @@ -28,29 +28,30 @@ $finfo[0]['email_removelink']=$_POST['removelink']; $finfo[0]['subject']=$_POST['subject']; $finfo[0]['message']=$_POST['message']; - if ($finfo[0]['emailme']=="yes") { - if ($_SESSION['user']['email']=='') { +// TODO: Fix this mess with the e-mail sender + if ($_SESSION['user']['email']=='') { + if ($finfo[0]['emailme']=="yes") { /* check valid e-mail */ if (!validEmail($_POST['email'])) { app()->error(tr('Your e-mail address isn\'t valid!')); return false; } $finfo[0]['emailfrom']=$_POST['email']; - } else { - $finfo[0]['emailfrom']=$_SESSION['user']['email']; } + } else { + $finfo[0]['emailfrom']=$_SESSION['user']['email']; } if (!isset($this->config['multirecipients'][$group]) and isset($this->config['multirecipients']['*'])) { $this->config['multirecipients'][$group]=$this->config['multirecipients']['*']; } if ($finfo[0]['emailto']!='') { if ($this->config['multirecipients'][$group]=='1') { - $emailto = trim(split(';',$_POST['emailto'])); + $emailto = split(';',$_POST['emailto']); } else { $emailto[0] = $_POST['emailto']; } foreach ($emailto as $destination) { - if (!validEmail($destination)) { + if (!validEmail(trim($destination))) { app()->error(tr('Destination e-mail address "%1" isn\'t valid!',$destination)); return false; } @@ -75,7 +76,10 @@ $subject = $finfo[0]['subject']!=''?$finfo[0]['subject']:tr("An upload was delivered to you"); $subject = app()->config['site']['title'].': '.$subject; app()->tpl->assign('remove',$finfo[0]['email_removelink']); - sendMail($finfo[0]['emailfrom'],$finfo[0]['emailfrom'],$finfo[0]['emailto'],$subject,'plugins/email/notify'); + $emails = split(';',$finfo[0]['emailto']); + foreach ($emails as $emailto) { + sendMail($finfo[0]['emailfrom'],$finfo[0]['emailfrom'],trim($emailto),$subject,'plugins/email/notify'); + } } /* don't send it twice */ $finfo[0]['emailme']==''; @@ -102,7 +106,10 @@ $finfo[0]['message']=$_GET['message']; app()->tpl->assign('finfo',$finfo); app()->tpl->assign('remove',$_GET['removelink']); - sendMail($_SESSION['user']['email'],$_SESSION['user']['email'],$_GET['emailto'],$subject,'plugins/email/notify'); + $emails = split(';',$_GET['emailto']); + foreach ($emails as $emailto) { + sendMail($_SESSION['user']['email'],$_SESSION['user']['email'],trim($emailto),$subject,'plugins/email/notify'); + } app()->message(tr('E-mail was sent to: %1!',$_GET['emailto'])); redirect('?action=l&step=2&id='.$_GET['id']); return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-22 15:36:19
|
Revision: 380 http://openupload.svn.sourceforge.net/openupload/?rev=380&view=rev Author: tsdogs Date: 2010-03-22 15:36:13 +0000 (Mon, 22 Mar 2010) Log Message: ----------- fix localhost (on some hosts 127.0.1.1 is used to connect to localhost) Modified Paths: -------------- trunk/sql/mysql/2_base.sql Modified: trunk/sql/mysql/2_base.sql =================================================================== --- trunk/sql/mysql/2_base.sql 2010-03-22 15:35:38 UTC (rev 379) +++ trunk/sql/mysql/2_base.sql 2010-03-22 15:36:13 UTC (rev 380) @@ -17,7 +17,7 @@ -- Dump dei dati per la tabella `banned` -- -INSERT INTO `banned` (`id`, `ip`, `access`, `priority`) VALUES(1, '127.0.0.1', 'allow', 1); +INSERT INTO `banned` (`id`, `ip`, `access`, `priority`) VALUES(1, '127.0.0.0/8', 'allow', 1); INSERT INTO `banned` (`id`, `ip`, `access`, `priority`) VALUES(2, '0.0.0.0/0', 'allow', 9999999); -- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-22 15:35:45
|
Revision: 379 http://openupload.svn.sourceforge.net/openupload/?rev=379&view=rev Author: tsdogs Date: 2010-03-22 15:35:38 +0000 (Mon, 22 Mar 2010) Log Message: ----------- new version 0.5 database structure Modified Paths: -------------- trunk/sql/mysql/1_structure.sql Modified: trunk/sql/mysql/1_structure.sql =================================================================== --- trunk/sql/mysql/1_structure.sql 2010-03-18 18:51:32 UTC (rev 378) +++ trunk/sql/mysql/1_structure.sql 2010-03-22 15:35:38 UTC (rev 379) @@ -1,176 +1,142 @@ --- phpMyAdmin SQL Dump --- version 2.11.3deb1ubuntu1.1 --- http://www.phpmyadmin.net --- --- Host: localhost --- Generato il: 18 Ott, 2008 at 11:12 AM --- Versione MySQL: 5.0.51 --- Versione PHP: 5.2.4-2ubuntu5.3 -SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; - --- --- Database: `openupload` --- - --- -------------------------------------------------------- - --- --- Struttura della tabella `acl` --- - CREATE TABLE IF NOT EXISTS `acl` ( - `id` int(11) NOT NULL auto_increment, + `id` int(11) NOT NULL AUTO_INCREMENT, `module` varchar(100) NOT NULL, `action` varchar(100) NOT NULL, `group_name` varchar(50) NOT NULL, `access` varchar(10) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- +CREATE TABLE IF NOT EXISTS `activitylog` ( + `id` int(20) NOT NULL AUTO_INCREMENT, + `level` varchar(20) NOT NULL, + `log_time` datetime NOT NULL, + `ip` varchar(20) NOT NULL, + `user_login` varchar(100) NOT NULL, + `module` varchar(50) NOT NULL, + `action` varchar(50) NOT NULL, + `realaction` varchar(50) DEFAULT NULL, + `plugin` varchar(50) DEFAULT NULL, + `result` varchar(100) DEFAULT NULL, + `moreinfo` text, + PRIMARY KEY (`id`) +) ; --- --- Struttura della tabella `banned` --- - CREATE TABLE IF NOT EXISTS `banned` ( - `id` int(11) NOT NULL auto_increment, + `id` int(11) NOT NULL AUTO_INCREMENT, `ip` varchar(50) NOT NULL, `access` varchar(50) NOT NULL, `priority` int(11) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- +CREATE TABLE IF NOT EXISTS `groups` ( + `name` varchar(50) NOT NULL, + `description` varchar(250) DEFAULT NULL, + PRIMARY KEY (`name`) +) ; --- --- Struttura della tabella `files` --- - -CREATE TABLE IF NOT EXISTS `files` ( +CREATE TABLE IF NOT EXISTS `invitations` ( `id` varchar(100) NOT NULL, - `name` varchar(200) NOT NULL, - `mime` varchar(200) NOT NULL, - `description` tinytext NOT NULL, - `size` int(12) NOT NULL, `remove` varchar(100) NOT NULL, - `user_login` varchar(100) NOT NULL, - `ip` varchar(40) NOT NULL, - `upload_date` datetime NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; + `create_date` datetime NOT NULL, + `expire_date` datetime NOT NULL, + `description` varchar(200) DEFAULT NULL, + `user` varchar(100) DEFAULT NULL, + `group` varchar(100) DEFAULT NULL, + `ip` varchar(20) DEFAULT NULL, + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- - --- --- Struttura della tabella `file_options` --- - -CREATE TABLE IF NOT EXISTS `file_options` ( - `id` bigint(20) NOT NULL auto_increment, - `file_id` varchar(100) NOT NULL, +CREATE TABLE IF NOT EXISTS `invitation_options` ( + `invitation_id` varchar(100) NOT NULL, + `seq` int(11) NOT NULL AUTO_INCREMENT, `module` varchar(50) NOT NULL, `name` varchar(50) NOT NULL, - `value` varchar(200) NOT NULL, - PRIMARY KEY (`id`), - KEY `file_id` (`file_id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + `value` varchar(200) DEFAULT NULL, + PRIMARY KEY (`invitation_id`,`seq`) +) ; --- -------------------------------------------------------- - --- --- Struttura della tabella `groups` --- - -CREATE TABLE IF NOT EXISTS `groups` ( +CREATE TABLE IF NOT EXISTS `invitation_upload_options` ( + `invitation_id` varchar(100) NOT NULL, + `seq` int(11) NOT NULL AUTO_INCREMENT, + `module` varchar(50) NOT NULL, `name` varchar(50) NOT NULL, - `description` varchar(250) default NULL, - PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; + `value` varchar(200) DEFAULT NULL, + PRIMARY KEY (`invitation_id`,`seq`) +) ; --- -------------------------------------------------------- - --- --- Struttura della tabella `langs` --- - CREATE TABLE IF NOT EXISTS `langs` ( `id` varchar(10) NOT NULL, `name` varchar(100) NOT NULL, `locale` varchar(10) NOT NULL, - `browser` varchar(200) default NULL, - `charset` varchar(50) NOT NULL, - `active` tinyint(1) NOT NULL default '1', - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; + `browser` varchar(200) DEFAULT NULL, + `charset` varchar(50) DEFAULT NULL, + `active` int(1) DEFAULT NULL, + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- - --- --- Struttura della tabella `plugin_acl` --- - CREATE TABLE IF NOT EXISTS `plugin_acl` ( - `id` int(11) NOT NULL auto_increment, + `id` int(10) NOT NULL AUTO_INCREMENT, `group_name` varchar(50) NOT NULL, `plugin` varchar(100) NOT NULL, `access` varchar(10) NOT NULL, - PRIMARY KEY (`id`), - UNIQUE KEY `group_name` (`group_name`,`plugin`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- - --- --- Struttura della tabella `plugin_options` --- - CREATE TABLE IF NOT EXISTS `plugin_options` ( - `id` int(11) NOT NULL auto_increment, + `id` int(10) NOT NULL AUTO_INCREMENT, `plugin` varchar(100) NOT NULL, - `group_name` varchar(100) NOT NULL, + `group_name` varchar(50) NOT NULL, `name` varchar(100) NOT NULL, - `value` text, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + `value` text NOT NULL, + PRIMARY KEY (`id`) +) ; --- -------------------------------------------------------- +CREATE TABLE IF NOT EXISTS `uploads` ( + `id` varchar(100) NOT NULL, + `remove` varchar(100) NOT NULL, + `upload_date` datetime NOT NULL, + `expire_date` datetime NOT NULL, + `description` varchar(200) NOT NULL, + `user` varchar(100) NOT NULL, + `group` varchar(100) NOT NULL, + `ip` varchar(20) NOT NULL, + `size` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ; --- --- Struttura della tabella `users` --- +CREATE TABLE IF NOT EXISTS `upload_files` ( + `upload_id` varchar(100) NOT NULL, + `seq` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(200) NOT NULL, + `mime` varchar(200) NOT NULL, + `size` int(12) NOT NULL, + PRIMARY KEY (`upload_id`,`seq`) +) ; +CREATE TABLE IF NOT EXISTS `upload_options` ( + `upload_id` varchar(100) NOT NULL, + `seq` int(11) NOT NULL AUTO_INCREMENT, + `module` varchar(50) NOT NULL, + `name` varchar(50) NOT NULL, + `value` varchar(200) NOT NULL, + PRIMARY KEY (`upload_id`,`seq`) +) ; + CREATE TABLE IF NOT EXISTS `users` ( - `id` int(10) unsigned NOT NULL auto_increment, + `id` int(10) NOT NULL AUTO_INCREMENT, `login` varchar(100) NOT NULL, `password` varchar(100) NOT NULL, `name` varchar(200) NOT NULL, - `group_name` varchar(50) NOT NULL default 'registered', + `group_name` varchar(50) NOT NULL, `email` varchar(250) NOT NULL, - `lang` varchar(10) NOT NULL default 'en', + `lang` varchar(10) NOT NULL, `reg_date` datetime NOT NULL, - `regid` varchar(50) NOT NULL default '', - `active` tinyint(3) unsigned NOT NULL default '1', - PRIMARY KEY (`id`), - UNIQUE KEY `login` (`login`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; + `regid` varchar(50) NOT NULL, + `active` int(1) NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `login` (`id`) +) ; --- --- Table structure for `activitylog` --- - -CREATE TABLE `activitylog` ( - `id` int(20) NOT NULL auto_increment, - `level` varchar(20) NOT NULL, - `log_time` datetime NOT NULL, - `ip` varchar(20) NOT NULL, - `user_login` varchar(100) NOT NULL, - `module` varchar(50) NOT NULL, - `action` varchar(50) NOT NULL, - `realaction` varchar(50) default NULL, - `plugin` varchar(50) default NULL, - `result` varchar(100) default NULL, - `moreinfo` text, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-18 18:51:38
|
Revision: 378 http://openupload.svn.sourceforge.net/openupload/?rev=378&view=rev Author: tsdogs Date: 2010-03-18 18:51:32 +0000 (Thu, 18 Mar 2010) Log Message: ----------- add redirects to main page Added Paths: ----------- trunk/sql/index.html trunk/sql/mysql/index.html trunk/sql/pgsql/index.html trunk/sql/txt/index.html Added: trunk/sql/index.html =================================================================== --- trunk/sql/index.html (rev 0) +++ trunk/sql/index.html 2010-03-18 18:51:32 UTC (rev 378) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/sql/mysql/index.html =================================================================== --- trunk/sql/mysql/index.html (rev 0) +++ trunk/sql/mysql/index.html 2010-03-18 18:51:32 UTC (rev 378) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/sql/pgsql/index.html =================================================================== --- trunk/sql/pgsql/index.html (rev 0) +++ trunk/sql/pgsql/index.html 2010-03-18 18:51:32 UTC (rev 378) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/sql/txt/index.html =================================================================== --- trunk/sql/txt/index.html (rev 0) +++ trunk/sql/txt/index.html 2010-03-18 18:51:32 UTC (rev 378) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-18 18:49:47
|
Revision: 377 http://openupload.svn.sourceforge.net/openupload/?rev=377&view=rev Author: tsdogs Date: 2010-03-18 18:49:40 +0000 (Thu, 18 Mar 2010) Log Message: ----------- version 0.5 modifications preliminary upload perl cgi based on uber uploader Added Paths: ----------- trunk/cgi-bin/ trunk/cgi-bin/openupload.cgi Added: trunk/cgi-bin/openupload.cgi =================================================================== --- trunk/cgi-bin/openupload.cgi (rev 0) +++ trunk/cgi-bin/openupload.cgi 2010-03-18 18:49:40 UTC (rev 377) @@ -0,0 +1,888 @@ +#!/usr/bin/perl -w +#********************************************************************************************************************************** +# Name: ubr_upload.pl +# Link: http://uber-uploader.sourceforge.net/ +# Revision: 3.1 +# Date: 9:22 PM May 5, 2009 +# Developer: Peter Schmandra +# Description: Upload files to a temp dir based on upload id, transfer files to upload dir and redirects. +# +# BEGIN LICENSE BLOCK +# The contents of this file are subject to the Mozilla Public License +# Version 1.1 (the "License"); you may not use this file except in +# compliance with the License. You may obtain a copy of the License +# at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +# the License for the specific language governing rights and +# limitations under the License. +# +# Alternatively, the contents of this file may be used under the +# terms of either the GNU General Public License Version 2 or later +# (the "GPL"), or the GNU Lesser General Public License Version 2.1 +# or later (the "LGPL"), in which case the provisions of the GPL or +# the LGPL are applicable instead of those above. If you wish to +# allow use of your version of this file only under the terms of +# either the GPL or the LGPL, and not to allow others to use your +# version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the +# notice and other provisions required by the GPL or the LGPL. If you +# do not delete the provisions above, a recipient may use your +# version of this file under the terms of any one of the MPL, the GPL +# or the LGPL. +# END LICENSE BLOCK +#********************************************************************************************************************************** + +#********************************************************************************************************************************** +# ATTENTION: THE $TEMP_DIR AND $DATA_DELIMITER VALUES MUST BE DUPLICATED IN THE "UBR_INI.PHP" FILE +#********************************************************************************************************************************** +my $TEMP_DIR = '/tmp/'; # * ATTENTION * : The $TEMP_DIR value MUST be duplicated in the "ubr_ini.php" file +my $DATA_DELIMITER = '<=>'; # * ATTENTION * : The $DATA_DELIMITER value MUST be duplicated in the "ubr_ini.php" file + +my $DEBUG_PERL = 0; # View version and environment variables (config will not be loaded) +my $UBER_VERSION = "openupload_6.7.1"; # Version of UU +my $THIS_VERSION = "openupload_0.5"; # Version of this script +my $UPLOAD_ID = ''; # Initialize upload id + +$| = 1; # Make STDOUT flush immediately + +use strict; # Insert whipping sound here +use CGI::Carp 'fatalsToBrowser'; # Dump fatal errors to screen +use CGI qw(:cgi); # Load the CGI.pm module +use File::Copy; # Module for moving uploaded files +use File::Path; # Module for creating and removing directories +use IO::File; # Module for file IO + +# Makes %ENV safer +$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin'; +delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; + +############################################################# +# The following possible query string formats are assumed +# +# 1. ?upload_id=32_character_alpha_numeric_string +# 2. ?about +############################################################# +my %query_string = parse_query_string($ENV{'QUERY_STRING'}); # Parse query string +my $print_issued = 0; # Track print statement +my $remove_temp_dir = 0; # Track remove upload_id.dir + +if($DEBUG_PERL){ + # Pass blank config + my %dummy_config = (); + + # Display version and environment variables + &show_debug_info($UBER_VERSION, $THIS_VERSION, $TEMP_DIR, $DATA_DELIMITER, $UPLOAD_ID, %dummy_config); +} +elsif(exists($query_string{'upload_id'})){ + # Check for tainted upload id + if($query_string{'upload_id'} =~ m/(^[a-zA-Z0-9]{32}$)/){ $UPLOAD_ID = $1; } + else{ &kak("Invalid upload id", 1, __LINE__); } +} +elsif(exists($query_string{'about'})){ &kak("<u><b>UBER UPLOADER VERSION</b><\/u><br> UBER UPLOADER VERSION = <b>" . $UBER_VERSION . "<\/b><br> UBR_UPLOAD = <b>" . $THIS_VERSION . "<\/b><br>\n", 1, __LINE__); } +else{ &kak("Invalid parameters passed", 1, __LINE__); } + +my $start_upload = 0; # Timestamp start of upload +my $end_upload = 0; # Timestamp end of upload +my $sleep_time = 20; # Seconds to wait before upload proceeds (for small file uploads) +my $temp_dir_id = $TEMP_DIR . $UPLOAD_ID . '.dir'; # The upload dir appendided to the temp dir +my $flength_file = $temp_dir_id . '/' . $UPLOAD_ID . '.flength'; # Flength file is used to store the size of the upload in bytes +my $redirect_file = $TEMP_DIR . $UPLOAD_ID . '.redirect'; # Redirect file (upload id.redirect) +my $hook_file = $temp_dir_id . '/' . $UPLOAD_ID . '.hook'; # Hook file is used to store upload info +my $hook_handle; # File handle used for hook file +my %uploaded_files = (); # Hash used to store uploaded file names, sizes and types +my %current_file_uploads = (); # Hash used to store current upload info +my %config = &load_config_file($TEMP_DIR, $UPLOAD_ID, $DATA_DELIMITER); # Hash used to store config values loaded from the upload_id.link file +my @errors = (); +############################################################################################################################################################ +# The config values from the link file are loaded at this point. You can now access or set config values. eg. +# +# $config{'party_on'} = "indeed"; +############################################################################################################################################################ + +# Dump config settings and environment variables to screen and exit. Upload will not succeed. +if($config{'debug_upload'}){ &show_debug_info($UBER_VERSION, $THIS_VERSION, $TEMP_DIR, $DATA_DELIMITER, $UPLOAD_ID, %config); } + +umask(0); + +# Set the max post value +$CGI::POST_MAX = $config{'max_upload_size'}; + +# don't fail if the directory already exists +if (-d $temp_dir_id) { + rmtree($temp_dir_id, 0, 1); +} + +# Create a temp directory based on upload id +mkpath($temp_dir_id, 0, 0777) or &kak("Failed to make $temp_dir_id: $!", 1, __LINE__); + +# Create flength file +my $flength_handle = new IO::File; +$flength_handle->open("> $flength_file") or &kak("Failed to open $flength_file: $!", 1, __LINE__); +$flength_handle->autoflush(1); +chmod 0666, $flength_file; + +if(!$config{'found_link_file'}){ + # If fail to find upload_id.link file, write error to flength file and exit + $flength_handle->print("ERROR" . $DATA_DELIMITER . "1" . $DATA_DELIMITER . "Failed to open link file " . $TEMP_DIR . $UPLOAD_ID . ".link"); + $flength_handle->close(); + + &kak("Failed to open $UPLOAD_ID.link: $!", 1, __LINE__); +} +elsif($ENV{'CONTENT_LENGTH'} > $config{'max_upload_size'}){ + # If file size exceeds maximum, write error to flength file and exit + my $max_size = &format_bytes($config{'max_upload_size'}, 99); + $flength_handle->print("ERROR" . $DATA_DELIMITER . "2" . $DATA_DELIMITER . "Maximum upload size of $max_size exceeded"); + $flength_handle->close(); + + &kak("Maximum upload size of $max_size exceeded", 1, __LINE__); +} +elsif($config{'cgi_upload_hook'} && $CGI::VERSION <= 3.15){ + # CGI.pm version must be greater than 3.15 to use an upload hook + $flength_handle->print("ERROR" . $DATA_DELIMITER . "3" . $DATA_DELIMITER . "CGI.pm ver" . $CGI::VERSION . " does not support an upload hook"); + $flength_handle->close(); + + &kak("CGI.pm ver" . $CGI::VERSION . " does not support an upload hook", 1, __LINE__); +} +else{ + # Write total upload size in bytes to flength file + $flength_handle->print($ENV{'CONTENT_LENGTH'}); + $flength_handle->close(); + + # Clean up upload_id.dir when the script exits + $remove_temp_dir = 1; +} + +# Give progress bar a chance to get some info (for small file uploads) +sleep($sleep_time); + +# Get remote address, user agent and server name +$config{'remote_addr'} = $ENV{'REMOTE_ADDR'}; +$config{'http_user_agent'} = $ENV{'HTTP_USER_AGENT'}; +$config{'server_name'} = $ENV{'SERVER_NAME'}; + +if($config{'cgi_upload_hook'}){ + # Create an upload hook file + $hook_handle = new IO::File; + $hook_handle->open("> $hook_file") or &kak("Failed to open $hook_file: $!", 1, __LINE__); + $hook_handle->autoflush(1); + my $hook_query = CGI->new(\&hook, $hook_handle); +} +else{ + # Disable private temp files + CGI::private_tempfiles(0); + + # Tell CGI.pm to use our directory based on upload id + if($TempFile::TMPDIRECTORY){ $TempFile::TMPDIRECTORY = $temp_dir_id; } + elsif($CGITempFile::TMPDIRECTORY){ $CGITempFile::TMPDIRECTORY = $temp_dir_id; } + else{ &kak("Failed to assign CGI temp directory: $!", 1, __LINE__); } +} + +# Timestamp start of upload +$config{'start_upload'} = time(); + +# Upload finished +my $query = new CGI; + +###################################################################################################### +# The upload is now complete, you can now access post values. eg. $query->param("some_post_value"); +###################################################################################################### + +# Delete the flength file +rmtree($flength_file, 0, 1) or warn("Failed to remove $flength_file: $!"); + +# Close and delete the hook file +if($config{'cgi_upload_hook'}){ + $hook_handle->close(); + rmtree($hook_file, 0, 1) or warn("Failed to remove $hook_file: $!"); +} + +##################################################################################################################### +# IF you are modifying the upload directory with a post or config value, it may be done after this comment block. +# Note: Making modifications based on posted input may be unsafe. Make sure your posted input is safe! +# +# eg. $config{'upload_dir'} .= $query->param("employee_num") . '/'; +# eg. $config{'path_to_upload'} .= $query->param("employee_num") . '/'; +# +# eg. $config{'upload_dir'} .= $config{'employee_num'} . '/'; +# eg. $config{'path_to_upload'} .= $config{'employee_num'} . '/'; +##################################################################################################################### + +# Create a directory based on upload_id inside the upload directory if config setting 'unique_upload_dir' is enabled +if($config{'unique_upload_dir'}){ + $config{'upload_dir'} .= $UPLOAD_ID . '/'; + + if($config{'link_to_upload'} || $config{'link_to_upload_in_email'}){ $config{'path_to_upload'} .= $UPLOAD_ID . '/'; } +} + +# Create upload directory if it does not exist +if(!-d $config{'upload_dir'}){ mkpath($config{'upload_dir'}, 0, 0777) or &kak("Failed to make $config{'upload_dir'}: $!", 1, __LINE__); } + +my $counter = 0; +# Process uploaded files +for my $upload_key (keys %{$query->{'.tmpfiles'}}){ + # Get the file slot name eg. 'upfile_0' + $query->{'.tmpfiles'}->{$upload_key}->{'info'}->{'Content-Disposition'} =~ / name="([^"]*)"/; + # Store file slot name + my $file_slot = $1; + + # Get uploaded file name + # Get the upload file handle + my $upload_filehandle = $query->upload($file_slot); + my $file_name = $upload_filehandle; + # Strip extra path info from the file (IE). Note: Will likely cause problems with foreign languages like chinese + $file_name =~ s/.*[\/\\](.*)/$1/; + + # Get the CGI temp file name + my $tmp_filename = $query->tmpFileName($upload_filehandle); + + # Get the type of file being uploaded + my $content_type = $query->uploadInfo($upload_filehandle)->{'Content-Type'}; + + # Get base file name and extension + #my($f_name, $file_extension) = $file_name =~ /(.*)\.(.+)/; + + my($f_name, $file_extension) = $file_name =~ (/^(.*?)\.?([^\.]*)$/); + + ############################################################################################################# + # IF you are modifying the file name with a post or config value, it may be done after this comment block. + # + # Note: Making modifications based on posted input may be unsafe. Make sure your posted input is safe! + # + # eg. $file_name = $f_name . "_" . $query->param("employee_num") . "." . $file_extension; + # eg. $file_name = $f_name . "_" . $config{'employee_num'} . "." . $file_extension; + ############################################################################################################## + + my $strict_file_name_pass = 1; # Default to pass check + my $zero_length_file_pass = 1; # Default to pass check + my $allow_extensions_pass = 1; # Default to pass check + my $disallow_extensions_pass = 1; # Default to pass check + my $rename_file_pass = 1; # Default to pass check + + #Strict check of file name. If check fails, the file WILL NOT be transfered. + if($config{'strict_file_name_check'}){ $strict_file_name_pass = &strict_file_name_check($file_name, $config{'strict_file_name_regex'}, $config{'min_file_name_chars'}, $config{'max_file_name_chars'}); } + + if($strict_file_name_pass){ + #Check for zero length file + $zero_length_file_pass = -s $tmp_filename; + + if($zero_length_file_pass){ + # Check allow file extension + if($config{'check_allow_extensions_on_server'}){ $allow_extensions_pass = &check_file_extension($file_extension, $config{'allow_extensions'}, 1); } + + if($allow_extensions_pass){ + # Check disallow file extension + if($config{'check_disallow_extensions_on_server'}){ $disallow_extensions_pass = &check_file_extension($file_extension, $config{'disallow_extensions'}, 2); } + + if($disallow_extensions_pass){ + # Create a unique filename if config setting 'unique_filename' is enabled + if($config{'unique_file_name'}){ + my $unique_file_name = generate_random_string($config{'unique_file_name_length'}); + + $unique_file_name = $unique_file_name . "." . $file_extension; + $file_name = $unique_file_name; + } + elsif($config{'normalize_file_names'}){ $file_name = &normalize_filename($file_name, $config{'normalize_file_name_regex'}, $config{'normalize_file_name_char'}, $config{'min_file_name_chars'}, $config{'max_file_name_chars'}); } + + # Check for an existing file and rename if it already exists + if(!$config{'overwrite_existing_files'}){ + if(&file_exists($config{'upload_dir'}, $file_name)){ + my $renamed_file = &rename_file($config{'upload_dir'}, $file_name); + + if($file_name ne $renamed_file){ $file_name = $renamed_file; } + else{ $rename_file_pass = 0; } + } + } + } + } + } + } + + # If all checks passed transfer file else record reason for failure + if($strict_file_name_pass && $zero_length_file_pass && $allow_extensions_pass && $disallow_extensions_pass && $rename_file_pass){ + # Path to file and file name + my $upload_tmp_name = $config{'upload_id'}; + if ($counter > 0) { + $upload_tmp_name .= '_'.$counter; + } + my $upload_file_path = $config{'upload_dir'} . $upload_tmp_name; + + # Win wants the file handle closed before transfer + close($upload_filehandle); + + # Transfer uploaded file to final destination + move($tmp_filename, $upload_file_path) or copy($tmp_filename, $upload_file_path) or &kak("Cannot move/copy from $tmp_filename to $upload_file_path: $!", 1, __LINE__); + + chmod 0666, $upload_file_path; + + # Store the upload file info + $file_slot =~ s/\[\]//; + $uploaded_files{$counter}{'file_slot'} = $file_slot; + $uploaded_files{$counter}{'file_size'} = &get_file_size($config{'upload_dir'} , $upload_tmp_name); + $uploaded_files{$counter}{'file_tmpname'} = $upload_file_path; + $uploaded_files{$counter}{'file_name'} = $file_name; + $uploaded_files{$counter}{'file_type'} = $content_type; + $uploaded_files{$counter}{'file_status'} = '0'; + $counter ++; + } + else{ + close($upload_filehandle); + + # Store the upload file info + $uploaded_files{$file_slot}{'file_size'} = 0; + $uploaded_files{$file_slot}{'file_name'} = $file_name; + $uploaded_files{$file_slot}{'file_type'} = $content_type; + $uploaded_files{$file_slot}{'file_status'} = 'FAIL:'; + + # Record why the file transfer failed + if(!$strict_file_name_pass){ $uploaded_files{$file_slot}{'file_status'} .= 'Strict file name'; } + elsif(!$zero_length_file_pass){ $uploaded_files{$file_slot}{'file_status'} .= 'Zero length file'; } + elsif(!$allow_extensions_pass){ $uploaded_files{$file_slot}{'file_status'} .= 'Allow extension'; } + elsif(!$disallow_extensions_pass){ $uploaded_files{$file_slot}{'file_status'} .= 'Disallow extension'; } + elsif(!$rename_file_pass){ $uploaded_files{$file_slot}{'file_status'} .= 'Rename file'; } + } +} +# Timestamp end of upload (includes local file transfer) +$config{'end_upload'} = time(); + +# Delete the temp directory based on upload id and everything in it +rmtree($temp_dir_id, 0, 1) or warn("Failed to remove $temp_dir_id: $!\n"); + +# Purge old temp directories +if($config{'purge_temp_dirs'}){ &purge_ubr_dirs($TEMP_DIR, $config{'purge_temp_dirs_limit'}); } + +# Log Upload +if($config{'log_uploads'}){ + my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time()); + $year += 1900; + $mon++; + + # Initialize log directory and file name + my $log_day = $config{'log_dir'} . $year . '-' . $mon . '-' . $mday . '/'; + my $log_file = $log_day . $UPLOAD_ID . ".log"; + + # Create log directory if it does not exist + if(!-d $log_day){ mkpath($log_day, 0, 0777) or &kak("Failed to make $log_day: $!", 1, __LINE__); } + + # Create log file + my $log_handle = new IO::File; + $log_handle->open("> $log_file") or &kak("Failed to open $UPLOAD_ID.log: $!", 1, __LINE__); + $log_handle->autoflush(1); + + # Write log file + &write_uu_file($log_handle, %config, %uploaded_files); +} + +# Perform redirect or output data +if($config{'redirect_method'} > 0){ + # Create redirect file + my $redirect_handle = new IO::File; + $redirect_handle->open("> $redirect_file") or &kak("Failed to open $UPLOAD_ID.redirect: $!", 1, __LINE__); + $redirect_handle->autoflush(1); + + # Write redirect file + &write_uu_file($redirect_handle, %config, %uploaded_files); + + my $redirect_url = $config{'redirect_url'}; + + # Append upload id to redirect url + # Break out of iframe if 'embedded_upload_results' is disabled + if(!$config{'embedded_upload_results'}){ $redirect_url .= "&upload_id=" . $UPLOAD_ID.'&break_frame=1'; } + + if($config{'redirect_method'} == 1){ + # Redirect using location + + # Uncomment next line if using Webstar V + # print "HTTP/1.1 302 Redirection\n"; + print "Location: $redirect_url\n\n"; + } + elsif($config{'redirect_method'} == 2){ + # Redirect using HTML + print "content-type:text/html; charset=utf-8\n\n"; + print "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><meta http-equiv=\"refresh\" content=\"0; url='$redirect_url'\"></head><body></body></html>"; + } + else{ + # Redirect using JavaScript + print "content-type:text/html; charset=utf-8\n\n"; + print "<script language=\"javascript\" type=\"text/javascript\">document.location.href='$redirect_url';</script>"; + } + +} +else{ + ##################################################################################################################################### + # No redirect + # + # All the config, post and upload values are stored on the following + # + # %config{"some_config_value"}; + # $query->param("some_post_value"); + # $uploaded_files{'upfile_0'}{'file_size'} ; + # $uploaded_files{'upfile_0'}{'file_name'}; + # $uploaded_files{'upfile_0'}{'file_type'}; + # $uploaded_files{'upfile_0'}{'file_status'}; + # + # Note: Below is an example of output calling a javascript pop-up in the parent but you could also send the output to + # the iframe using kak. This would also be a good place to output a JSON or XML string containing all the relevant information. + ##################################################################################################################################### + + print "content-type:text/html; charset=utf-8\n\n"; + print "<script language=\"javascript\" type=\"text/javascript\">parent.showCGIOutput('Upload Finished');parent.resetFileUploadPage();</script>\n"; +} + +exit; +######################################################## START SUB ROUTINES ############################################################ + + +#################################################### +# Clean up the upload_id.dir and everything in it +#################################################### +END{ + if($remove_temp_dir){ if(-d $temp_dir_id){ rmtree($temp_dir_id, 0, 1) or warn("Failed to remove $temp_dir_id: $!"); } } +} + +################################### +# Write upload info to hook file +################################### +sub hook{ + my ($current_filename, $buffer, $bytes_read, $hook_handle) = @_; + my $total_bytes_read = 0; + my $files_uploaded = keys(%current_file_uploads); + + $files_uploaded--; + $current_filename =~ s/.*[\/\\](.*)/$1/; + $current_file_uploads{$current_filename} = $bytes_read; + + for my $file_slot (keys %current_file_uploads){ $total_bytes_read += $current_file_uploads{$file_slot}; } + + my $stat = $total_bytes_read . $DATA_DELIMITER . $files_uploaded . $DATA_DELIMITER . $current_filename . $DATA_DELIMITER . $bytes_read; + + $hook_handle->seek(0,0); + $hook_handle->print($stat); + $hook_handle->truncate($hook_handle->tell()); +} + +########################## +# Check file extension +########################## +sub check_file_extension{ + my $file_extension = shift; + my $config_extensions = shift; + my $mode = shift; + + if($mode == 1){ + if($file_extension =~ m/^$config_extensions$/i){ return 1; } + else{ return 0; } + } + elsif($mode == 2) { + if($file_extension !~ m/^$config_extensions$/i){ return 1; } + else{ return 0; } + } + else{ return 0; } +} + +################################################## +# Get the size of the ploaded file if it exists +################################################## +sub get_file_size{ + my $upload_dir = shift; + my $file_name = shift; + my $file_size = 0; + + if(&file_exists($upload_dir, $file_name)){ + my $path_to_file = $upload_dir . $file_name; + + $file_size = -s $path_to_file; + } + + return $file_size; +} + +################################################## +# Check if a file exists +################################################## +sub file_exists{ + my $file_path = shift; + my $file_name = shift; + my $path_to_file = $file_path . $file_name; + + if(-e $path_to_file && -f $path_to_file){ return 1; } + else{ return 0; } +} + +################################################## +# formatBytes($file_size, 99) mixed file sizes +# formatBytes($file_size, 0) KB file sizes +# formatBytes($file_size, 1) MB file sizes etc +################################################## +sub format_bytes{ + my $bytes = shift; + my $byte_format = shift; + my $byte_size = 1024; + my $i = 0; + my @byte_type = (" KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB"); + + $bytes /= $byte_size; + + if($byte_format == 99 || $byte_format > 7){ + while($bytes > $byte_size){ + $bytes /= $byte_size; + $i++; + } + } + else{ + while($i < $byte_format){ + $bytes /= $byte_size; + $i++; + } + } + + $bytes = sprintf("%1.2f", $bytes); + $bytes .= $byte_type[$i]; + + return $bytes; +} + +############################################## +# Rename uploaded file if it already exists +############################################## +sub rename_file{ + my $upload_dir = shift; + my $file_name = shift; + my($f_name, $file_extension) = $file_name =~ (/^(.*?)\.?([^\.]*)$/); + my $rename_limit = 1000; + my $new_file_name = $file_name; + my $file_renamed = 0; + + for(my $i = 0; $i < $rename_limit; $i++){ + if(&file_exists($upload_dir, $new_file_name)){ + if($file_extension ne ''){ $new_file_name = $f_name . '_' . $i . '.' . $file_extension; } + else{ $new_file_name = $f_name . '_' . $i; } + } + else{ + $file_renamed = 1; + last; + } + } + + if($file_renamed){ $file_name = $new_file_name; } + + return $file_name; +} + +######################## +# Normalize file name +######################## +sub normalize_filename{ + my $file_name = shift; + my $normalize_file_name_regex = shift; + my $normalize_file_name_char = shift; + my $min_file_name_chars = shift; + my $max_file_name_chars = shift; + + # Remove whitespaces from the beginning and end of the filename + $file_name = &trim($file_name); + + # Check the length of the file name and add characters if neseccary + if(length($file_name) < $min_file_name_chars){ $file_name = &generate_random_string($min_file_name_chars - length($file_name)) . $file_name; } + + # Check the length of the file name and cut characters if neseccary + if(length($file_name) > $max_file_name_chars){ $file_name = substr($file_name, length($file_name) - $max_file_name_chars); } + + # Search and replace non-latin characters below. eg. + # $file_name =~ s/�/e/g; + # $file_name =~ s/�/ue/g; + # $file_name =~ s/�/ae/g; + # $file_name =~ s/�/e/g; + # $file_name =~ s/�/o/g; + + # Search and replace illegal file name characters + $file_name =~ s/$normalize_file_name_regex/$normalize_file_name_char/g; + + return $file_name; +} + +################################## +# Strict check of the file name +################################## +sub strict_file_name_check{ + my $file_name = shift; + my $strict_file_name_regex = shift; + my $min_file_name_chars = shift; + my $max_file_name_chars = shift; + + if($file_name !~ m/$strict_file_name_regex/){ return 0; } + elsif(length($file_name) < $min_file_name_chars){ return 0; } + elsif(length($file_name) > $max_file_name_chars){ return 0; } + else{ return 1; } +} + +############################################################# +# Strip whitespace from the begginning and end of a string +############################################################# +sub trim{ + my $string = shift; + + $string =~ s/^\s+//; # Trim left + $string =~ s/\s+$//; # Trim right + + return $string; +} + +########################### +# Generate Randon String +########################### +sub generate_random_string{ + my $length_of_randomstring = shift; + my @chars=('a'..'z', '0'..'9'); + my $random_string; + + for(my $i = 0; $i < $length_of_randomstring; $i++){ $random_string .= $chars[int(rand(36))]; } + + return $random_string; +} + +########################### +# Parse the query string +########################### +sub parse_query_string{ + my $buffer = shift; + my @pairs = split(/&/, $buffer); + my %query_string = (); + + foreach my $pair (@pairs){ + my ($name, $value) = split(/=/, $pair); + + $name =~ tr/+/ /; + $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; + $value =~ tr/+/ /; + $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; + + $query_string{$name} = $value; + } + + return %query_string; +} + +###################### +# Load config file +###################### +sub load_config_file{ + my $temp_dir = shift; + my $upload_id = shift; + my $data_delimiter = shift; + my $config_file = $temp_dir . $upload_id . ".link"; + my %config = (); + my $config_handle = new IO::File; + my $timeout_limit = 3; + + $config{'found_link_file'} = 0; + + # Keep trying to read the link file until timeout + for(my $i = 0; $i < $timeout_limit; $i++){ + if($config_handle->open("< $config_file")){ + $config{'found_link_file'} = 1; + my @raw_config = <$config_handle>; + $config_handle->close(); + + foreach my $config_setting (@raw_config){ + chomp($config_setting); + my($config_name, $config_value) = split($data_delimiter, $config_setting); + $config{$config_name} = $config_value; + } + + if($config{'delete_link_file'}){ rmtree($config_file, 0, 1) or warn("Failed to remove $config_file: $!"); } + + last; + } + else{ sleep(1); } + } + + return %config; +} + +################################# +# Purge old upload directories +################################# +sub purge_ubr_dirs{ + my $temp_dir = shift; + my $purge_temp_dirs_limit = shift; + my @upload_dirs = glob("$temp_dir*.dir"); + my $now_time = time(); + + foreach my $upload_dir (@upload_dirs){ + my $dir_time = (stat($upload_dir))[9]; + + if(($now_time - $dir_time) > $purge_temp_dirs_limit){ rmtree($upload_dir, 0, 1) or warn("Failed to remove $upload_dir: $!"); } + } +} + +########################################################################## +# Write a XML file containing configuration upload and post information +########################################################################## +sub write_uu_file{ + my $file_handle = shift; + my $config = shift; + my $uploaded_files = shift; + my @names = $query->param; + + binmode $file_handle; + + $file_handle->print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); + $file_handle->print("<openupload>\n"); + #Write post values + if (@errors>0) { + $file_handle->print(" <errors>\n"); + foreach my $error (@errors){ + $file_handle->print(" <error>$error/error>\n"); + } + $file_handle->print(" </errors>\n"); + } + $file_handle->print(" <post>\n"); + foreach my $key (@names){ + my @post_values = $query->param($key); + + foreach my $post_value (@post_values){ + $post_value =~ s/&/&/g; + $post_value =~ s/</</g; + $post_value =~ s/>/>/g; + $post_value =~ s/'/'/g; + $post_value =~ s/"/"/g; + + # Search and replace non-latin characters below. eg. + # $post_value =~ s/�/e/g; + # $post_value =~ s/�/ue/g; + # $post_value =~ s/�/ae/g; + # $post_value =~ s/�/e/g; + # $post_value =~ s/�/o/g; + + $key =~ s/[^a-zA-Z0-9\_\-]//g; + + $file_handle->print(" <$key>$post_value<\/$key>\n"); + } + } + + $file_handle->print(" <\/post>\n"); + $file_handle->print(" <files>\n"); + + # Write upload file info + for my $file_slot (keys %uploaded_files){ + my $file_name = $uploaded_files{$file_slot}{'file_name'}; + my $file_tmpname = $uploaded_files{$file_slot}{'file_tmpname'}; + my $file_size = $uploaded_files{$file_slot}{'file_size'}; + my $file_type = $uploaded_files{$file_slot}{'file_type'}; + my $file_status = $uploaded_files{$file_slot}{'file_status'}; + + $file_handle->print(" <file>\n"); + $file_handle->print(" <slot>$uploaded_files{$file_slot}{'file_slot'}</slot>\n"); + $file_handle->print(" <tmp_name>$file_tmpname<\/tmp_name>\n"); + $file_handle->print(" <name>$file_name<\/name>\n"); + $file_handle->print(" <size>$file_size<\/size>\n"); + $file_handle->print(" <type>$file_type<\/type>\n"); + $file_handle->print(" <error>$file_status<\/error>\n"); + $file_handle->print(" <\/file>\n"); + } + + $file_handle->print(" <\/files>\n"); + $file_handle->print("<\/openupload>\n"); + $file_handle->close(); + + chmod 0666, $file_handle; +} + +######################################################################## +# Output a message to the screen +# +# You can use this function to debug your script. +# +# eg. &kak("The value of blarg is: " . $blarg . "<br>", 1, __LINE__); +# This will print the value of blarg and exit the script. +# +# eg. &kak("The value of blarg is: " . $blarg . "<br>", 0, __LINE__); +# This will print the value of blarg and continue the script. +######################################################################## +sub kak{ + my $msg = shift; + my $kak_exit = shift; + my $line = shift; + + if(!$print_issued){ + print "Content-type: text/html\n\n"; + $print_issued = 1; + } + + print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"; + print "<html>\n"; + print " <head>\n"; + print " <title>Open Upload<\/title>\n"; + print " <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n"; + print " <meta http-equiv=\"Pragma\" content=\"no-cache\">\n"; + print " <meta http-equiv=\"cache-control\" content=\"no-cache\">\n"; + print " <meta http-equiv=\"expires\" content=\"-1\">\n"; + print " <meta name=\"robots\" content=\"none\">\n"; + print " <script language=\"javascript\" type=\"text/javascript\">parent.showEmbeddedUploadResults();</script>\n"; + print " <\/head>\n"; + print " <body style=\"background-color: #EEEEEE; color: #000000; font-family: arial, helvetica, sans_serif;\">\n"; + print " <br>\n"; + print " <div style='text-align:center;'>\n"; + print " $msg\n"; + print " <br>\n"; + print " <!-- kak on line $line -->\n"; + print " </div>\n"; + print " </body>\n"; + print "</html>\n"; + + if($kak_exit){ + close(STDIN); + exit; + } +} + +########################################################### +# Print config, driver and environment values to screen +########################################################### +sub show_debug_info{ + my $uber_version = shift; + my $this_version = shift; + my $temp_dir = shift; + my $data_delimiter = shift; + my $upload_id = shift; + my $config = shift; + my $msg = ''; + my $perl_version = $]; + my $perl_os = $^O; + my $cgi_version = $CGI::VERSION; + my $file_copy_version = $File::Copy::VERSION; + my $file_path_version = $File::Path::VERSION; + my $io_file_version = $IO::File::VERSION; + + # Version information + $msg .= "<div style='text-align:left;font:12px Arial;'>\n"; + $msg .= "<u><b>VERSION INFORMATION<\/b><\/u><br>\n"; + $msg .= "UBER UPLOADER VERSION = <b>$uber_version<\/b><br>\n"; + $msg .= "UBR_UPLOAD = <b>$this_version<\/b><br>\n"; + $msg .= "PERL VERSION = <b>$perl_version<\/b><br>\n"; + $msg .= "PERL OS = <b>$perl_os<\/b><br>\n"; + $msg .= "CGI.PM VERSION = <b>$cgi_version<\/b><br>\n"; + $msg .= "FILE::COPY VERSION = <b>$file_copy_version<\/b><br>\n"; + $msg .= "FILE::PATH VERSION = <b>$file_path_version<\/b><br>\n"; + $msg .= "IO::FILE::VERSION = <b>$io_file_version<\/b><br>\n"; + + # Local temp_dir and data_delimiter settings + $msg .= "<br><u><b>UPLOADER VARIABLES<\/b><\/u><br>\n"; + $msg .= "TEMP_DIR = <b>$temp_dir<\/b><br>\n"; + $msg .= "DATA_DELIMITER = <b>$data_delimiter<\/b><br>\n"; + $msg .= "UPLOAD ID = <b>$upload_id<\/b><br>\n"; + + # Loaded config values + $msg .= "<br><u><b>CONFIGURATION VARIABLES<\/b><\/u><br>\n"; + foreach my $key (sort keys(%config)){ $msg .= "$key = <b>$config{$key}<\/b><br>\n"; } + + # Environment variables + $msg .= "<br><u><b>ENVIRONMENT VARIABLES<\/b><\/u><br>\n"; + foreach my $key (sort keys(%ENV)){ $msg .= "$key = <b>$ENV{$key}<\/b><br>\n"; } + + $msg .= "<\/div>\n"; + + &kak($msg, 1, __LINE__); +} Property changes on: trunk/cgi-bin/openupload.cgi ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ts...@us...> - 2010-03-18 18:45:00
|
Revision: 376 http://openupload.svn.sourceforge.net/openupload/?rev=376&view=rev Author: tsdogs Date: 2010-03-18 18:44:52 +0000 (Thu, 18 Mar 2010) Log Message: ----------- version 0.5 default template Added Paths: ----------- trunk/templates/default/ trunk/templates/default/banned.tpl trunk/templates/default/index.html trunk/templates/default/index.tpl trunk/templates/default/locale/ trunk/templates/default/locale/de/ trunk/templates/default/locale/de/LC_MESSAGES/ trunk/templates/default/locale/de/LC_MESSAGES/index.html trunk/templates/default/locale/de/LC_MESSAGES/template.mo trunk/templates/default/locale/de/LC_MESSAGES/template.po trunk/templates/default/locale/de/LC_MESSAGES/template_old.po trunk/templates/default/locale/de/index.html trunk/templates/default/locale/de.inc.php trunk/templates/default/locale/en.inc.php trunk/templates/default/locale/fr/ trunk/templates/default/locale/fr/LC_MESSAGES/ trunk/templates/default/locale/fr/LC_MESSAGES/index.html trunk/templates/default/locale/fr/LC_MESSAGES/template.mo trunk/templates/default/locale/fr/LC_MESSAGES/template.po trunk/templates/default/locale/fr/index.html trunk/templates/default/locale/fr.inc.php trunk/templates/default/locale/index.html trunk/templates/default/locale/it/ trunk/templates/default/locale/it/LC_MESSAGES/ trunk/templates/default/locale/it/LC_MESSAGES/index.html trunk/templates/default/locale/it/LC_MESSAGES/template.mo trunk/templates/default/locale/it/LC_MESSAGES/template.po trunk/templates/default/locale/it/index.html trunk/templates/default/locale/it.inc.php trunk/templates/default/locale/pt_BR/ trunk/templates/default/locale/pt_BR/LC_MESSAGES/ trunk/templates/default/locale/pt_BR/LC_MESSAGES/index.html trunk/templates/default/locale/pt_BR/LC_MESSAGES/template.mo trunk/templates/default/locale/pt_BR/LC_MESSAGES/template.po trunk/templates/default/locale/pt_BR/index.html trunk/templates/default/locale/pt_BR.inc.php trunk/templates/default/locale/zh_CN.GBK/ trunk/templates/default/locale/zh_CN.GBK/LC_MESSAGES/ trunk/templates/default/locale/zh_CN.GBK/LC_MESSAGES/index.html trunk/templates/default/locale/zh_CN.GBK/LC_MESSAGES/template.mo trunk/templates/default/locale/zh_CN.GBK/LC_MESSAGES/template.po trunk/templates/default/locale/zh_CN.GBK/index.html trunk/templates/default/locale/zh_CN.inc.php trunk/templates/default/modules/ trunk/templates/default/modules/admin/ trunk/templates/default/modules/admin/admin.tpl trunk/templates/default/modules/admin/adminmenu.tpl trunk/templates/default/modules/admin/banned.tpl trunk/templates/default/modules/admin/bannedadd.tpl trunk/templates/default/modules/admin/bannededit.tpl trunk/templates/default/modules/admin/deletescript.tpl trunk/templates/default/modules/admin/groupadd.tpl trunk/templates/default/modules/admin/groupedit.tpl trunk/templates/default/modules/admin/groups.tpl trunk/templates/default/modules/admin/index.html trunk/templates/default/modules/admin/langadd.tpl trunk/templates/default/modules/admin/langedit.tpl trunk/templates/default/modules/admin/langs.tpl trunk/templates/default/modules/admin/logs.tpl trunk/templates/default/modules/admin/maintenance.tpl trunk/templates/default/modules/admin/maintenancerun.tpl trunk/templates/default/modules/admin/options.tpl trunk/templates/default/modules/admin/pluginadd.tpl trunk/templates/default/modules/admin/pluginedit.tpl trunk/templates/default/modules/admin/pluginoptionadd.tpl trunk/templates/default/modules/admin/pluginoptiondetail.tpl trunk/templates/default/modules/admin/pluginoptionedit.tpl trunk/templates/default/modules/admin/pluginoptions.tpl trunk/templates/default/modules/admin/plugins.tpl trunk/templates/default/modules/admin/pluginsacl.tpl trunk/templates/default/modules/admin/rightedit.tpl trunk/templates/default/modules/admin/rights.tpl trunk/templates/default/modules/admin/settings.tpl trunk/templates/default/modules/admin/settingsmenu.tpl trunk/templates/default/modules/admin/uploads.tpl trunk/templates/default/modules/admin/uploadsmenu.tpl trunk/templates/default/modules/admin/useradd.tpl trunk/templates/default/modules/admin/useredit.tpl trunk/templates/default/modules/admin/users.tpl trunk/templates/default/modules/auth/ trunk/templates/default/modules/auth/emailconfirm.tpl trunk/templates/default/modules/auth/index.html trunk/templates/default/modules/auth/loginForm.tpl trunk/templates/default/modules/auth/profile.tpl trunk/templates/default/modules/auth/profileedit.tpl trunk/templates/default/modules/auth/registerConfirm.tpl trunk/templates/default/modules/auth/registerEnable.tpl trunk/templates/default/modules/auth/registerForm.tpl trunk/templates/default/modules/auth/registerlink.tpl trunk/templates/default/modules/common/ trunk/templates/default/modules/common/progressSetup.tpl trunk/templates/default/modules/index.html trunk/templates/default/modules/invitation/ trunk/templates/default/modules/invitation/createForm.tpl trunk/templates/default/modules/invitation/createInfo.tpl trunk/templates/default/modules/invitation/createOptions.tpl trunk/templates/default/modules/invitation/elementDetail.tpl trunk/templates/default/modules/invitation/elementList.tpl trunk/templates/default/modules/invitation/removeConfirm.tpl trunk/templates/default/modules/invitation/removeRequest.tpl trunk/templates/default/modules/invitation/removeResult.tpl trunk/templates/default/modules/invitation/sendRequest.tpl trunk/templates/default/modules/invitation/uploadFiles.tpl trunk/templates/default/modules/invitation/uploadForm.tpl trunk/templates/default/modules/invitation/uploadProgress.tpl trunk/templates/default/modules/invitation/uploadRequest.tpl trunk/templates/default/modules/invitation/uploadResult.tpl trunk/templates/default/modules/upload/ trunk/templates/default/modules/upload/downloadForm.tpl trunk/templates/default/modules/upload/downloadOptions.tpl trunk/templates/default/modules/upload/downloadResult.tpl trunk/templates/default/modules/upload/elementDetail.tpl trunk/templates/default/modules/upload/elementList.tpl trunk/templates/default/modules/upload/index.html trunk/templates/default/modules/upload/removeConfirm.tpl trunk/templates/default/modules/upload/removeRequest.tpl trunk/templates/default/modules/upload/removeResult.tpl trunk/templates/default/modules/upload/uploadForm.tpl trunk/templates/default/modules/upload/uploadFormOptions.tpl trunk/templates/default/modules/upload/uploadOptions.tpl trunk/templates/default/modules/upload/uploadProgress.tpl trunk/templates/default/modules/upload/uploadResult.tpl trunk/templates/default/plugins/ trunk/templates/default/plugins/captcha/ trunk/templates/default/plugins/captcha/downloadOptions.tpl trunk/templates/default/plugins/captcha/index.html trunk/templates/default/plugins/captcha/invitationDetail.tpl trunk/templates/default/plugins/captcha/invitationForm.tpl trunk/templates/default/plugins/captcha/invitationOptions.tpl trunk/templates/default/plugins/captcha/registerForm.tpl trunk/templates/default/plugins/captcha/removeRequest.tpl trunk/templates/default/plugins/captcha/uploadDetail.tpl trunk/templates/default/plugins/captcha/uploadOptions.tpl trunk/templates/default/plugins/compress/ trunk/templates/default/plugins/compress/index.html trunk/templates/default/plugins/compress/uploadOptions.tpl trunk/templates/default/plugins/email/ trunk/templates/default/plugins/email/index.html trunk/templates/default/plugins/email/invitationNotify.tpl trunk/templates/default/plugins/email/uploadDetail.tpl trunk/templates/default/plugins/email/uploadNotify.tpl trunk/templates/default/plugins/email/uploadNotifyHtml.tpl trunk/templates/default/plugins/email/uploadNotifyText.tpl trunk/templates/default/plugins/email/uploadOptions.tpl trunk/templates/default/plugins/expire/ trunk/templates/default/plugins/expire/index.html trunk/templates/default/plugins/expire/uploadDetail.tpl trunk/templates/default/plugins/expire/uploadForm.tpl trunk/templates/default/plugins/expire/uploadOptions.tpl trunk/templates/default/plugins/index.html trunk/templates/default/plugins/mimetypes/ trunk/templates/default/plugins/mimetypes/index.html trunk/templates/default/plugins/mimetypes/uploadForm.tpl trunk/templates/default/plugins/password/ trunk/templates/default/plugins/password/downloadOptions.tpl trunk/templates/default/plugins/password/index.html trunk/templates/default/plugins/password/invitationDetail.tpl trunk/templates/default/plugins/password/invitationForm.tpl trunk/templates/default/plugins/password/invitationOptions.tpl trunk/templates/default/plugins/password/uploadDetail.tpl trunk/templates/default/plugins/password/uploadOptions.tpl trunk/templates/default/tabs.tpl Added: trunk/templates/default/banned.tpl =================================================================== --- trunk/templates/default/banned.tpl (rev 0) +++ trunk/templates/default/banned.tpl 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,3 @@ +{tr}Your IP has been blocked!{/tr}<br /> +{tr}You cannot use this site.{/tr}<br /> +{tr}If you think this is a misconfiguration please send an email to the site owner{/tr} \ No newline at end of file Added: trunk/templates/default/index.html =================================================================== --- trunk/templates/default/index.html (rev 0) +++ trunk/templates/default/index.html 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/templates/default/index.tpl =================================================================== --- trunk/templates/default/index.tpl (rev 0) +++ trunk/templates/default/index.tpl 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$language}" lang="{$language}"> +<head> + <title>{$site.title} - {tr}{$page.title}{/tr}</title> + <meta http-equiv="Content-Type" content="text/html;charset={$charset}" /> + <meta name="robots" content="index, follow" /> + <meta name="rating" content="general" /> + <meta name="revisit-after" content="30 days" /> + <link rel="shortcut icon" href="{tpl file=img/openupload.ico}" /> + <link rel="stylesheet" type="text/css" href="{tpl file=/css/ui-lightness/jquery-ui-1.7.2.custom.css}" /> + <link rel="stylesheet" type="text/css" href="{tpl file=/css/main.css}" /> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery.js}"></script> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-ui-1.7.2.custom.min.js}"></script> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery.multifile.js}"></script> + <script language="javascript" type="text/javascript" src="{tpl file=/js/jquery-ou.js}"></script> + <script language="javascript" type="text/javascript"> + {literal} + $(document).ready ( function () { + $('#language').change(function() { + window.location=this.value; + }); + }); + {/literal} + </script> +</head> +<body> +<div id="page"> + <div id="header" class="ui-corner-all"> + <div id="logo"><img src="{tpl file=/img/openupload.png}" /></div> +{if count($langs)>1} + <div id="langs" ><select name="language" id="language" class="ui-widget">{foreach from=$langs item=l key=x name=c}<option value="{$script}?lang={$l.id}&a={$action}&step={$step}" {if $user.lang==$l.id}selected{/if}>{$l.name}</option>{/foreach}</select></div> +{/if} +{if ($user.name!='')} + <a href="{$script}?a=profile" id="userinfo" class="ou-button ou-button-icon-left ui-corner-all"> + <span class="ou-message-icon ui-icon ui-icon-person ui-state-active ui-corner-all" ></span> + {$user.name} + </a> +{/if} + <div id="title">{tr}{$page.title}{/tr}</div> + <div id="mainmenu"><ul> + {foreach from=$menu.main item=m key=k name=c} + <li {if $smarty.foreach.c.last or $smarty.foreach.c.first} style="border: 0px"{/if}><a {if $k==$action} style="text-decoration: underline; " {/if} href="{$script}?a={$k}">{$m}</a></li> + {/foreach} + </ul> + </div> + </div> + <div id="content" class="ui-corner-all"> + {if (count($user.errors)>0)} + <div id="errors" class="ou-message ui-state-error ui-corner-all"> + <span class="ou-message-icon ui-icon ui-icon-alert" ></span> + {foreach from=$user.errors item=e}<p>{$e}</p>{/foreach} + </div><br /> + {/if} + {if (count($user.warnings)>0)} + <div id="messages" class="ou-message ui-state-error ui-corner-all"> + <span class="ou-message-icon ui-icon ui-icon-notice" ></span> + {foreach from=$user.warnings item=m}<p>{$m}</p>{/foreach} + </div><br /> + {/if} + {if (count($user.messages)>0)} + <div id="messages" class="ou-message ui-state-highlight ui-corner-all"> + <span class="ou-message-icon ui-icon ui-icon-info" ></span> + {foreach from=$user.messages item=m}<p>{$m}</p>{/foreach} + </div><br /> + {/if} + {content name="page"} + </div> + <div id="footer">{$site.footer}</div> +</body> +</html> Added: trunk/templates/default/locale/de/LC_MESSAGES/index.html =================================================================== --- trunk/templates/default/locale/de/LC_MESSAGES/index.html (rev 0) +++ trunk/templates/default/locale/de/LC_MESSAGES/index.html 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/templates/default/locale/de/LC_MESSAGES/template.mo =================================================================== (Binary files differ) Property changes on: trunk/templates/default/locale/de/LC_MESSAGES/template.mo ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/templates/default/locale/de/LC_MESSAGES/template.po =================================================================== --- trunk/templates/default/locale/de/LC_MESSAGES/template.po (rev 0) +++ trunk/templates/default/locale/de/LC_MESSAGES/template.po 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,982 @@ +msgid "" +msgstr "" +"Project-Id-Version: OpenUpload default template\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-03-03 16:31+0100\n" +"PO-Revision-Date: 2009-03-06 22:44+0100\n" +"Last-Translator: Alessandro Briosi <ts...@br...>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: German\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/alex/devel/php/openupload/trunk/templates/default\n" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:2 +msgid "Your IP has been blocked!" +msgstr "Ihre IP wurde geblockt!" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:5 +msgid "You cannot use this site." +msgstr "Sie dürfen diesen Dienst nicht nutzen." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:8 +msgid "If you think this is a misconfiguration please send an email to the site owner" +msgstr "Wenn Sie Probleme mit unserem Dienst haben, senden Sie bitte eine E-Mail an den Websitebetreiber" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:11 +msgid "Captcha code" +msgstr "Captcha code" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:14 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:20 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:32 +msgid "Reload Image" +msgstr "Neues Captcha" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:17 +msgid "Please enter the following captcha to proceed for the removal" +msgstr "Geben Sie bitte folgende Zeichenfolge (Captcha) ein um mit dem Entfernen fortzufahren" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:23 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:44 +msgid "Protection" +msgstr "Schutz" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:26 +msgid "Captcha" +msgstr "Captcha benutzen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:29 +msgid "Please enter the following captcha to proceed for the download" +msgstr "Geben Sie bitte folgende Zeichenfolge (Captcha) ein, um zum Download zu gelangen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:35 +msgid "Use Captcha" +msgstr "Captcha benutzen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:38 +msgid "Compress the files" +msgstr "Dateien komprimieren" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:41 +msgid "No compression" +msgstr "Keine Komprimierung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:47 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:53 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:68 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:89 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:245 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:737 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:941 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:992 +msgid "Password" +msgstr "Passwort" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:50 +msgid "The download is password protected." +msgstr "Der Download ist mit einem Passwort geschützt." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:56 +msgid "Password protect" +msgstr "Passwort-Schutz" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:59 +msgid "Send password in e-mail" +msgstr "Passwort per E-Mail zuschicken" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:62 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:83 +msgid "You are receiving this message because someone uploaded a file on our OpenUpload server for you." +msgstr "Auf unserem Dateiserver wurde eine Datei für Sie bereitgestellt." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:65 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:86 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:206 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:215 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:293 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:644 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:791 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:887 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:911 +msgid "Description" +msgstr "Beschreibung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:71 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:92 +msgid "User message" +msgstr "Nachrichtentext" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:74 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:95 +msgid "To download the file open the following link in a browser" +msgstr "Zum Download der bereitgestellten Datei öffnen Sie bitte folgenden Link in Ihrem Browser" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:77 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:98 +msgid "To remove the file from our server open the following link in a browser" +msgstr "Zum Entfernen der bereitgestellten Datei von unserem Server öffnen Sie bitte folgenden Link in Ihrem Browser" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:80 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:101 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:968 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:983 +msgid "For complains please send an email to" +msgstr "Bei Reklamationen senden sie bitte eine E-mail an" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:104 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:125 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:131 +msgid "Send me an e-mail" +msgstr "Sende mir eine E-Mail" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:107 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:122 +msgid "Send" +msgstr "Senden" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:110 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:134 +msgid "Send e-mail to" +msgstr "Sende E-Mail an" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:113 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:137 +msgid "Send remove link" +msgstr "Sende Entfernen Link" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:116 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:140 +msgid "e-mail Subject" +msgstr "E-Mail Betreff" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:119 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:143 +msgid "e-mail Message" +msgstr "E-Mail Nachricht" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:128 +msgid "Your e-mail address" +msgstr "Ihre E-Mailadresse" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:146 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:149 +msgid "Expires on" +msgstr "Läuft ab am" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:152 +msgid "Only the following mime types are allowed" +msgstr "Nur die folgenden Dateitypen sind zugelassen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:155 +msgid "Are you sure you want to delete the selected plugins?" +msgstr "Sind Sie sicher, dass Sie die gewählten Plugins entfernen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:158 +msgid "Are you sure you want to delete the selected plugin?" +msgstr "Sind Sie sicher, dass Sie das gewählte Plugin entfernen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:161 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:275 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:767 +msgid "S" +msgstr "S" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:164 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:302 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:323 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:437 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:827 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:905 +msgid "ID" +msgstr "ID" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:167 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:179 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:290 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:497 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:623 +msgid "Plugin" +msgstr "Plugin" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:170 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:182 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:257 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:317 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:347 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:554 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:626 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:707 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:728 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:749 +msgid "Group" +msgstr "Gruppe" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:173 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:185 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:194 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:281 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:614 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:629 +msgid "Access" +msgstr "Zugriff" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:176 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:287 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:314 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:350 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:563 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:647 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:785 +msgid "Actions" +msgstr "Aktion" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:188 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:620 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:758 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:794 +msgid "Add" +msgstr "Hinzufügen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:191 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:278 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:611 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:779 +msgid "IP" +msgstr "IP" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:197 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:284 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:617 +msgid "Priority" +msgstr "Priorität" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:200 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:209 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:266 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:320 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:341 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:455 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:632 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:731 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1061 +msgid "Confirm" +msgstr "Übernehmen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:203 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:305 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:326 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:440 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:551 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:773 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:788 +msgid "Name" +msgstr "Name" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:218 +msgid "Rights set?" +msgstr "Rechte gesetzt?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:221 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:686 +msgid "Any" +msgstr "Alle" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:224 +msgid "Yes" +msgstr "Ja" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:227 +msgid "No" +msgstr "Nein" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:230 +msgid "Plugins ACL" +msgstr "ACL Plugins" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:233 +msgid "Plugins Options" +msgstr "Plugin-Optionen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:236 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:566 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:653 +msgid "Settings" +msgstr "Einstellungen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:239 +msgid "Options" +msgstr "Optionen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:242 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:734 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:938 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1010 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1037 +msgid "Login name" +msgstr "Benutzername" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:248 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:740 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:944 +msgid "Retype Password" +msgstr "Passwort wiederholen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:251 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:743 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:947 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1013 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1040 +msgid "Full Name" +msgstr "Vollständiger Name" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:254 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:746 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:950 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1016 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1043 +msgid "e-mail" +msgstr "E-Mail-Adresse" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:260 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:752 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:953 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1046 +msgid "Preferred language" +msgstr "Bevorzugte Sprache" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:263 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:311 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:338 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:452 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:560 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:755 +msgid "Active" +msgstr "Aktiv" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:269 +msgid "Are you sure you want to delete the selected banned ips?" +msgstr "Sind Sie sicher, dass Sie die gewählten IP-Sperren entfernen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:272 +msgid "Are you sure you want to delete the selected banned ip?" +msgstr "Sind Sie sicher, dass Sie die gewählte IP-Sperre entfernen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:296 +msgid "Are you sure you want to delete the selected languages?" +msgstr "Sind Sie sicher, dass Sie die gewählten Sprachen löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:299 +msgid "Are you sure you want to delete the selected language?" +msgstr "Sind Sie sicher, dass Sie die gewählte Sprache löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:308 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:329 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:443 +msgid "Locale" +msgstr "Locale" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:332 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:446 +msgid "Browser recon" +msgstr "Browser recon" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:335 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:449 +msgid "Charset" +msgstr "Zeichensatz" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:344 +msgid "Plugin does not have any option to be configured" +msgstr "Plugin hat keine konfigurierbaren Optionen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:353 +msgid "Translation module" +msgstr "Übersetzungsmodul" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:356 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:368 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:386 +msgid "Select one" +msgstr "Wähle einen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:359 +msgid "Default language" +msgstr "Standardsprache" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:362 +msgid "Authentication module" +msgstr "Authentifikationsmodul" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:365 +msgid "(LDAP Configuration needs to be done<br /> by hand for now)" +msgstr "(LDAP kann zur Zeit nur manuell<br />konfiguriert werden)" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:371 +msgid "Site title" +msgstr "Website-Titel" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:374 +msgid "WebMaster E-mail" +msgstr "Webmaster E-Mail" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:377 +msgid "Site E-mail" +msgstr "Website E-Mail" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:380 +msgid "Confirm registration with e-mail" +msgstr "Registrierung per E-Mail bestätigen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:383 +msgid "Template" +msgstr "Vorlage" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:389 +msgid "Template Footer" +msgstr "Vorlage für Fußzeile" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:392 +msgid "Maximum upload size (in MB)" +msgstr "Maximale Dateigröße (MB)" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:395 +msgid "Maximum download time (in Min)" +msgstr "Maximale Downloadzeit (in Min)" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:398 +msgid "0 disables it" +msgstr "0 deaktiviert" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:401 +msgid "Max num. of file uploaded per upload" +msgstr "Anzahl gleichzeitig hochladbarer Dateien" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:404 +msgid "Use shorter links?" +msgstr "Kürzere Links nutzen?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:407 +msgid "Length of IDs (suggested min 6)" +msgstr "Länge der IDs (mindestens 6 empfohlen)" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:410 +msgid "Use alphanumerical IDs?" +msgstr "Alphnumerische IDs benutzen?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:413 +msgid "Allow unprotected file removal?" +msgstr "Dateientfernung ohne Schutz zulassen?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:416 +msgid "Upload tracking method" +msgstr "Uploadverfolgungs-Methode" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:419 +msgid "Enable activity logging?" +msgstr "Protokollierung einschalten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:422 +msgid "Database logging level" +msgstr "Loglevel Datenbank" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:425 +msgid "Syslog logging level" +msgstr "Loglevel Syslog" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:428 +msgid "Save Changes" +msgstr "Änderungen sichern" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:431 +msgid "Download config file" +msgstr "Konfigurationsdatei herunterladen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:434 +msgid "This are the configured settings for a review" +msgstr "Übersicht über die aktuellen Einstellungen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:458 +msgid "Filter" +msgstr "Filter" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:461 +msgid "All" +msgstr "Alle" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:464 +msgid "Errors" +msgstr "Fehler" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:467 +msgid "Security" +msgstr "Sicherheit" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:470 +msgid "Warnings" +msgstr "Warnungen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:473 +msgid "Notice" +msgstr "Hinweis" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:476 +msgid "Info" +msgstr "Info" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:479 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:833 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:914 +msgid "Date" +msgstr "Datum" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:482 +msgid "Type" +msgstr "Typ" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:485 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:776 +msgid "User" +msgstr "Benutzer" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:488 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:689 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:710 +msgid "Module" +msgstr "Modul" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:491 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:692 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:713 +msgid "Action" +msgstr "Aktion" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:494 +msgid "Real Action" +msgstr "Tatsächliche Aktion" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:500 +msgid "Result" +msgstr "Ergebnis" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:503 +msgid "Additional Info" +msgstr "Zusätz. Info" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:506 +msgid "Maintenence" +msgstr "Wartung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:509 +msgid "This options let you delete files based on some options." +msgstr "Hier stellen Sie die Kriterien für die Löschung von Dateien ein." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:512 +msgid "Please select one or more criteria for file deletion" +msgstr "Bitte wählen Sie die Kriterien für das Datei-Löschen aus" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:515 +msgid "Delete files older than" +msgstr "Lösche Dateien älter als" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:518 +msgid "days" +msgstr "Tage" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:521 +msgid "Which user name is" +msgstr "deren Benutzername entspricht" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:524 +msgid "Which upload day is" +msgstr "Die hochegalden wurden am" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:527 +msgid "Which size is bigger than" +msgstr "Die größer sind als" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:530 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:800 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:824 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:860 +msgid "Proceed" +msgstr "Weiter" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:533 +msgid "Expiration plugin" +msgstr "Ablauf Plugin" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:536 +msgid "To delete files marked as expired by the expire plugin press the \"Delete expired\" button." +msgstr "Um abgelaufene Dateien zu löschen, klicken Sie auf den \"Lösche abgelaufene\" Button." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:539 +msgid "Delete expired" +msgstr "Lösche abgelaufene" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:542 +msgid "Are you sure you want to delete the selected users?" +msgstr "Sind Sie sicher, dass Sie die gewählten Nutzer löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:545 +msgid "Are you sure you want to delete the selected user?" +msgstr "Sind Sie sicher, dass Sie den gewählten Nutzer löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:548 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:995 +msgid "Login" +msgstr "Anmelden" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:557 +msgid "E-mail" +msgstr "E-Mail" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:569 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:656 +msgid "Plugins" +msgstr "Plugins" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:572 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:659 +msgid "Files" +msgstr "Dateien" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:575 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:662 +msgid "Users" +msgstr "Benutzer" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:578 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:665 +msgid "Groups" +msgstr "Gruppen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:581 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:668 +msgid "Rights" +msgstr "Rechte" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:584 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:671 +msgid "Languages" +msgstr "Sprachen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:587 +msgid "Banned" +msgstr "Geblockt" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:590 +msgid "Logs" +msgstr "Protokolle" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:593 +msgid "Deletion Result" +msgstr "Löschergebnis" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:596 +msgid "The following files have been deleted." +msgstr "Folgenden Dateien wurden gelöscht" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:599 +msgid "The following files will be deleted, proceed?" +msgstr "Folgende Dateien werden gelöscht - fortfahren?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:602 +msgid "Yes, delete all" +msgstr "Ja, alle löschen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:605 +msgid "No files matched the criteria" +msgstr "Keine passenden Dateien gefunden" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:608 +msgid "Back to Maintenance" +msgstr "Zurück zur Wartung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:635 +msgid "Are you sure you want to delete the selected groups?" +msgstr "Sind Sie sicher, dass Sie die gewählten Gruppen löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:638 +msgid "Are you sure you want to delete the selected group?" +msgstr "Sind Sie sicher, dass Sie die gewählte Gruppe löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:641 +msgid "Group Name" +msgstr "Gruppenname" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:650 +msgid "Here you can administer" +msgstr "Administrative Einstellungen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:674 +msgid "Banned IPs" +msgstr "Geblockte IPs" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:677 +msgid "Logs / Statistics" +msgstr "Protokolle / Statistiken" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:680 +msgid "PLEASE BE CAREFULL WHEN MODIFING THE RIGHTS!" +msgstr "BITTE SEIEN SIE BEIM ÄNDERN der RECHTE VORSICHTIG!" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:683 +msgid "Editing rights for group" +msgstr "Ändern von Gruppenrechten" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:695 +msgid "Right" +msgstr "Rechte" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:698 +msgid "Resulting ACL" +msgstr "Resultierende ACL" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:701 +msgid "From ACL" +msgstr "Von ACL" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:704 +msgid "default" +msgstr "Standard" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:716 +msgid "<< Back" +msgstr "<< Zurück" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:719 +msgid "Apply changes" +msgstr "Änderungen übernehmen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:722 +msgid "Files List" +msgstr "Dateiliste" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:725 +msgid "Maintenance" +msgstr "Wartung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:761 +msgid "Are you sure you want to delete the selected files?" +msgstr "Sind Sie sicher, dass Sie die gewählten Dateien löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:764 +msgid "Are you sure you want to delete the selected file?" +msgstr "Sind Sie sicher, dass Sie die gewählte Datei löschen möchten?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:770 +msgid "Id" +msgstr "ID" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:782 +msgid "Upload Date" +msgstr "Upload Datum" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:797 +msgid "The file you requested the removal needs some input before you can proceed" +msgstr "Vor dem Löschen der Datei müssen Sie die geforderten Felder ausfüllen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:803 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:842 +msgid "Download link" +msgstr "Download Link" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:806 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:845 +msgid "Remove link" +msgstr "Entfernen Link" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:809 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:902 +msgid "Upload a new file" +msgstr "Einen neue Datei hochladen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:812 +msgid "Uploading" +msgstr "Hochladen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:815 +msgid "please wait ..." +msgstr "Bitte warten ..." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:818 +msgid "Please enter the File Information requested" +msgstr "Bitte vervolständigen Sie die Datei-Infos" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:821 +msgid "File code" +msgstr "Dateicode" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:830 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:866 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:896 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:923 +msgid "File description" +msgstr "Dateibeschreibung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:836 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:872 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:881 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:908 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:926 +msgid "File name" +msgstr "Dateiname" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:839 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:875 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:884 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:917 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:929 +msgid "File size" +msgstr "Dateigröße" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:848 +msgid "Select the file to be uploaded" +msgstr "Wählen Sie die hochzuladenden Dateien" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:851 +msgid "Maximum allowed upload size" +msgstr "Maximal zulässige Dateigröße" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:854 +msgid "Upload" +msgstr "Upload" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:857 +msgid "The file you requested the download needs some input before you can proceed" +msgstr "Vor dem Herunterladen der Datei müssen Sie die geforderten Felder ausfüllen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:863 +msgid "You can now proceed downloading the file" +msgstr "Sie können jetzt mit dem Datei-Download fortfahren" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:869 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:899 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:932 +msgid "Uploaded on" +msgstr "Hochgeladen am" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:878 +msgid "Download file" +msgstr "Download Datei" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:890 +msgid "Complete upload" +msgstr "Vollständiger Upload" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:893 +msgid "FILE HAS BEEN SUCCESSFULLY REMOVED" +msgstr "DIE DATEI WURDE ERFOLGREICH GELÖSCHT" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:920 +msgid "You requested to remove the following file" +msgstr "Sie haben die Entfernung der folgenden Datei angefordert" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:935 +msgid "Confirm removal" +msgstr "Bestätigen Sie die Löschung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:956 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:971 +msgid "Dear " +msgstr "Hallo" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:959 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:974 +msgid "This e-mail message is sent to you to confirm your account registration has a valid e-mail address." +msgstr "Diese E-Mail stellt sicher, dass Sie für die Registrierung eine gültige E-Mail Adresse angegeben haben." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:962 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:977 +msgid "Open the following link in a browser to confirm your account." +msgstr "Zum Abschluss der Registrierung öffnen Sie bitte den folgenden Link in Ihrem Browser." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:965 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:980 +msgid "Best regards" +msgstr "Mit freundlichen Grüßen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:986 +msgid "User login" +msgstr "Anmeldung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:989 +msgid "User name" +msgstr "Benutzername" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:998 +msgid "You don't have an account?" +msgstr "Sie haben kein Konto?" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1001 +msgid "Register here" +msgstr "Registrieren Sie sich hier" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1004 +msgid "or you can" +msgstr "oder Sie können sich" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1007 +msgid "Login here" +msgstr "hier Anmelden" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1019 +msgid "Language" +msgstr "Bevorzugte Sprache" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1022 +msgid "Change" +msgstr "Ändern" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1025 +msgid "Registration succeeded" +msgstr "Registrierung erfolgreich" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1028 +msgid "An e-mail has been sent for the account activation" +msgstr "Zur Aktivierung Ihres Konto wurde Ihnen eine E-Mail gesendet." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1031 +msgid "Please follow the e-mail instructions to activate your account." +msgstr "Bitte folgen Sie den Anweisungen in der E-Mail um Ihr Konto zu aktivieren." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1034 +msgid "back to home" +msgstr "Zurück zur Start-Seite" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1049 +msgid "Old password" +msgstr "Altes Passwort" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1052 +msgid "New password" +msgstr "Neues Passwort" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1055 +msgid "Retype password" +msgstr "Neues Passwort wiederholen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1058 +msgid "Cancel" +msgstr "Abbrechen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1064 +msgid "Your account registration has been confirmed." +msgstr "Die Registrierung ist abgeschlossen." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1067 +msgid "You can now proceed with the login" +msgstr "Nun können Sie sich anmelden." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:1070 +msgid "here" +msgstr "hier" + +#~ msgid "Additional file upload" +#~ msgstr "File aggiuntivo" +#~ msgid "File ID" +#~ msgstr "ID File" + Added: trunk/templates/default/locale/de/LC_MESSAGES/template_old.po =================================================================== --- trunk/templates/default/locale/de/LC_MESSAGES/template_old.po (rev 0) +++ trunk/templates/default/locale/de/LC_MESSAGES/template_old.po 2010-03-18 18:44:52 UTC (rev 376) @@ -0,0 +1,982 @@ +msgid "" +msgstr "" +"Project-Id-Version: OpenUpload default template\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-02-28 11:11+0100\n" +"PO-Revision-Date: 2009-02-28 13:15+0100\n" +"Last-Translator: Stefan Koshold <ko...@un...>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: German\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/alex/devel/php/openupload/trunk/templates/default\n" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:2 +msgid "Your IP has been blocked!" +msgstr "Ihre IP wurde geblockt!" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:5 +msgid "You cannot use this site." +msgstr "Sie dürfen diese Site nicht benutzen." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:8 +msgid "If you think this is a misconfiguration please send an email to the site owner" +msgstr "Wenn Sie meinen das dies eine falsche Konfiguration ist, senden Sie bitte eine Email an den Websitebetreiber" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:11 +msgid "Captcha code" +msgstr "Captcha code" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:14 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:20 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:32 +msgid "Reload Image" +msgstr "Bild neuladen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:17 +#, fuzzy +msgid "Please enter the following captcha to proceed for the removal" +msgstr "Bitte geben Sie den folgenden Captcha an um zum Download zu gelangen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:23 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:44 +msgid "Protection" +msgstr "Schutz" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:26 +#, fuzzy +msgid "Captcha" +msgstr "Captcha benutzen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:29 +msgid "Please enter the following captcha to proceed for the download" +msgstr "Bitte geben Sie den folgenden Captcha an um zum Download zu gelangen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:35 +msgid "Use Captcha" +msgstr "Captcha benutzen" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:38 +msgid "Compress the files" +msgstr "Dateien komprimieren" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:41 +msgid "No compression" +msgstr "Keine Komprimierung" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:47 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:53 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:68 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:89 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:245 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:737 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:935 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:986 +msgid "Password" +msgstr "Passwort" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:50 +msgid "The download is password protected." +msgstr "Der Download ist Passwort geschützt." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:56 +msgid "Password protect" +msgstr "Passwort geschützt" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:59 +#, fuzzy +msgid "Send password in e-mail" +msgstr "Senden Sie mir eine E-Mail" + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:62 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:83 +msgid "You are receiving this message because someone uploaded a file on our OpenUpload server for you." +msgstr "Sie erhalten diesen Nachricht, da jemand eine Datei für die Sie auf unseren OpenUpload Server geladen hat." + +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:65 +#: /home/alex/devel/php/openupload/trunk/templates/default/default.c:86 +#: /home/al... [truncated message content] |
From: <ts...@us...> - 2010-03-18 18:35:37
|
Revision: 375 http://openupload.svn.sourceforge.net/openupload/?rev=375&view=rev Author: tsdogs Date: 2010-03-18 18:35:30 +0000 (Thu, 18 Mar 2010) Log Message: ----------- version 0.5 default template Added Paths: ----------- trunk/www/templates/default/ trunk/www/templates/default/css/ trunk/www/templates/default/css/main.css trunk/www/templates/default/css/ui-lightness/ trunk/www/templates/default/css/ui-lightness/images/ trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_222222_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_228ef1_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ef8c08_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffd27a_256x240.png trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffffff_256x240.png trunk/www/templates/default/css/ui-lightness/jquery-ui-1.7.2.custom.css trunk/www/templates/default/img/ trunk/www/templates/default/img/admin/ trunk/www/templates/default/img/admin/active0.png trunk/www/templates/default/img/admin/active1.png trunk/www/templates/default/img/admin/ban.png trunk/www/templates/default/img/admin/banned.png trunk/www/templates/default/img/admin/delete.png trunk/www/templates/default/img/admin/delete_group.png trunk/www/templates/default/img/admin/delete_user.png trunk/www/templates/default/img/admin/edit_group.png trunk/www/templates/default/img/admin/edit_lang.png trunk/www/templates/default/img/admin/edit_plugin.png trunk/www/templates/default/img/admin/edit_right.png trunk/www/templates/default/img/admin/edit_user.png trunk/www/templates/default/img/admin/files.png trunk/www/templates/default/img/admin/groups.png trunk/www/templates/default/img/admin/index.html trunk/www/templates/default/img/admin/langs.png trunk/www/templates/default/img/admin/log.png trunk/www/templates/default/img/admin/plugins.png trunk/www/templates/default/img/admin/rights.png trunk/www/templates/default/img/admin/settings.png trunk/www/templates/default/img/admin/tadd.png trunk/www/templates/default/img/admin/tadd_group.png trunk/www/templates/default/img/admin/tadd_right.png trunk/www/templates/default/img/admin/tadd_user.png trunk/www/templates/default/img/admin/tdelete.png trunk/www/templates/default/img/admin/tdelete_group.png trunk/www/templates/default/img/admin/tdelete_user.png trunk/www/templates/default/img/admin/users.png trunk/www/templates/default/img/bg.jpg trunk/www/templates/default/img/choose-file.gif trunk/www/templates/default/img/download.png trunk/www/templates/default/img/file.png trunk/www/templates/default/img/hbg.jpg trunk/www/templates/default/img/index.html trunk/www/templates/default/img/openupload.ico trunk/www/templates/default/img/openupload.jpg trunk/www/templates/default/img/openupload.png trunk/www/templates/default/img/setup/ trunk/www/templates/default/img/setup/current.png trunk/www/templates/default/img/setup/fail.png trunk/www/templates/default/img/setup/index.html trunk/www/templates/default/img/setup/ok.png trunk/www/templates/default/img/setup/step.png trunk/www/templates/default/img/trash.png trunk/www/templates/default/img/trashcan.png trunk/www/templates/default/img/upload.png trunk/www/templates/default/img/uploadd.png trunk/www/templates/default/img/wait.gif trunk/www/templates/default/img/www.png trunk/www/templates/default/index.html trunk/www/templates/default/js/ trunk/www/templates/default/js/index.html trunk/www/templates/default/js/jquery-ou.js trunk/www/templates/default/js/jquery-ui-1.7.2.custom.min.js trunk/www/templates/default/js/jquery.js trunk/www/templates/default/js/jquery.multifile.js Added: trunk/www/templates/default/css/main.css =================================================================== --- trunk/www/templates/default/css/main.css (rev 0) +++ trunk/www/templates/default/css/main.css 2010-03-18 18:35:30 UTC (rev 375) @@ -0,0 +1,91 @@ +html{overflow-y:scroll;} +body { font-family: "Arial","Helvetica","Verdana","sans-serif"; background-image: url('../img/bg.jpg'); background-repeat: repeat-x; font-size: 12px; margin: 5px; } +a { font-size: 10pt; font-weight: bold; color: #43739b; text-decoration: none; } +a:visited { font-size: 10pt; font-weight: bold; color: #43739b; text-decoration: none; } +a:hover { font-size: 10pt; font-weight: bold; color: #f7b13e; text-decoration: none; } +#page { width: 850px; margin: 0 auto; } +#header { height: 86px; background-image: url('../img/hbg.jpg'); background-repeat: repeat-x; color: #ffffff; } +#logo { float: left; margin: 10px 10px 0 10px; } +#title { font-size: 24px; font-weight: normal; float: left; margin: 32px 0 0 10px; padding-left: 4px; height: 30px; } +#userinfo { margin: 5px 20px 0px 20px; float: right; font-weight: bold; } +#langs { float: right; margin: 10px 10px; } +#langs select { width: 100px; background-color: #6a6a6a; color: #ffffff; border: 0; font-weight: bold; } +#mainmenu { float: right; width: 750px; border-top: 1px solid #ffffff; } +#mainmenu ul { float: right; list-style: none; margin: 0; padding: 0; } +#mainmenu li { display: inline; text-align: center; } +#mainmenu a { float: left; padding: 1px 10px; color: #ffffff; text-decoration: none; font-size: 14px; font-weight: bold; height: 20px; } +#mainmenu a:hover { color: #f7b13e; } + +#menu, #submenu {margin: 0 auto; height: 20px; border: 1px solid #000; text-align: center; width: 750px; border-top: 1px solid #ffffff; } +#menu ul, #submenu ul { list-style: none; margin: 0; padding: 0; } +#menu li, #submenu li { display: inline; text-align: center; } +#menu a, #submenu a { float: left; padding: 1px 10px; text-decoration: none; font-size: 14px; font-weight: bold; height: 20px; } +#menu a:hover, #submenu a:hover { color: #f7b13e; } +#submenu { width: 80%; } + + +#content { min-height: 300px; height: auto !important; height: 300px; background-color: #ffffff; margin: 10px 0; border: 1px solid #5c5c5c; padding: 15px 15px; } +.fileinput { font-size: 12px; width: 500px; background-color: #ffffff; } +label { float: left; width: 200px; } +input[type=text],input[type=password],select,input[type=checkbox], textarea { margin-bottom: 10px; background-color: #ffffff; border: 1px solid #0f0f0f; } +#multi-list { min-height: 50px; height: auto !important; height: 50px; } +#multi-list .MultiFile-label { font-family: Courier New, Monospaced; padding: 2px 4px 6px 4px; background-color: #fff0a5; margin: 2px 0; font-weight: normal; } +#multi-list .MultiFile-title { cursor: pointer; } +#multi-list .MultiFile-remove { float: right; width: 16px; height: 16px; } +#footer { font-size: 10px; font-weight: bold; text-align: center; color: #000000; } +.ou-upload-disabled, .ou-upload-enabled { float: right; cursor: pointer; border: 0; width: 220px; height: 65px; color: #ffffff; font-size: 26px; text-align: left; padding-left: 70px; font-weight: normal; } +.ou-upload-disabled { background: transparent url(../img/uploadd.png) no-repeat scroll 0 0; } +.ou-upload-enabled { background: transparent url(../img/upload.png) no-repeat scroll 0 0; } +.ou-message { padding: 0 0.7em; margin-top: 2px; } +.ou-message p { margin: 2px 20px; } +.ou-message-icon { float: left; margin-right: 0.3em; margin-top: 0; } +a.ou-download { border: 1px solid #fff; margin-top: 0px; display: block; width: 350px; height: 65px; color: #ffffff; background: transparent url(../img/download.png) no-repeat scroll 0 0; } +a.ou-download span { display: block; margin-left: 63px; margin-top: 12px; font-size: 10pt; } +a.ou-download span strong { display: inline; font-size: 14pt; } + +.ou-button { outline: 0; margin:0 4px 0 0; padding: .2em 1em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; } +.ou-button .ui-icon { position: absolute; top: 50%; margin-top: -9px; left: 50%; margin-left: -8px; } + +a.ou-button { float:left; } + +#userinfo { top: 4px; color: #fff; font-size:10pt; } +#userinfo:hover { color: #f7b13e; } + +/* remove extra button width in IE */ +button.ou-button { width:auto; overflow:visible; } + +.ou-button-icon-left { padding-left: 2.1em; } +.ou-button-icon-right { padding-right: 2.1em; } +.ou-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; } +.ou-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; } + +.ou-button-icon-solo { display:block; width:8px; text-indent: -9999px; } /* solo icon buttons must have block properties for the text-indent to work */ + +.ou-buttonset { float:left; } +.ou-buttonset .ou-button { float: left; } +.ou-buttonset-single .ou-button, +.ou-buttonset-multi .ou-button { margin-right: -1px;} + +.ou-buttonset input, .ou-buttonset select { + margin: 0; +} +.ou-toolbar { padding: .2em; margin: 0; } +.ou-toolbar .ou-buttonset { margin-right:1.5em; padding-left: 1px; } +.ou-toolbar .ou-button { font-size: 1em; } + +.ou-popup-background, .ou-popup { display:none; position:fixed; _position:absolute; } +.ou-popup-background { height:100%; width:100%; top:0; left:0; background:#000000; border:1px solid #cecece; z-index:1; } +.ou-popup { height:100px; width:408px; background:#FFFFFF; border:2px solid #cecece; z-index:2; padding:12px; font-size:13px; } + +.ui-state-error p { font-size: 120%; font-weight: bold;} +fieldset { border: 1px solid #2d55b4; padding: 6px; } +legend { background: none; color: #000; border: 0; font-weight: normal; padding: 2px 6px; font-size: 12px; font-weight: bold; } +.submit,button { } +img { border: 0px; } +.dbtable { border: 1px solid #000; } +.dbtable .row1 { padding: 2px; background-color: #fafafa; text-align: center; vertical-align: middle; } +.dbtable .row2 { padding: 2px; background-color: #ededed; text-align: center; vertical-align: middle; } +.message { clear: both; text-align: left; } +.error { color: #ff0000; font-weight: bold; text-align: left; } +#toolbar { display: block; text-align: left; } +td { font-size: 12px; } \ No newline at end of file Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-icons_222222_256x240.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-icons_222222_256x240.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-icons_228ef1_256x240.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-icons_228ef1_256x240.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ef8c08_256x240.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ef8c08_256x240.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffd27a_256x240.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffd27a_256x240.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffffff_256x240.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/css/ui-lightness/images/ui-icons_ffffff_256x240.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/css/ui-lightness/jquery-ui-1.7.2.custom.css =================================================================== --- trunk/www/templates/default/css/ui-lightness/jquery-ui-1.7.2.custom.css (rev 0) +++ trunk/www/templates/default/css/ui-lightness/jquery-ui-1.7.2.custom.css 2010-03-18 18:35:30 UTC (rev 375) @@ -0,0 +1,406 @@ +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +*/ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + + +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px +*/ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } +.ui-widget-content a { color: #333333; } +.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; outline: none; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; outline: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; outline: none; } +.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; outline: none; } +.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; outline: none; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; outline: none; text-decoration: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } +.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; } +.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } +.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } +.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } +.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } +.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } +.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; } + +/* Overlays */ +.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } +.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; }/* Accordion +----------------------------------*/ +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } +.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker +----------------------------------*/ +.ui-datepicker { width: 17em; padding: .2em .2em 0; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; } +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/* Dialog +----------------------------------*/ +.ui-dialog { position: relative; padding: .2em; width: 300px; } +.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* Progressbar +----------------------------------*/ +.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable +----------------------------------*/ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider +----------------------------------*/ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs +----------------------------------*/ +.ui-tabs { padding: .2em; zoom: 1; } +.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; } +.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } Property changes on: trunk/www/templates/default/css/ui-lightness/jquery-ui-1.7.2.custom.css ___________________________________________________________________ Added: svn:executable + * Added: trunk/www/templates/default/img/admin/active0.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/active0.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/active1.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/active1.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/ban.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/ban.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/banned.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/banned.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/delete.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/delete.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/delete_group.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/delete_group.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/delete_user.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/delete_user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/edit_group.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/edit_group.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/edit_lang.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/edit_lang.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/edit_plugin.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/edit_plugin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/edit_right.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/edit_right.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/edit_user.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/edit_user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/files.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/files.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/groups.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/groups.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/index.html =================================================================== --- trunk/www/templates/default/img/admin/index.html (rev 0) +++ trunk/www/templates/default/img/admin/index.html 2010-03-18 18:35:30 UTC (rev 375) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../../../../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/www/templates/default/img/admin/langs.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/langs.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/log.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/log.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/plugins.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/plugins.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/rights.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/rights.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/settings.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/settings.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tadd.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tadd.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tadd_group.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tadd_group.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tadd_right.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tadd_right.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tadd_user.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tadd_user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tdelete.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tdelete.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tdelete_group.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tdelete_group.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/tdelete_user.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/tdelete_user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/admin/users.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/admin/users.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/bg.jpg =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/bg.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/choose-file.gif =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/choose-file.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/download.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/download.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/file.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/file.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/hbg.jpg =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/hbg.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/index.html =================================================================== --- trunk/www/templates/default/img/index.html (rev 0) +++ trunk/www/templates/default/img/index.html 2010-03-18 18:35:30 UTC (rev 375) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../../../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/www/templates/default/img/openupload.ico =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/openupload.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/openupload.jpg =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/openupload.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/openupload.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/openupload.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/setup/current.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/setup/current.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/setup/fail.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/setup/fail.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/setup/index.html =================================================================== --- trunk/www/templates/default/img/setup/index.html (rev 0) +++ trunk/www/templates/default/img/setup/index.html 2010-03-18 18:35:30 UTC (rev 375) @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>NO ACCESS</title> +<meta http-equiv="REFRESH" content="0;url=../../../../"></HEAD> +<BODY> +No direct access is allowed on this folder. +</BODY> +</HTML> \ No newline at end of file Added: trunk/www/templates/default/img/setup/ok.png =================================================================== (Binary files differ) Property changes on: trunk/www/templates/default/img/setup/ok.png ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/www/templates/default/img/setup/step.png ==============================================... [truncated message content] |
From: <ts...@us...> - 2010-03-18 18:28:31
|
Revision: 374 http://openupload.svn.sourceforge.net/openupload/?rev=374&view=rev Author: tsdogs Date: 2010-03-18 18:28:25 +0000 (Thu, 18 Mar 2010) Log Message: ----------- fix this, many do not see it and causes troubles Added Paths: ----------- trunk/www/htaccess.example Removed Paths: ------------- trunk/www/.htaccess Deleted: trunk/www/.htaccess =================================================================== --- trunk/www/.htaccess 2010-03-18 18:27:03 UTC (rev 373) +++ trunk/www/.htaccess 2010-03-18 18:28:25 UTC (rev 374) @@ -1,5 +0,0 @@ -# Set this accordingly to your installation -# N.B. For this to work, you'll need "AllowOvverride Options" in apache dir config -#php_value file_uploads "On" -#php_value upload_max_filesize "200M" -#php_value post_max_size "200M" Copied: trunk/www/htaccess.example (from rev 373, trunk/www/.htaccess) =================================================================== --- trunk/www/htaccess.example (rev 0) +++ trunk/www/htaccess.example 2010-03-18 18:28:25 UTC (rev 374) @@ -0,0 +1,5 @@ +# Set this accordingly to your installation +# N.B. For this to work, you'll need "AllowOvverride Options" in apache dir config +#php_value file_uploads "On" +#php_value upload_max_filesize "200M" +#php_value post_max_size "200M" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |