אני לא מוצא את מה שאני אמור לחפש, לכן אני לא יודע איפה להציב את {JR_ADMIN_INFO_TABLE}
מישהו יכול לעזור לי ולהגיד לי איפה להציב את זה כדי לסיים את התקנת המוד?
אני תקוע בינתיים עם פורום עקום עד שאני לא אציב את זה.
קוד: בחר הכל
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- END guest_user_row -->
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
{JR_ADMIN_INFO_TABLE}
הנה תוכן הקובץ index_body.tpl :
קוד: בחר הכל
<!-- BEGIN switch_show_news -->
<div align="center">
{XS_NEWS}
</div>
<!-- END switch_show_news -->
<!-- IF C_PM --><!-- DEFINE $CA_NEW_MSGS = true --><!-- ENDIF -->
{TPL_CONTENT_TOPNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="{S_CONTENT_DIR_LEFT}" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="{S_CONTENT_DIR_RIGHT}" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_TOPNAV2_PM}
<!-- IF $CA_NEW_MSGS --><!-- INCLUDE newpm.tpl --><!-- ENDIF -->
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="{S_CONTENT_DIR_LEFT}" valign="bottom"><span class="gensmall">
<!-- IF S_LOGGED_IN -->
{PRIVATE_MESSAGE_INFO}<br />
{LAST_VISIT_DATE}<br />
<!-- ELSE -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
<!-- ENDIF -->
{CURRENT_TIME}<br />
{S_TIMEZONE}<br />
</span></td>
<td align="{S_CONTENT_DIR_RIGHT}" valign="bottom" class="gensmall">
<!-- IF S_LOGGED_IN -->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="{S_CONTENT_DIR_RIGHT}" class="gensmall" nowrap="nowrap"><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></td>
<td class="moderators">|</td>
<td align="{S_CONTENT_DIR_LEFT}" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a></td>
</tr>
<tr>
<td align="{S_CONTENT_DIR_RIGHT}" class="gensmall" nowrap="nowrap"><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a></td>
<td class="moderators">|</td>
<td class="gensmall" align="{S_CONTENT_DIR_LEFT}" nowrap="nowrap"><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<!-- ENDIF -->
<form action="{CA_SEARCH_INDEX}" method="post" class="inline-form">
<input type="hidden" name="show_results" value="topics" />
<input type="text" name="search_keywords" class="post" size="15" />
<input type="submit" value="{L_SEARCH}" class="mainoption" />
</form>
</td>
</tr>
</table>
<?php
/* check for new messages */
$catrow_count = ( isset($this->_tpldata['catrow.']) ) ? sizeof($this->_tpldata['catrow.']) : 0;
for($catrow_i = 0; $catrow_i < $catrow_count; $catrow_i++)
{
$catrow_item = &$this->_tpldata['catrow.'][$catrow_i];
// check for new messages
$new_msg = false;
$forumrow_count = ( isset($catrow_item['forumrow.']) ) ? sizeof($catrow_item['forumrow.']) : 0;
for ($forumrow_i = 0; $forumrow_i < $forumrow_count; $forumrow_i++)
{
$forumrow_item = &$catrow_item['forumrow.'][$forumrow_i];
$new_item = strpos($forumrow_item['FORUM_FOLDER_IMG'], '_new') > 0 ? true : false;
if($new_item)
{
$new_msg = true;
$forumrow_item['XS_NEW'] = '-new';
$forumrow_item['LAST_POST'] = str_replace('icon_latest_reply.gif','icon_newest_reply.gif', $forumrow_item['LAST_POST']);
}
if(strlen($forumrow_item['L_MODERATOR']) && $forumrow_item['L_MODERATOR'] !== ' ')
{
$forumrow_item['L_MODERATOR'] .= ':';
}
}
// add xs switch
$catrow_item['TPL_HDR1'] = $new_msg ? $this->vars['TPL_HDR1_ORANGE'] : $this->vars['TPL_HDR1_BLUE'];
$catrow_item['TPL_HDR2'] = $new_msg ? $this->vars['TPL_HDR2_NEW'] : $this->vars['TPL_HDR2'];
$catrow_item['TPL_FTR'] = $new_msg ? $this->vars['TPL_FTR_NEW'] : $this->vars['TPL_FTR'];
}
?>
<!-- BEGIN catrow -->
{catrow.TPL_HDR1}<a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');">{catrow.CAT_DESC}</a>{catrow.TPL_HDR2}<div id="cat_{catrow.CAT_ID}" style="display: ''; position: relative;"><table width="100%" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<th colspan="3" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th nowrap="nowrap"> {L_TOPICS} </th>
<th nowrap="nowrap"> {L_POSTS} </th>
<th nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class=row1 align="center" valign="middle" width="50" height=50><span class="forumlink"><a href="{catrow.forumrow.U_FDP}" class="forumlink"><img src="{catrow.forumrow.FORUM_FDP}"></a></SPAN></TD>
<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="28" height="32" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td align="right" class="row1h{catrow.forumrow.XS_NEW}" width="70%" {T_ONCLICK}="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="moderators">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row3" align="center" valign="middle" width="130"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table></div>{catrow.TPL_FTR}
<script language="javascript" type="text/javascript">
<!--
tmp = 'catrow_{catrow.CAT_ID}';
if(GetCookie(tmp) == '2')
{
ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
}
//-->
</script>
<!-- END catrow -->
{TPL_HDR1}<a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_IMAGESET_PATH}/stats.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="{S_CONTENT_DIR_LEFT}" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td class="row1" align="{S_CONTENT_DIR_LEFT}"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>{TPL_FTR}
<table cellspacing="3" border="0" align="center" cellpadding="0" class="forumline-empty row4">
<tr>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td width="20" align="center"><img src="{T_IMAGESET_PATH}/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
{TPL_CONTENT_BOTTOMNAV1}<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="{S_CONTENT_DIR_LEFT}" class="navbar-links"><a href="{U_INDEX}">{L_INDEX}</a></td>
<td align="{S_CONTENT_DIR_RIGHT}" class="navbar-text">{CURRENT_TIME}</td>
</tr>
</table>{TPL_CONTENT_BOTTOMNAV2}
בעיקרון המוד והכל עובד, רק כשאני נותן גישות למשתמש מסויים אין לו אפשרות להיכנס להגדרות כי הסעיף האחרון לא נקבע \=
בבקשה מישהו יודע איפה אני אמור להציב את זה?