|
nasthon1004 (freedom) v1.1.3 released |
|
Change Log - nasthon1004
|
|
Sunday, 14 December 2008 21:19 |
Changes
- Compatible with latest Jamit Job Board version - v3.4.11
- Minor fixes
Change Files:
css\menu.css js\block.js lang\english_default.php display-post.php main-ext.css main-print.css main.css readme.txt
1) Update /display-post.php
1.1) Add comments at top of the file just like themes/default/display-post.php 1.2) Show "back to list" button in FULL MODE only 1.3) Truncate employer profile description with 400 character. FIND: $btn_backToList = '<a href="#" onclick="window.location=\''. htmlentities(JB_get_go_back_link()) .'\'; return false;" class="iconbutton">' . '<div style="float:left; margin-right:3px;"><img src="'. JB_THEME_URL . 'images/icon/arrow2.gif"></div>'. '<div style="float:left;">'. $label['nasthon1005_link_back'] . '</div>' . '</a>'; CHANGE TO: if ($display_mode == 'FULL') { $btn_backToList = '<a href="#" onclick="window.location=\''. htmlentities(JB_get_go_back_link()) .'\'; return false;" class="iconbutton">' . '<div style="float:left; margin-right:3px;"><img src="'. JB_THEME_URL . 'images/icon/arrow2.gif"></div>'. '<div style="float:left;">'. $label['nasthon1005_link_back'] . '</div>' . '</a>'; } FIND: //$COMP_DESC = truncate_html_str( process_for_html_output( $prams_emp[86]), 400); $COMP_DESC = JB_process_for_html_output( $prams_emp[86]); CHANGE TO: $dummy = ''; $COMP_DESC = JB_truncate_html_str( JB_process_for_html_output( $prams_emp[86]), 400, $dummy); 2) Update /main.css
LOCATE: ".cat_subcategory" AND "A.cat_parent_link" REMOVE: font-family: "arial", "verdana", sans-serif; PUT THIS COMMENT ABOVE ".payment_block" /* Employers / Candidates payment.php page */ CHANGE ALL: fold-weight:normal; TO: font-weight:normal; LOCATE: TABLE.cat_table td{ CHANGE: wrap: no-wrap; TO: white-space: nowrap;
3) Update /css/menu.css
REMOVE: <style type="text/css"> </style>
4) Update /main-ext.css
FIND: .clear{line-height:0px; clear:both; border:0 px solid red; margin:0px; padding:0px;} CHANGE TO: .clear{line-height:0px; clear:both; border:0px solid red; margin:0px; padding:0px;} REMOVE: repeat-x top; REMOVE: background-image:url('images/delete.gif'); 5) Update /main-print.css FIND: #logo{ margin-bottom:4px; !important;}
TO: #logo{ margin-bottom:4px !important;} 6) Javascript error fix
edit: /js/block.js REPLACE WITH FOLLOWING FUNCTION: function switchByCatFormHome(_id, _id2, _id3){
//alert(_id.style.display); _id.style.display = 'inline'; _id.style.width="100%"; if (_id2 != null) _id2.style.display = 'none'; if (_id3 != null) _id3.style.display = 'none'; if (_id.id=="cat_2"){ this.document.getElementById('tablink01').className='tablink'; if (_id2 != null) this.document.getElementById('tablink02').className='tablink2'; if (_id3 != null) this.document.getElementById('tablink03').className='tablink'; }else if (_id.id=="cat_3"){ this.document.getElementById('tablink01').className='tablink'; if (_id2 != null) this.document.getElementById('tablink02').className='tablink'; if (_id3 != null) this.document.getElementById('tablink03').className='tablink2'; }else{ this.document.getElementById('tablink01').className='tablink2'; if (_id2 != null) this.document.getElementById('tablink02').className='tablink'; if (_id3 != null) this.document.getElementById('tablink03').className='tablink'; } return false; } |
|
|
|
|
|
|