nasthon1004 (freedom) v1.1.2 released
Change Log - nasthon1004
Saturday, 15 November 2008 20:08

Key Enhancement:

  1. Print-Friendly Job Post Details page.
  2. Print-Friendly for Resumes Viewing.

Changes

  1. Compatible with latest Jamit Job Board version - v3.4.10
  2. Minor fixes

Change Files:

candidate-login-form.php
candidate-menu.php
candidates-footer.php
candidates-header.php
candidates-outside-footer.php
candidates-outside-header.php
display-post.php
employer-login-form.php
employer-menu.php
employers-footer.php
employers-header.php
employers-outside-footer.php
employers-outside-header.php
employers.css
index-category.php
index-footer.php
index-header.php
info-box-top.php
js-menu.css
main-ext.css
main.css
nas_email_others_window.php
nas_hbar.php
readme.txt
resume-form.php


1) Key Enhancement:

1. Print-Friendly Job Post Details page.
2. Print-Friendly for Resumes Viewing.


create: /main-print.css

edit:

* /index-header.php
* /candidates-header.php
* /employers-header.php

ADD AFTER: "main-ext.css"

<link rel="styleSheet" type="text/css" href="/store/<?= JB_THEME_URL ?>main-print.css" media="print">

edit: /include/_adv.php

Add <div class="noprint"></div> to wrap the code.

edit: /display-post.php

Add: #jd, #jd-btns

edit: /main-ext.css

ADD:  #jd-btns{ float:right; }

edit: /resume-form.php

ADD TOP AND BOTTOM:
<?php /* NASTHON */
if ($mode == "view") {
$BTN_PRINTPRE = '<a class="iconbutton"  href="javascript:printpreview();">' . '<div style="float:left; margin-top:-1px; margin-right:2px; display:inline;"><img src="'.JB_THEME_URL. 'images/icon/printer.gif" border="0"></div>' . '<div style="float:left;">' . $label['nasthon1005_button_print'] . '</div></a>';
echo '<div class="printbtn" style="margin-top:10px;">' . $BTN_PRINTPRE . '</div>';
}
?>

2) Shorten the javascript menu button under Jobseeker and Employer Panel for some "longer length wording" like German.

edit:
/js-menu.css

.XulMenu .button,
.XulMenu .button:hover,
.XulMenu .button-active,
.XulMenu .button-active:hover {   
padding: 0 1.5em;
}

CHANGE TO:
padding: 0 1.0em;


3) keep Chinese / Japanese sentence in one line

edit:
/main.css

FIND
#dynamic_form TD.dynamic_form_field {

ADD INSIDE
word-break: keep-all;

4) Add link color in "Application History" of both Jobseeker and Employer panel

edit:
/main.css

CHANGE:
#joblist TD.list_data_cell a{
font-family: "Arial", "tahoma", "Verdana", sans-serif;
font-size: 12px;
color: #000000;   
font-weight:normal;
text-decoration: none;
}

TO:
#joblist TD.list_data_cell a{
font-family: "Arial", "tahoma", "Verdana", sans-serif;
font-size: 12px;       
font-weight:normal;
text-decoration: underline;
}

#joblist TD.list_data_cell a:hover{
text-decoration: none;
}

5) Change mouseover bankground color in job list / application history

edit:
/main-ext.css

ADD AT BOTTOM:

/* V1.0.2 */
#joblist TR.standard:hover {    background-color: #DCE8F5;}       


6) Update path in candidates and employers menu files

edit:
/candidate-menu.php

Change:
if (JB_CANDIDATE_MENU_TYPE=='JS') {
require("js_menu.php");
} elseif (JB_CANDIDATE_MENU_TYPE=='TXT') {
require("text_menu.php");
} else {
require("js_menu.php");
}

TO:
if (JB_CANDIDATE_MENU_TYPE=='JS') {
require(JB_basedirpath().JB_CANDIDATE_FOLDER."js_menu.php");
} elseif (JB_CANDIDATE_MENU_TYPE=='TXT') {
require(JB_basedirpath().JB_CANDIDATE_FOLDER."text_menu.php");
} else {
require(JB_basedirpath().JB_CANDIDATE_FOLDER."js_menu.php");
}

edit:
/employer-menu.php

Change:
if (JB_EMPLOYER_MENU_TYPE=='JS') {
require("js_menu.php");
} elseif (JB_EMPLOYER_MENU_TYPE=='TXT') {

require("text_menu.php");
} else {
require("js_menu.php");
}

TO:
if (JB_EMPLOYER_MENU_TYPE=='JS') {
require(JB_basedirpath().JB_EMPLOYER_FOLDER."js_menu.php");
} elseif (JB_EMPLOYER_MENU_TYPE=='TXT') {
require(JB_basedirpath().JB_EMPLOYER_FOLDER."text_menu.php");
} else {
require(JB_basedirpath().JB_EMPLOYER_FOLDER."js_menu.php");
}


7) HTML validation for jobseeker and employer pannel

edit:
/candidates-header.php
/employers-header.php

CHANGE:
<script language="javascript" *
TO
<script type="text/javascript"  *


8) Compatible with Jamit Job Board v3.4.10

FILE
main.css

FIND:
The end of the file

ADD
.payment_block {
margin-top:50px;
margin-bottom:150px;
}



FILE
candidate-login-form.php

FIND:
<form name="form1" method="post" action="<?php if ($action=='') { echo JB_BASE_HTTP_PATH.JB_CANDIDATE_FOLDER; ?>login.php<?php } else { echo $action; } ?>" >

CHANGE TO:
<form name="form1" method="post" action="<?php if ($action=='') { echo JB_BASE_HTTP_PATH.JB_CANDIDATE_FOLDER; ?>login.php<?php } else { echo $action; } ?>" >
<input type="hidden" name="page" value="<?php if ($_REQUEST['page']=='') $_REQUEST['page']=$_SERVER['PHP_SELF']; echo jb_escape_html($_REQUEST['page']); ?>">


FILE
employer-login-form.php

FIND:
<form name="form1" method="post" target="_top" action="<?php echo JB_BASE_HTTP_PATH.JB_EMPLOYER_FOLDER ;?>login.php">

CHANGE TO:
<form name="form1" method="post" target="_top" action="<?php echo JB_BASE_HTTP_PATH.JB_EMPLOYER_FOLDER ;?>login.php">
<input type="hidden" name="page" value="<?php if ($_REQUEST['page']=='') $_REQUEST['page']=$_SERVER['PHP_SELF']; echo jb_escape_html($_REQUEST['page']); ?>">


FILE
candidates-outside-header.php

ADD AT TOP
<?php $can_outside_header = true; ?>


FILE
employers-outside-header.php

ADD AT TOP
<?php $emp_outside_header = true; ?>

FILE
index-header.php

ADD AFTER <?php echo JB_echo_index_meta_tags();?>:
<?php
if ($can_outside_header == true){
JBPLUG_do_callback('can_outside_extra_meta_tags', $A = false);
}else if ($emp_outside_header == true){      
JBPLUG_do_callback('emp_outside_extra_meta_tags', $A = false);
}  
?>


FILE
main.css

ADD THESE LINES:
#dynamic_form .date_field {}


FILE
display-post.php

FIND
if ($is_saved) {
$link = JB_BASE_HTTP_PATH.JB_CANDIDATE_FOLDER."search.php";
} else {
//$_SERVER['PHP_SELF'];
}

REPLACE WITH
if ($is_saved) {
$link = JB_BASE_HTTP_PATH.JB_CANDIDATE_FOLDER."search.php";
} else {
$link = htmlentities($_SERVER['PHP_SELF']);
}

FILE
index-category.php

FIND
<a href="/store/<?php echo JB_BASE_HTTP_PATH."rss.php?cat=".$_REQUEST['cat']; ?>">

REPLACE WITH
<a href="/store/<?php echo JB_BASE_HTTP_PATH."rss.php?cat=".jb_escape_html($_REQUEST['cat']); ?>">

FIND
$label['rss_subscribe'] = str_replace ('%RSS_LINK%', JB_BASE_HTTP_PATH."rss.php?cat=".$_REQUEST['cat'], $label['rss_subscribe']);
$label['rss_subscribe'] = str_replace ('%CATEGORY_NAME%', JB_getCatName($_REQUEST['cat']), $label['rss_subscribe']);

REPLACE WITH
$label['rss_subscribe'] = str_replace ('%RSS_LINK%', JB_BASE_HTTP_PATH."rss.php?cat=".jb_escape_html($_REQUEST['cat']), $label['rss_subscribe']);
$label['rss_subscribe'] = str_replace ('%CATEGORY_NAME%', jb_escape_html(JB_getCatName($_REQUEST['cat'])), $label['rss_subscribe']);

 
» View Template Freedom


Upgrade notes

Existing customers are free to upgrade, please visit "Member's Area" > "Re-download ordered items" to download the latest version. Alternatively, you can view your past order details and download the latest template.

Categories

My Cart

Your Cart is currently empty.

Paypal payment
Paypal Verfified