Fixed : JS Files order, now moved to head.html

Added : Admin Home title
This commit is contained in:
Arslan Hassan 2011-02-23 11:17:33 +00:00
parent 9bfded7527
commit 981e79b2af
5 changed files with 20 additions and 17 deletions

View file

@ -11,7 +11,6 @@ require'../includes/admin_config.php';
$userquery->admin_login_check();
// $latest = get_latest_cb_info();
$Cbucket->cbinfo['latest'] = $latest;
if($Cbucket->cbinfo['version'] < $Cbucket->cbinfo['latest']['version'])

View file

@ -7,7 +7,7 @@
<div class="header_menu clearfix">
<ul>
<li><a href="{$baseurl}/admin_area">Admin Home</a></li>
<li><a href="{$baseurl}/admin_area">{$userquery->permission.user_level_name} Home</a></li>
<li><a href="{$baseurl}">Website Home</a></li>
</ul>
<div class="dp_opts"><a href="javascript:void(0)" onclick="$('#dp_opts').slideToggle()">Display Options</a></div>

View file

@ -30,7 +30,7 @@ a[rel=sponsors]:hover { background:#555; border:1px solid #232323; }
.header_menu a{text-decoration:none; color:#fff}
.header_menu ul{list-style:none; margin:0px; padding:0px;}
.header_menu ul li{list-style:none; float:left; width:100px; text-align:center; line-height:31px; color:#fff; border-right:#1577ba solid 1px;border-left:#43a1e1 solid 1px; margin-top:1px}
.header_menu ul li{list-style:none; float:left; width:auto; text-align:center; line-height:31px; color:#fff; border-right:#1577ba solid 1px;border-left:#43a1e1 solid 1px; margin-top:1px; padding:0px 5px}
.header_menu ul li:hover{background-color:#148ada}
.header_menu ul li:first-child{border-left:none}

View file

@ -44,24 +44,10 @@ var imageurl = '{$imageurl}';
{/if}
</script>
<!-- Including JS Files-->
{foreach from=$Cbucket->JSArray item=type}
{foreach from=$type item=scope key=file}
{include_js type=$scope file=$file}
{/foreach}
{/foreach}
<!-- Including JS Files-->
{include_header file='global_header'}
<!-- Including Plugin Headers -->
{foreach key=file item=type from=$Cbucket->header_files}
{include_header file=$file type=$type}
{/foreach}
<!-- Ending Plugin Headers -->
{if $smarty.const.THIS_PAGE =='private_message' && $smarty.get.mid}
<script type="text/javascript">
var mid = {$smarty.get.mid};

View file

@ -20,6 +20,24 @@ function updateEmbed(width,height,autoplay)
{/literal}
</script>
<!-- Including JS Files-->
{foreach from=$Cbucket->JSArray item=type}
{foreach from=$type item=scope key=file}
{include_js type=$scope file=$file}
{/foreach}
{/foreach}
<!-- Including JS Files-->
<!-- Including Plugin Headers -->
{foreach key=file item=type from=$Cbucket->header_files}
{include_header file=$file type=$type}
{/foreach}
<!-- Ending Plugin Headers -->
{if $smarty.const.THIS_PAGE == 'upload'}
<link href="{$js}/uploadify/uploadify.css" type="text/css" rel="stylesheet" />