From: Cindy Qi Li Date: Thu, 15 Sep 2011 16:00:54 +0000 (-0400) Subject: Issue-4845: Merged in branch 'gsoc11_benj' for the enhanced mobile theme. X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=atutor.git;a=commitdiff_plain;h=b074c7dbbdf6ffc4a8a9cd13de0c42048bea5eba Issue-4845: Merged in branch 'gsoc11_benj' for the enhanced mobile theme. --- b074c7dbbdf6ffc4a8a9cd13de0c42048bea5eba diff --cc docs/admin/config_edit.php index 54cffa063,0d65eaf64..690a33adc --- a/docs/admin/config_edit.php +++ b/docs/admin/config_edit.php @@@ -141,260 -141,7 +141,6 @@@ if (!isset($_POST['submit'])) } ?> -
-
-
- *
- -
- -
-
- - -
- -
-
- - - - - - printDropdown($select_lang, 'default_language', 'default_lang'); ?> - -
- -
- *
- -
- -
-
- - '; - echo ''; - foreach ($utc_timezones as $zone => $offset){ - if(($offset[1]) == $_config['time_zone']){ - echo ''; - }else{ - echo ''; - - } - } - echo ""; - - - //echo ' '; - - // If PHP 5+ generate a list of timezones - /* - if(phpversion() >= 5){ - $timezone_names = timezone_identifiers_list(); - }else{ - // if less than PHP version 5, read a text file to generate the menu - $timezone_names = file("timezones.txt"); - } - - echo ''; - */ - echo AT_date(_AT('server_date_format'), '', AT_DATE_MYSQL_DATETIME); - ?> -
- -
- (: )
- -
- -
- (: )
- -
- -
- (: )
- -
- -
- (: )
- -
- -
- (: )
- $value): ?> - />
- -
- -
- (: )
- /> - - /> -
-
- (: )
- /> /> -
-
- (: )
- /> /> -
- -
- (: )
- /> /> -
-
- (: )
- - /> /> - - - -
-
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
-
- -
- -
-
- -
- -
-
- -
- -
- (: )
- -
- -
- (: )
- -
- -
- (: )
- /> /> -
- -
- (: )
- /> /> -
- -
- - (: )
-
- 2 * 60 * 60)): ?> - - - /> /> - -
- -
- (: )
-
- 2 * 60 * 60)): ?> - - - /> /> - -
- -
- (: )
- onclick="apache_mod_rewrite_toggler(true);"/> onclick="apache_mod_rewrite_toggler(false);"/> -
- -
- (: )
- /> /> -
- -
-
- - (: )
- /> /> - - (: )
- - -
- -
- - -
-
-
- -- - + assign('current_tab', $current_tab); + $savant->assign('course_id', $course_id); + $sql = "SELECT course_id, title FROM ".TABLE_PREFIX."courses ORDER BY title"; + $result = mysql_query($sql, $db); + $savant->assign('result', $result); + $savant->assign('checked_match_all', $checked_match_all); + $savant->assign('checked_match_one', $checked_match_one); + $savant->assign('page', $page); + $savant->assign('tab_counts', $tab_counts); + $savant->assign('page_string_w_tab', $page_string_w_tab); + $savant->assign('order', $order); + $savant->assign('orders', $orders); + $savant->assign('col', $col); + $savant->assign('cols', $cols); + $savant->assign('results_per_page', $results_per_page); + $savant->assign('num_tabs', $num_tabs); + $savant->assign('tabs', $tabs); + $savant->assign('enrollment_result', $enrollment_result); + if($_SESSION['is_admin'] == 0 && $_SESSION['privileges'] == AT_ADMIN_PRIV_ADMIN) { + $savant->display('admin/courses/enrollment.tmpl.php'); + } + if($_SESSION['is_admin'] == 1){ + $savant->display('instructor/enrolment/index.tmpl.php'); + } + -require(AT_INCLUDE_PATH.'footer.inc.php'); ?> ++require(AT_INCLUDE_PATH.'footer.inc.php'); ++?> diff --cc docs/mods/_core/users/instructor_requests.php index 6d5eb6413,f5fa8d6f1..6487ec214 --- a/docs/mods/_core/users/instructor_requests.php +++ b/docs/mods/_core/users/instructor_requests.php @@@ -164,51 -81,8 +164,10 @@@ require(AT_INCLUDE_PATH.'header.inc.php $sql = "SELECT M.login, M.first_name, M.last_name, M.email, M.member_id, A.* FROM ".TABLE_PREFIX."members M, ".TABLE_PREFIX."instructor_approvals A WHERE A.member_id=M.member_id ORDER BY M.login"; $result = mysql_query($sql, $db); $num_pending = mysql_num_rows($result); - ?> - -
- - - - - - - - - - - - - - - - - - '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - - echo ''; - } while ($row = mysql_fetch_assoc($result)); - } else { - echo ''; - } - ?> - -
 
- - - - -
'.AT_print($row['first_name'], 'members.first_name').''.AT_print($row['last_name'], 'members.last_name').''.AT_print($row['email'], 'members.email').''.AT_print($row['notes'], 'instructor_approvals.notes').'
'._AT('none_found').'
-
- + $savant->assign('result', $result); + $savant->assign('num_pending', $num_pending); + $savant->display('admin/users/instructor_requests.tmpl.php'); -require(AT_INCLUDE_PATH.'footer.inc.php'); ?> ++ ++require(AT_INCLUDE_PATH.'footer.inc.php'); ++?> diff --cc docs/mods/_standard/patcher/module.php index 7f9e41c43,c51cab590..2def6fe81 --- a/docs/mods/_standard/patcher/module.php +++ b/docs/mods/_standard/patcher/module.php @@@ -23,7 -23,7 +23,7 @@@ if (admin_authenticate(AT_ADMIN_PRIV_PA $this->_pages['mods/_standard/patcher/index_admin.php']['title_var'] = 'patcher'; $this->_pages['mods/_standard/patcher/index_admin.php']['parent'] = AT_NAV_ADMIN; $this->_pages['mods/_standard/patcher/index_admin.php']['avail_in_mobile'] = false; - - ++ $this->_pages['mods/_standard/patcher/index_admin.php']['children'] = array('mods/_standard/patcher/myown_patches.php','mods/_standard/patcher/patch_create.php'); $this->_pages['mods/_standard/patcher/myown_patches.php']['title_var'] = 'myown_patches'; $this->_pages['mods/_standard/patcher/myown_patches.php']['parent'] = 'mods/_standard/patcher/index_admin.php'; diff --cc docs/themes/default/styles.css index 5a847c14b,efb76dd29..60f7e6b13 --- a/docs/themes/default/styles.css +++ b/docs/themes/default/styles.css @@@ -10,18 -10,19 +10,18 @@@ html,body margin-left:.8em; float:left; } - /* main body attributes */ + /* main body attributes STARTED HERE */ body { font-family: Verdana, Helevetica, Arial, sans-serif; + font-size:.8em; margin:0px; - margin-top: -10px; - background-color: #EDE7C2; + background-color: #F2F9FA; } .page_wrapper{ - border:1px solid #aaaaaa; - width:97%; +/* border:1px solid #aaaaaa;*/ + width:100%; margin-left:auto; margin-right:auto; - margin-top:1em; background-color: #ffffff; border-radius: 1em 1em 1em 1em; -moz-border-radius: 1em 1em 1em 1em; @@@ -2496,445 -2507,11 +2496,449 @@@ float:right img.fl-col{ height:3.5em; width:3.5em; -font-size:100%; +/*font-size:100%;*/ +} + + +/* Photo Album Styles + * + * + * + * + */ +div.topbar{ + float:left; + width: 95%; +} +div.paginator{ + float: right; + margin: 0px; +} +.paginator ul li{ + list-style: none; +} +.paginator li{ + padding-right: 0.5em; + float: left; +} + +div.summary{ + float: left; + margin-top: 0.5em; + width:70%; +} + +div.album_panel{ + float: left; + background: #F7F7F7; + border: 1px solid #D2D2D2; + width: 96%; + border-radius:.5em; + -moz-border-radius: .5em .5em .5em .5em; +/* -moz-box-shadow:.2em .2em .1em #999999; + box-shadow: .2em .2em .1em #999999;*/ + padding:.3em; +} +div.album_panel div.photo_wrapper { + /* This class is to fix the problem where the images shift + * to the right when there is a border upon selection + */ + height: 150px; + float: left; +} +div.album_panel .photo_frame{ + float: left; + margin: 0.2em; + min-height: 140px; + min-width: 140px; + text-align: center; +} +div.album_panel .photo_frame a:focus, div.album_panel .photo_frame a:hover{ + cursor: pointer; + float:left; + min-width: 140px; + min-height: 140px; + background: #FCE6C9; +} +div.album_panel .photo_frame img{ + background: #FFFFFF; + border: 1px solid #D2D2D2; + padding: 0.2em; +} +div.album_panel .album_description{ + margin: 0.5em; + width: 95%; + float: left; +} + +div.search_bar { + /* background-image: url('images/search_bg.png'); + background-repeat: no-repeat; */ + background-color:#ffffff; + border:thin solid #cccccc; + margin-left: 0.5em; + margin-top: 0.5em; + height: 27px; + width: 180px; + float: left; + border-radius:.5em; + -moz-border-radius:.8em .8em .8em .8em; +/* -moz-box-shadow:.2em .2em .1em #999999; + box-shadow: .2em .2em .1em #999999;*/ +} +div.search_bar .s{ + float: left; + border: 0px; + margin-top: 0.3em; + margin-left: 0.5em; + width: 148px; +} +div.search_bar .s_img{ + float: right; + border: 0px; + margin-top: 0.375em; + margin-top: -1.4em\9; /* the \9 to accomodate IE 7&8 */ + margin-right: 0.4em; +} + +div.album { + background: #FFFFFF; + padding:1em; + border: 1px solid #D2D2D2; + width: 95%; + margin: 0.5em; + float: left; + border-radius:.5em .5em .5em .5em; + -moz-border-radius: .5em .5em .5em .5em; +/* -moz-box-shadow:.2em .2em .1em #999999; + box-shadow: .2em .2em .1em #999999;*/ +} +div.album .image{ + float: left; + margin: 0.5em; + min-width: 140px; +} +div.album img{ + border-width: 0px; +} +div.album .image img.no-image { + float: left; + width: 130px; + height: 97px; + background-color: #EFEFEF; +} +div.album .info{ + float: left; + width: 70%; +} +div.album .info span{ + float: left; + color: #666666; +} +div.album .info p{ + font-size: 0.85em; + margin: 0; +} +div.album .search_photo_frame{ + float: left; + margin: 0.2em; + min-height: 160px; + max-height: 160px; + max-width: 140px; + text-align: center; + border: 1px solid #d3d3d3; + overflow: hidden; +} +div.album .search_slider{ + float: left; + overflow: hidden; + position: relative; /* ie7 */ +} +div.album .search_slider_left{ + float: left; + width: 10%; +} +div.album .search_slider_right{ + float: right; + text-align: right; + width: 10%; +} +div.album .search_slider ul { + list-style-type: none; + margin: 0; + padding: 0; + width: 99999px; + position: relative; +} +div.album .search_slider ul li{ + float: left; +} +div.album .search_slider_a{ + width: 80%; +} +div.album .search_slider_p{ + width: 730px; /* 146 per frame, 5 frame per row */ +} +div.album .search_slider_p ul li{ +/* height: 576px; /* 144 per frame, 4 row */ + width: 730px; /* 146 per frame, 5 frame per row */ +} +div.album .search_paginator { + width: 100%; +} + +div.add_photo{ + float: left; + background: #F7F7F7; + border: 1px solid #D2D2D2; + width: 96%; + border-radius:.5em; + -moz-border-radius: .3em .3em .3em .3em; + margin-bottom:.2em; +} +div.add_photo ul{ + margin: 0px; + padding: 0px; +} +div.add_photo .toggle_uploader{ + width: 95%; + margin: 0.5em; +} +div.add_photo div#ajax_uploader{ + display: none; + margin-top: 0.5em; +} +div.add_photo .files .tn { + max-height: 30px; +} +div.add_photo img{ + border: 0; +} +div.add_photo ul li{ + float: left; + padding: 0.2em; + list-style: none; + width: 100%; + height: 100%; + border-bottom: 1px solid #ddd; +/* display: inline; */ +} +div.add_photo p.memory_usage { + float: right; + font-size: 0.9em; + color: #5B5B5B; +} + +div.add_profile_photo{ + float: left; + background: #F7F7F7; + border: 1px solid #D2D2D2; + width: 96%; + border-radius:.5em; + -moz-border-radius: .5em .5em .5em .5em; +/* -moz-box-shadow:.2em .2em .1em #999999; + box-shadow: .2em .2em .1em #999999;*/ + margin-bottom:.2em; + +} +div.add_profile_photo .profile_photo{ + float: left; + padding: 0.5em; + +} +div.add_profile_photo .uploader{ + float: left; + width: 50%; + padding: 0.5em; + border-bottom: 1px solid #ddd; +} + +div.photo_panel{ + background: #F7F7F7; + float: left; + border: 1px solid #D2D2D2; + text-align: center; + width: 95%; + padding: 0.5em; + border-radius:.5em; + -moz-border-radius: .5em .5em .5em .5em; +} +div.photo_panel img{ + background: #FFFFFF; + border: 1px solid #D2D2D2; + padding: 0.2em; +} +div.photo_panel div.ordering{ + float:left; +} +div.photo_panel div.paginator{ + float:right; +} +div.photo_panel .flc-inlineEditable{ + width: 604px; + margin: 0 auto; + padding-top: 0.5em; + padding-bottom: 0.5em; +} +div.comment_panel{ + background: #FFFFFF; + float: left; + border: 1px solid #D2D2D2; + width: 95%; + padding:.5em; + border-radius: .3em .3em .3em .3em; + -moz-border-radius: .3em .3em .3em .3em; +/* -moz-box-shadow:.2em .2em .1em #999999; + box-shadow: .2em .2em .1em #999999;*/ + margin-top:.2em; +} +div.comment_panel .comment_feeds{ + float: left; + width: 50%; +} +div.comment_panel .photo_actions{ + margin: 0.5em; + max-width: 49%; + background: #F7F7F7; + float:right; + padding:1em; + border:thin solid #cccccc; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; +} +.row textarea#comment_template, textarea#comment_template active{ + background-color:#eeeeee; + border:thin solid #eeeeee; + border:thin solid #cccccc; + padding:.2em; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; +} +.row textarea#comment{ + background-color:#ffffff; + border:thin solid #eeeeee; + border:thin solid #cccccc; + padding:.2em; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; +} +div.comment_panel textarea{ + width:100%; +} + +div.comment_box{ + float:left; + width:100%; + margin: 0.5em; + padding-top: 0.5em; + padding-bottom: 0.5em; + background: #F7F7F7; +} +div.comment_box .comment_actions{ + float: left; + margin-top: 1em; + font-size: 0.8em; + color: #666666; +} + +div.edit_photo_frame{ + width: 95%; + float: left; + padding: 0.2em; + background: #F7F7F7; + border:thin solid #cccccc; + border-radius:.5em; + -moz-border-radius: .5em .5em .5em .5em; +} +div.edit_photo_box{ + float: left; + border: 1px solid #D2D2D2; + background: white; + margin: 0.2em; + margin-bottom: 0.8em; + padding: 0.8em; + width: 94%; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; +} +div.edit_photo_box .info{ + float: left; + width: 60%; +} + +.info textarea{ + background-color: #eeeeee; + border:thin solid #cccccc; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; + margin-top:.2em; +} +div.edit_photo_box .info textarea.alt_text{ + height: 2.5em; +} +div.edit_photo_box .info textarea{ + width: 100%; +} +div.edit_photo_box .action{ + float: right; + background: #F7F7F7; + min-width: 140px; + padding:.2em; + border:thin solid #cccccc; + border-radius:.3em; + -moz-border-radius: .3em .3em .3em .3em; +} + + +/* FLUID Image Reorderer */ +.fl-imageReorderer-item { +} +.fl-reorderer-movable-hover a{ + cursor: pointer; + background-color: #ECEECC; +} +.fl-reorderer-movable-dragging a{ + background-color: #ECEECC; +} +.fl-reorderer-dropMarker { + border: 2px solid red; + min-height: 100px; + float: left; +} +.fl-reorderer-avatar { + opacity: 0.6; + filter:alpha(opacity=60); +} + + +/* FLUID Simple Inline Editor */ +.fl-inlineEdit-invitation { + background-color: #FFECB3 !important; + border: 1px solid #CCC !important; +} +.fl-inlineEdit-focus { + border: 2px solid #777777; +} + + +.pa_tool_link{ + +text-decoration:none; +} + +.pa_tool_image{ +vertical-align:middle; +margin-right:.5em; } - + /*social networking box on admin page */ + #social_networking{ + padding: 1em; + margin: 0; + } +/* End Photo Album Styles + * + * + * + * - */ ++ */