Location: PHPKode > projects > SimpleHRM > simplehrm-1.0-beta1/simplehrm-1.0-beta1/templates/default/common/menu.tpl.html
<div style="margin-top:33px;">
    <ul class="menu" id="menu">
            {if $smarty.session.id_employee}
                <li class="openul">
                	<div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a href="##LBL_SITE_URL##index.php/employee/employeeDetail" class="menulink">Dashboard</a></div>
                    <div class="fltlft rht_prt"></div></li>
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="##LBL_SITE_URL##index.php/employee/resetPwd">My profile</a></div>
                    <div class="fltlft rht_prt"></div></li>
            {elseif $smarty.session.id_company}
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="##LBL_SITE_URL##companyDashboard">Dashboard</a></div>
                    <div class="fltlft rht_prt"></div></li>
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="##LBL_SITE_URL##index.php/employee/employeeList">Employees</a></div>
                    <div class="fltlft rht_prt"></div>
                    </li>
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="javascript:void(0);">Company</a></div>
                    <div class="fltlft rht_prt"></div>
                    <ul>
                        <li><a href="##LBL_SITE_URL##company/companyInfo">Company information</a></li>
                        <li><a href="##LBL_SITE_URL##company/divisions">Division</a></li>
                        <li><a href="##LBL_SITE_URL##company/departments">Department</a></li>
                        <li><a href="##LBL_SITE_URL##company/team">Team</a></li>
                        <li><a href="##LBL_SITE_URL##company/jobtitles">Job titles</a></li>
                        <li><a href="##LBL_SITE_URL##company/hrForms">Forms and documents</a></li>
                    </ul>
                </li>
                <!-- <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="##LBL_SITE_URL##file/list">Files</a></div>
                    <div class="fltlft rht_prt"></div>
                    </li>-->
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="javascript:void(0);">Reports</a></div>
                    <div class="fltlft rht_prt"></div>
                    <ul>
                        <li><a href="##LBL_SITE_URL##report/genderProfile">Gender profile</a></li>
                        <li><a href="##LBL_SITE_URL##report/ageProfile">Age profile</a></li>
                        <li><a href="##LBL_SITE_URL##report/employment_status">Employment status</a></li>
                        <li><a href="##LBL_SITE_URL##report/upcomingBirthdays">Upcoming birthdays</a></li>
                        <li><a href="##LBL_SITE_URL##report/leaveSummery">Leave summary</a></li>
                        <li><a href="##LBL_SITE_URL##report/phoneNumbers">Phone numbers</a></li>
                        <li><a href="##LBL_SITE_URL##report/companyProperties">Company properties</a></li>				
                        <li><a href="##LBL_SITE_URL##index.php/report/employeeSalary">Employee salary</a></li>
                        <li><a href="##LBL_SITE_URL##index.php/report/employeeJoinings">Joining dates</a></li>
                    </ul>
                </li>
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="javascript:void(0);">Administration</a></div>
                    <div class="fltlft rht_prt"></div>
                    <ul>
                        <li><a href="##LBL_SITE_URL##adminstration/reminders">Reminders</a></li>
                        <li><a href="##LBL_SITE_URL##adminstration/notifications">Notifications</a></li>
                        <li><a href="##LBL_SITE_URL##adminstration/benefitManagement">Benefits</a></li>
                        <li><a href="##LBL_SITE_URL##adminstration/leaveTypes">Leave types</a></li>
                        <li><a href="##LBL_SITE_URL##report/exportUsers">Export users</a></li>
                    </ul>
                </li>
                <li class="openul">
                    <div class="fltlft lft_prt"></div>
                    <div class="fltlft mdl_prt"><a class="menulink" href="##LBL_SITE_URL##setting/listing">Settings</a></div>
                    <div class="fltlft rht_prt"></div>
                </li>
            {/if}
        </ul>
<div class="clrbth"></div>
</div>
<div class="clrbth"></div>
{literal}
<script type="text/javascript">
$(document).ready(function(){
	$('ul#menu li.openul').hover(function(){
		//$(this).find('ul').show();
		jQuery(this).find('> ul').stop(true, true).slideDown(300).css('width','150px');

	},function(){
		$(this).find('ul').slideUp(300);
	});
});
</script>
{/literal}
Return current item: SimpleHRM