kenzi
Зарегистрирован: 23.07.2007
Сообщения: 1
|
Добавлено:
Пн Июл 23, 2007 9:40 am |
  |
? ???????? ?????????? ????? ?????????? ? ????????? - ?????????? ???? ??????????? ?????????? ???? ????????? ???????:
?????? ??????????? ?????? ???????????
??????????????, ??? ????????????? ??????? ?? ?????????, ??????? ?? ?????? http://www.dsite.ru/webmedia_4_a60.html, ??????????? ??????????? ??????, ? ??? ????? ? ?? ????????? ??????? ????. ??? ?? ????? ???????, ? ????? ????????? ???????? ?????.
??????? ??????? ????????:
Код: |
foreach ($GLOBALS['gMenuButtons'] as $button_id=>$button)
{
foreach ($button[$GLOBALS['gPartID']] as $name => $value)
{
$buttons[$name][$cnt] = $value;
}//..foreach button
if (GetButtonMaxForPart($GLOBALS['gPartID']) != $button_id)
$buttons['separator'][$cnt] = '<!-- ??????????? -->';
// ??????? GetButtonMaxForPart ?????????? ???-?? ??????
// ? ???????. ??????????????, ????? ????????:
// ???? ID ?????? ?? ????? ???-?? ??????, ?? ?????????? ???????????.
// ????? - ???.
$cnt++;
}//..foreach
|
? ????? ??????????????? ??? ???????:
Код: |
<!--<MENUITEM>-->
<td class="tdMenu"><a href="{url}">{text}</a></td>{separator}
<!--</MENUITEM>-->
|
|
|
|