tutos-commits Mailing List for TUTOS (Page 19)
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <gok...@us...> - 2012-12-13 17:13:42
|
Revision: 866 http://sourceforge.net/p/tutos/code/866 Author: gokohnert Date: 2012-12-13 17:13:40 +0000 (Thu, 13 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/address_overview.php Modified: trunk/php/address_overview.php =================================================================== --- trunk/php/address_overview.php 2012-12-13 17:13:16 UTC (rev 865) +++ trunk/php/address_overview.php 2012-12-13 17:13:40 UTC (rev 866) @@ -139,6 +139,7 @@ Function info_csv() { export_headers('TUTOS_adr_export','csv'); # Header("Content-Type: text/plain"); + $r = ''; $n = $this->result->numrows(); $x = 0; $r .= txt2csv('Title'); @@ -194,7 +195,7 @@ // Try to get Address from eleswhere if (is_object($l->department)) { $l->department->read_locs_data(); - if (count($l->department->location) > 0) { + if (isset($l->department->location) && count($l->department->location) > 0) { foreach($l->department->location as $ld) { if ( ($ld->street1 != '') || ($ld->street2 != '') || @@ -210,26 +211,26 @@ } } } - } - if ( ($l->street1 == '') && - ($l->street2 == '') && - ($l->zip == '') && - ($l->city == '') ) { - // Try to get Address from eleswhere - if (is_object($l->company)) { - $l->company->read_locs_data(); - if (count($l->company->location) > 0) { - foreach($l->company->location as $lc) { - if ( ($lc->street1 != '') || - ($lc->street2 != '') || - ($lc->zip != '') || - ($lc->city != '') ) { - $l->street1 = $lc->street1; - $l->street2 = $lc->street2; - $l->zip = $lc->zip; - $l->city = $lc->city; - $l->indicator = 'C'; // indicates Companyaddress - break; + if ( ($l->street1 == '') && + ($l->street2 == '') && + ($l->zip == '') && + ($l->city == '') ) { + // Try to get Address from eleswhere + if (is_object($l->company)) { + $l->company->read_locs_data(); + if (isset($l->company->location) && count($l->company->location) > 0) { + foreach($l->company->location as $lc) { + if ( ($lc->street1 != '') || + ($lc->street2 != '') || + ($lc->zip != '') || + ($lc->city != '') ) { + $l->street1 = $lc->street1; + $l->street2 = $lc->street2; + $l->zip = $lc->zip; + $l->city = $lc->city; + $l->indicator = 'C'; // indicates Companyaddress + break; + } } } } @@ -279,7 +280,7 @@ $r .= txt2csv(''); // company $r .= txt2csv(''); // company legal $r .= txt2csv(''); // department - $r .= txt2csv('A'); // Indicator + $r .= txt2csv(''); // Indicator $r .= txt2csv($grp); // Categories $r .= "\r\n"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-13 17:13:19
|
Revision: 865 http://sourceforge.net/p/tutos/code/865 Author: gokohnert Date: 2012-12-13 17:13:16 +0000 (Thu, 13 Dec 2012) Log Message: ----------- better debug Modified Paths: -------------- trunk/php/permission.p3 Modified: trunk/php/permission.p3 =================================================================== --- trunk/php/permission.p3 2012-12-12 18:13:03 UTC (rev 864) +++ trunk/php/permission.p3 2012-12-13 17:13:16 UTC (rev 865) @@ -523,6 +523,12 @@ $current_user = $current_user->read($userid,$current_user); ReadLang($lang); } + if ( !is_object($current_user) ) { + $msg = addLine($msg,'no user / this should not happen'); + logmessage($msg); + $auth[0]->logout(); + $auth[0]->login_form($_SERVER['SCRIPT_NAME'],$msg); + } mb_internal_encoding($lang['content_encoding']); @@ -752,9 +758,9 @@ $t2 = ' OR (t.adr_id='.$user_id.')'; } $query = 'SELECT DISTINCT i.* FROM ('.$query.') AS i' - .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' - .$t1 - . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' - .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; + .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' + .$t1 + . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' + .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; } ?> \ 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: <gok...@us...> - 2012-12-12 18:13:05
|
Revision: 864 http://sourceforge.net/p/tutos/code/864 Author: gokohnert Date: 2012-12-12 18:13:03 +0000 (Wed, 12 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/admin/admin.pinc trunk/php/admin/backup.php trunk/php/report-engine/rep_envelope/rep_envelope.pinc Modified: trunk/php/admin/admin.pinc =================================================================== --- trunk/php/admin/admin.pinc 2012-12-12 17:58:49 UTC (rev 863) +++ trunk/php/admin/admin.pinc 2012-12-12 18:13:03 UTC (rev 864) @@ -2,8 +2,8 @@ /** * Copyright 1999 - 2012 by Gero Kohnert * - * SVN Info $Id$ - * $Author$ + * SVN Info $Id: admin.pinc 735 2012-07-27 13:32:33Z gokohnert $ + * $Author: gokohnert $ */ Modified: trunk/php/admin/backup.php =================================================================== --- trunk/php/admin/backup.php 2012-12-12 17:58:49 UTC (rev 863) +++ trunk/php/admin/backup.php 2012-12-12 18:13:03 UTC (rev 864) @@ -48,8 +48,6 @@ ReadLang($lang); -$l = new Backup($current_user); -$l->PageHeader('BACKUP'); /** Modified: trunk/php/report-engine/rep_envelope/rep_envelope.pinc =================================================================== --- trunk/php/report-engine/rep_envelope/rep_envelope.pinc 2012-12-12 17:58:49 UTC (rev 863) +++ trunk/php/report-engine/rep_envelope/rep_envelope.pinc 2012-12-12 18:13:03 UTC (rev 864) @@ -1,6 +1,6 @@ <?php /** - * Copyright 2004 - 2011 by Gero Kohnert + * Copyright 2004 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -73,6 +73,7 @@ function complete() { if (!is_object($this->obj)) return false; + if ($this->obj->gettype() != 'address') return false; return true; } @@ -81,6 +82,7 @@ $r = ''; if (!is_object($this->obj)) return $r; + if ($this->obj->gettype() != 'address') return $r; $this->obj->read_locs_data(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-12 17:58:51
|
Revision: 863 http://sourceforge.net/p/tutos/code/863 Author: gokohnert Date: 2012-12-12 17:58:49 +0000 (Wed, 12 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/scrum/sprint_ins.php Modified: trunk/php/scrum/sprint_ins.php =================================================================== --- trunk/php/scrum/sprint_ins.php 2012-12-12 09:57:01 UTC (rev 862) +++ trunk/php/scrum/sprint_ins.php 2012-12-12 17:58:49 UTC (rev 863) @@ -185,7 +185,7 @@ // Default team is from project -if (count($obj->team) == 0) { +if (count($obj->team) == 0 && is_object($obj->pref) ) { if ($obj->pref->getTypeId() == useprojects) { $obj->pref->readroles(); foreach ($lang['ProdRole'] as $role => $f) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-11 19:08:50
|
Revision: 861 http://sourceforge.net/p/tutos/code/861 Author: gokohnert Date: 2012-12-11 19:08:48 +0000 (Tue, 11 Dec 2012) Log Message: ----------- refix Modified Paths: -------------- trunk/.htaccess Modified: trunk/.htaccess =================================================================== --- trunk/.htaccess 2012-12-11 18:22:57 UTC (rev 860) +++ trunk/.htaccess 2012-12-11 19:08:48 UTC (rev 861) @@ -19,7 +19,7 @@ <IfModule !mod_rewrite.c> RedirectMatch 404 /\\.svn(/|$) </IfModule> -<DirectoryMatch .*/tutos/.*\.svn/.*> - Deny From All -</DirectoryMatch> +#<DirectoryMatch .*/tutos/.*\.svn/.*> +# Deny From All +#</DirectoryMatch> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-11 18:23:01
|
Revision: 860 http://sourceforge.net/p/tutos/code/860 Author: gokohnert Date: 2012-12-11 18:22:57 +0000 (Tue, 11 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/subversion/svn_new.php Modified: trunk/php/subversion/svn_new.php =================================================================== --- trunk/php/subversion/svn_new.php 2012-12-11 18:15:55 UTC (rev 859) +++ trunk/php/subversion/svn_new.php 2012-12-11 18:22:57 UTC (rev 860) @@ -1,6 +1,6 @@ <?php /** - * Copyright 2000 - 2010 by Gero Kohnert + * Copyright 2000 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -112,7 +112,7 @@ $this->obj = $this->obj->read($_GET['id'],$this->obj); $this->name = $lang['SVNMod']; if ( !is_object($this->obj) ) { - $msg .= sprintf($lang['Err0040'],$lang['SVN']); + $msg = addLine($msg,sprintf($lang['Err0040'],$lang['SVN'])); $this->stop = true ; return; } @@ -130,10 +130,17 @@ $this->obj->set_int_from_arg('needlog','needlog',$lang['SVNNeedLog']); if ( ! $this->obj->mod_ok() ) { - $msg .= sprintf($lang['Err0024'],$lang[$this->obj->getType()]); + $msg = addLIne($msg,sprintf($lang['Err0024'],$lang[$this->obj->getType()])); $this->stop = true; + return; } $this->obj->read_reference(); + if (!is_object($this->obj->ref)) { + $msg = addLine($msg,sprintf($lang['Err0040'],$lang['SVNReference'])); + $this->stop = true; + return; + } + $this->obj->read_relations(); if ( is_object($this->obj->ref) && !$this->obj->ref->use_ok() ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-11 18:15:58
|
Revision: 859 http://sourceforge.net/p/tutos/code/859 Author: gokohnert Date: 2012-12-11 18:15:55 +0000 (Tue, 11 Dec 2012) Log Message: ----------- do not show filter link in non debug Modified Paths: -------------- trunk/php/admin_show.php Modified: trunk/php/admin_show.php =================================================================== --- trunk/php/admin_show.php 2012-12-11 12:48:58 UTC (rev 858) +++ trunk/php/admin_show.php 2012-12-11 18:15:55 UTC (rev 859) @@ -188,8 +188,10 @@ if (($tutos['resolve_host'] != 0) && strstr($x1, '.') && !strstr($x1, ' ')) { $x2 = @gethostbyaddr($x1); } - $x1l = makelink('admin_show.php?mode=logfile&filter='.$x1, $x1); - + if ($tutos[debug] != 0) + $x1l = makelink('admin_show.php?mode=logfile&filter='.$x1, $x1); + else + $x1l = $x1; $r .= ' <td class="over_l">'. $x1l .($x2 != $x1 ? '<br />('.$x2.')':'') .'</td>'; $r .= ' <td align="center">'. ($adr->disabled == 0 ? $lang['no']:$lang['yes']) .'</td>'; $r .= $this->OverviewRowEnd($line++); @@ -380,8 +382,10 @@ } - $x1l = makelink('admin_show.php?mode=logfile&filter='.$x1, $x1); - + if ($tutos[debug] != 0) + $x1l = makelink('admin_show.php?mode=logfile&filter='.$x1, $x1); + else + $x1l = $x1; $r .= ' <td class="over_l">'. $x1l.($x2 != $x1 ? $x2:"") ."</td>\n"; $r .= ' <td>'. $data['client'] ." </td>\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-11 12:49:04
|
Revision: 858 http://tutos.svn.sourceforge.net/tutos/?rev=858&view=rev Author: gokohnert Date: 2012-12-11 12:48:58 +0000 (Tue, 11 Dec 2012) Log Message: ----------- secure Modified Paths: -------------- trunk/.htaccess trunk/php/.htaccess Modified: trunk/.htaccess =================================================================== --- trunk/.htaccess 2012-12-07 19:18:56 UTC (rev 857) +++ trunk/.htaccess 2012-12-11 12:48:58 UTC (rev 858) @@ -9,6 +9,7 @@ # the default page # DirectoryIndex index.html +ErrorDocument 404 php/notfound.php # Hide .svn <IfModule mod_rewrite.c> # Block access to .svn files @@ -18,3 +19,7 @@ <IfModule !mod_rewrite.c> RedirectMatch 404 /\\.svn(/|$) </IfModule> +<DirectoryMatch .*/tutos/.*\.svn/.*> + Deny From All +</DirectoryMatch> + Modified: trunk/php/.htaccess =================================================================== --- trunk/php/.htaccess 2012-12-07 19:18:56 UTC (rev 857) +++ trunk/php/.htaccess 2012-12-11 12:48:58 UTC (rev 858) @@ -9,13 +9,9 @@ # the default page # DirectoryIndex mytutos.php +ErrorDocument 404 notfound.php # # -# Make life easier for those who moved with TUTOS -# from .php3 to .php -# -#RedirectMatch permanent (.*)\.php3 $1.php -# # Dont allow access to config files # <Files ~ "\.p3"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-07 19:19:03
|
Revision: 857 http://tutos.svn.sourceforge.net/tutos/?rev=857&view=rev Author: gokohnert Date: 2012-12-07 19:18:56 +0000 (Fri, 07 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/admin/restore.php trunk/php/help.php trunk/php/minical.php trunk/php/minitimer.php trunk/php/task.pinc Modified: trunk/php/admin/restore.php =================================================================== --- trunk/php/admin/restore.php 2012-12-07 13:53:12 UTC (rev 856) +++ trunk/php/admin/restore.php 2012-12-07 19:18:56 UTC (rev 857) @@ -26,8 +26,6 @@ } } - - $zipname = $tutos[sessionpath] .'/backup.zip'; $dbbackup = $tutos[sessionpath] .'/dbbackup'; @@ -38,16 +36,22 @@ } $_SESSION['dbnr'] = $dbnr; $dbconn = DB_Open($dbnr,false); +if (!is_object($dbconn)) { + die ('No database with id '.$dbnr.' found'); +} +$current_user = new tutos_user($dbconn); +$current_user->f_name = 'TUTOS'; +$current_user->m_name = ''; +$current_user->l_name = '(remember service)'; +$current_user->admin = 1; + $lang = array(); ReadLang($lang); $l = new Restore($current_user); $l->PageHeader('RESTORE'); -if (!is_object($dbconn)) { - die ('No database with id '.$dbnr.' found'); -} if (!file_exists($zipname)) { die('<br>Restore of '. $zipname .' failed ! File is not readable or does not exist<br />'); Modified: trunk/php/help.php =================================================================== --- trunk/php/help.php 2012-12-07 13:53:12 UTC (rev 856) +++ trunk/php/help.php 2012-12-07 19:18:56 UTC (rev 857) @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2011 by Gero Kohnert + * Copyright 1999 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -31,6 +31,7 @@ function Like($fld1,$name,$fld2 = "",$fld3 = "",$not=false) {} function Like2($fld,$name,$not=false) {} function needCount() { return false; } + function getFullName() { return 'dummy db'; } } /** Modified: trunk/php/minical.php =================================================================== --- trunk/php/minical.php 2012-12-07 13:53:12 UTC (rev 856) +++ trunk/php/minical.php 2012-12-07 19:18:56 UTC (rev 857) @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2011 by Gero Kohnert + * Copyright 1999 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -14,12 +14,17 @@ session_write_close(); loadlayout(); +class dummy extends layout { + Function info() {} + Function prepare() {} +} + $d = Date("d"); $m = Date("n"); $y = Date("Y"); $f = "default"; -$l = new layout($current_user); +$l = new dummy($current_user); echo $l->PrintHeader("MiniCal"); if (isset($_GET['f']) ) { @@ -177,5 +182,5 @@ ?> <!-- SVN Info $Id$ - $Author$ - --> \ No newline at end of file +$Author$ +--> \ No newline at end of file Modified: trunk/php/minitimer.php =================================================================== --- trunk/php/minitimer.php 2012-12-07 13:53:12 UTC (rev 856) +++ trunk/php/minitimer.php 2012-12-07 19:18:56 UTC (rev 857) @@ -1,5 +1,6 @@ <?php /* + * Copyright 1999 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -18,7 +19,12 @@ check_user(); loadlayout(); -$l = new layout($current_user); +class dummy extends layout { + Function info() {} + Function prepare() {} +} + +$l = new dummy($current_user); echo $l->PrintHeader("MiniTimer"); $f = $_GET['f']; Modified: trunk/php/task.pinc =================================================================== --- trunk/php/task.pinc 2012-12-07 13:53:12 UTC (rev 856) +++ trunk/php/task.pinc 2012-12-07 19:18:56 UTC (rev 857) @@ -24,8 +24,7 @@ $stc = getObject($current_user->dbconn,$tutos['task_state_stc']); if (!is_object($stc)) { $stc = new Stc(null); - $x = new Task($current_user->dbconn); - $stc->initByArray('TaskStates',$x->c_state); + $stc->initByArray('TaskStates',task::$c_state); } $r = "<select id=\"state\" name=\"state\">\n"; @@ -470,10 +469,10 @@ */ protected $showurl = 'task_show.php'; - protected $c_state = array(TASK_PRE => "yellow", - TASK_RUNNING => "orange", - TASK_FINISH => "lightgreen", - TASK_OVERDUE => "red" + static public $c_state = array(TASK_PRE => "yellow", + TASK_RUNNING => "orange", + TASK_FINISH => "lightgreen", + TASK_OVERDUE => "red" ); /** @@ -917,7 +916,7 @@ $stc = getObject($this->dbconn,$tutos['task_state_stc']); if (!is_object($stc)) { $stc = new stc(null); - $stc->initByArray('TaskStates',$this->c_state); + $stc->initByArray('TaskStates',task::$c_state); } $r .= $stc->states[$s]->color; return $r; @@ -974,7 +973,7 @@ $stc = getObject($this->dbconn,$tutos['task_state_stc']); if (!is_object($stc)) { $stc = new stc(null); - $stc->initByArray('TaskStates',$this->c_state); + $stc->initByArray('TaskStates',task::$c_state); } $r .= $stc->getState($s); return $r; @@ -990,7 +989,7 @@ $stc = getObject($this->dbconn,$tutos['task_state_stc']); if (!is_object($stc)) { $stc = new stc(null); - $stc->initByArray('TaskStates',$this->c_state); + $stc->initByArray('TaskStates',task::$c_state); } $stc->stateowner = $this; $r .= $stc->getStateSelection($this->state,'state'); @@ -1322,7 +1321,7 @@ $stc = getObject($this->dbconn,$tutos['task_state_stc']); if (!is_object($stc)) { $stc = new stc(null); - $stc->initByArray('TaskStates',$this->c_state); + $stc->initByArray('TaskStates',task::$c_state); } // set the real start This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-07 13:53:20
|
Revision: 856 http://tutos.svn.sourceforge.net/tutos/?rev=856&view=rev Author: gokohnert Date: 2012-12-07 13:53:12 +0000 (Fri, 07 Dec 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/layout/new2_layout.pinc trunk/php/pdf.pinc Modified: trunk/php/layout/new2_layout.pinc =================================================================== --- trunk/php/layout/new2_layout.pinc 2012-12-04 08:41:07 UTC (rev 855) +++ trunk/php/layout/new2_layout.pinc 2012-12-07 13:53:12 UTC (rev 856) @@ -1102,8 +1102,8 @@ $r .= ' / M:'. $g_hash['hits3'].':'.$g_hash['fail3']."\n"; $r .= ' / MTT:'. $g_hash['hits4'].':'.$g_hash['fail4']."\n"; } - $r .= '"'; } + $r .= '"'; $r .= ">\n"; $r .= '<span class="smaller"><i><b><abbr class="smaller" title="The Ultimative team organization software">TUTOS</abbr> '. $tutos[version] ."</b></i>\n"; if ( $tutos[debug] == 1 ) { Modified: trunk/php/pdf.pinc =================================================================== --- trunk/php/pdf.pinc 2012-12-04 08:41:07 UTC (rev 855) +++ trunk/php/pdf.pinc 2012-12-07 13:53:12 UTC (rev 856) @@ -40,6 +40,7 @@ $this->SetAutoPageBreak(true,20); $this->header = true; $this->footer = true; + $this->customfooter = null; } //Page header function Header() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-04 08:41:16
|
Revision: 855 http://tutos.svn.sourceforge.net/tutos/?rev=855&view=rev Author: gokohnert Date: 2012-12-04 08:41:07 +0000 (Tue, 04 Dec 2012) Log Message: ----------- less errormessages with failed logins Modified Paths: -------------- trunk/php/database.pinc trunk/php/db/db.pinc trunk/php/login.pinc trunk/php/permission.p3 trunk/php/webelements.p3 Modified: trunk/php/database.pinc =================================================================== --- trunk/php/database.pinc 2012-12-03 12:11:51 UTC (rev 854) +++ trunk/php/database.pinc 2012-12-04 08:41:07 UTC (rev 855) @@ -137,8 +137,6 @@ * read a database result set */ function read_result (result $r, $pos ) { - global $g_hash; - $this->name = $r->get($pos, "name"); $this->alias = $r->get($pos, "dbalias"); $this->host = $r->get($pos, "dbhost"); @@ -170,7 +168,7 @@ /** */ function read($id,$obj) { - global $tutos, $current_user, $g_hash; + global $tutos; if ( -1 == $id ) return; @@ -331,6 +329,10 @@ function save() { global $tutos,$current_user,$table; + if ($this->type == DB_TYPE_FAKE) { + return; + } + $msg = $this->run_presave_hook(); if ( !is_object($this->dbconn) ) { Modified: trunk/php/db/db.pinc =================================================================== --- trunk/php/db/db.pinc 2012-12-03 12:11:51 UTC (rev 854) +++ trunk/php/db/db.pinc 2012-12-04 08:41:07 UTC (rev 855) @@ -342,6 +342,11 @@ /** * String Representation */ + abstract function getFullName(); + + /** + * String Representation + */ function __toString() { global $lang; @@ -844,6 +849,9 @@ } function Like2($fld,$name,$not=false) { } + function getFullName() { + return 'fake db'; + } } ?> \ No newline at end of file Modified: trunk/php/login.pinc =================================================================== --- trunk/php/login.pinc 2012-12-03 12:11:51 UTC (rev 854) +++ trunk/php/login.pinc 2012-12-04 08:41:07 UTC (rev 855) @@ -62,7 +62,7 @@ $r .= "\n<!-- PHP Version CHECK OK -->"; $r .= "\n<!-- ". phpversion() ." ". PHP_OS ." -->\n"; - $r .= '<form id="loginform" name="loginform" action="'. htmlentities($this->gotourl) ."\" method=\"post\">\n"; + $r .= '<form id="loginform" name="loginform" action="'. $this->gotourl ."\" method=\"post\">\n"; $r .= $this->SelectTableStart(); Modified: trunk/php/permission.p3 =================================================================== --- trunk/php/permission.p3 2012-12-03 12:11:51 UTC (rev 854) +++ trunk/php/permission.p3 2012-12-04 08:41:07 UTC (rev 855) @@ -179,7 +179,8 @@ // Problem with IE5 and download under https (mar...@us...) @session_cache_limiter('public'); if (session_id() == '') { - @session_start(); + $xxxx = @session_start(); + if (!$xxxx) error_log("session_start failed\n", 3, $tutos[errlog]); } // TODO: check ! @@ -443,6 +444,12 @@ $dbnr = 0; // default } $dbconn = DB_Open($dbnr); + if ($dbconn == null) { + $dbconn = DB_Open(-3); + $current_user = new tutos_user($dbconn); + ReadLang($lang); + $auth[0]->login_form($_SERVER['SCRIPT_NAME'],'No such database'); + } $current_user= new tutos_user($dbconn); // For login we use default language (via browser settings) @@ -745,9 +752,9 @@ $t2 = ' OR (t.adr_id='.$user_id.')'; } $query = 'SELECT DISTINCT i.* FROM ('.$query.') AS i' - .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' - .$t1 - . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' - .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; + .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' + .$t1 + . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' + .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; } ?> \ No newline at end of file Modified: trunk/php/webelements.p3 =================================================================== --- trunk/php/webelements.p3 2012-12-03 12:11:51 UTC (rev 854) +++ trunk/php/webelements.p3 2012-12-04 08:41:07 UTC (rev 855) @@ -55,8 +55,9 @@ } else { if ( isset($current_user->ly) && !empty($current_user->ly) ) { $ly = $current_user->ly; - } else - $ly = 'classic_layout'; + } else { + $ly = $tutos[layouts][0]; + } // use mobile layout if OK here if (isset($tutos['mobileok']) && $tutos['mobileok'] == 1 && $tutos['mobilely'] == 1) { @@ -223,24 +224,20 @@ * Read the language files. * Language is determined by looking at HTTP_ACCEPT_LANGUAGE in automatic mode */ -Function ReadLang1(array &$lang,$path,&$user) { +Function ReadLang1(array &$lang,$path,$user) { global $tutos,$dbconn; - // error_log($_SERVER["REQUEST_URI"] ." > ReadLang1:".count($lang)." ". $path ." ". $user->f_name ." ". $user->l_name ." ". $user->lang ."<br />\n",3,$tutos[errlog]); + if ( isset($user) ) { + if ($user->getType() != "user") { + echo "User Object required:".$user->getType() ." ". $user->getFullName() ."<br />\n"; + } - if (! isset($user) ) { - $user = new tutos_user($dbconn); + if ( isset($_REQUEST['lg']) ) { + $lg = strtolower($_REQUEST['lg']); + } else if ($user->lang != "auto" ) { + $lg = $user->lang; + } } - if ($user->getType() != "user") { - echo "User Object required:".$user->getType() ." ". $user->getFullName() ."<br />\n"; - } - - if ( isset($_REQUEST['lg']) ) { - $lg = strtolower($_REQUEST['lg']); - } else if ($user->lang != "auto" ) { - $lg = $user->lang; - } - if (isset($lg)) { $ok = false; if ( ("en-us" == $lg) && file_exists(getcwd()."/".$path ."/en.p3") && is_readable(getcwd()."/".$path ."/en.p3") ) { @@ -261,7 +258,7 @@ } } - $langs = ""; + $langs = ''; if ( isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ) { $langs = $_SERVER['HTTP_ACCEPT_LANGUAGE']; } @@ -328,16 +325,16 @@ ReadCustomLang($lang,"ru",$path); return ReadLangFinish($lang,$tok); } - if ( preg_match("#^pt#", $tok ) && file_exists(getcwd()."/".$path ."/pt-br.p3") ) { - include $path ."/pt-br.p3"; - ReadCustomLang($lang,"pt",$path); - return ReadLangFinish($lang,$tok); - } if ( preg_match("#^pt-br#", $tok ) && file_exists(getcwd()."/".$path ."/pt-br.p3") ) { include $path ."/pt-br.p3"; ReadCustomLang($lang,"pt-br",$path); return ReadLangFinish($lang,$tok); } + if ( preg_match("#^pt#", $tok ) && file_exists(getcwd()."/".$path ."/pt.p3") ) { + include $path ."/pt.p3"; + ReadCustomLang($lang,"pt",$path); + return ReadLangFinish($lang,$tok); + } if ( (preg_match("#^zh-tw#", $tok ) || preg_match("#^zh-hk#", $tok )) && file_exists(getcwd()."/".$path ."/tw.p3")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-03 12:12:02
|
Revision: 854 http://tutos.svn.sourceforge.net/tutos/?rev=854&view=rev Author: gokohnert Date: 2012-12-03 12:11:51 +0000 (Mon, 03 Dec 2012) Log Message: ----------- no debug output Modified Paths: -------------- trunk/php/subversion/revision.pinc Modified: trunk/php/subversion/revision.pinc =================================================================== --- trunk/php/subversion/revision.pinc 2012-12-03 12:05:28 UTC (rev 853) +++ trunk/php/subversion/revision.pinc 2012-12-03 12:11:51 UTC (rev 854) @@ -66,7 +66,7 @@ } } } - return 'X '. $obj->getType().' '.$arg.' '.$cnt; + return ''.$arg.''; } /** @@ -76,4 +76,4 @@ if ($arg != '') return true; } } -?> +?> \ 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: <gok...@us...> - 2012-12-03 12:05:35
|
Revision: 853 http://tutos.svn.sourceforge.net/tutos/?rev=853&view=rev Author: gokohnert Date: 2012-12-03 12:05:28 +0000 (Mon, 03 Dec 2012) Log Message: ----------- bug class not preset / force selection Modified Paths: -------------- trunk/php/bugtracking/bug.pinc trunk/php/bugtracking/bug_ins.php trunk/php/bugtracking/bug_new.php trunk/php/webelements.p3 Modified: trunk/php/bugtracking/bug.pinc =================================================================== --- trunk/php/bugtracking/bug.pinc 2012-12-03 08:57:25 UTC (rev 852) +++ trunk/php/bugtracking/bug.pinc 2012-12-03 12:05:28 UTC (rev 853) @@ -360,6 +360,7 @@ break; } } + $this->class = ''; // colors in statistics if not stc $this->solver = new tutos_address($this->dbconn); $this->reporter = new tutos_address($this->dbconn); @@ -368,7 +369,7 @@ $this->followup = -1; // duplicate $this->plist = array(); $this->short = ''; - $this->medium = ''; + $this->medium = 1; $this->plandate = new TUTOS_Date_Time(0); // planned solve date $this->solvedate = new TUTOS_Date_Time(0); // real solvedate Modified: trunk/php/bugtracking/bug_ins.php =================================================================== --- trunk/php/bugtracking/bug_ins.php 2012-12-03 08:57:25 UTC (rev 852) +++ trunk/php/bugtracking/bug_ins.php 2012-12-03 12:05:28 UTC (rev 853) @@ -80,6 +80,7 @@ if ( empty($_POST['medium']) || !isset($_POST['medium']) ) { $msg = addLine($msg,sprintf($lang['Err0009'],$lang['BugMedium'])); + $gotourl = addBadField($gotourl,'medium',true); } else { $medium = $_POST['medium']; $gotourl= addUrlParameter($gotourl,"medium=". $medium,true); @@ -149,7 +150,7 @@ $state = $_POST['state']; $gotourl= addUrlParameter($gotourl,"state=". $state,true); } -if ( empty($_POST['class']) || !isset($_POST['class']) ) { +if ( empty($_POST['class']) || !isset($_POST['class']) || $_POST['class'] == -1) { $msg = addLine($msg,sprintf($lang['Err0009'],$lang['BugClass'])); $gotourl = addBadField($gotourl,'class',true); } else { Modified: trunk/php/bugtracking/bug_new.php =================================================================== --- trunk/php/bugtracking/bug_new.php 2012-12-03 08:57:25 UTC (rev 852) +++ trunk/php/bugtracking/bug_new.php 2012-12-03 12:05:28 UTC (rev 853) @@ -80,7 +80,7 @@ $r .= $this->EditRowStart(); $r .= $this->showfieldc($lang['BugState'],0,"state"); $r .= $this->showdata($this->obj->askState(),1); - $r .= $this->showfieldc($lang['BugClass'],0,"class"); + $r .= $this->showfieldc($lang['BugClass'],1,"class"); $r .= $this->showdata($this->obj->askClass(),1); $r .= $this->EditRowEnd(); Modified: trunk/php/webelements.p3 =================================================================== --- trunk/php/webelements.p3 2012-12-03 08:57:25 UTC (rev 852) +++ trunk/php/webelements.p3 2012-12-03 12:05:28 UTC (rev 853) @@ -133,17 +133,25 @@ if ( ($multi != false) and (substr($fldname,-2) != '[]') ) { $fldname .= '[]'; } - $r .= '<select id="'. $orgfld .'" name="'.$fldname.'"'; + $r .= ' <select id="'. $orgfld .'" name="'.$fldname.'"'; if ($multi != false) { $r .= ' multiple="multiple"'; } + if (!$any && ''==$default) { + $r .= ' class="required_fld"'; + } $r .= '>'."\n"; if ( $any == true ) { - $r .= "<option value=\"-1\""; + $r .= ' <option value="-1"'; if ( -1 == $default ) { $r .= ' selected="selected" '; } $r .= ">". myentities($lang['any']) ."</option>\n"; + } else { + // preset with empty to force a selection + if ( '' == $default ) { + $r .= ' <option value=""></option>'."\n"; + } } if ($sort == 1) { asort($lang[$lgname]); @@ -158,19 +166,19 @@ } if ( ($f == $default) || ($old == false) ) { - $r .= ' <option' .($old ? ' class="deprecated"':''). ' value="'. $f .'"'. ($f == $default ? ' selected="selected"':'') .'>'; + $r .= ' <option' .($old ? ' class="deprecated"':''). ' value="'. $f .'"'. ($f == $default ? ' selected="selected"':'') .'>'; $r .= myentities($i).($old ? ' '.$lang['deprecated']:''); $r .= '</option>'."\n"; } } if ( is_array($additional) && count($additional) ) { foreach ($additional as $f => $i) { - $r .= ' <option value="'. $f .'"'. ($f == $default ? ' selected="selected"':'') .'>'; + $r .= ' <option value="'. $f .'"'. ($f == $default ? ' selected="selected"':'') .'>'; $r .= myentities($i); $r .= '</option>'."\n"; } } - $r .= '</select>'."\n"; + $r .= ' </select>'."\n"; return $r; } /** @@ -798,10 +806,10 @@ } $r = $dir.'/'; -# if(isset($_SERVER['SERVER_PORT']) && (($_SERVER['SERVER_PORT'] != 443) && ($_SERVER['SERVER_PORT'] != 80)) ) { - # $r = ':'.$_SERVER['SERVER_PORT'].$r; - # } - # $r = $_SERVER['SERVER_NAME'].$r; + // if(isset($_SERVER['SERVER_PORT']) && (($_SERVER['SERVER_PORT'] != 443) && ($_SERVER['SERVER_PORT'] != 80)) ) { + // $r = ':'.$_SERVER['SERVER_PORT'].$r; + // } + // $r = $_SERVER['SERVER_NAME'].$r; $r = $_SERVER['HTTP_HOST'].$r; if(isset($_SERVER['SERVER_PORT']) && ($_SERVER['SERVER_PORT'] == 443) ) { $r = 'https://'.$r; @@ -831,8 +839,8 @@ /** * format a value for use with csv files from * "http://de2.php.net/manual/en/function.fputcsv.php#87120" -* output is always converted to target_enc encoding -*/ + * output is always converted to target_enc encoding + */ function txt2csv ($val,$delimiter = '',$enclosure = '') { global $tutos; @@ -932,7 +940,7 @@ $text = preg_replace('#</([BIU])>#im' ,'</$1>',$text); // $text = preg_replace('#"#m' ,'"',$text); if ($ureplace) - $text = urlReplace($text,0); + $text = urlReplace($text,0); if ($ireplace) $text = ImgReplace($text,$obj); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-03 08:57:33
|
Revision: 852 http://tutos.svn.sourceforge.net/tutos/?rev=852&view=rev Author: gokohnert Date: 2012-12-03 08:57:25 +0000 (Mon, 03 Dec 2012) Log Message: ----------- up Modified Paths: -------------- trunk/html/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png trunk/html/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png trunk/html/css/ui-lightness/jquery-ui.custom.css Modified: trunk/html/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png =================================================================== (Binary files differ) Modified: trunk/html/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png =================================================================== (Binary files differ) Modified: trunk/html/css/ui-lightness/jquery-ui.custom.css =================================================================== --- trunk/html/css/ui-lightness/jquery-ui.custom.css 2012-12-03 08:52:54 UTC (rev 851) +++ trunk/html/css/ui-lightness/jquery-ui.custom.css 2012-12-03 08:57:25 UTC (rev 852) @@ -1,563 +1,5 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, 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 !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.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:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.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.23 - * - * Copyright 2012, 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-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-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; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*! - * jQuery UI Resizable 1.8.23 - * - * Copyright 2012, 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; 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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; display: none; } -.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%; font-size:0em; } - -/* 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 { - 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.23 - * - * Copyright 2012, 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; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file +/*! jQuery UI - v1.9.2 - 2012-12-03 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-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 +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.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:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;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}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;zoom:1}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;zoom:1}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}* html .ui-autocomplete{width:1px}.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.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}input.ui-button{padding:.4em 1em}.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}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.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}.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%;font-size:0em}.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}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 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}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.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}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em;zoom:1}.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:0;margin:1px .2em 0 0;border-bottom:0;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-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}* html .ui-tooltip{background-image:none}body .ui-tooltip{border-width:2px}.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 #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;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,.ui-state-hover a:link,.ui-state-hover a:visited{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:#fff 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-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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.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}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.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)}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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{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:-208p... [truncated message content] |
From: <gok...@us...> - 2012-12-03 08:53:07
|
Revision: 851 http://tutos.svn.sourceforge.net/tutos/?rev=851&view=rev Author: gokohnert Date: 2012-12-03 08:52:54 +0000 (Mon, 03 Dec 2012) Log Message: ----------- update Modified Paths: -------------- trunk/html/css/smoothness/jquery-ui.custom.css Modified: trunk/html/css/smoothness/jquery-ui.custom.css =================================================================== --- trunk/html/css/smoothness/jquery-ui.custom.css 2012-12-03 08:11:00 UTC (rev 850) +++ trunk/html/css/smoothness/jquery-ui.custom.css 2012-12-03 08:52:54 UTC (rev 851) @@ -1,563 +1,5 @@ -/*! - * jQuery UI CSS Framework 1.8.23 - * - * Copyright 2012, 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 !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.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:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.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.23 - * - * Copyright 2012, 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=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: 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: Verdana,Arial,sans-serif; font-size: 1em; } -.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } -.ui-widget-content a { color: #222222; } -.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } -.ui-widget-header a { color: #222222; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; 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 #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } -.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; 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 #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% 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: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } -.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_222222_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_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-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } -.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! - * jQuery UI Resizable 1.8.23 - * - * Copyright 2012, 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; 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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.23 - * - * Copyright 2012, 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; display: none; } -.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%; font-size:0em; } - -/* 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 { - 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.23 - * - * Copyright 2012, 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; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file +/*! jQuery UI - v1.9.2 - 2012-11-23 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/ +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.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:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;zoom:1}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;zoom:1}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}* html .ui-autocomplete{width:1px}.ui-button{display:inline-block;position:relative;padding:0;margin-right:.1em;cursor:pointer;text-align:center;zoom:1;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.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}input.ui-button{padding:.4em 1em}.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}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.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}.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%;font-size:0em}.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}.ui-datepicker-cover{position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 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}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;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}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.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}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em;zoom:1}.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:0;margin:1px .2em 0 0;border-bottom:0;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-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}* html .ui-tooltip{background-image:none}body .ui-tooltip{border-width:2px}.ui-widget{font-family: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:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;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 #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% 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:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.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}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.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_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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{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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px} \ 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: <gok...@us...> - 2012-12-03 08:11:11
|
Revision: 850 http://tutos.svn.sourceforge.net/tutos/?rev=850&view=rev Author: gokohnert Date: 2012-12-03 08:11:00 +0000 (Mon, 03 Dec 2012) Log Message: ----------- fix IE Modified Paths: -------------- trunk/html/new2_layout.css Modified: trunk/html/new2_layout.css =================================================================== --- trunk/html/new2_layout.css 2012-12-02 18:35:25 UTC (rev 849) +++ trunk/html/new2_layout.css 2012-12-03 08:11:00 UTC (rev 850) @@ -93,7 +93,6 @@ min-height: 600px; padding: 3px; vertical-align: top; -// border: 1px solid red; } #nl_menu { @@ -102,7 +101,6 @@ padding-right: 2px; padding-top: 0px; padding-bottom: 20px; -//background: #ADD; } TR.nl_menu_row { @@ -134,7 +132,6 @@ white-space: nowrap; vertical-align: top; text-align: left; -//border: 1px solid blue; } SPAN.required { @@ -147,4 +144,4 @@ position: absolute; top: 7px; left: 27px; -} \ 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: <gok...@us...> - 2012-12-02 18:35:33
|
Revision: 849 http://tutos.svn.sourceforge.net/tutos/?rev=849&view=rev Author: gokohnert Date: 2012-12-02 18:35:25 +0000 (Sun, 02 Dec 2012) Log Message: ----------- update Modified Paths: -------------- trunk/php/auth/auth_db.pinc trunk/php/bugtracking/bug_overview.php trunk/php/db.p3 trunk/php/layout/new2_layout.pinc trunk/php/permission.p3 trunk/php/phpweather/pw.pinc trunk/php/webelements.p3 Modified: trunk/php/auth/auth_db.pinc =================================================================== --- trunk/php/auth/auth_db.pinc 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/auth/auth_db.pinc 2012-12-02 18:35:25 UTC (rev 849) @@ -30,6 +30,7 @@ } return ''; } + /** * get the username */ @@ -39,16 +40,18 @@ } return ''; } + /** * Check for permmision * using a DB query */ function check() { - global $current_user,$lang; + global $current_user,$lang,$table; - $q = "SELECT a.* ,p.*,p.id as u_id ,p.creator as cr_a, p.creation as cr_t FROM ". $this->dbconn->prefix ."addresses a, ". $this->dbconn->prefix ."people p "; - $q .= " WHERE p.login = ". $this->dbconn->String($this->getuname()) ; - $q .= " AND p.pw = ". $this->dbconn->Password($this->getpw()) ." AND p.adr_id = a.id"; + $q = 'SELECT a.* ,p.*,p.id as u_id ,p.creator as cr_a, p.creation as cr_t FROM '. $this->dbconn->prefix .$table['address'][name].' a, '. $this->dbconn->prefix .$table['people'][name].' p'; + $q .= ' WHERE p.login = '. $this->dbconn->String($this->getuname()) ; + $q .= ' AND p.pw = '. $this->dbconn->Password($this->getpw()); + $q .= ' AND p.adr_id = a.id'; $result = $this->dbconn->Exec($q); $r = array(); Modified: trunk/php/bugtracking/bug_overview.php =================================================================== --- trunk/php/bugtracking/bug_overview.php 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/bugtracking/bug_overview.php 2012-12-02 18:35:25 UTC (rev 849) @@ -98,8 +98,8 @@ if ($step == 0) { $step = 1; } - #$step = 10800; - #$step = 3600; + //$step = 10800; + //$step = 3600; $ticks = ($to - $from) / $step; // Points @@ -824,7 +824,6 @@ $spie['ticks'] = ''; // create empty data for ($i = $from; $i<$to; $i+= $step) { - #$datax[$cntx] = $i; $datax[$cntx] = strftime('%Y-%m-%d %T',$i); foreach ($this->stc->states as $f) { $data[$f->stc_state][$cntx] = 0; @@ -851,7 +850,6 @@ } $spie['data'] .= ']'; $pre = ','; - # break; } $r .= "<tr>\n"; @@ -867,7 +865,6 @@ // Burndown if ( function_exists('ImageCreate') ) { $link = $tutos['base'].'/php/'.$this->link1; - # $link = delUrlParameter($link,"format"); $link = addUrlParameter($link,"format=burndown"); $link = addSessionKey($link); $r .= "<tr>\n"; @@ -1283,7 +1280,6 @@ ((-1 == $this->start) && ($x+1 > $n2-$skip-$tutos['maxshow'])) ) { $b->read_result($this->result2,$x-1); - #$b->read($id,$b); } if (! isset($h[$b->id]) ) { $this->blist[] = &$b; Modified: trunk/php/db.p3 =================================================================== --- trunk/php/db.p3 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/db.p3 2012-12-02 18:35:25 UTC (rev 849) @@ -332,9 +332,9 @@ $tutos['error_reporting'] = -1; $r = Date("d.m.Y H:i:s T") ."\t"; if (isset($argv)) { - $r .= "via_cmdline\t".implode($argv,' '); + $r .= sprintf("%-45s",'via_cmdline').implode($argv,' '); } else { - $r .= sprintf("%-16s%-5s",$_SERVER['REMOTE_ADDR'],$_SERVER['REQUEST_METHOD'])."\t". $_SERVER['REQUEST_URI']; + $r .= sprintf("%-40s%-5s ",$_SERVER['REMOTE_ADDR'],$_SERVER['REQUEST_METHOD']).$_SERVER['REQUEST_URI']; } @error_log( trim($r) ."\n" ,3,$tutos[errlog].'.log'); ini_set('display_startup_errors','On'); Modified: trunk/php/layout/new2_layout.pinc =================================================================== --- trunk/php/layout/new2_layout.pinc 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/layout/new2_layout.pinc 2012-12-02 18:35:25 UTC (rev 849) @@ -875,7 +875,7 @@ $r = ''; //$r .= "<!-- layout_start -->\n"; - $r .= " <table id=\"maintable\" cellspacing=\"0\" border=\"0\">\n"; + $r .= ' <table id="headtable" cellspacing="0" border="0">'."\n"; $r .= " <tr>\n"; $r .= ' <td class="headline" valign="middle" align="left">'; if ( isset($lang['DateTimeSPHP']) ) { @@ -884,8 +884,8 @@ $r .= Date('d/m H:i'); } $r .= "</td>\n"; - $r .= " <td nowrap=\"nowrap\" width=\"90%\" colspan=\"8\" align=\"center\" class=\"pagetitle\">". ($name == '' ? myentities($this->name):myentities($name)) ."</td>\n"; - $r .= " <td width=\"5%\" rowspan=\"2\" align=\"right\" valign=\"top\" class=\"pagetitle\">\n"; + $r .= ' <td colspan="8" nowrap="nowrap" width="90%" align="center" class="pagetitle">'. ($name == '' ? myentities($this->name):myentities($name)) ."</td>\n"; + $r .= ' <td width="10%" rowspan="2" align="right" valign="top" class="pagetitle">'."\n"; if ( isset($tutos['logolink']) ) { $r .= ' <a target="url" href="'. (preg_match("#^http#",$tutos['logolink']) ? '':$tutos['base'].'/' ) . $tutos['logolink'] .'">'; } @@ -895,13 +895,8 @@ } $r .= " </td>\n"; $r .= " </tr>\n"; - $r .= " <tr>\n"; - // $r .= " <td width=\"10%\" colspan=\"1\" class=\"headline\" height=\"30px\">\n"; - // $r .= '<ul class="nav_h">'; - // $r .= '</ul>'; - // $r .= "</td>\n"; - $r .= " <td width=\"90%\" colspan=\"9\" class=\"headline\">\n"; + $r .= ' <td colspan="9" width="90%" class="headline">'."\n"; $rx = ''; $rx .= $this->menuprint('main0',true,true); $rx .= $this->menuprint('main1',true,true); @@ -918,18 +913,15 @@ $r .= ' '; } $r .= " </td>\n"; - // $r .= " <td width=\"10%\" class=\"headline\" colspan=\"1\">\n"; - // $r .= '<ul class="nav_h">'; - // $r .= '</ul>'; - // $r .= " </td>\n"; $r .= " </tr>\n"; + $r .= " </table>\n"; + $r .= ' <table id="maintable" cellspacing="0" border="0">'."\n"; $r .= " <tr>\n"; if ( $this->nomenu == false ) { - # $before = '<tr class="nl_menu_row" %ONCLICK% ><td class="nl_menu_item">'."\n"; - $r .= " <td width=\"10%\" class=\"navigate\" id=\"nl_navigate\">\n"; - #$r .= " <td class=\"navigate\" id=\"nl_navigate\">\n"; - $r .= "<table id=\"nl_menu\">\n"; + #$r .= " <td width=\"10%\" class=\"navigate\" id=\"nl_navigate\">\n"; + $r .= ' <td colspan="1" class="navigate" id="nl_navigate">'."\n"; + $r .= '<table id="nl_menu">'."\n"; //$r .= "<!-- outside navigation -->\n"; $r .= $this->navigate(); //$r .= "<!-- end of outside navigation -->\n"; @@ -1031,17 +1023,17 @@ } $r .= "</table>\n"; $r .= " </td>\n"; - $cols = 9; $colsproz = 95; + $cols = 9; // column width of content } else { - $cols = 10; $colsproz = 100; + $cols = 10; } if ( function_exists('tutos_side_banner') && (tutos_side_banner() != '') ) { - $cols -= 1; $colsproz -= 5; + $cols -= 1; } - $r .= ' <td width="'.$colsproz.'%" colspan="'.$cols.'" class="'. $this->css_class .'" id="datafield">'."\n"; + $r .= ' <td colspan="'.$cols.'" width="'.$colsproz.'%" class="'. $this->css_class .'" id="datafield">'."\n"; if ($this->center) $r .= '<center>'; // the remaining parts are put into an table field if ($msg != '') { @@ -1066,22 +1058,26 @@ if ($this->center) $r .= '</center>'; $r .= " </td>\n"; if ( function_exists('tutos_side_banner') && (tutos_side_banner() != '') ) { - $r .= '<td valign="top">'; + $r .= '<td id="sidebanner" valign="top">'; $r .= tutos_side_banner(); $r .= "</td>"; } $r .= " </tr>\n"; + + // last stuff + if ( function_exists('tutos_side_banner') && (tutos_side_banner() != '') ) + $cols = 7; + else + $cols = 8; $r .= " <tr>\n"; - $cols = 10; + $r .= ' <td> </td>'; if ( function_exists('tutos_end_banner') ) { - $r .= ' <td> </td>'; - $r .= ' <td colspan="7">'; + $r .= ' <td colspan="'.$cols.'" id="endbanner">'; $r .= tutos_end_banner(); $r .= ' </td>'; - $cols = 2; } - $r .= ' <td colspan="'. $cols .'" valign="top" align="right">'; + $r .= ' <td valign="top" align="right">'; $r .= ' <a id="tutosversion" class="nodeco" href="'. $tutos['base'] .'/html/copyright.html" title="TUTOS '. $tutos[version] ; if ( ($tutos[debug] == 1) && function_exists('memory_get_usage') ) { @@ -1118,6 +1114,9 @@ } $r .= " </span></a>\n"; $r .= " </td>\n"; + if ( function_exists('tutos_side_banner') && (tutos_side_banner() != '') ) { + $r .= ' <td> </td>'; + } $r .= " </tr>\n"; $r .= " </table>\n"; //$r .= "<!-- end of layout_stop -->\n"; Modified: trunk/php/permission.p3 =================================================================== --- trunk/php/permission.p3 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/permission.p3 2012-12-02 18:35:25 UTC (rev 849) @@ -73,20 +73,14 @@ foreach($tutos[modules] as $m) { if ($m[name] == $class) { loadmodule($m['perm']); - # error_log('autoloaded '.$class."\n",3,$tutos[errlog]); - # echo 'loaded module '.$m[Desc].' <br />'; return; - # } else { - # echo 'check '.$m[name].' <br />'; } } - # error_log('Look for '.$class."\n",3,$tutos[errlog]); - # error_log(TUTOS_backtrace()."\n",3,$tutos[errlog]); } spl_autoload_register('tutos_autoloader'); -# Files noted here are included everywhere +// Files noted here are included everywhere require_once 'db.p3'; require_once 'handler.pinc'; @@ -117,37 +111,37 @@ } } -# We do that ourself - @ini_set("session.use_trans_sid","off"); +// We do that ourself +@ini_set("session.use_trans_sid","off"); @ini_set("session.bug_compat_warn","off"); -# use files to save session data +// use files to save session data @ini_set('session.save_handler','files'); -# + @ini_set('mbstring.func_overload','1'); -# -# On Server Clusters (LoadBalancing) you should - # change savepath to some path all your servers share - # - session_save_path($tutos[sessionpath]); - session_name('TUTOS'); +// +// On Server Clusters (LoadBalancing) you should +// change savepath to some path all your servers share +// +session_save_path($tutos[sessionpath]); +session_name('TUTOS'); - include_once 'mail.pinc'; +include_once 'mail.pinc'; - #ini_set("output_handler",""); - #ini_set("zlib.output_compression_level","5"); - # Compress Output - ini_set('zlib.output_compression','On'); +//ini_set("output_handler",""); +//ini_set("zlib.output_compression_level","5"); +// Compress Output +ini_set('zlib.output_compression','On'); - # Cookie lifetime is double lifetime of login seesion - ini_set("session.cookie_lifetime",(2 * 60 * $tutos['timetolive'])); - ini_set("session.gc_maxlifetime",(2 * 60 * $tutos['timetolive'])); - ini_set("session.gc_probability",50); +// Cookie lifetime is double lifetime of login seesion +ini_set("session.cookie_lifetime",(2 * 60 * $tutos['timetolive'])); +ini_set("session.gc_maxlifetime",(2 * 60 * $tutos['timetolive'])); +ini_set("session.gc_probability",50); - $max_vars1 = ini_get('suhosin.post.max_vars'); - if (isset($max_vars1) && is_numeric($max_vars1) && $max_vars1 < 250) { - die('ini value suhosin.post.max_vars '. $max_vars1 ." is to low set it to >= 250 in php.ini\r\n"); - } +$max_vars1 = ini_get('suhosin.post.max_vars'); +if (isset($max_vars1) && is_numeric($max_vars1) && $max_vars1 < 250) { + die('ini value suhosin.post.max_vars '. $max_vars1 ." is to low set it to >= 250 in php.ini\r\n"); +} $max_vars2 = ini_get('suhosin.request.max_vars'); if (isset($max_vars2) && is_numeric($max_vars2) && $max_vars2 < 250) { die('ini value suhosin.request.max_vars '. $max_vars2 ." is to low set it to >= 250 in php.ini\r\n"); @@ -159,9 +153,9 @@ if (get_magic_quotes_gpc() != 0) { die ('ini value magic_quotes_gpc is :'. get_magic_quotes_gpc()." Please switch it off ini php.ini or .htaccess\r\n"); } -# -# IIS NT Hack -# +// +// IIS NT Hack +// if(!isset($_SERVER['QUERY_STRING'])) { $_SERVER['QUERY_STRING']=''; } @@ -175,17 +169,15 @@ } else { ini_set("session.cookie_path","/"); } -#ini_set("file_uploads","On"); +//ini_set("file_uploads","On"); ini_set("register_globals","Off"); ini_set("register_argc_argv","Off"); ini_set("short_open_tag","On"); ini_set("max_execution_time","120"); ini_set("memory_limit","256M"); ini_set("user_agent","TUTOS"); -# Problem with IE5 and download under https (mar...@us...) +// Problem with IE5 and download under https (mar...@us...) @session_cache_limiter('public'); -#session_cache_limiter('private, must-revalidate'); -#session_cache_limiter('private_no_expire'); if (session_id() == '') { @session_start(); } @@ -259,19 +251,22 @@ return; } -/** generate a password */ -function generatePassword() -{ +/** + * generate a password + */ +function generatePassword() { return substr(md5(uniqid()),0,8); } /** * send a lost password or generate a new one */ -Function password_lost(&$dbconn,$uname) { - global $tutos,$lang,$current_user; +Function password_lost(tutos_db $dbconn,$uname) { + global $tutos,$lang,$current_user,$table; - $query = "SELECT a.* ,p.*,p.id as u_id, p.creator as cr_a, p.creation as cr_t FROM ". $dbconn->prefix ."addresses a, ". $dbconn->prefix ."people p WHERE p.login = ". $dbconn->String(trim($uname)) ." AND p.adr_id = a.id"; + $query = 'SELECT a.* ,p.*,p.id as u_id, p.creator as cr_a, p.creation as cr_t FROM '. $dbconn->prefix .$table['address'][name].' a, '. $dbconn->prefix .$table['people'][name].' p'; + $query .= ' WHERE p.login = '. $dbconn->String(trim($uname)); + $query .= ' AND p.adr_id = a.id'; $result = $dbconn->Exec($query); $r = array(); @@ -513,7 +508,7 @@ remove_sessionfiles(); } else { $initial_auth = false; - # echo "UID:" .$userid ."<br />\n"; + // echo "UID:" .$userid ."<br />\n"; if ($dbconn == null) { $auth[0]->login_form($_SERVER['SCRIPT_NAME'],'No such database'); } @@ -568,7 +563,7 @@ $_SESSION['client'] = "?"; } - # logmessage($current_user->tz ." ". getenv("TZ")); + // logmessage($current_user->tz ." ". getenv("TZ")); $x = Date("Z"); // this happens in Default TZ $dbconn->TimeZone($current_user->tz); @@ -580,7 +575,7 @@ $current_user->offset = 0; } - # logmessage($y ." - ". $x ." ". $current_user->tz ." ". getenv("TZ")); + // logmessage($y ." - ". $x ." ". $current_user->tz ." ". getenv("TZ")); if ( session_id() == "" ) { $auth[0]->login_form($_SERVER['SCRIPT_NAME'],"No Session"); @@ -688,7 +683,7 @@ if ($age < (2* $tutos['timetolive'] * 60)) { continue; } - ## echo $filename." ".date ("F d Y H:i:s.", filemtime($filename))." ". $age/3600 ."<br>\n"; + // echo $filename." ".date ("F d Y H:i:s.", filemtime($filename))." ". $age/3600 ."<br>\n"; unlink($filename); } closedir($handle); @@ -722,7 +717,7 @@ if ($age < 60) { continue; } - #echo $filename." ". $age ."<br>"; + //echo $filename." ". $age ."<br>"; unlink($filename); } closedir($handle); @@ -741,7 +736,7 @@ if ($tutos[use_check_dbacl] != 1) return; if ($current_user->isadmin()) return; - # return; + // return; $t1 = ''; $t2 = ''; if ( count($current_user->teamlist) > 0 ) { @@ -750,9 +745,9 @@ $t2 = ' OR (t.adr_id='.$user_id.')'; } $query = 'SELECT DISTINCT i.* FROM ('.$query.') AS i' - .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' - .$t1 - . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' - .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; + .' left join '.$dbconn->prefix .'acl a on (i.'.$id_name.' = a.obj_id) ' + .$t1 + . 'WHERE (a.perm is null OR a.perm>='.$tutos[seeok].')' + .' AND ((a.adr_id is null) OR (a.adr_id='.$user_id.') OR (a.adr_id=0) OR (a.adr_id < 0)'. $t2 .' )'; } ?> \ No newline at end of file Modified: trunk/php/phpweather/pw.pinc =================================================================== --- trunk/php/phpweather/pw.pinc 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/phpweather/pw.pinc 2012-12-02 18:35:25 UTC (rev 849) @@ -1,9 +1,9 @@ <?php /** - * Copyright 1999 - 2009 by Gero Kohnert + * Copyright 1999 - 2012 by Gero Kohnert * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. * * SVN Info $Id$ @@ -26,7 +26,7 @@ /** * */ - function pw(&$dbconn) { + function pw() { global $tutos,$current_user,$lang; if ( ! class_exists('phpweather') ) { Modified: trunk/php/webelements.p3 =================================================================== --- trunk/php/webelements.p3 2012-12-02 18:27:24 UTC (rev 848) +++ trunk/php/webelements.p3 2012-12-02 18:35:25 UTC (rev 849) @@ -207,7 +207,7 @@ /** * some standard procedures after reading */ -Function ReadLangFinish(&$lang,$type) { +Function ReadLangFinish(array &$lang,$type) { return $type; } @@ -798,10 +798,11 @@ } $r = $dir.'/'; - if(isset($_SERVER['SERVER_PORT']) && (($_SERVER['SERVER_PORT'] != 443) && ($_SERVER['SERVER_PORT'] != 80)) ) { - $r = ':'.$_SERVER['SERVER_PORT'].$r; - } - $r = $_SERVER['SERVER_NAME'].$r; +# if(isset($_SERVER['SERVER_PORT']) && (($_SERVER['SERVER_PORT'] != 443) && ($_SERVER['SERVER_PORT'] != 80)) ) { + # $r = ':'.$_SERVER['SERVER_PORT'].$r; + # } + # $r = $_SERVER['SERVER_NAME'].$r; + $r = $_SERVER['HTTP_HOST'].$r; if(isset($_SERVER['SERVER_PORT']) && ($_SERVER['SERVER_PORT'] == 443) ) { $r = 'https://'.$r; } elseif(isset($_SERVER['HTTPS']) && (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] != 'off') ) { @@ -830,8 +831,8 @@ /** * format a value for use with csv files from * "http://de2.php.net/manual/en/function.fputcsv.php#87120" - * output is always converted to target_enc encoding - */ +* output is always converted to target_enc encoding +*/ function txt2csv ($val,$delimiter = '',$enclosure = '') { global $tutos; @@ -931,7 +932,7 @@ $text = preg_replace('#</([BIU])>#im' ,'</$1>',$text); // $text = preg_replace('#"#m' ,'"',$text); if ($ureplace) - $text = urlReplace($text,0); + $text = urlReplace($text,0); if ($ireplace) $text = ImgReplace($text,$obj); @@ -2833,7 +2834,7 @@ /** * leave a insert script */ -function leave_insert($dbconn,$gotourl,$msg,$info = '') { +function leave_insert(tutos_db $dbconn,$gotourl,$msg,$info = '') { global $lang; $gotourl = addMessage($gotourl,$msg,true,$info); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-12-02 18:27:32
|
Revision: 848 http://tutos.svn.sourceforge.net/tutos/?rev=848&view=rev Author: gokohnert Date: 2012-12-02 18:27:24 +0000 (Sun, 02 Dec 2012) Log Message: ----------- update jquery Modified Paths: -------------- trunk/html/js/jquery-ui.custom.min.js trunk/html/js/jquery.bt.min.js trunk/html/js/jquery.min.js trunk/html/new2_layout.css Modified: trunk/html/js/jquery-ui.custom.min.js =================================================================== (Binary files differ) Modified: trunk/html/js/jquery.bt.min.js =================================================================== --- trunk/html/js/jquery.bt.min.js 2012-11-29 09:21:29 UTC (rev 847) +++ trunk/html/js/jquery.bt.min.js 2012-12-02 18:27:24 UTC (rev 848) @@ -5,4 +5,4 @@ * @author Jeff Robbins - Lullabot - http://www.lullabot.com * @version 0.9.5-rc1 (5/20/2009) */ -jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(function(index){var opts=jQuery.extend(false,jQuery.bt.defaults,jQuery.bt.options,options);opts.spikeLength=numb(opts.spikeLength);opts.spikeGirth=numb(opts.spikeGirth);opts.overlap=numb(opts.overlap);var ajaxTimeout=false;if(opts.killTitle){$(this).find("[title]").andSelf().each(function(){if(!$(this).attr("bt-xTitle")){$(this).attr("bt-xTitle",$(this).attr("title")).attr("title","");}});}if(typeof opts.trigger=="string"){opts.trigger=[opts.trigger];}if(opts.trigger[0]=="hoverIntent"){var hoverOpts=jQuery.extend(opts.hoverIntentOpts,{over:function(){this.btOn();},out:function(){this.btOff();}});$(this).hoverIntent(hoverOpts);}else{if(opts.trigger[0]=="hover"){$(this).hover(function(){this.btOn();},function(){this.btOff();});}else{if(opts.trigger[0]=="now"){if($(this).hasClass("bt-active")){this.btOff();}else{this.btOn();}}else{if(opts.trigger[0]=="none"){}else{if(opts.trigger.length>1&&opts.trigger[0]!=opts.trigger[1]){$(this).bind(opts.trigger[0],function(){this.btOn();}).bind(opts.trigger[1],function(){this.btOff();});}else{$(this).bind(opts.trigger[0],function(){if($(this).hasClass("bt-active")){this.btOff();}else{this.btOn();}});}}}}}this.btOn=function(){if(typeof $(this).data("bt-box")=="object"){this.btOff();}opts.preBuild.apply(this);$(jQuery.bt.vars.closeWhenOpenStack).btOff();$(this).addClass("bt-active "+opts.activeClass);if(contentSelect&&opts.ajaxPath==null){if(opts.killTitle){$(this).attr("title",$(this).attr("bt-xTitle"));}content=$.isFunction(opts.contentSelector)?opts.contentSelector.apply(this):eval(opts.contentSelector);if(opts.killTitle){$(this).attr("title","");}}if(opts.ajaxPath!=null&&content==false){if(typeof opts.ajaxPath=="object"){var url=eval(opts.ajaxPath[0]);url+=opts.ajaxPath[1]?" "+opts.ajaxPath[1]:"";}else{var url=opts.ajaxPath;}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}var cacheData=opts.ajaxCache?$(document.body).data("btCache-"+url.replace(/\./g,"")):null;if(typeof cacheData=="string"){content=selector?$("<div/>").append(cacheData.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):cacheData;}else{var target=this;var ajaxOpts=jQuery.extend(false,{type:opts.ajaxType,data:opts.ajaxData,cache:opts.ajaxCache,url:url,complete:function(XMLHttpRequest,textStatus){if(textStatus=="success"||textStatus=="notmodified"){if(opts.ajaxCache){$(document.body).data("btCache-"+url.replace(/\./g,""),XMLHttpRequest.responseText);}ajaxTimeout=false;content=selector?$("<div/>").append(XMLHttpRequest.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):XMLHttpRequest.responseText;}else{if(textStatus=="timeout"){ajaxTimeout=true;}content=opts.ajaxError.replace(/%error/g,XMLHttpRequest.statusText);}if($(target).hasClass("bt-active")){target.btOn();}}},opts.ajaxOpts);jQuery.ajax(ajaxOpts);content=opts.ajaxLoading;}}var shadowMarginX=0;var shadowMarginY=0;var shadowShiftX=0;var shadowShiftY=0;if(opts.shadow&&!shadowSupport()){opts.shadow=false;jQuery.extend(opts,opts.noShadowOpts);}if(opts.shadow){if(opts.shadowBlur>Math.abs(opts.shadowOffsetX)){shadowMarginX=opts.shadowBlur*2;}else{shadowMarginX=opts.shadowBlur+Math.abs(opts.shadowOffsetX);}shadowShiftX=(opts.shadowBlur-opts.shadowOffsetX)>0?opts.shadowBlur-opts.shadowOffsetX:0;if(opts.shadowBlur>Math.abs(opts.shadowOffsetY)){shadowMarginY=opts.shadowBlur*2;}else{shadowMarginY=opts.shadowBlur+Math.abs(opts.shadowOffsetY);}shadowShiftY=(opts.shadowBlur-opts.shadowOffsetY)>0?opts.shadowBlur-opts.shadowOffsetY:0;}if(opts.offsetParent){var offsetParent=$(opts.offsetParent);var offsetParentPos=offsetParent.offset();var pos=$(this).offset();var top=numb(pos.top)-numb(offsetParentPos.top)+numb($(this).css("margin-top"))-shadowShiftY;var left=numb(pos.left)-numb(offsetParentPos.left)+numb($(this).css("margin-left"))-shadowShiftX;}else{var offsetParent=($(this).css("position")=="absolute")?$(this).parents().eq(0).offsetParent():$(this).offsetParent();var pos=$(this).btPosition();var top=numb(pos.top)+numb($(this).css("margin-top"))-shadowShiftY;var left=numb(pos.left)+numb($(this).css("margin-left"))-shadowShiftX;}var width=$(this).btOuterWidth();var height=$(this).outerHeight();if(typeof content=="object"){var original=content;var clone=$(original).clone(true).show();var origClones=$(original).data("bt-clones")||[];origClones.push(clone);$(original).data("bt-clones",origClones);$(clone).data("bt-orig",original);$(this).data("bt-content-orig",{original:original,clone:clone});content=clone;}if(typeof content=="null"||content==""){return;}var $text=$('<div class="bt-content"></div>').append(content).css({padding:opts.padding,position:"absolute",width:(opts.shrinkToFit?"auto":opts.width),zIndex:opts.textzIndex,left:shadowShiftX,top:shadowShiftY}).css(opts.cssStyles);var $box=$('<div class="bt-wrapper"></div>').append($text).addClass(opts.cssClass).css({position:"absolute",width:opts.width,zIndex:opts.wrapperzIndex,visibility:"hidden"}).appendTo(offsetParent);if(jQuery.fn.bgiframe){$text.bgiframe();$box.bgiframe();}$(this).data("bt-box",$box);var scrollTop=numb($(document).scrollTop());var scrollLeft=numb($(document).scrollLeft());var docWidth=numb($(window).width());var docHeight=numb($(window).height());var winRight=scrollLeft+docWidth;var winBottom=scrollTop+docHeight;var space=new Object();var thisOffset=$(this).offset();space.top=thisOffset.top-scrollTop;space.bottom=docHeight-((thisOffset+height)-scrollTop);space.left=thisOffset.left-scrollLeft;space.right=docWidth-((thisOffset.left+width)-scrollLeft);var textOutHeight=numb($text.outerHeight());var textOutWidth=numb($text.btOuterWidth());if(opts.positions.constructor==String){opts.positions=opts.positions.replace(/ /,"").split(",");}if(opts.positions[0]=="most"){var position="top";for(var pig in space){position=space[pig]>space[position]?pig:position;}}else{for(var x in opts.positions){var position=opts.positions[x];if((position=="left"||position=="right")&&space[position]>textOutWidth+opts.spikeLength){break;}else{if((position=="top"||position=="bottom")&&space[position]>textOutHeight+opts.spikeLength){break;}}}}var horiz=left+((width-textOutWidth)*0.5);var vert=top+((height-textOutHeight)*0.5);var points=new Array();var textTop,textLeft,textRight,textBottom,textTopSpace,textBottomSpace,textLeftSpace,textRightSpace,crossPoint,textCenter,spikePoint;switch(position){case"top":$text.css("margin-bottom",opts.spikeLength+"px");$box.css({top:(top-$text.outerHeight(true))+opts.overlap,left:horiz});textRightSpace=(winRight-opts.windowMargin)-($text.offset().left+$text.btOuterWidth(true));var xShift=shadowShiftX;if(textRightSpace<0){$box.css("left",(numb($box.css("left"))+textRightSpace)+"px");xShift-=textRightSpace;}textLeftSpace=($text.offset().left+numb($text.css("margin-left")))-(scrollLeft+opts.windowMargin);if(textLeftSpace<0){$box.css("left",(numb($box.css("left"))-textLeftSpace)+"px");xShift+=textLeftSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={y:textBottom+opts.spikeLength,x:((textRight-textLeft)*0.5)+xShift,type:"spike"};crossPoint=findIntersectX(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textBottom);crossPoint.x=crossPoint.x<textLeft+opts.spikeGirth/2+opts.cornerRadius?textLeft+opts.spikeGirth/2+opts.cornerRadius:crossPoint.x;crossPoint.x=crossPoint.x>(textRight-opts.spikeGirth/2)-opts.cornerRadius?(textRight-opts.spikeGirth/2)-opts.CornerRadius:crossPoint.x;points[points.length]={x:crossPoint.x-(opts.spikeGirth/2),y:textBottom,type:"join"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:crossPoint.x+(opts.spikeGirth/2),y:textBottom,type:"join"};points[points.length]=spikePoint;break;case"left":$text.css("margin-right",opts.spikeLength+"px");$box.css({top:vert+"px",left:((left-$text.btOuterWidth(true))+opts.overlap)+"px"});textBottomSpace=(winBottom-opts.windowMargin)-($text.offset().top+$text.outerHeight(true));var yShift=shadowShiftY;if(textBottomSpace<0){$box.css("top",(numb($box.css("top"))+textBottomSpace)+"px");yShift-=textBottomSpace;}textTopSpace=($text.offset().top+numb($text.css("margin-top")))-(scrollTop+opts.windowMargin);if(textTopSpace<0){$box.css("top",(numb($box.css("top"))-textTopSpace)+"px");yShift+=textTopSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:textRight+opts.spikeLength,y:((textBottom-textTop)*0.5)+yShift,type:"spike"};crossPoint=findIntersectY(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textRight);crossPoint.y=crossPoint.y<textTop+opts.spikeGirth/2+opts.cornerRadius?textTop+opts.spikeGirth/2+opts.cornerRadius:crossPoint.y;crossPoint.y=crossPoint.y>(textBottom-opts.spikeGirth/2)-opts.cornerRadius?(textBottom-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.y;points[points.length]={x:textRight,y:crossPoint.y+opts.spikeGirth/2,type:"join"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:crossPoint.y-opts.spikeGirth/2,type:"join"};points[points.length]=spikePoint;break;case"bottom":$text.css("margin-top",opts.spikeLength+"px");$box.css({top:(top+height)-opts.overlap,left:horiz});textRightSpace=(winRight-opts.windowMargin)-($text.offset().left+$text.btOuterWidth(true));var xShift=shadowShiftX;if(textRightSpace<0){$box.css("left",(numb($box.css("left"))+textRightSpace)+"px");xShift-=textRightSpace;}textLeftSpace=($text.offset().left+numb($text.css("margin-left")))-(scrollLeft+opts.windowMargin);if(textLeftSpace<0){$box.css("left",(numb($box.css("left"))-textLeftSpace)+"px");xShift+=textLeftSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:((textRight-textLeft)*0.5)+xShift,y:shadowShiftY,type:"spike"};crossPoint=findIntersectX(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textTop);crossPoint.x=crossPoint.x<textLeft+opts.spikeGirth/2+opts.cornerRadius?textLeft+opts.spikeGirth/2+opts.cornerRadius:crossPoint.x;crossPoint.x=crossPoint.x>(textRight-opts.spikeGirth/2)-opts.cornerRadius?(textRight-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.x;points[points.length]={x:crossPoint.x+opts.spikeGirth/2,y:textTop,type:"join"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:crossPoint.x-(opts.spikeGirth/2),y:textTop,type:"join"};points[points.length]=spikePoint;break;case"right":$text.css("margin-left",(opts.spikeLength+"px"));$box.css({top:vert+"px",left:((left+width)-opts.overlap)+"px"});textBottomSpace=(winBottom-opts.windowMargin)-($text.offset().top+$text.outerHeight(true));var yShift=shadowShiftY;if(textBottomSpace<0){$box.css("top",(numb($box.css("top"))+textBottomSpace)+"px");yShift-=textBottomSpace;}textTopSpace=($text.offset().top+numb($text.css("margin-top")))-(scrollTop+opts.windowMargin);if(textTopSpace<0){$box.css("top",(numb($box.css("top"))-textTopSpace)+"px");yShift+=textTopSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:shadowShiftX,y:((textBottom-textTop)*0.5)+yShift,type:"spike"};crossPoint=findIntersectY(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textLeft);crossPoint.y=crossPoint.y<textTop+opts.spikeGirth/2+opts.cornerRadius?textTop+opts.spikeGirth/2+opts.cornerRadius:crossPoint.y;crossPoint.y=crossPoint.y>(textBottom-opts.spikeGirth/2)-opts.cornerRadius?(textBottom-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.y;points[points.length]={x:textLeft,y:crossPoint.y-opts.spikeGirth/2,type:"join"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:crossPoint.y+opts.spikeGirth/2,type:"join"};points[points.length]=spikePoint;break;}var canvas=document.createElement("canvas");$(canvas).attr("width",(numb($text.btOuterWidth(true))+opts.strokeWidth*2+shadowMarginX)).attr("height",(numb($text.outerHeight(true))+opts.strokeWidth*2+shadowMarginY)).appendTo($box).css({position:"absolute",zIndex:opts.boxzIndex});if(typeof G_vmlCanvasManager!="undefined"){canvas=G_vmlCanvasManager.initElement(canvas);}if(opts.cornerRadius>0){var newPoints=new Array();var newPoint;for(var i=0;i<points.length;i++){if(points[i].type=="corner"){newPoint=betweenPoint(points[i],points[(i-1)%points.length],opts.cornerRadius);newPoint.type="arcStart";newPoints[newPoints.length]=newPoint;newPoints[newPoints.length]=points[i];newPoint=betweenPoint(points[i],points[(i+1)%points.length],opts.cornerRadius);newPoint.type="arcEnd";newPoints[newPoints.length]=newPoint;}else{newPoints[newPoints.length]=points[i];}}points=newPoints;}var ctx=canvas.getContext("2d");if(opts.shadow&&opts.shadowOverlap!==true){var shadowOverlap=numb(opts.shadowOverlap);switch(position){case"top":if(opts.shadowOffsetX+opts.shadowBlur-shadowOverlap>0){$box.css("top",(numb($box.css("top"))-(opts.shadowOffsetX+opts.shadowBlur-shadowOverlap)));}break;case"right":if(shadowShiftX-shadowOverlap>0){$box.css("left",(numb($box.css("left"))+shadowShiftX-shadowOverlap));}break;case"bottom":if(shadowShiftY-shadowOverlap>0){$box.css("top",(numb($box.css("top"))+shadowShiftY-shadowOverlap));}break;case"left":if(opts.shadowOffsetY+opts.shadowBlur-shadowOverlap>0){$box.css("left",(numb($box.css("left"))-(opts.shadowOffsetY+opts.shadowBlur-shadowOverlap)));}break;}}drawIt.apply(ctx,[points],opts.strokeWidth);ctx.fillStyle=opts.fill;if(opts.shadow){ctx.shadowOffsetX=opts.shadowOffsetX;ctx.shadowOffsetY=opts.shadowOffsetY;ctx.shadowBlur=opts.shadowBlur;ctx.shadowColor=opts.shadowColor;}ctx.closePath();ctx.fill();if(opts.strokeWidth>0){ctx.shadowColor="rgba(0, 0, 0, 0)";ctx.lineWidth=opts.strokeWidth;ctx.strokeStyle=opts.strokeStyle;ctx.beginPath();drawIt.apply(ctx,[points],opts.strokeWidth);ctx.closePath();ctx.stroke();}opts.preShow.apply(this,[$box[0]]);$box.css({display:"none",visibility:"visible"});opts.showTip.apply(this,[$box[0]]);if(opts.overlay){var overlay=$('<div class="bt-overlay"></div>').css({position:"absolute",backgroundColor:"blue",top:top,left:left,width:width,height:height,opacity:".2"}).appendTo(offsetParent);$(this).data("overlay",overlay);}if((opts.ajaxPath!=null&&opts.ajaxCache==false)||ajaxTimeout){content=false;}if(opts.clickAnywhereToClose){jQuery.bt.vars.clickAnywhereStack.push(this);$(document).click(jQuery.bt.docClick);}if(opts.closeWhenOthersOpen){jQuery.bt.vars.closeWhenOpenStack.push(this);}opts.postShow.apply(this,[$box[0]]);};this.btOff=function(){var box=$(this).data("bt-box");opts.preHide.apply(this,[box]);var i=this;i.btCleanup=function(){var box=$(i).data("bt-box");var contentOrig=$(i).data("bt-content-orig");var overlay=$(i).data("bt-overlay");if(typeof box=="object"){$(box).remove();$(i).removeData("bt-box");}if(typeof contentOrig=="object"){var clones=$(contentOrig.original).data("bt-clones");$(contentOrig).data("bt-clones",arrayRemove(clones,contentOrig.clone));}if(typeof overlay=="object"){$(overlay).remove();$(i).removeData("bt-overlay");}jQuery.bt.vars.clickAnywhereStack=arrayRemove(jQuery.bt.vars.clickAnywhereStack,i);jQuery.bt.vars.closeWhenOpenStack=arrayRemove(jQuery.bt.vars.closeWhenOpenStack,i);$(i).removeClass("bt-active "+opts.activeClass);opts.postHide.apply(i);};opts.hideTip.apply(this,[box,i.btCleanup]);};var refresh=this.btRefresh=function(){this.btOff();this.btOn();};});function drawIt(points,strokeWidth){this.moveTo(points[0].x,points[0].y);for(i=1;i<points.length;i++){if(points[i-1].type=="arcStart"){this.quadraticCurveTo(round5(points[i].x,strokeWidth),round5(points[i].y,strokeWidth),round5(points[(i+1)%points.length].x,strokeWidth),round5(points[(i+1)%points.length].y,strokeWidth));i++;}else{this.lineTo(round5(points[i].x,strokeWidth),round5(points[i].y,strokeWidth));}}}function round5(num,strokeWidth){var ret;strokeWidth=numb(strokeWidth);if(strokeWidth%2){ret=num;}else{ret=Math.round(num-0.5)+0.5;}return ret;}function numb(num){return parseInt(num)||0;}function arrayRemove(arr,elem){var x,newArr=new Array();for(x in arr){if(arr[x]!=elem){newArr.push(arr[x]);}}return newArr;}function canvasSupport(){var canvas_compatible=false;try{canvas_compatible=!!(document.createElement("canvas").getContext("2d"));}catch(e){canvas_compatible=!!(document.createElement("canvas").getContext);}return canvas_compatible;}function shadowSupport(){try{var userAgent=navigator.userAgent.toLowerCase();if(/webkit/.test(userAgent)){return true;}else{if(/gecko|mozilla/.test(userAgent)&&parseFloat(userAgent.match(/firefox\/(\d+(?:\.\d+)+)/)[1])>=3.1){return true;}}}catch(err){}return false;}function betweenPoint(point1,point2,dist){var y,x;if(point1.x==point2.x){y=point1.y<point2.y?point1.y+dist:point1.y-dist;return{x:point1.x,y:y};}else{if(point1.y==point2.y){x=point1.x<point2.x?point1.x+dist:point1.x-dist;return{x:x,y:point1.y};}}}function centerPoint(arcStart,corner,arcEnd){var x=corner.x==arcStart.x?arcEnd.x:arcStart.x;var y=corner.y==arcStart.y?arcEnd.y:arcStart.y;var startAngle,endAngle;if(arcStart.x<arcEnd.x){if(arcStart.y>arcEnd.y){startAngle=(Math.PI/180)*180;endAngle=(Math.PI/180)*90;}else{startAngle=(Math.PI/180)*90;endAngle=0;}}else{if(arcStart.y>arcEnd.y){startAngle=(Math.PI/180)*270;endAngle=(Math.PI/180)*180;}else{startAngle=0;endAngle=(Math.PI/180)*270;}}return{x:x,y:y,type:"center",startAngle:startAngle,endAngle:endAngle};}function findIntersect(r1x1,r1y1,r1x2,r1y2,r2x1,r2y1,r2x2,r2y2){if(r2x1==r2x2){return findIntersectY(r1x1,r1y1,r1x2,r1y2,r2x1);}if(r2y1==r2y2){return findIntersectX(r1x1,r1y1,r1x2,r1y2,r2y1);}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var r2m=(r2y1-r2y2)/(r2x1-r2x2);var r2b=r2y1-(r2m*r2x1);var x=(r2b-r1b)/(r1m-r2m);var y=r1m*x+r1b;return{x:x,y:y};}function findIntersectY(r1x1,r1y1,r1x2,r1y2,x){if(r1y1==r1y2){return{x:x,y:r1y1};}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var y=r1m*x+r1b;return{x:x,y:y};}function findIntersectX(r1x1,r1y1,r1x2,r1y2,y){if(r1x1==r1x2){return{x:r1x1,y:y};}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var x=(y-r1b)/r1m;return{x:x,y:y};}};jQuery.fn.btPosition=function(){function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,"marginTop");offset.left-=num(this,"marginLeft");parentOffset.top+=num(offsetParent,"borderTopWidth");parentOffset.left+=num(offsetParent,"borderLeftWidth");results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;};jQuery.fn.btOuterWidth=function(margin){function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}return this["innerWidth"]()+num(this,"borderLeftWidth")+num(this,"borderRightWidth")+(margin?num(this,"marginLeft")+num(this,"marginRight"):0);};jQuery.fn.btOn=function(){return this.each(function(index){if(jQuery.isFunction(this.btOn)){this.btOn();}});};jQuery.fn.btOff=function(){return this.each(function(index){if(jQuery.isFunction(this.btOff)){this.btOff();}});};jQuery.bt.vars={clickAnywhereStack:[],closeWhenOpenStack:[]};jQuery.bt.docClick=function(e){if(!e){var e=window.event;}if(!$(e.target).parents().andSelf().filter(".bt-wrapper, .bt-active").length&&jQuery.bt.vars.clickAnywhereStack.length){$(jQuery.bt.vars.clickAnywhereStack).btOff();$(document).unbind("click",jQuery.bt.docClick);}};jQuery.bt.defaults={trigger:"hover",clickAnywhereToClose:true,closeWhenOthersOpen:false,shrinkToFit:false,width:"200px",padding:"10px",spikeGirth:10,spikeLength:15,overlap:0,overlay:false,killTitle:true,textzIndex:9999,boxzIndex:9998,wrapperzIndex:9997,offsetParent:null,positions:["most"],fill:"rgb(255, 255, 102)",windowMargin:10,strokeWidth:1,strokeStyle:"#000",cornerRadius:5,centerPointX:0.5,centerPointY:0.5,shadow:false,shadowOffsetX:2,shadowOffsetY:2,shadowBlur:3,shadowColor:"#000",shadowOverlap:false,noShadowOpts:{strokeStyle:"#999"},cssClass:"",cssStyles:{},activeClass:"bt-active",contentSelector:"$(this).attr('title')",ajaxPath:null,ajaxError:"<strong>ERROR:</strong> <em>%error</em>",ajaxLoading:"<blink>Loading...</blink>",ajaxData:{},ajaxType:"GET",ajaxCache:true,ajaxOpts:{},preBuild:function(){},preShow:function(box){},showTip:function(box){$(box).show();},postShow:function(box){},preHide:function(box){},hideTip:function(box,callback){$(box).hide();callback();},postHide:function(){},hoverIntentOpts:{interval:300,timeout:500}};jQuery.bt.options={};})(jQuery); \ No newline at end of file +jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(function(index){var opts=jQuery.extend(false,jQuery.bt.defaults,jQuery.bt.options,options);opts.spikeLength=numb(opts.spikeLength);opts.spikeGirth=numb(opts.spikeGirth);opts.overlap=numb(opts.overlap);var ajaxTimeout=false;if(opts.killTitle){$(this).find("[title]").andSelf().each(function(){if(!$(this).attr("bt-xTitle")){$(this).attr("bt-xTitle",$(this).attr("title")).attr("title","");}});}if(typeof opts.trigger=="string"){opts.trigger=[opts.trigger];}if(opts.trigger[0]=="hoverIntent"){var hoverOpts=jQuery.extend(opts.hoverIntentOpts,{over:function(){this.btOn();},out:function(){this.btOff();}});$(this).hoverIntent(hoverOpts);}else{if(opts.trigger[0]=="hover"){$(this).hover(function(){this.btOn();},function(){this.btOff();});}else{if(opts.trigger[0]=="now"){if($(this).hasClass("bt-active")){this.btOff();}else{this.btOn();}}else{if(opts.trigger[0]=="none"){}else{if(opts.trigger.length>1&&opts.trigger[0]!=opts.trigger[1]){$(this).bind(opts.trigger[0],function(){this.btOn();}).bind(opts.trigger[1],function(){this.btOff();});}else{$(this).bind(opts.trigger[0],function(){if($(this).hasClass("bt-active")){this.btOff();}else{this.btOn();}});}}}}}this.btOn=function(){if(typeof $(this).data("bt-box")=="object"){this.btOff();}opts.preBuild.apply(this);$(jQuery.bt.vars.closeWhenOpenStack).btOff();$(this).addClass("bt-active "+opts.activeClass);if(contentSelect&&opts.ajaxPath==null){if(opts.killTitle){$(this).attr("title",$(this).attr("bt-xTitle"));}content=$.isFunction(opts.contentSelector)?opts.contentSelector.apply(this):eval(opts.contentSelector);if(opts.killTitle){$(this).attr("title","");}}if(opts.ajaxPath!=null&&content==false){if(typeof opts.ajaxPath=="object"){var url=eval(opts.ajaxPath[0]);url+=opts.ajaxPath[1]?" "+opts.ajaxPath[1]:"";}else{var url=opts.ajaxPath;}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}var cacheData=opts.ajaxCache?$(document.body).data("btCache-"+url.replace(/\./g,"")):null;if(typeof cacheData=="string"){content=selector?$("<div/>").append(cacheData.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):cacheData;}else{var target=this;var ajaxOpts=jQuery.extend(false,{type:opts.ajaxType,data:opts.ajaxData,cache:opts.ajaxCache,url:url,complete:function(XMLHttpRequest,textStatus){if(textStatus=="success"||textStatus=="notmodified"){if(opts.ajaxCache){$(document.body).data("btCache-"+url.replace(/\./g,""),XMLHttpRequest.responseText);}ajaxTimeout=false;content=selector?$("<div/>").append(XMLHttpRequest.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):XMLHttpRequest.responseText;}else{if(textStatus=="timeout"){ajaxTimeout=true;}content=opts.ajaxError.replace(/%error/g,XMLHttpRequest.statusText);}if($(target).hasClass("bt-active")){target.btOn();}}},opts.ajaxOpts);jQuery.ajax(ajaxOpts);content=opts.ajaxLoading;}}var shadowMarginX=0;var shadowMarginY=0;var shadowShiftX=0;var shadowShiftY=0;if(opts.shadow&&!shadowSupport()){opts.shadow=false;jQuery.extend(opts,opts.noShadowOpts);}if(opts.shadow){if(opts.shadowBlur>Math.abs(opts.shadowOffsetX)){shadowMarginX=opts.shadowBlur*2;}else{shadowMarginX=opts.shadowBlur+Math.abs(opts.shadowOffsetX);}shadowShiftX=(opts.shadowBlur-opts.shadowOffsetX)>0?opts.shadowBlur-opts.shadowOffsetX:0;if(opts.shadowBlur>Math.abs(opts.shadowOffsetY)){shadowMarginY=opts.shadowBlur*2;}else{shadowMarginY=opts.shadowBlur+Math.abs(opts.shadowOffsetY);}shadowShiftY=(opts.shadowBlur-opts.shadowOffsetY)>0?opts.shadowBlur-opts.shadowOffsetY:0;}if(opts.offsetParent){var offsetParent=$(opts.offsetParent);var offsetParentPos=offsetParent.offset();var pos=$(this).offset();var top=numb(pos.top)-numb(offsetParentPos.top)+numb($(this).css("margin-top"))-shadowShiftY;var left=numb(pos.left)-numb(offsetParentPos.left)+numb($(this).css("margin-left"))-shadowShiftX;}else{var offsetParent=($(this).css("position")=="absolute")?$(this).parents().eq(0).offsetParent():$(this).offsetParent();var pos=$(this).btPosition();var top=numb(pos.top)+numb($(this).css("margin-top"))-shadowShiftY;var left=numb(pos.left)+numb($(this).css("margin-left"))-shadowShiftX;}var width=$(this).btOuterWidth();var height=$(this).outerHeight();if(typeof content=="object"){var original=content;var clone=$(original).clone(true).show();var origClones=$(original).data("bt-clones")||[];origClones.push(clone);$(original).data("bt-clones",origClones);$(clone).data("bt-orig",original);$(this).data("bt-content-orig",{original:original,clone:clone});content=clone;}if(typeof content=="null"||content==""){return;}var $text=$('<div class="bt-content"></div>').append(content).css({padding:opts.padding,position:"absolute",width:(opts.shrinkToFit?"auto":opts.width),zIndex:opts.textzIndex,left:shadowShiftX,top:shadowShiftY}).css(opts.cssStyles);var $box=$('<div class="bt-wrapper"></div>').append($text).addClass(opts.cssClass).css({position:"absolute",width:opts.width,zIndex:opts.wrapperzIndex,visibility:"hidden"}).appendTo(offsetParent);if(jQuery.fn.bgiframe){$text.bgiframe();$box.bgiframe();}$(this).data("bt-box",$box);var scrollTop=numb($(document).scrollTop());var scrollLeft=numb($(document).scrollLeft());var docWidth=numb($(window).width());var docHeight=numb($(window).height());var winRight=scrollLeft+docWidth;var winBottom=scrollTop+docHeight;var space=new Object();var thisOffset=$(this).offset();space.top=thisOffset.top-scrollTop;space.bottom=docHeight-((thisOffset+height)-scrollTop);space.left=thisOffset.left-scrollLeft;space.right=docWidth-((thisOffset.left+width)-scrollLeft);var textOutHeight=numb($text.outerHeight());var textOutWidth=numb($text.btOuterWidth());if(opts.positions.constructor==String){opts.positions=opts.positions.replace(/ /,"").split(",");}if(opts.positions[0]=="most"){var position="top";for(var pig in space){position=space[pig]>space[position]?pig:position;}}else{for(var x in opts.positions){var position=opts.positions[x];if((position=="left"||position=="right")&&space[position]>textOutWidth+opts.spikeLength){break;}else{if((position=="top"||position=="bottom")&&space[position]>textOutHeight+opts.spikeLength){break;}}}}var horiz=left+((width-textOutWidth)*0.5);var vert=top+((height-textOutHeight)*0.5);var points=new Array();var textTop,textLeft,textRight,textBottom,textTopSpace,textBottomSpace,textLeftSpace,textRightSpace,crossPoint,textCenter,spikePoint;switch(position){case"top":$text.css("margin-bottom",opts.spikeLength+"px");$box.css({top:(top-$text.outerHeight(true))+opts.overlap,left:horiz});textRightSpace=(winRight-opts.windowMargin)-($text.offset().left+$text.btOuterWidth(true));var xShift=shadowShiftX;if(textRightSpace<0){$box.css("left",(numb($box.css("left"))+textRightSpace)+"px");xShift-=textRightSpace;}textLeftSpace=($text.offset().left+numb($text.css("margin-left")))-(scrollLeft+opts.windowMargin);if(textLeftSpace<0){$box.css("left",(numb($box.css("left"))-textLeftSpace)+"px");xShift+=textLeftSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={y:textBottom+opts.spikeLength,x:((textRight-textLeft)*0.5)+xShift,type:"spike"};crossPoint=findIntersectX(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textBottom);crossPoint.x=crossPoint.x<textLeft+opts.spikeGirth/2+opts.cornerRadius?textLeft+opts.spikeGirth/2+opts.cornerRadius:crossPoint.x;crossPoint.x=crossPoint.x>(textRight-opts.spikeGirth/2)-opts.cornerRadius?(textRight-opts.spikeGirth/2)-opts.CornerRadius:crossPoint.x;points[points.length]={x:crossPoint.x-(opts.spikeGirth/2),y:textBottom,type:"join"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:crossPoint.x+(opts.spikeGirth/2),y:textBottom,type:"join"};points[points.length]=spikePoint;break;case"left":$text.css("margin-right",opts.spikeLength+"px");$box.css({top:vert+"px",left:((left-$text.btOuterWidth(true))+opts.overlap)+"px"});textBottomSpace=(winBottom-opts.windowMargin)-($text.offset().top+$text.outerHeight(true));var yShift=shadowShiftY;if(textBottomSpace<0){$box.css("top",(numb($box.css("top"))+textBottomSpace)+"px");yShift-=textBottomSpace;}textTopSpace=($text.offset().top+numb($text.css("margin-top")))-(scrollTop+opts.windowMargin);if(textTopSpace<0){$box.css("top",(numb($box.css("top"))-textTopSpace)+"px");yShift+=textTopSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:textRight+opts.spikeLength,y:((textBottom-textTop)*0.5)+yShift,type:"spike"};crossPoint=findIntersectY(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textRight);crossPoint.y=crossPoint.y<textTop+opts.spikeGirth/2+opts.cornerRadius?textTop+opts.spikeGirth/2+opts.cornerRadius:crossPoint.y;crossPoint.y=crossPoint.y>(textBottom-opts.spikeGirth/2)-opts.cornerRadius?(textBottom-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.y;points[points.length]={x:textRight,y:crossPoint.y+opts.spikeGirth/2,type:"join"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:crossPoint.y-opts.spikeGirth/2,type:"join"};points[points.length]=spikePoint;break;case"bottom":$text.css("margin-top",opts.spikeLength+"px");$box.css({top:(top+height)-opts.overlap,left:horiz});textRightSpace=(winRight-opts.windowMargin)-($text.offset().left+$text.btOuterWidth(true));var xShift=shadowShiftX;if(textRightSpace<0){$box.css("left",(numb($box.css("left"))+textRightSpace)+"px");xShift-=textRightSpace;}textLeftSpace=($text.offset().left+numb($text.css("margin-left")))-(scrollLeft+opts.windowMargin);if(textLeftSpace<0){$box.css("left",(numb($box.css("left"))-textLeftSpace)+"px");xShift+=textLeftSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:((textRight-textLeft)*0.5)+xShift,y:shadowShiftY,type:"spike"};crossPoint=findIntersectX(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textTop);crossPoint.x=crossPoint.x<textLeft+opts.spikeGirth/2+opts.cornerRadius?textLeft+opts.spikeGirth/2+opts.cornerRadius:crossPoint.x;crossPoint.x=crossPoint.x>(textRight-opts.spikeGirth/2)-opts.cornerRadius?(textRight-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.x;points[points.length]={x:crossPoint.x+opts.spikeGirth/2,y:textTop,type:"join"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:crossPoint.x-(opts.spikeGirth/2),y:textTop,type:"join"};points[points.length]=spikePoint;break;case"right":$text.css("margin-left",(opts.spikeLength+"px"));$box.css({top:vert+"px",left:((left+width)-opts.overlap)+"px"});textBottomSpace=(winBottom-opts.windowMargin)-($text.offset().top+$text.outerHeight(true));var yShift=shadowShiftY;if(textBottomSpace<0){$box.css("top",(numb($box.css("top"))+textBottomSpace)+"px");yShift-=textBottomSpace;}textTopSpace=($text.offset().top+numb($text.css("margin-top")))-(scrollTop+opts.windowMargin);if(textTopSpace<0){$box.css("top",(numb($box.css("top"))-textTopSpace)+"px");yShift+=textTopSpace;}textTop=$text.btPosition().top+numb($text.css("margin-top"));textLeft=$text.btPosition().left+numb($text.css("margin-left"));textRight=textLeft+$text.btOuterWidth();textBottom=textTop+$text.outerHeight();textCenter={x:textLeft+($text.btOuterWidth()*opts.centerPointX),y:textTop+($text.outerHeight()*opts.centerPointY)};points[points.length]=spikePoint={x:shadowShiftX,y:((textBottom-textTop)*0.5)+yShift,type:"spike"};crossPoint=findIntersectY(spikePoint.x,spikePoint.y,textCenter.x,textCenter.y,textLeft);crossPoint.y=crossPoint.y<textTop+opts.spikeGirth/2+opts.cornerRadius?textTop+opts.spikeGirth/2+opts.cornerRadius:crossPoint.y;crossPoint.y=crossPoint.y>(textBottom-opts.spikeGirth/2)-opts.cornerRadius?(textBottom-opts.spikeGirth/2)-opts.cornerRadius:crossPoint.y;points[points.length]={x:textLeft,y:crossPoint.y-opts.spikeGirth/2,type:"join"};points[points.length]={x:textLeft,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textTop,type:"corner"};points[points.length]={x:textRight,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:textBottom,type:"corner"};points[points.length]={x:textLeft,y:crossPoint.y+opts.spikeGirth/2,type:"join"};points[points.length]=spikePoint;break;}var canvas=document.createElement("canvas");$(canvas).attr("width",(numb($text.btOuterWidth(true))+opts.strokeWidth*2+shadowMarginX)).attr("height",(numb($text.outerHeight(true))+opts.strokeWidth*2+shadowMarginY)).appendTo($box).css({position:"absolute",zIndex:opts.boxzIndex});if(typeof G_vmlCanvasManager!="undefined"){canvas=G_vmlCanvasManager.initElement(canvas);}if(opts.cornerRadius>0){var newPoints=new Array();var newPoint;for(var i=0;i<points.length;i++){if(points[i].type=="corner"){newPoint=betweenPoint(points[i],points[(i-1)%points.length],opts.cornerRadius);newPoint.type="arcStart";newPoints[newPoints.length]=newPoint;newPoints[newPoints.length]=points[i];newPoint=betweenPoint(points[i],points[(i+1)%points.length],opts.cornerRadius);newPoint.type="arcEnd";newPoints[newPoints.length]=newPoint;}else{newPoints[newPoints.length]=points[i];}}points=newPoints;}var ctx=canvas.getContext("2d");if(opts.shadow&&opts.shadowOverlap!==true){var shadowOverlap=numb(opts.shadowOverlap);switch(position){case"top":if(opts.shadowOffsetX+opts.shadowBlur-shadowOverlap>0){$box.css("top",(numb($box.css("top"))-(opts.shadowOffsetX+opts.shadowBlur-shadowOverlap)));}break;case"right":if(shadowShiftX-shadowOverlap>0){$box.css("left",(numb($box.css("left"))+shadowShiftX-shadowOverlap));}break;case"bottom":if(shadowShiftY-shadowOverlap>0){$box.css("top",(numb($box.css("top"))+shadowShiftY-shadowOverlap));}break;case"left":if(opts.shadowOffsetY+opts.shadowBlur-shadowOverlap>0){$box.css("left",(numb($box.css("left"))-(opts.shadowOffsetY+opts.shadowBlur-shadowOverlap)));}break;}}drawIt.apply(ctx,[points],opts.strokeWidth);ctx.fillStyle=opts.fill;if(opts.shadow){ctx.shadowOffsetX=opts.shadowOffsetX;ctx.shadowOffsetY=opts.shadowOffsetY;ctx.shadowBlur=opts.shadowBlur;ctx.shadowColor=opts.shadowColor;}ctx.closePath();ctx.fill();if(opts.strokeWidth>0){ctx.shadowColor="rgba(0, 0, 0, 0)";ctx.lineWidth=opts.strokeWidth;ctx.strokeStyle=opts.strokeStyle;ctx.beginPath();drawIt.apply(ctx,[points],opts.strokeWidth);ctx.closePath();ctx.stroke();}opts.preShow.apply(this,[$box[0]]);$box.css({display:"none",visibility:"visible"});opts.showTip.apply(this,[$box[0]]);if(opts.overlay){var overlay=$('<div class="bt-overlay"></div>').css({position:"absolute",backgroundColor:"blue",top:top,left:left,width:width,height:height,opacity:".2"}).appendTo(offsetParent);$(this).data("overlay",overlay);}if((opts.ajaxPath!=null&&opts.ajaxCache==false)||ajaxTimeout){content=false;}if(opts.clickAnywhereToClose){jQuery.bt.vars.clickAnywhereStack.push(this);$(document).click(jQuery.bt.docClick);}if(opts.closeWhenOthersOpen){jQuery.bt.vars.closeWhenOpenStack.push(this);}opts.postShow.apply(this,[$box[0]]);};this.btOff=function(){var box=$(this).data("bt-box");opts.preHide.apply(this,[box]);var i=this;i.btCleanup=function(){var box=$(i).data("bt-box");var contentOrig=$(i).data("bt-content-orig");var overlay=$(i).data("bt-overlay");if(typeof box=="object"){$(box).remove();$(i).removeData("bt-box");}if(typeof contentOrig=="object"){var clones=$(contentOrig.original).data("bt-clones");$(contentOrig).data("bt-clones",arrayRemove(clones,contentOrig.clone));}if(typeof overlay=="object"){$(overlay).remove();$(i).removeData("bt-overlay");}jQuery.bt.vars.clickAnywhereStack=arrayRemove(jQuery.bt.vars.clickAnywhereStack,i);jQuery.bt.vars.closeWhenOpenStack=arrayRemove(jQuery.bt.vars.closeWhenOpenStack,i);$(i).removeClass("bt-active "+opts.activeClass);opts.postHide.apply(i);};opts.hideTip.apply(this,[box,i.btCleanup]);};var refresh=this.btRefresh=function(){this.btOff();this.btOn();};});function drawIt(points,strokeWidth){this.moveTo(points[0].x,points[0].y);for(i=1;i<points.length;i++){if(points[i-1].type=="arcStart"){this.quadraticCurveTo(round5(points[i].x,strokeWidth),round5(points[i].y,strokeWidth),round5(points[(i+1)%points.length].x,strokeWidth),round5(points[(i+1)%points.length].y,strokeWidth));i++;}else{this.lineTo(round5(points[i].x,strokeWidth),round5(points[i].y,strokeWidth));}}}function round5(num,strokeWidth){var ret;strokeWidth=numb(strokeWidth);if(strokeWidth%2){ret=num;}else{ret=Math.round(num-0.5)+0.5;}return ret;}function numb(num){return parseInt(num)||0;}function arrayRemove(arr,elem){var x,newArr=new Array();for(x in arr){if(arr[x]!=elem){newArr.push(arr[x]);}}return newArr;}function canvasSupport(){var canvas_compatible=false;try{canvas_compatible=!!(document.createElement("canvas").getContext("2d"));}catch(e){canvas_compatible=!!(document.createElement("canvas").getContext);}return canvas_compatible;}function shadowSupport(){try{var userAgent=navigator.userAgent.toLowerCase();if(/webkit/.test(userAgent)){return true;}else{if(/gecko|mozilla/.test(userAgent)&&parseFloat(userAgent.match(/firefox\/(\d+(?:\.\d+)+)/)[1])>=3.1){return true;}}}catch(err){}return false;}function betweenPoint(point1,point2,dist){var y,x;if(point1.x==point2.x){y=point1.y<point2.y?point1.y+dist:point1.y-dist;return{x:point1.x,y:y};}else{if(point1.y==point2.y){x=point1.x<point2.x?point1.x+dist:point1.x-dist;return{x:x,y:point1.y};}}}function centerPoint(arcStart,corner,arcEnd){var x=corner.x==arcStart.x?arcEnd.x:arcStart.x;var y=corner.y==arcStart.y?arcEnd.y:arcStart.y;var startAngle,endAngle;if(arcStart.x<arcEnd.x){if(arcStart.y>arcEnd.y){startAngle=(Math.PI/180)*180;endAngle=(Math.PI/180)*90;}else{startAngle=(Math.PI/180)*90;endAngle=0;}}else{if(arcStart.y>arcEnd.y){startAngle=(Math.PI/180)*270;endAngle=(Math.PI/180)*180;}else{startAngle=0;endAngle=(Math.PI/180)*270;}}return{x:x,y:y,type:"center",startAngle:startAngle,endAngle:endAngle};}function findIntersect(r1x1,r1y1,r1x2,r1y2,r2x1,r2y1,r2x2,r2y2){if(r2x1==r2x2){return findIntersectY(r1x1,r1y1,r1x2,r1y2,r2x1);}if(r2y1==r2y2){return findIntersectX(r1x1,r1y1,r1x2,r1y2,r2y1);}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var r2m=(r2y1-r2y2)/(r2x1-r2x2);var r2b=r2y1-(r2m*r2x1);var x=(r2b-r1b)/(r1m-r2m);var y=r1m*x+r1b;return{x:x,y:y};}function findIntersectY(r1x1,r1y1,r1x2,r1y2,x){if(r1y1==r1y2){return{x:x,y:r1y1};}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var y=r1m*x+r1b;return{x:x,y:y};}function findIntersectX(r1x1,r1y1,r1x2,r1y2,y){if(r1x1==r1x2){return{x:r1x1,y:y};}var r1m=(r1y1-r1y2)/(r1x1-r1x2);var r1b=r1y1-(r1m*r1x1);var x=(y-r1b)/r1m;return{x:x,y:y};}};jQuery.fn.btPosition=function(){function num(elem,prop){return elem[0]&&parseInt(jQuery.css(elem[0],prop,true),10)||0;}var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,"marginTop");offset.left-=num(this,"marginLeft");parentOffset.top+=num(offsetParent,"borderTopWidth");parentOffset.left+=num(offsetParent,"borderLeftWidth");results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;};jQuery.fn.btOuterWidth=function(margin){function num(elem,prop){return elem[0]&&parseInt(jQuery.css(elem[0],prop,true),10)||0;}return this["innerWidth"]()+num(this,"borderLeftWidth")+num(this,"borderRightWidth")+(margin?num(this,"marginLeft")+num(this,"marginRight"):0);};jQuery.fn.btOn=function(){return this.each(function(index){if(jQuery.isFunction(this.btOn)){this.btOn();}});};jQuery.fn.btOff=function(){return this.each(function(index){if(jQuery.isFunction(this.btOff)){this.btOff();}});};jQuery.bt.vars={clickAnywhereStack:[],closeWhenOpenStack:[]};jQuery.bt.docClick=function(e){if(!e){var e=window.event;}if(!$(e.target).parents().andSelf().filter(".bt-wrapper, .bt-active").length&&jQuery.bt.vars.clickAnywhereStack.length){$(jQuery.bt.vars.clickAnywhereStack).btOff();$(document).unbind("click",jQuery.bt.docClick);}};jQuery.bt.defaults={trigger:"hover",clickAnywhereToClose:true,closeWhenOthersOpen:false,shrinkToFit:false,width:"200px",padding:"10px",spikeGirth:10,spikeLength:15,overlap:0,overlay:false,killTitle:true,textzIndex:9999,boxzIndex:9998,wrapperzIndex:9997,offsetParent:null,positions:["most"],fill:"rgb(255, 255, 102)",windowMargin:10,strokeWidth:1,strokeStyle:"#000",cornerRadius:5,centerPointX:0.5,centerPointY:0.5,shadow:false,shadowOffsetX:2,shadowOffsetY:2,shadowBlur:3,shadowColor:"#000",shadowOverlap:false,noShadowOpts:{strokeStyle:"#999"},cssClass:"",cssStyles:{},activeClass:"bt-active",contentSelector:"$(this).attr('title')",ajaxPath:null,ajaxError:"<strong>ERROR:</strong> <em>%error</em>",ajaxLoading:"<blink>Loading...</blink>",ajaxData:{},ajaxType:"GET",ajaxCache:true,ajaxOpts:{},preBuild:function(){},preShow:function(box){},showTip:function(box){$(box).show();},postShow:function(box){},preHide:function(box){},hideTip:function(box,callback){$(box).hide();callback();},postHide:function(){},hoverIntentOpts:{interval:300,timeout:500}};jQuery.bt.options={};})(jQuery); Modified: trunk/html/js/jquery.min.js =================================================================== (Binary files differ) Modified: trunk/html/new2_layout.css =================================================================== --- trunk/html/new2_layout.css 2012-11-29 09:21:29 UTC (rev 847) +++ trunk/html/new2_layout.css 2012-12-02 18:27:24 UTC (rev 848) @@ -81,16 +81,7 @@ border-collapse: collapse; } -#nl_navigate { - width: 145px; - height: 600px; - border: 0px solid; - padding: 3px; - vertical-align: top; - border: 0px solid red; -} - -#maintable { +#maintable,#headtable { width: 100%; height: 100%; border: 0px solid; @@ -98,13 +89,20 @@ margin: 0px; } +#nl_navigate { + min-height: 600px; + padding: 3px; + vertical-align: top; +// border: 1px solid red; +} + #nl_menu { border: 0px solid; - width: 10%; padding-left: 2px; padding-right: 2px; padding-top: 0px; padding-bottom: 20px; +//background: #ADD; } TR.nl_menu_row { @@ -136,6 +134,7 @@ white-space: nowrap; vertical-align: top; text-align: left; +//border: 1px solid blue; } SPAN.required { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-29 09:21:40
|
Revision: 847 http://tutos.svn.sourceforge.net/tutos/?rev=847&view=rev Author: gokohnert Date: 2012-11-29 09:21:29 +0000 (Thu, 29 Nov 2012) Log Message: ----------- fixes for mobile layout Modified Paths: -------------- trunk/php/handler.pinc trunk/php/ldap/ldap_show.php trunk/php/timetrack/timetrack_select.php trunk/php/webelements.p3 Modified: trunk/php/handler.pinc =================================================================== --- trunk/php/handler.pinc 2012-11-29 09:06:49 UTC (rev 846) +++ trunk/php/handler.pinc 2012-11-29 09:21:29 UTC (rev 847) @@ -13,8 +13,7 @@ /** * run handler for given input and type */ -Function handle($type,&$obj,$arg) -{ +Function handle($type,&$obj,$arg) { global $tutos; $r = ''; @@ -27,7 +26,7 @@ if (file_exists($tutos['base'] .'/php/'. $f)) { include_once $tutos['base'] .'/php/'. $f; if (class_exists($i)) { - $x = new $i($obj->dbconn); + $x = new $i(); if ( ! is_subclass_of($x,'tutos_handler') ) { Fatal_Error('Wrong handler class: '. $i); } Modified: trunk/php/ldap/ldap_show.php =================================================================== --- trunk/php/ldap/ldap_show.php 2012-11-29 09:06:49 UTC (rev 846) +++ trunk/php/ldap/ldap_show.php 2012-11-29 09:21:29 UTC (rev 847) @@ -87,22 +87,35 @@ for ($k = 0;$k < $d['count'];$k++) { if ( preg_match("#certificate#i",$y) ) { // TODO make some cool OPSENSSL Stuff here - $r .= '<pre>skipped ('. strlen($d[$k]) .' Bytes)</pre><br />'."\n"; + //$r .= '<pre>skipped ('. strlen($d[$k]) .' Bytes)</pre><br />'."\n"; //$r .= "<pre>". $d[$k] ."</pre><br />"; $x2 = openssl_x509_read(der2pem($d[$k])); $x3 = openssl_x509_parse($x2); + $r .= '<ul>'."\n"; foreach ($x3 as $xi => $x4) { - $r .= $xi .' = '; + $r .= ' <li>'.$xi .' = '; if (is_array($x4)) { + $r .= ' <ul>'; foreach ($x4 as $xii => $x5) { - $r .= "<br /> ".$x5; + $r .= ' <li>'.$xii .' = '; + if (is_array($x5)) { + $r .= ' <ul>'; + foreach ($x5 as $xiii => $x6) { + $r .= ' <li>'.$x6.'</li>'."\n"; + } + $r .= ' </ul>'; + } else + $r .= $x5; + $r .= "</li>\n"; } + $r .= ' </ul>'."\n"; } else $r .= $x4 ; - $r .= "<br />\n"; + $r .= " </li>\n"; } - while ($xxx = openssl_error_string()) - $r .= $xxx . " 4<br />\n"; + $r .= ' </ul>'; + // while ($xxx = openssl_error_string()) + // $r .= $xxx . " 4<br />\n"; } else if ( $y == "jpegPhoto" ) { $r .= '<br /><pre>skipped ('. strlen($d[$k]) .' Bytes)</pre><br />'."\n"; } else if (preg_match("#facsimile#i",$y)){ Modified: trunk/php/timetrack/timetrack_select.php =================================================================== --- trunk/php/timetrack/timetrack_select.php 2012-11-29 09:06:49 UTC (rev 846) +++ trunk/php/timetrack/timetrack_select.php 2012-11-29 09:21:29 UTC (rev 847) @@ -84,7 +84,7 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['TimetrackRef'],0,'ref'); - $r .= $this->showdata(select_from_array_or_input($this->obj,"ref",null,1,array(useprojects,usebugtracking,usetaskmanagement)),2); + $r .= $this->showdata(select_from_array_or_input($this,"ref",null,1,array(useprojects,usebugtracking,usetaskmanagement)),2); $r .= $this->ContentRowEnd(); // add custom selectors Modified: trunk/php/webelements.p3 =================================================================== --- trunk/php/webelements.p3 2012-11-29 09:06:49 UTC (rev 846) +++ trunk/php/webelements.p3 2012-11-29 09:21:29 UTC (rev 847) @@ -57,6 +57,7 @@ $ly = $current_user->ly; } else $ly = 'classic_layout'; + // use mobile layout if OK here if (isset($tutos['mobileok']) && $tutos['mobileok'] == 1 && $tutos['mobilely'] == 1) { // check Browser ID @@ -73,8 +74,16 @@ $ly = 'mobile_layout'; } } + } + // Fallback if not ready for mobile + if ( preg_match('#^mobile#',$ly) && (!isset($tutos['mobileok']) || $tutos['mobileok'] != 1) ) { + if ( isset($current_user->ly) && !empty($current_user->ly) ) { + $ly = $current_user->ly; + } else + $ly = 'classic_layout'; } + if ( file_exists(getcwd()."/".$tutos['base'].'/php/layout/'. $ly .'.pinc') ) { require_once 'layout/'. $ly .'.pinc'; } else if ( file_exists(getcwd()."/".$tutos['base'].'/php/layout/'. $ly .'_layout.pinc') ) { @@ -821,8 +830,8 @@ /** * format a value for use with csv files from * "http://de2.php.net/manual/en/function.fputcsv.php#87120" -* output is always converted to target_enc encoding -*/ + * output is always converted to target_enc encoding + */ function txt2csv ($val,$delimiter = '',$enclosure = '') { global $tutos; @@ -922,7 +931,7 @@ $text = preg_replace('#</([BIU])>#im' ,'</$1>',$text); // $text = preg_replace('#"#m' ,'"',$text); if ($ureplace) - $text = urlReplace($text,0); + $text = urlReplace($text,0); if ($ireplace) $text = ImgReplace($text,$obj); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-29 09:06:56
|
Revision: 846 http://tutos.svn.sourceforge.net/tutos/?rev=846&view=rev Author: gokohnert Date: 2012-11-29 09:06:49 +0000 (Thu, 29 Nov 2012) Log Message: ----------- fix mobile Modified Paths: -------------- trunk/php/expense/expense_select.php trunk/php/file/file_select.php trunk/php/invoice/invoice_select.php trunk/php/rate/rate_select.php trunk/php/reminder/reminder_select.php trunk/php/scrum/log_select.php trunk/php/scrum/log_show.php trunk/php/scrum/sprint_select.php trunk/php/url/url_select.php Modified: trunk/php/expense/expense_select.php =================================================================== --- trunk/php/expense/expense_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/expense/expense_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -74,12 +74,12 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ExpenseSupplier'],0,'sup'); - $r .= $this->showdata(select_from_array_or_input($this->obj,"sup",null,1,'cd'),2); + $r .= $this->showdata(select_from_array_or_input($this,"sup",null,1,'cd'),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ExpenseAddress'],0,'adr'); - $r .= $this->showdata(select_from_array_or_input($this->obj,"adr",null,1,'at'),2); + $r .= $this->showdata(select_from_array_or_input($this,"adr",null,1,'at'),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); @@ -89,7 +89,7 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ExpenseCreator'],0,'cr'); - $r .= $this->showdata(select_from_array_or_input($this->obj,"cr",null,1,'a'),2); + $r .= $this->showdata(select_from_array_or_input($this,"cr",null,1,'a'),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); Modified: trunk/php/file/file_select.php =================================================================== --- trunk/php/file/file_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/file/file_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -40,13 +40,16 @@ $this->addHidden('ext',$this->ext); $r.= $this->headline($lang['SearchForFile']); - $r .= "<tr>\n"; + $r .= $this->ContentRowStart(); $r .= $this->showfieldc($lang['AdrName'],0,'name'); $r .= " <td><input id=\"name\" type=\"text\" value=\"\" name=\"name\" /></td>\n"; $r .= ' <td><input type="submit" value="'. $lang['Search'] .'" title="'. $lang['SearchForFile'] ."\" /></td>\n"; + $r .= $this->ContentRowEnd(); - $r .= "</tr><tr>\n"; + $r .= $this->ContentRowStart(); $r .= ' <td colspan="3" align="right"><span id="toggler">'. $lang['extended'] ."</span></td>\n"; + $r .= $this->ContentRowEnd(); + $tutos['pagescript'] .= " $( \"#toggler\" ).click(function() { $(\".ext\").toggle(); @@ -65,40 +68,31 @@ \n"; } - $r .= "</tr><tr class=\"ext\">\n"; + + $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc(sprintf($lang['FileReference'],''),0,"link_"); - $r .= '<td colspan="2">'; - $r .= select_from_array_or_input($this->obj,"link_",null,1,get_parent_classes('file')); - $r .= "</td>\n"; + $r .= $this->showdata(select_from_array_or_input($this,"link_",null,1,get_parent_classes('file')),2); + $r .= $this->ContentRowEnd(); - $r .= "</tr><tr class=\"ext\">\n"; + $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc(sprintf($lang['FileAuthor'],''),0,"author"); - $r .= '<td colspan="2">'; - $r .= select_from_array_or_input($this->obj,"author",null,1,'a'); - $r .= "</td>\n"; + $r .= $this->showdata(select_from_array_or_input($this,"author",null,1,'a'),2); + $r .= $this->ContentRowEnd(); - $r .= "</tr><tr class=\"ext\">\n"; - $r .= " <td rowspan=\"2\" class=\"desc\">". $lang['TaskBetween'] ."</td>\n"; - $r .= " <td colspan=\"2\">"; - $r .= $this->fd->EnterDate("f",1); - $r .= "</td>\n"; + $r .= $this->ContentRowStart('ext'); + $r .= $this->showfieldc($lang['TaskBetween']); + $r .= $this->showdata($this->fd->EnterDate("f",1).' - '.$this->td->EnterDate("t",1),2); + $r .= $this->ContentRowEnd(); - $r .= "</tr><tr class=\"ext\">\n"; - $r .= " <td colspan=\"2\">"; - $r .= $this->td->EnterDate("t",1); - $r .= "</td>\n"; - // add custom selectors $x = get_custom_selectors('file'); foreach ($x as $s) { - $r .= "</tr><tr class=\"ext\">\n"; + $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($s[0]); - $r .= " <td colspan=\"2\">\n"; - $r .= $s[1]; - $r .= " </td>\n"; + $r .= $this->showdata($s[1],2); + $r .= $this->ContentRowEnd(); } - $r .= "</tr>\n"; $r .= $this->SelectTableEnd(); $r .= hiddenFormElements(); $r .= $this->getHidden(); Modified: trunk/php/invoice/invoice_select.php =================================================================== --- trunk/php/invoice/invoice_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/invoice/invoice_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -85,7 +85,7 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc(sprintf($lang['InvoiceCustomer'],''),0,'customer'); - $r .= $this->showdata(select_from_array_or_input($this->obj,"customer",null,1,'atcdD'),2); + $r .= $this->showdata(select_from_array_or_input($this,"customer",null,1,'atcdD'),2); $r .= $this->ContentRowEnd(); // add custom selectors Modified: trunk/php/rate/rate_select.php =================================================================== --- trunk/php/rate/rate_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/rate/rate_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -14,6 +14,8 @@ // Check if user is allowed to use it check_user(); + +$tutos['mobileok'] = 1; loadmodules('rate','select'); loadmodule('rate'); loadlayout(); @@ -37,14 +39,16 @@ $r .= $this->SelectTableStart(); $r.= $this->headline($lang['SearchForRate']); - $r .= "<tr>\n"; + $r .= $this->ContentRowStart(); $r .= $this->showfieldc($lang['RateName']); - $r .= " <td align=\"center\"> <input type=\"text\" value=\"\" name=\"name\"></td>\n"; - $r .= ' <td><input type="submit" value="'. $lang['Search'] .'" title="'.$lang['Search']."\" /></td>\n"; - $r .= "</tr>\n"; + $r .= $this->showdata('<input id="name" type="text" value="" name="name" />'); + $r .= $this->showdata('<input type="submit" value="'. $lang['Search'] .'" />'); + $r .= $this->ContentRowEnd(); - $r .= "<tr>\n"; - $r .= ' <td colspan="3" align="right"><span style="text-align:right;" id="toggler">'. $lang['extended'] ."</span></td>\n"; + $r .= $this->ContentRowStart(); + $r .= ' <td colspan="3" align="right"><span id="toggler">'. $lang['extended'] ."</span></td>\n"; + $r .= $this->ContentRowEnd(); + $tutos['pagescript'] .= " $( \"#toggler\" ).click(function() { $(\".ext\").toggle(); @@ -61,18 +65,31 @@ $(\".ext\").hide(); \n"; } - $r .= "</tr>\n"; - $r .= "<tr class=\"ext\">\n"; + $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['RateReference']); - $r .= ' <td colspan="2"> <b>'. $this->RateAskRefType($this->rsrt,0) ."</b> </td>\n"; - $r .= "</tr>\n"; + $r .= $this->showdata($this->RateAskRefType($this->rsrt,0),2); + $r .= $this->ContentRowEnd(); + // add custom selectors + $x = get_custom_selectors('reminder'); + foreach ($x as $s) { + $r .= $this->ContentRowStart('ext'); + $r .= $this->showfieldc($s[0]); + $r .= $this->showdata($s[1],2); + $r .= $this->ContentRowEnd(); + } + $r .= $this->SelectTableEnd(); $r .= hiddenFormElements(); $r .= $this->getHidden(); $r .= "</form>\n"; + // shortcuts with urls + if (class_exists('url')) { + $r .= url::getFastSelect($this); + } + $r .= $this->setfocus("ratesearch.name"); return $r; } Modified: trunk/php/reminder/reminder_select.php =================================================================== --- trunk/php/reminder/reminder_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/reminder/reminder_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -68,12 +68,12 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc(sprintf($lang['ReminderReference'],''),0,'ref'); - $r .= $this->showdata(select_from_array_or_input($this->obj,'ref',null,1,'all'),2); + $r .= $this->showdata(select_from_array_or_input($this,'ref',null,1,'all'),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc(sprintf($lang['ReminderTo'],''),0,'to'); - $r .= $this->showdata(select_from_array_or_input($this->obj,'to',null,1,'at'),2); + $r .= $this->showdata(select_from_array_or_input($this,'to',null,1,'at'),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); Modified: trunk/php/scrum/log_select.php =================================================================== --- trunk/php/scrum/log_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/scrum/log_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -70,19 +70,19 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ScrumLogSprint'],0,"s_id"); - $x = select_from_array_or_input($this->obj,"s_",null,1,array(USESCRUMSPRINT)); + $x = select_from_array_or_input($this,"s_",null,1,array(USESCRUMSPRINT)); $x .= '<input type="checkbox" name="nos" id="nos" value="1"><strike>'.$lang['Sprint'].'</strike></input>'; $r .= $this->showdata($x,2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ScrumLogPref'],0,"p_id"); - $r .= $this->showdata(select_from_array_or_input($this->obj,"p_",null,1,array(useprojects)),2); + $r .= $this->showdata(select_from_array_or_input($this,"p_",null,1,array(useprojects)),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['ScrumLogWorker'],0,"w_id"); - $r .= $this->showdata(select_from_array_or_input($this->obj,"w_",null,1,array(useaddressbook)),2); + $r .= $this->showdata(select_from_array_or_input($this,"w_",null,1,array(useaddressbook)),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); Modified: trunk/php/scrum/log_show.php =================================================================== --- trunk/php/scrum/log_show.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/scrum/log_show.php 2012-11-29 09:06:49 UTC (rev 846) @@ -17,6 +17,8 @@ /* Check if user is allowed to use it */ check_user(); + +$tutos['mobileok'] = 1; loadmodules('scrumlog','show'); loadmodule('scrumlog'); loadlayout(); Modified: trunk/php/scrum/sprint_select.php =================================================================== --- trunk/php/scrum/sprint_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/scrum/sprint_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -70,7 +70,7 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['SprintRef'],0,"p_id"); - $r .= $this->showdata(select_from_array_or_input($this->obj,"p_",null,1,array(useprojects)),2); + $r .= $this->showdata(select_from_array_or_input($this,"p_",null,1,array(useprojects)),2); $r .= $this->ContentRowEnd(); $r .= $this->ContentRowStart('ext'); Modified: trunk/php/url/url_select.php =================================================================== --- trunk/php/url/url_select.php 2012-11-27 09:58:27 UTC (rev 845) +++ trunk/php/url/url_select.php 2012-11-29 09:06:49 UTC (rev 846) @@ -71,7 +71,7 @@ $r .= $this->ContentRowStart('ext'); $r .= $this->showfieldc($lang['Reference'],0,"link"); - $r .= $this->showdata(select_from_array_or_input($this->obj,"link_",null,1,'all'),2); + $r .= $this->showdata(select_from_array_or_input($this,"link_",null,1,'all'),2); $r .= $this->ContentRowEnd(); // add custom selectors This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-27 09:58:40
|
Revision: 845 http://tutos.svn.sourceforge.net/tutos/?rev=845&view=rev Author: gokohnert Date: 2012-11-27 09:58:27 +0000 (Tue, 27 Nov 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/url/url_select.php Modified: trunk/php/url/url_select.php =================================================================== --- trunk/php/url/url_select.php 2012-11-26 15:00:28 UTC (rev 844) +++ trunk/php/url/url_select.php 2012-11-27 09:58:27 UTC (rev 845) @@ -39,6 +39,7 @@ $r = ''; $r .= "<form id=\"urlsearch\" name=\"urlsearch\" method=\"get\" action=\"url_overview.php\">\n"; $r .= $this->SelectTableStart(); + $this->addHidden('ext',$this->ext); $r .= $this->headline($lang['SearchForURL']); $r .= $this->ContentRowStart(); @@ -111,6 +112,11 @@ $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); $this->stop = true; } + if ( ! isset($_GET['ext']) ) { + $this->ext = 0; + } else { + $this->ext = $_GET['ext']; + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-26 15:00:41
|
Revision: 844 http://tutos.svn.sourceforge.net/tutos/?rev=844&view=rev Author: gokohnert Date: 2012-11-26 15:00:28 +0000 (Mon, 26 Nov 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/layout/layout_base.pinc Modified: trunk/php/layout/layout_base.pinc =================================================================== --- trunk/php/layout/layout_base.pinc 2012-11-23 08:16:32 UTC (rev 843) +++ trunk/php/layout/layout_base.pinc 2012-11-26 15:00:28 UTC (rev 844) @@ -239,7 +239,10 @@ // load on demand foreach(array_unique($tutos['js_to_load']) as $path) { - $r .= ' <script type="text/javascript" language="JavaScript" src="'.$tutos['base'].$path.'"></script>'."\n"; + if(preg_match('#^http#i',$path)) + $r .= ' <script type="text/javascript" language="JavaScript" src="'.$path.'"></script>'."\n"; + else + $r .= ' <script type="text/javascript" language="JavaScript" src="'.$tutos['base'].$path.'"></script>'."\n"; } // Check the language for datepicker @@ -800,7 +803,7 @@ $r = ''; if ( isset($tarr['hide']) && ($tarr['hide'] == true) ) return $r; -# if ( isset($tarr['hideempty']) && ($tarr['hideempty'] == true) && ($obj->$tarr['field'] == '') ) return $r; + # if ( isset($tarr['hideempty']) && ($tarr['hideempty'] == true) && ($obj->$tarr['field'] == '') ) return $r; $r .= edit_custom_field_single($this,$tarr['field'],$tarr,0,$obj,$colsd+$colsf); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-23 08:16:43
|
Revision: 843 http://tutos.svn.sourceforge.net/tutos/?rev=843&view=rev Author: gokohnert Date: 2012-11-23 08:16:32 +0000 (Fri, 23 Nov 2012) Log Message: ----------- new editable testspec simulation Modified Paths: -------------- trunk/html/js/tutos.js trunk/php/testmanager/default.css trunk/php/testmanager/testcase_ins.php trunk/php/testmanager/testmanager.pinc trunk/php/testmanager/testsuite_show.php Modified: trunk/html/js/tutos.js =================================================================== --- trunk/html/js/tutos.js 2012-11-23 07:09:55 UTC (rev 842) +++ trunk/html/js/tutos.js 2012-11-23 08:16:32 UTC (rev 843) @@ -21,7 +21,54 @@ }); /** - * afunction to switch table tbody elements + * handle editable areas + * code will add form elements when click into an area + */ +$(document).ready(function(){ +$('.editable').click(function(event) { + var t = $(this).html(); + var id = this.id; + //$("#RESULT").append("<br>click:"+id+" "+ $(this).height()+" "+$(this).innerHeight()+" "+$(this).outerHeight()); + //$("#RESULT").append("<br>click:"+id+" "+ $(this).width()+" "+$(this).innerWidth()+" "+$(this).outerWidth()); + if ($("#I"+id).length > 0){ + //$("#RESULT").append("<br>exists: I"+id); + // was already once modified + $("#I"+id).show(); + } else { + //$("#RESULT").append("<br>create: I"+id); + if ($(this).hasClass("editableta")) { + $(this).after("<textarea id=\"I"+id+"\" name=\"I"+id+"\" >"+t+"</textarea>"); + } else { + $(this).after("<input id=\"I"+id+"\" name=\"I"+id+"\" value=\""+t.replace(/\"/g,""")+"\" />"); + } + $("#I"+id).val(t); + $("#I"+id).width($(this).width()).height($(this).height()); + $("#I"+this.id).blur(function(event) { + var i1 = $(this).val(); // new value + //alert(i2 + " -> "+ i1); + if (t != i1) { + //$("#RESULT").append("<br>modified "+$(this).height()); + //$("#RESULT").append("<br>modified "+$(this).width()); + $("#"+id).css("background","red"); + $("#"+id).html(i1); + // $("#"+id).height($(this).height()).width($(this).width()); + $(this).css("background","red"); + $(this).hide(); + } else { + $("#"+id).css("background",""); + $(this).remove(); + } + $("#"+id).html(i1); + $("#"+id).show(); + }); + } + $("#I"+id).focus(); + $(this).hide(); +}); +}); + + /** + * a function to switch table tbody elements */ function tbodyswitcher(cname) { $(cname).not("td").addClass("tgrpbody").hide(); Modified: trunk/php/testmanager/default.css =================================================================== --- trunk/php/testmanager/default.css 2012-11-23 07:09:55 UTC (rev 842) +++ trunk/php/testmanager/default.css 2012-11-23 08:16:32 UTC (rev 843) @@ -15,6 +15,20 @@ * */ +.ts_head_line { + min-width: 25em; + min-height: 1em; +} + +.ts_head_desc { + min-width: 25em; + min-height: 2em; +} + +.tc_steps, .tc_exp { + min-height: 2em; +} + .TCid { min-width: 15em; max-width: 15em; Modified: trunk/php/testmanager/testcase_ins.php =================================================================== --- trunk/php/testmanager/testcase_ins.php 2012-11-23 07:09:55 UTC (rev 842) +++ trunk/php/testmanager/testcase_ins.php 2012-11-23 08:16:32 UTC (rev 843) @@ -53,7 +53,7 @@ } - if ( isset($_POST['expected_'.$i]) && !empty($_POST['expected_'.$i]) ) { + if ( isset($_POST['expected_'.$i]) ) { $obj[$i]->setExpected($_POST['expected_'.$i]); $gotourl= addUrlParameter($gotourl,'expected_'.$i.'='. UrlEncode($obj[$i]->expected),true); $use = true; Modified: trunk/php/testmanager/testmanager.pinc =================================================================== --- trunk/php/testmanager/testmanager.pinc 2012-11-23 07:09:55 UTC (rev 842) +++ trunk/php/testmanager/testmanager.pinc 2012-11-23 08:16:32 UTC (rev 843) @@ -796,15 +796,14 @@ $r .= ' <td rowspan="2" class="inputrow tcresult_'.$this->result.'" width="30" valign="top" align="right"><a id="id'.$this->id.'">'.($cnt != null ? $prefix.$cnt:'') .'</a> '; if ($this->mod_ok() && ($this->activ != 1) && !isset($this->test) ) { $r .= '<br /><br /><br />'; - $r .= "Pos:<input size=\"3\" id=\"P".$this->id."t\" value=\"".$this->pos."\" style=\"display:none;\" "enableTextEdit('P".$this->id."')\" "disableTextEdit('P".$this->id."');\" />"; - $r .= "<span id=\"P".$this->id."p\" "enableTextEdit('P".$this->id."');\">".$this->pos."</span> "; + $r .= 'Pos:<span class="editable" id="P'.$this->id.'t">'.$this->pos.'</span>'; } $r .= " </td>\n"; $r .= ' <td rowspan="2" class="inputrow" width="110" valign="top"> '; + // Name of Testcase if ($this->mod_ok() && ($this->activ != 1) && !isset($this->test) ) { - $r .= '<input size="8" id="N'.$this->id.'t" value="'.myentities($this->name)."\" style=\"display:none;\" "enableTextEdit('N".$this->id."')\" "disableTextEdit('N".$this->id."');\" />"; - $r .= '<span id="N'.$this->id."p\" "enableTextEdit('N".$this->id."');\">".myentities($this->getFullName())."</span>"; + $r .= '<span class="editable" id="N'.$this->id.'t">'.$this->name.'</span>'; } else { $r .= myentities($this->getFullName()); } @@ -821,20 +820,15 @@ $r .= ' <td rowspan="2" class="TCsteps inputrowborder" style="max-width:'.TCCOLS.'em;" valign="top">'; $txt = $this->getSteps(); if ($this->mod_ok() && ($this->activ != 1) && !isset($this->test) ) { - $r .= '<textarea cols="'. TCCOLS .'" rows="'.count(explode("\n",$txt)).'" id="S'.$this->id."t\" style=\"display:none;\" "enableTextEdit('S".$this->id."');\" "disableTextEdit('S".$this->id."');\">"; - $r .= myentities($this->steps); - $r .= '</textarea>'; - $r .= '<pre id="S'.$this->id."p\" style=\"width:".TCCOLS."em;\" "enableTextEdit('S".$this->id."');\">"; - $r .= $txt; - $r .= '</pre>'; + $r .= '<pre style="width:'. TCCOLS .'" class="tc_steps editable editableta" id="S'.$this->id.'t" >'; } else { $r .= '<pre id="S'.$this->id.'p" style="max-width:'.TCCOLS.'em;">'; if (class_exists('Bug')) { $txt = preg_replace('#('.Bug::get_bug_regex().')#m' ,'<a href="'.normalize_url($url).'$1">$1</a>',$txt); } - $r .= $txt; - $r .= '</pre>'; } + $r .= $txt; + $r .= '</pre>'; $r .= ' '; $r .= '</td>'."\n"; @@ -842,20 +836,15 @@ $r .= ' <td class="TCexpected inputrowborder2" style="max-width:'.TCCOLS.'em;" valign="top">'; $txt = $this->getExpected(); if ($this->mod_ok() && ($this->activ != 1) && !isset($this->test) ) { - $r .= '<textarea cols="'.TCCOLS.'" rows="'.count(explode("\n",$txt)).'" id="E'.$this->id."t\" style=\"display:none;\" "enableTextEdit('E".$this->id."');\" "disableTextEdit('E".$this->id."');\">"; - $r .= myentities($this->expected); - $r .= '</textarea>'; - $r .= '<pre id="E'.$this->id."p\" style=\"width:".TCCOLS."em;\" "enableTextEdit('E".$this->id."');\">"; - $r .= $txt; - $r .= '</pre>'; + $r .= '<pre style="width:'. TCCOLS .'" class="tc_exp editable editableta" id="E'.$this->id.'t" >'; } else { $r .= '<pre id="E'.$this->id.'p" style="max-width:'.TCCOLS.'em;">'; if (class_exists('Bug')) { $txt = preg_replace('#('.Bug::get_bug_regex().')#m' ,'<a href="'.normalize_url($url).'$1">$1</a>',$txt); } - $r .= $txt; - $r .= '</pre>'; } + $r .= $txt; + $r .= '</pre>'; $r .= ' '; $r .= '</td>'."\n"; @@ -2687,8 +2676,7 @@ $url = addUrlParameter($url,'prefix='.$prefix); if ($obj->mod_ok() && ($obj->activ != 1) && !isset($obj->test) && ($obj->state != TS_RELEASED) ) { - $r .= '<input id="N'.$obj->id."t\" style=\"display:none;\" "enableTextEdit('N".$obj->id."');\" "disableTextEdit('N".$obj->id."');\" value=\"" . myentities($obj->name). '" />'; - $r .= '<div id="N'.$obj->id."p\" "enableTextEdit('N".$obj->id."');\">".$obj->name."</div>"; + $r .= '<span class="ts_head_line editable" id="N'.$obj->id.'t">'.myentities($obj->name).'</span>'; } else { $r .= makelink($url,myentities($obj->name)); } @@ -2703,10 +2691,7 @@ $r .= '<tr>'; $r .= '<td colspan="'.($cols-1).'" style="width:'.TSCOLS.'em">'; if ($obj->mod_ok() && ($obj->activ != 1) && !isset($obj->test) && ($obj->state != TS_RELEASED) ) { - $r .= '<textarea cols="'.TSCOLS.'" rows="'.count(explode("\n",$txt)).'" id="D'.$obj->id."t\" style=\"display:none;\" "enableTextEdit('D".$obj->id."');\" "disableTextEdit('D".$obj->id."');\">"; - $r .= myentities($obj->desc); - $r .= '</textarea>'; - $r .= '<pre id="D'.$obj->id."p\" "enableTextEdit('D".$obj->id."');\">"; + $r .= '<pre style="width:'.TSCOLS.'em;" class="ts_head_desc editable editableta" id="D'.$obj->id.'t">'; } else { $r .= '<pre style="width:'.TSCOLS.'em;">'; } Modified: trunk/php/testmanager/testsuite_show.php =================================================================== --- trunk/php/testmanager/testsuite_show.php 2012-11-23 07:09:55 UTC (rev 842) +++ trunk/php/testmanager/testsuite_show.php 2012-11-23 08:16:32 UTC (rev 843) @@ -36,27 +36,15 @@ */ class Testsuite_show extends layout { /** - * show the output as we will see it in a testrun + * update testspec + * */ - Function sim_info() { - global $lang; + function sim_update () { + global $msg,$info; - $r = ''; - $r .= '<script language="JavaScript" type="text/javascript" src="testmanager.js"></script>'."\n"; - $link = 'testmanager/testsuite_show.php?mode=simulate&id='.$this->obj->id; - $nav = $this->getSubSession(); - $nav['link'] = $link; - $nav['list'] = array(); - - $ss = $this->putSubSession($nav); - - // temporary testrun object - $x = new testrun($this->obj->dbconn); - $x->test = true; - $x->activ = false; - // Handle Updates - $mod = array(); + $mod = array(); + $mod2 = array(); // what to clear afterwards foreach ($_POST as $p => $q) { if (preg_match("/^NZP([0-9]*)t(.*)$/",$p,$regs)) { if ($q == '') continue; @@ -74,8 +62,10 @@ $ox->setDesc($desc); $ox->setReference($o->id); + $mod2['P'.$o->id] = $o; $mod['P'.$o->id] = $ox; unset($ox); + unset($o); } else if (preg_match("/^NP([0-9]*)t(.*)$/",$p,$regs)) { // add a new TS before given object $id = $regs[1]; @@ -92,6 +82,8 @@ $ox->setReference($o->ref_id); // find and fix positions $ox->setPosition($o->pos -1); + $o->read_reference(); + $mod2['P'.$o->ref_id] = $o->ref; $mod['P'.$o->id] = $ox; unset($ox); } else if (preg_match("/^NXP([0-9]*)t(.*)$/",$p,$regs)) { @@ -117,6 +109,7 @@ unset($oxx); } $ox->setPosition($max+1); + $mod2['P'.$id] = $o; $mod[uniqid()] = $ox; } else if (preg_match("/^NCP([0-9]*)t(.*)$/",$p,$regs)) { if ($q == '') continue; @@ -149,8 +142,9 @@ } unset($ox); } - - } else if (preg_match("/^D([0-9]*)t$/",$p,$regs)) { + $mod2['P'.$o->ref_id] = $o->ref; + } else if (preg_match("/^ID([0-9]*)t$/",$p,$regs)) { + // exisiting testsuite description $id = $regs[1]; $o = getObject($this->dbconn,$id); if (!is_object($o)) continue; @@ -158,12 +152,13 @@ $r .= sprintf($lang['Err0024'],$o->getLink()); continue; } - $res = $o->setDesc($q); + $res = $o->setDesc($q); // if changed if($res) { $mod[$o->id] = $o; } unset($o); - } else if (preg_match("/^S([0-9]*)t$/",$p,$regs)) { + } else if (preg_match("/^IS([0-9]*)t$/",$p,$regs)) { + // existing testcase steps $id = $regs[1]; $o = getObject($this->dbconn,$id); if (!is_object($o)) continue; @@ -171,12 +166,13 @@ $r .= sprintf($lang['Err0024'],$o->getLink()); continue; } - $res = $o->setSteps($q); + $res = $o->setSteps($q); // if changed if($res) { $mod[$o->id] = $o; } unset($o); - } else if (preg_match("/^E([0-9]*)t$/",$p,$regs)) { + } else if (preg_match("/^IE([0-9]*)t$/",$p,$regs)) { + // existing testcase expectation $id = $regs[1]; $o = getObject($this->dbconn,$id); if (!is_object($o)) continue; @@ -184,12 +180,13 @@ $r .= sprintf($lang['Err0024'],$o->getLink()); continue; } - $res = $o->setExpected($q); + $res = $o->setExpected($q); // if changed if($res) { $mod[$o->id] = $o; } unset($o); - } else if (preg_match("/^N([0-9]*)t$/",$p,$regs)) { + } else if (preg_match("/^IN([0-9]*)t$/",$p,$regs)) { + // existing testcase name $id = $regs[1]; $o = getObject($this->dbconn,$id); if (!is_object($o)) continue; @@ -202,7 +199,8 @@ $mod[$o->id] = $o; } unset($o); - } else if (preg_match("/^P([0-9]*)t$/",$p,$regs)) { + } else if (preg_match("/^IP([0-9]*)t$/",$p,$regs)) { + // existing testcase position $id = $regs[1]; $o = getObject($this->dbconn,$id); if (!is_object($o)) continue; @@ -210,7 +208,7 @@ $r .= sprintf($lang['Err0024'],$o->getLink()); continue; } - $res = $o->setPosition($q); + $res = $o->setPosition($q); // if changed if($res) { $mod[$o->id] = $o; } @@ -218,12 +216,41 @@ } unset($_POST[$p]); } + // run over all modifications foreach ($mod as $o) { $msg = $o->save(); unset($o->list[usetestcase]); unset($o->list[usetestsuite]); - $r .= 'Update: '.$o->getLink().' '.$msg.'<br />'; + $info = addLine($info,'Update: '.$o->getLink().' '.$msg); } + foreach ($mod2 as $o) { + unset($o->list[usetestcase]); + unset($o->list[usetestsuite]); + // $info = addLine($info,'Clear: '.$o->getLink().' '.$msg); + } + return; + } + + /** + * show the output as we will see it in a testrun + */ + Function sim_info() { + global $lang; + + $r = ''; + $r .= '<script language="JavaScript" type="text/javascript" src="testmanager.js"></script>'."\n"; + $link = 'testmanager/testsuite_show.php?mode=simulate&id='.$this->obj->id; + $nav = $this->getSubSession(); + $nav['link'] = $link; + $nav['list'] = array(); + + $ss = $this->putSubSession($nav); + + // temporary testrun object + $x = new testrun($this->obj->dbconn); + $x->test = true; + $x->activ = false; + $r .= '<form action="testsuite_show.php?mode=simulate&id='.$this->obj->id.'" method="post">'; $this->nav['link'] = ''; $r .= $this->DataTableStart(); @@ -380,6 +407,9 @@ if (isset($_GET['mode'])) { $this->mode = $_GET['mode']; } + if ($this->mode == 'simulate') { + $this->sim_update(); + } if ( isset($_GET['id']) ) { $this->obj = $this->obj->read($_GET['id'],$this->obj); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-23 07:10:04
|
Revision: 842 http://tutos.svn.sourceforge.net/tutos/?rev=842&view=rev Author: gokohnert Date: 2012-11-23 07:09:55 +0000 (Fri, 23 Nov 2012) Log Message: ----------- fix loosing groups when ldap update Modified Paths: -------------- trunk/php/group/group.pinc trunk/php/group/mconfig.pinc trunk/php/ldap/ldap.pinc trunk/php/ldap/ldap_show.php trunk/php/ldap/mconfig.pinc trunk/php/module_base.pinc trunk/php/report-engine/mconfig.pinc trunk/php/report-engine/reporter.pinc Modified: trunk/php/group/group.pinc =================================================================== --- trunk/php/group/group.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/group/group.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -58,7 +58,7 @@ * Return a url that displays this group */ function read_member() { - global $current_user; + if ( count($this->member) > 0 ) { return; } @@ -345,7 +345,7 @@ * Read a list of groups related to the object */ static function obj_read(tutos_base $obj) { - global $current_user,$table; + global $table,$tutos; if ( isset($obj->list[usegroups]) ) { return; @@ -382,6 +382,7 @@ $a++; } $r->free(); + return; } @@ -389,7 +390,7 @@ * obj is deleted */ static function obj_delete (tutos_user $user,tutos_base $obj) { - global $table; + global $table,$tutos; $msg = ''; // Delete the old memberships @@ -403,25 +404,28 @@ * obj is saved */ static function obj_save (tutos_user $user,tutos_base $obj) { - global $table; + global $table,$tutos; + $msg = ''; - $msg = ''; + if ( !isset( $obj->groupmemberlist ) ) { + return $msg; + } + if ( ! $obj->obj_feature_ok($user,usegroups,PERM_NEW) ) return $msg; // Delete the old memberships group::obj_delete($user,$obj); // Save the new memberships - if ( isset( $obj->groupmemberlist ) ) { - foreach($obj->groupmemberlist as $i => $f) { - $q = 'INSERT INTO '. $obj->dbconn->prefix .$table['group2'][name] .' (group_id,obj_id,m_comment,creation)'; - $q .= ' VALUES ('.$i.','.$obj->id; - $q .= ','.$obj->dbconn->String($f[1]); - $q .= ','.$obj->dbconn->DateTime($f[2]).')'; - $r = $obj->dbconn->Exec($q); - $r->free(); - } + foreach($obj->groupmemberlist as $i => $f) { + $q = 'INSERT INTO '. $obj->dbconn->prefix .$table['group2'][name] .' (group_id,obj_id,m_comment,creation)'; + $q .= ' VALUES ('.$i.','.$obj->id; + $q .= ','.$obj->dbconn->String($f[1]); + $q .= ','.$obj->dbconn->DateTime($f[2]).')'; + $r = $obj->dbconn->Exec($q); + $r->free(); } + return $msg; } @@ -640,5 +644,5 @@ $r .= "</ul>\n"; return $r; } - } -?> +} +?> \ No newline at end of file Modified: trunk/php/group/mconfig.pinc =================================================================== --- trunk/php/group/mconfig.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/group/mconfig.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -1,17 +1,21 @@ <?php /* - * Copyright 2002 - 2011 by Gero Kohnert + * Copyright 2002 - 2012 by Gero Kohnert * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; version 2 of the License. + * * Module specific configuration * * SVN Info $Id$ * $Author$ */ -# -# Every module must have an individual ID ( < 100 ). -# this is module 99 -# +// +// Every module must have an individual ID ( < 100 ). +// this is module 99 +// define('usegroups',-99); $tutos[modules]['group'] = array( name => "group", @@ -20,16 +24,16 @@ 'overview' => "group/group_select.php", 'perm' => usegroups ); -# -# globally enable this module -# +// +// globally enable this module +// if(!isset($tutos[usegroups])) { $tutos[usegroups] = 1; } -# -# List of objects/modules where we do something with this module -# and need to include this module -# +// +// List of objects/modules where we do something with this module +// and need to include this module +// $tutos[modulesinc]['group'][] = 'company'; $tutos[modulesinc]['group'][] = 'department'; $tutos[modulesinc]['group'][] = 'address'; Modified: trunk/php/ldap/ldap.pinc =================================================================== --- trunk/php/ldap/ldap.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/ldap/ldap.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -82,22 +82,22 @@ * */ function connect() { -global $tutos; + global $tutos; $this->ds = false; $retry = 0; while (!$this->ds && ($retry < 3)) { $retry++; #$this->ds = ldap_connect($this->host,$this->port); $this->ds = ldap_connect('ldap://'.$this->host.':'.$this->port); -error_log('ldap_connect:'.$this->host.' '.$this->port.' '.$retry.' '.$this->ds."\n",3,$tutos[errlog]); -# echo $this->host.":".$this->port."<br />"; + //error_log('ldap_connect:'.$this->host.' '.$this->port.' '.$retry.' '.$this->ds."\n",3,$tutos[errlog]); + //echo $this->host.":".$this->port."<br />"; } if ( $this->ds == false ) { -error_log('ldap_connect: FALSE '.$this->ds."\n",3,$tutos[errlog]); + error_log('ldap_connect: FALSE '.$this->ds."\n",3,$tutos[errlog]); return false; } if (! ldap_bind($this->ds) ) { // this is an "anonymous" bind, typically -error_log('ldap_bind: FALSE '.$this->ds.' '.$this->error()."\n",3,$tutos[errlog]); + error_log('ldap_bind: FALSE '.$this->ds.' '.$this->error()."\n",3,$tutos[errlog]); return false; } return true; @@ -118,28 +118,28 @@ function subimport($sub,$def,$c,&$import) { global $lang,$tutos,$msg; - if (isset($tutos['ldap:'. $this->host .":". $this->port]['uniquekey']) ) { - $ukey = $tutos['ldap:'. $this->host .":". $this->port]['uniquekey']; + if (isset($tutos['ldap:'. $this->host .':'. $this->port]['uniquekey']) ) { + $ukey = $tutos['ldap:'. $this->host .':'. $this->port]['uniquekey']; } else { - $ukey = "dn"; + $ukey = 'dn'; } - $d = $tutos['ldap:'. $this->host .":". $this->port]['+']; + $d = $tutos['ldap:'. $this->host .':'. $this->port]['+']; $sub = strtolower($sub); - $subkey = $def[0] ."=".$import[$c][$def[0]][0]; + $subkey = $def[0] .'='.$import[$c][$def[0]][0]; $justthese = array($ukey,"cn","l","sn","o","ou","mail","department","*"); $sr = @ldap_search($this->ds,$this->basedn,"(&(".$subkey.")(objectClass=". $def[1] ."))",$justthese,0,40,10,LDAP_DEREF_ALWAYS); if (!$sr) { - $msg .= 'Search : "'.$subkey .'" '.$this->error().' <br />'; + $msg = addLine($msg,'Search : "'.$subkey .'" '.$this->error()); return(-1); } $cnt = ldap_count_entries($this->ds,$sr); #$msg .= $subkey ."=". $cnt ."<br />"; $a = ldap_first_entry($this->ds,$sr); while ($a != false) { - $y = ldap_first_attribute($this->ds,$a,$info); + $y = ldap_first_attribute($this->ds,$a); while ($y) { $d = ldap_get_values_len($this->ds,$a,$y); if ( isset($d['count']) ) { @@ -149,7 +149,7 @@ } else { $import[$c][$sub.strtolower($y)][0] = $d; } - $y = ldap_next_attribute($this->ds,$a,$info); + $y = ldap_next_attribute($this->ds,$a); } $a = @ldap_next_entry($this->ds,$a); } @@ -161,10 +161,10 @@ function import($key) { global $lang,$tutos,$msg,$info,$table; - if (isset($tutos['ldap:'. $this->host .":". $this->port]['uniquekey']) ) { - $ukey = $tutos['ldap:'. $this->host .":". $this->port]['uniquekey']; + if (isset($tutos['ldap:'. $this->host .':'. $this->port]['uniquekey']) ) { + $ukey = $tutos['ldap:'. $this->host .':'. $this->port]['uniquekey']; } else { - $ukey = "dn"; + $ukey = 'dn'; } $savefile = false; $saveurl = false; @@ -185,19 +185,19 @@ } $justthese = array($ukey,"cn","l","sn","o","ou","mail","department","*"); - if ( $ukey == "dn" ) { + if ( $ukey == 'dn' ) { $sr = ldap_read($this->ds,$key,"(objectClass=*)",$justthese,0,40,10,LDAP_DEREF_ALWAYS); } else { $sr = ldap_search($this->ds,$this->basedn,"(&(".$key.")(objectClass=*))",$justthese,0,40,10,LDAP_DEREF_ALWAYS); } #$msg .= $this->basedn." (&(".$key.")(objectClass=*))"; if (!$sr) { - $msg .= 'Search : "'.$key .'" '.$this->error().'<br />'; + $msg = addLine($msg,'Search : "'.$key .'" '.$this->error()); return(-1); } $cnt = ldap_count_entries($this->ds,$sr); if ($cnt < 1) { - $msg .= $key. " not found<br />"; + $msg = addLine($msg,$key. ' not found'); return(-1); } // read data @@ -205,7 +205,7 @@ $c = 0; while ($x != false ) { $import[$c] = array(); - $y = ldap_first_attribute($this->ds,$x,$info); + $y = ldap_first_attribute($this->ds,$x); while ($y) { $d = ldap_get_values_len($this->ds,$x,$y); if ( isset($d['count']) ) { @@ -215,7 +215,7 @@ } else { $import[$c][strtolower($y)][0] = $d; } - $y = ldap_next_attribute($this->ds,$x,$info); + $y = ldap_next_attribute($this->ds,$x); } // if there is a "+" entry we need to make a subcall @@ -231,9 +231,9 @@ $c++; } -# foreach ($import[0] as $x1 => $x2) { -# echo $x1 ." ". count($x2).' '.(is_array($x2) ? $x2[0]:'')."<br />\n"; - # } + // foreach ($import[0] as $x1 => $x2) { + // echo $x1 ." ". count($x2).' '.(is_array($x2) ? $x2[0]:'')."<br />\n"; + // } if (isset($tutos['ldap:'. $this->host .":". $this->port]['fullname']) ) { $v = strtolower($tutos['ldap:'. $this->host .":". $this->port]['fullname']); if (isset($import[0][$v][0]) ) { @@ -351,7 +351,7 @@ if (!isset($loc[$c])) { $loc[$c] = new location($this->dbconn); $loc[$c]->category = 3; # = LDAP retrieved data - } + } $loc[$c]->lname = 'ldap:'.$tutos['ldap:'.$this->host.':'.$this->port]['servername']; foreach(location::$larray as $f ) { if (isset($tutos['ldap:'. $this->host .":". $this->port][$f]) ) { @@ -521,9 +521,10 @@ */ function saveref($dn,&$obj) { global $current_user; - $msg = ""; + + $msg = ''; $msg .= ldap::obj_delete($current_user,$obj); - $q = "INSERT INTO ". $this->tablename ." (adr_id,ldap_dn,host,port) values (". $obj->id .",". $this->dbconn->String($dn) .",". $this->dbconn->String($this->host) .",". $this->port .")"; + $q = 'INSERT INTO '. $this->tablename ." (adr_id,ldap_dn,host,port) values (". $obj->id .",". $this->dbconn->String($dn) .",". $this->dbconn->String($this->host) .",". $this->port .")"; $this->dbconn->Exec($q); return $msg; } @@ -545,12 +546,14 @@ /** * Read a list of groups related to the object */ - static function obj_read(&$obj) { + static function obj_read(tutos_base $obj) { + global $table; + if ( isset($obj->ldaplist) ) { return; } $obj->ldaplist = array(); - $q = "SELECT * FROM ". $obj->dbconn->prefix ."adrldap WHERE adr_id = ". $obj->id; + $q = 'SELECT * FROM '. $obj->dbconn->prefix .$table['adrldap'][name].' WHERE adr_id = '. $obj->id; $r = $obj->dbconn->Exec($q); $n = $r->numrows(); $a = 0; @@ -570,8 +573,10 @@ * delete reference */ static function obj_delete(tutos_user $user,tutos_base $obj) { - $msg = ""; - $q = "DELETE FROM ". $obj->dbconn->prefix ."adrldap WHERE adr_id = ". $obj->id; + global $table; + + $msg = ''; + $q = 'DELETE FROM '. $obj->dbconn->prefix .$table['adrldap'][name].' WHERE adr_id = '. $obj->id; $obj->dbconn->Exec($q); return $msg; } @@ -614,5 +619,5 @@ $r .= "</ul>\n"; return $r; } - } -?> +} +?> \ No newline at end of file Modified: trunk/php/ldap/ldap_show.php =================================================================== --- trunk/php/ldap/ldap_show.php 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/ldap/ldap_show.php 2012-11-23 07:09:55 UTC (rev 842) @@ -24,6 +24,19 @@ loadmodule("ldap"); loadlayout(); +function der2pem($der_data) { + $pem = chunk_split(base64_encode($der_data), 64, "\n"); + $pem = "-----BEGIN CERTIFICATE-----\n".$pem."-----END CERTIFICATE-----\n"; + return $pem; +} +function pem2der($pem_data) { + $begin = "CERTIFICATE-----"; + $end = "-----END"; + $pem_data = substr($pem_data, strpos($pem_data, $begin)+strlen($begin)); + $pem_data = substr($pem_data, 0, strpos($pem_data, $end)); + $der = base64_decode($pem_data); + return $der; +} /** * display a address */ @@ -35,13 +48,12 @@ global $lang,$tutos; $r = ''; - $binfo = 0; if ( ! $this->obj->connect() ) { $r .= $this->error($lang['LDAP_Err001']); return $r; } -# var_dump(ldap_explode_dn($this->filter,0)); + # var_dump(ldap_explode_dn($this->filter,0)); $r .= $this->filter ."<br />"; if (!isset($this->attribs) ) { $this->attribs = array( $this->keyname,"cn","l","sn","o","c","ou","mail","department","*"); @@ -65,21 +77,38 @@ $r .= "<tr><th colspan=\"2\">". $this->obj->getFullName() ."</th></tr>\n"; $x = ldap_first_entry($this->obj->ds,$sr); while ($x != false ) { - $y = ldap_first_attribute($this->obj->ds,$x,$binfo); + $y = ldap_first_attribute($this->obj->ds,$x); while ($y) { $d = ldap_get_values_len($this->obj->ds,$x,$y); - $r .= "<tr>\n"; + $r .= '<tr>'."\n "; $r .= $this->showfield($y); - $r .= "<td>\n"; + $r .= ' <td>'."\n"; if ( isset($d['count']) ) { for ($k = 0;$k < $d['count'];$k++) { if ( preg_match("#certificate#i",$y) ) { // TODO make some cool OPSENSSL Stuff here - $r .= "<br /><pre>skipped (". strlen($d[$k]) ." Bytes)</pre><br />"; + $r .= '<pre>skipped ('. strlen($d[$k]) .' Bytes)</pre><br />'."\n"; + //$r .= "<pre>". $d[$k] ."</pre><br />"; + $x2 = openssl_x509_read(der2pem($d[$k])); + $x3 = openssl_x509_parse($x2); + foreach ($x3 as $xi => $x4) { + $r .= $xi .' = '; + if (is_array($x4)) { + foreach ($x4 as $xii => $x5) { + $r .= "<br /> ".$x5; + } + } else + $r .= $x4 ; + $r .= "<br />\n"; + } + while ($xxx = openssl_error_string()) + $r .= $xxx . " 4<br />\n"; } else if ( $y == "jpegPhoto" ) { - $r .= "<br /><pre>skipped (". strlen($d[$k]) ." Bytes)</pre><br />"; + $r .= '<br /><pre>skipped ('. strlen($d[$k]) .' Bytes)</pre><br />'."\n"; } else if (preg_match("#facsimile#i",$y)){ $r .= handle('fax',$y,$this->obj->decode($d[$k])); + } else if (preg_match("#fax#i",$y)){ + $r .= handle('fax',$y,$this->obj->decode($d[$k])); } else if (preg_match("#telephone#i",$y)){ $r .= handle('phone',$y,$this->obj->decode($d[$k])); } else if (preg_match("#mobile#i",$y)){ @@ -91,49 +120,49 @@ } else if (preg_match("#street#i",$y)){ $r .= preg_replace("#[$]#i","<br />",$d[$k]); } else if (preg_match("#uri#i",$y)){ - $desc = ""; - $uri = ""; + $desc = ''; + $uri = ''; foreach(explode(" ",$d[$k]) as $f) { if (preg_match("#^http#i",$f)) { $uri = $f; } else { - $desc .= $f." "; + $desc .= $f.' '; } } - $r .= "<br /><a target=\"_blank\" href=\"". $uri ."\">". $desc ."(". $uri .")</a>"; + $r .= '<br /><a target="_blank" href="'. $uri .'">'. $desc .'('. $uri .')</a>'; } else { $r .= $this->obj->decode($d[$k]) ." <br />"; } } } else { - $r .= ":". $this->obj->decode($d); + $r .= ':'.$this->obj->decode($d); } - $r .= "</td>"; - $r .= "</tr>\n"; - $y = ldap_next_attribute($this->obj->ds,$x,$binfo); + $r .= ' </td>'."\n"; + $r .= '</tr>'."\n"; + $y = ldap_next_attribute($this->obj->ds,$x); } $x = @ldap_next_entry($this->obj->ds,$x); if ($x != false) { - $r .= "<tr><td colspan=\"2\"><hr></td></tr>\n"; + $r .= '<tr><td colspan="2"><hr></td></tr>'."\n"; } } $r .= $this->DataTableEnd(); - $r .= "<form name=\"ldap_adr_ins\" action=\"ldap_import.php\" method=\"post\">"; + $r .= '<form name="ldap_adr_ins" action="ldap_import.php" method="post">'; if ( !is_object($this->refadr) ) { $r .= $lang['LDAPNotSynced']; - $r .= " <input type=\"submit\" value=\"". $lang['LDAPImport']."\">"; + $r .= ' <input type="submit" value="'. $lang['LDAPImport'].'">'; } else { $r .= $this->refadr->getLink(); - $this->addHidden("adr_id",$this->refadr->id); - $r .= " <input type=\"submit\" value=\"". $lang['LDAPUpdate']."\">"; + $this->addHidden('adr_id',$this->refadr->id); + $r .= ' <input type="submit" value="'. $lang['LDAPUpdate'].'">'; } - $this->addHidden("key",$this->filter); - $this->addHidden("host",$this->obj->host); - $this->addHidden("port",$this->obj->port); + $this->addHidden('key',$this->filter); + $this->addHidden('host',$this->obj->host); + $this->addHidden('port',$this->obj->port); $r .= hiddenFormElements(); $r .= $this->getHidden(); - $r .= "</form>"; + $r .= '</form>'; $this->obj->close(); return $r; } Modified: trunk/php/ldap/mconfig.pinc =================================================================== --- trunk/php/ldap/mconfig.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/ldap/mconfig.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -1,8 +1,9 @@ <?php /* + * Copyright 2002 - 2012 by Gero Kohnert * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. * * Module specific configuration @@ -14,54 +15,50 @@ * This module ldap integration in PHP */ -# -# Every module must have an individual ID ( < 0 > -100 ). -# this is module -17 -# - +// +// Every module must have an individual ID ( < 0 > -100 ). +// this is module -17 +// if (! defined('useldap')) { - define('useldap',-17); + define('useldap',-17); } -$tutos[modules]['ldap'] = -array( - name => "ldap", - Desc => "searching ldap servers", - file => "php/ldap/ldap.pinc", - 'overview' => "address_select.php", - 'perm' => useldap - ); -# -# globally enable this module -# +$tutos[modules]['ldap'] = + array( + name => "ldap", + Desc => "searching ldap servers", + file => "php/ldap/ldap.pinc", + 'overview' => "address_select.php", + 'perm' => useldap + ); +// +// globally enable this module +// if (!isset($tutos[useldap])) - $tutos[useldap] = 1; + $tutos[useldap] = 1; if (($tutos[useldap] != 0) && !extension_loaded('ldap')) { - if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { - dl('php_ldap.dll'); - } else { - dl('ldap.so'); - } + if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { + dl('php_ldap.dll'); + } else { + dl('ldap.so'); + } } if ( ($tutos[useldap] != 0) && ! function_exists('ldap_connect')) { - $confmsg .= "<br />\nDisabled ldap (not supported by this PHP)<br />\n"; - $confmsg .= "Please change your config file and add a line<br />\n"; - $confmsg .= "\$tutos[". useldap. "] = 0;<br />\n"; - $tutos[useldap] = 0; + $confmsg .= "<br />\nDisabled ldap (not supported by this PHP)<br />\n"; + $confmsg .= "Please change your config file and add a line<br />\n"; + $confmsg .= "\$tutos[". useldap. "] = 0;<br />\n"; + $tutos[useldap] = 0; } -# -# List of objects/modules where we do something with this module -# and need to include this module -# -$tutos[modulesinc]['ldap'] = -array( - "address", - "scheme", - ); -# -# skipped (unused) permissions -# +// +// List of objects/modules where we do something with this module +// and need to include this module +// +$tutos[modulesinc]['ldap'][] = 'address'; +$tutos[modulesinc]['ldap'][] = 'scheme'; +// +// skipped (unused) permissions +// $permskip[useldap][PERM_NEW] = 1; $permskip[useldap][PERM_MOD] = 1; $permskip[useldap][PERM_DEL] = 1; Modified: trunk/php/module_base.pinc =================================================================== --- trunk/php/module_base.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/module_base.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -15,7 +15,7 @@ */ Function moduleloaded($key) { return isset($tutos[activemodules][$key]); - } +} /** * load modules that want to work here @@ -153,7 +153,7 @@ /** * add the addlinks of attached modules within the given object */ -Function add_module_addlinks(layout $layout,&$obj) { +Function add_module_addlinks(layout $layout,tutos_base $obj) { global $tutos; foreach($tutos[activemodules] as $f) { Modified: trunk/php/report-engine/mconfig.pinc =================================================================== --- trunk/php/report-engine/mconfig.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/report-engine/mconfig.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -10,46 +10,43 @@ * report engine module */ -# -# Every module must have an individual ID ( < 0 > -100 ). -# this is module -88 -# +// +// Every module must have an individual ID ( < 0 > -100 ). +// this is module -88 +// if (! defined('usereporter')) { - define('usereporter',-88); + define('usereporter',-88); } -$tutos[modules]['report-engine'] = -array( - name => "report", - Desc => "generate reports , forms and documents", - file => "php/report-engine/reporter.pinc", - 'overview' => "report-engine/report_select.php", - 'perm' => usereporter - ); -# -# globally enable this module -# +$tutos[modules]['report-engine'] = + array( + name => "report", + Desc => "generate reports , forms and documents", + file => "php/report-engine/reporter.pinc", + 'overview' => "report-engine/report_select.php", + 'perm' => usereporter + ); +// +// globally enable this module +// if (!isset($tutos[usereporter])) - $tutos[usereporter] = 1; + $tutos[usereporter] = 1; -# -# List of objects/modules where we do something with this module -# and need to include this module -# -$tutos[modulesinc]['report-engine'] = -array( - "address", - "group", - "company", - "product", - "bugtracking", - "task", - "scheme", - ); -# -# skipped (unused) permissions -# +// +// List of objects/modules where we do something with this module +// and need to include this module +// +$tutos[modulesinc]['report-engine'][] = 'address'; +$tutos[modulesinc]['report-engine'][] = 'group'; +$tutos[modulesinc]['report-engine'][] = 'company'; +$tutos[modulesinc]['report-engine'][] = 'product'; +$tutos[modulesinc]['report-engine'][] = 'bugtracking'; +$tutos[modulesinc]['report-engine'][] = 'task'; +$tutos[modulesinc]['report-engine'][] = 'scheme'; +// +// skipped (unused) permissions +// $permskip[usereporter][PERM_NEW] = 1; $permskip[usereporter][PERM_MOD] = 1; $permskip[usereporter][PERM_DEL] = 1; Modified: trunk/php/report-engine/reporter.pinc =================================================================== --- trunk/php/report-engine/reporter.pinc 2012-11-16 10:23:59 UTC (rev 841) +++ trunk/php/report-engine/reporter.pinc 2012-11-23 07:09:55 UTC (rev 842) @@ -1,6 +1,6 @@ <?php /** - * Copyright 2004 - 2009 by Gero Kohnert + * Copyright 2004 - 2012 by Gero Kohnert * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -63,7 +63,7 @@ $this->target = $report[$name]['target']; } ReadLang1($lang,dirname($tutos['base'] ."/php/report-engine/".$report[$name]['dir']."/".$report[$name]['file'] ),$current_user); -# echo dirname($tutos['base'] ."/php/report-engine/".$report[$name]['dir']."/".$report[$name]['file'] )." XXX<br />"; + // echo dirname($tutos['base'] ."/php/report-engine/".$report[$name]['dir']."/".$report[$name]['file'] )." XXX<br />"; return; } @@ -95,7 +95,7 @@ /** * Return Info about possible reports to a object */ - static function obj_read(&$obj,$c,$t) { + static function obj_read(tutos_base $obj,$c,$t) { global $lang,$tutos,$msg; if (! file_exists($tutos['base'] ."/php/report-engine/report_list.php") ) { @@ -108,20 +108,20 @@ foreach ($report as $i => $j) { if (!isset($j['category'])) { - $j['category'] = 1; # default + $j['category'] = 1; // default } if (is_array($j['class'])) { foreach($j['class'] as $i2 => $j2) { if ($j['class'][$i2] != $c) continue; if ($j['type'][$i2] != $t) continue; $obj->list[usereporter][$i] = $j; -# echo $i.' '.$c.' '.$t.' '.$j['category']."<br />"; + //echo $i.' '.$c.' '.$t.' '.$j['category']."<br />"; } } else { if ($j['class'] != $c) continue; if ($j['type'] != $t) continue; $obj->list[usereporter][$i] = $j; -# echo $i.' '.$c.' '.$t.' '.$j['category']."<br />"; + //echo $i.' '.$c.' '.$t.' '.$j['category']."<br />"; } } return; @@ -156,7 +156,7 @@ ); } } -# print_r($xa); + # print_r($xa); return $xa; } /** @@ -189,7 +189,7 @@ ); } } -# print_r($xa); + # print_r($xa); return $xa; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gok...@us...> - 2012-11-16 10:24:06
|
Revision: 841 http://tutos.svn.sourceforge.net/tutos/?rev=841&view=rev Author: gokohnert Date: 2012-11-16 10:23:59 +0000 (Fri, 16 Nov 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/php/testmanager/testcase_overview.php trunk/php/testmanager/testsuite_overview.php Modified: trunk/php/testmanager/testcase_overview.php =================================================================== --- trunk/php/testmanager/testcase_overview.php 2012-11-15 13:55:22 UTC (rev 840) +++ trunk/php/testmanager/testcase_overview.php 2012-11-16 10:23:59 UTC (rev 841) @@ -86,11 +86,11 @@ $linkup = addUrlParameter($this->link2,'up='.$b->id); $linkdown = addUrlParameter($this->link2,'down='.$b->id); $r .= ' <td class="over_l">'; - if($b->mod_ok() && $_GET['xf'] == 'pos') { + if($b->mod_ok() && $this->order_fld == 'pos') { $r .= makelink($linkup,$this->theme->getImage(up,'list')); } $r .= $b->pos; - if($b->mod_ok() && $_GET['xf'] == 'pos') { + if($b->mod_ok() && $this->order_fld == 'pos') { $r .= makelink($linkdown,$this->theme->getImage(down,'list')); } $r .= '</td>'."\n"; Modified: trunk/php/testmanager/testsuite_overview.php =================================================================== --- trunk/php/testmanager/testsuite_overview.php 2012-11-15 13:55:22 UTC (rev 840) +++ trunk/php/testmanager/testsuite_overview.php 2012-11-16 10:23:59 UTC (rev 841) @@ -97,11 +97,11 @@ $xx = ''; $linkup = addUrlParameter($this->link2,'up='.$b->id); $linkdown = addUrlParameter($this->link2,'down='.$b->id); - if($b->mod_ok() && $_GET['xf'] == 'pos') { + if($b->mod_ok() && $this->order_fld == 'pos') { $xx .= makelink($linkup,$this->theme->getImage(up,'list')); } $xx .= $b->pos; - if($b->mod_ok() && $_GET['xf'] == 'pos') { + if($b->mod_ok() && $this->order_fld == 'pos') { $xx .= makelink($linkdown,$this->theme->getImage(down,'list')); } $r .= $this->OverviewRowBlock($xx,'over_l'); @@ -231,7 +231,6 @@ if (isset($this->filter['ref_id']) && is_object($this->filter['ref_id']) && $this->filter['ref_id']->getType() == 'testsuite') { $this->head['pos'] = true; if (!isset($_GET['xf'])) { - $_GET['xf'] = 'pos'; $defsort = array('pos',1); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |