From e538ad192a129170ba7744ee91f1eb4ab69e90e2 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 21 May 2008 23:47:22 +0200 Subject: [PATCH] [svn r15354] Minor - Fixed step's title when adding new items in LP --- main/css/academica/learnpath.css | 22 +++++++++++++-- main/css/baby_orange/learnpath.css | 19 +++++++++++-- main/css/corporate/learnpath.css | 20 ++++++++++--- main/css/dokeos_classic/learnpath.css | 19 +++++++++++-- main/css/dokeos_classic_2D/learnpath.css | 23 ++++++++++++--- main/css/medical/learnpath.css | 19 +++++++++++-- main/css/public_admin/learnpath.css | 36 +++++++++++++----------- main/newscorm/learnpath.class.php | 24 ++++++++++------ 8 files changed, 136 insertions(+), 46 deletions(-) diff --git a/main/css/academica/learnpath.css b/main/css/academica/learnpath.css index 1249db21e8..20cfe719c7 100644 --- a/main/css/academica/learnpath.css +++ b/main/css/academica/learnpath.css @@ -48,10 +48,26 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} + +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; + +} + -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/baby_orange/learnpath.css b/main/css/baby_orange/learnpath.css index f5f027b6e3..940962e6fe 100755 --- a/main/css/baby_orange/learnpath.css +++ b/main/css/baby_orange/learnpath.css @@ -47,10 +47,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/corporate/learnpath.css b/main/css/corporate/learnpath.css index f5f027b6e3..cc6de0da93 100755 --- a/main/css/corporate/learnpath.css +++ b/main/css/corporate/learnpath.css @@ -46,11 +46,23 @@ table.lp_build td{vertical-align:top;} table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} - -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/dokeos_classic/learnpath.css b/main/css/dokeos_classic/learnpath.css index 6a48e4fa6f..e575b67d2f 100755 --- a/main/css/dokeos_classic/learnpath.css +++ b/main/css/dokeos_classic/learnpath.css @@ -65,10 +65,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/dokeos_classic_2D/learnpath.css b/main/css/dokeos_classic_2D/learnpath.css index f9110ebf23..5dde25d3cd 100755 --- a/main/css/dokeos_classic_2D/learnpath.css +++ b/main/css/dokeos_classic_2D/learnpath.css @@ -37,7 +37,9 @@ div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bo div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;} div.lp_resource_elements div{padding:3px;} -div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;} +div.lp_tree{ +height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px; +} hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;} @@ -62,10 +64,23 @@ table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/medical/learnpath.css b/main/css/medical/learnpath.css index 8539b5945b..542a4d2559 100755 --- a/main/css/medical/learnpath.css +++ b/main/css/medical/learnpath.css @@ -62,11 +62,24 @@ table.lp_build td{vertical-align:top;} table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} diff --git a/main/css/public_admin/learnpath.css b/main/css/public_admin/learnpath.css index 8539b5945b..ff9e5bad29 100755 --- a/main/css/public_admin/learnpath.css +++ b/main/css/public_admin/learnpath.css @@ -62,41 +62,43 @@ table.lp_build td{vertical-align:top;} table.lp_build td.tree{border-right:1px solid #999999; width:240px;} table.lp_build td.workspace{padding:0; width:auto;} +table.lp_form{ + font-size:12px; + margin:0 10px; + width:auto; +} -table.lp_form{font-size:12px; margin:0 10px; width:100%;} +table.lp_form td{ + height:25px; + padding:5px; + vertical-align:top; + width:auto; +} +table.lp_form td.label +{ + padding-top:7px; + text-align:right; +} -table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} -table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} table.lp_form td.radio{width:300px;} table.lp_form td.exercise{width:50px;} - table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;} table.lp_overview th.exercise{width:50px;} -table.lp_form input, - table.lp_form select, - table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} +table.lp_form input,table.lp_form select,table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} table.lp_form td.radio input, - table.lp_form td.exercise input{width:auto;} - -table.lp_form .small_form{background:#FFFFFF;} - +table.lp_form td.exercise input{width:auto;} +table.lp_form .small_form{background:#FFFFFF;} table.lp_form select{padding:0;} - table.lp_form input.button{width:75px;} - table.lp_overview{font-size:12px; width:100%;} - table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;} table.lp_overview td.title{width:200px;} table.lp_overview td.actions{text-align:center; width:100px;} table.lp_overview td.move{text-align:center; width:50px;} - table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;} - table.lp_overview tr{background:#F8F8F8;} table.lp_overview tr:hover{background:#E5EDF9;} - table.lp_overview img{margin-left:3px;} \ No newline at end of file diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 7c6c75aab7..dc147cae71 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -5392,6 +5392,17 @@ class learnpath { function display_thread_form($action = 'add', $id = 0, $extra_info = '') { + echo ' + '; $tbl_lp_item = Database::get_course_table('lp_item'); $tbl_forum = Database::get_course_table(TABLE_FORUM_THREAD); @@ -5834,15 +5845,10 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') echo ' '; + div.row div.formw { + width: 80%; + } + '; $tbl_lp_item = Database::get_course_table('lp_item'); $tbl_doc = Database::get_course_table(TABLE_DOCUMENT);