###############################################################################
# Micon.def (Image text/images definitions)                                   #
###############################################################################
# YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2.6.14                                                 #
# Packaged:       July 26, 2026                                             #
# Distributed by: http://yabbforum.nz                                    #
# =========================================================================== #
# Copyright (c) 2000-2026 YaBB (yabbforum.nz) - All Rights Reserved.     #
# Software by:  The YaBB Development Team                                     #
#               with assistance from the YaBB community.                      #
###############################################################################
$defaultmicondefver = 'YaBB 2.6.14 $Revision: 2601 $';
$admin_images = "$yyhtml_root/Templates/Admin/default";
$my_blank_avatar = 'blank.gif';
$nn_avatar = 'nn.gif';
LoadLanguage('Micon');

%micon = (
'pollicon' => qq~<img src="$imagesdir/poll_open.gif" alt="$img_polltxt_m{'44'}" />~,
'polliconclosed' => qq~<img src="$imagesdir/poll_lock.gif" alt="$img_polltxt_m{'46'}" />~,
'polliconnew' => qq~<img src="$imagesdir/poll_new.gif" alt="$img_polltxt_m{'45'}" />~,
'xx' => qq~<img src="$imagesdir/xx.gif" alt="" />~,
'no_postcount' => qq~<img src="$imagesdir/no_postcount.gif" alt="" />~,
'exclamation' => qq~<img src="$imagesdir/exclamation.png" alt="" />~,
'thumbup' => qq~<img src="$imagesdir/thumbup.gif" alt="" />~,
'thumbdown' => qq~<img src="$imagesdir/thumbdown.gif" alt="" />~,
'question' => qq~<img src="$imagesdir/question.png" alt="" />~,
'lamp' => qq~<img src="$imagesdir/lamp.gif" alt="" />~,
'smiley' => qq~<img src="$imagesdir/smiley.gif" alt="" />~,
'angry' => qq~<img src="$imagesdir/angry.gif" alt="" />~,
'cheesy' => qq~<img src="$imagesdir/cheesy.gif" alt="" />~,
'grin' => qq~<img src="$imagesdir/grin.gif" alt="" />~,
'sad' => qq~<img src="$imagesdir/sad.gif" alt="" />~,
'wink' => qq~<img src="$imagesdir/wink.gif" alt="" />~,
'alert' => qq~<img src="$imagesdir/alert.png" alt="" />~,
'thread' => qq~<img src="$imagesdir/thread.gif" alt="$messageindex_txt_m{'457'}" title="$messageindex_txt_m{'457'}" />~,
'hide' => qq~<img src="$imagesdir/hide.gif" alt="$messageindex_txt_m{'458'}" title="$messageindex_txt_m{'458'}" />~,
'locked' => qq~<img src="$imagesdir/locked.gif" alt="$messageindex_txt_m{'456'}" title="$messageindex_txt_m{'456'}" />~,
'veryhotthread' => qq~<img src="$imagesdir/veryhotthread.gif" alt="$messageindex_txt_m{'455'} $VeryHotTopic $messageindex_txt_m{'454a'}" title="$messageindex_txt_m{'455'} $VeryHotTopic $messageindex_txt_m{'454a'}" />~,
'hotthread' => qq~<img src="$imagesdir/hotthread.gif" alt="$messageindex_txt_m{'454'} $HotTopic $messageindex_txt_m{'454a'}" title="$messageindex_txt_m{'454'} $HotTopic $messageindex_txt_m{'454a'}" />~,
'hidesticky' => qq~<img src="$imagesdir/hidesticky.gif" alt="$messageindex_txt_m{'459'}" title="$messageindex_txt_m{'459'}" />~,
'hidelock' => qq~<img src="$imagesdir/hidelock.gif" alt="$messageindex_txt_m{'460'}" title="$messageindex_txt_m{'460'}" />~,
'hidestickylock' => qq~<img src="$imagesdir/hidestickylock.gif" alt="$messageindex_txt_m{'461'}" title="$messageindex_txt_m{'461'}" />~,
'stickylock' => qq~<img src="$imagesdir/stickylock.gif" alt="$messageindex_txt_m{'456'}" title="$messageindex_txt_m{'780'}" />~,
'sticky' => qq~<img src="$imagesdir/sticky.gif" alt="$messageindex_txt_m{'779'}" title="$messageindex_txt_m{'779'}" />~,
'announcementlock' => qq~<img src="$imagesdir/announcementlock.gif" alt="$messageindex_txt_m{'779b'}" title="$messageindex_txt_m{'779b'}" />~,
'announcement' => qq~<img src="$imagesdir/announcement.gif" alt="$messageindex_txt_m{'779a'}" title="$messageindex_txt_m{'779a'}" />~,
'locked_moved' => qq~<img src="$imagesdir/locked_moved.gif" alt="$messageindex_txt_m{'845'}" title="$messageindex_txt_m{'845'}" />~,
'guestreply' => qq~<img src="$imagesdir/guestreply.gif" alt="$im_message_status_m{'guestreply'}" title="$im_message_status_m{'guestreply'}" />~,
'standard' => qq~<img src="$imagesdir/standard.gif" alt="$im_message_status_m{'standard'}" title="$im_message_status_m{'standard'}" />~,
'confidential' => qq~<img src="$imagesdir/confidential.gif" alt="$im_message_status_m{'confidential'}" title="$im_message_status_m{'confidential'}" />~,
'urgent' => qq~<img src="$imagesdir/exclamation.png" alt="$im_message_status_m{'urgent'}" title="$im_message_status_m{'urgent'}" />~,
'guestpm' => qq~<img src="$imagesdir/guestpm.gif" alt="$im_message_status_m{'guestpm'}" title="$im_message_status_m{'guestpm'}" />~,
'alertmod' => qq~<img src="$imagesdir/alertmod.gif" alt="$im_message_status_m{'alertmod'}" title="$im_message_status_m{'alertmod'}" />~,
'imopen' => qq~<img src="$imagesdir/imopen.gif" alt="$im_message_status_m{'imopen'}" title="$im_message_status_m{'imopen'}" />~,
'tabsave' => qq~<img src="$imagesdir/tabsave.gif" alt="$tabmenu_txt_m{'savetab'}" title="$tabmenu_txt_m{'savetab'}" />~,
'tabdel' => qq~<img src="$imagesdir/tabdelete.gif" alt="$tabmenu_txt_m{'tabdel'}" title="$tabmenu_txt_m{'tabdel'}" />~,
'tabadd' => qq~<img src="$imagesdir/tabadd.gif" alt="$tabmenu_txt_m{'newtab'}" title="$tabmenu_txt_m{'newtab'}" />~,
'tabedit' => qq~<img src="$imagesdir/tabedit.gif" alt="$tabmenu_txt_m{'edittab'}" title="$tabmenu_txt_m{'edittab'}" />~,
'new' => qq~<span class="NewLinks" style="background-image: url($imagesdir/new-l.png); height:11px; display: inline-block; vertical-align:middle; padding: 0 0 0 2px; background-position: left bottom;    background-repeat: no-repeat;"><span style="background-image: url($imagesdir/new-r.png); height:11px; display: inline-block; vertical-align:baseline; padding: 0 2px 0 0; background-position: right top; background-repeat: no-repeat;"><span style="background-image: url($imagesdir/new-c.png); background-color:#0895d7; color:#fff; font-size:8px; height:11px; display: inline-block; vertical-align:top; padding: 0 2px" title="$messageindex_txt_m{'302'}"><b><i>$messageindex_txt_m{'302'}</i></b></span></span></span>~,
'sort_first' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_first'}" title="$messageindex_sort_m{'sort_first'}" />~,
'sort_up' => qq~<img src="$imagesdir/sort_up.gif" alt="$messageindex_sort_m{'sort_za'}" title="$messageindex_sort_m{'sort_za'}" />~,
'sort_down' => qq~<img src="$imagesdir/sort_down.gif" alt="$messageindex_sort_m{'sort_az'}" title="$messageindex_sort_m{'sort_az'}" />~,
'lockopen' => qq~<img src="$imagesdir/lockopen_001.png" alt="$maintxt_m{'900pd'}" title="$maintxt_m{'900pd'}" />~,
'lockimg' => qq~<img src="$imagesdir/lockclose_001.png" alt="$maintxt_m{'900pd'}" title="$maintxt_m{'900pd'}"/>~,
'lockopen_sub' => qq~<img src="$imagesdir/lockopen_sub.png" alt="$maintxt_m{'900pd'}" title="$maintxt_m{'900pd'}" />~,
'lockimg_sub' => qq~<img src="$imagesdir/lockclose_sub.png" alt="$maintxt_m{'900pd'}" title="$maintxt_m{'900pd'}"/>~,
'addfav' => qq~<img src="$imagesdir/addfav.png" alt="$img_txt_m{'70'}" title="$img_txt_m{'70'}" />~,
);

%micon_bg = (
'admin_move' => qq~$imagesdir/admin_move.gif~,
'admin_rem' => qq~$imagesdir/admin_rem.gif~,
'alert' => qq~$imagesdir/alert.png~,
'angry' => qq~$imagesdir/angry.gif~,
'announcement' => qq~$imagesdir/announcement.gif~,
'announcementlock' => qq~$imagesdir/announcementlock.gif~,
'boardrss' => qq~$imagesdir/boardrss.png~,
'buddylist' => qq~$imagesdir/buddylist.gif~,
'cheesy' => qq~$imagesdir/cheesy.gif~,
'confidential' => qq~$imagesdir/confidential.gif~,
'email' => qq~$imagesdir/email.png~,
'exclamation' => qq~$imagesdir/exclamation.png~,
'grin' => qq~$imagesdir/grin.gif~,
'hide' => qq~$imagesdir/hide.gif~,
'hidelock' => qq~$imagesdir/hidelock.gif~,
'hidesticky' => qq~$imagesdir/hidesticky.gif~,
'hidestickylock' => qq~$imagesdir/hidestickylock.gif~,
'hotthread' => qq~$imagesdir/hotthread.gif~,
'ip' => qq~$imagesdir/ip.gif~,
'lamp' => qq~$imagesdir/lamp.gif~,
'locked' => qq~$imagesdir/locked.gif~,
'locked_moved' => qq~$imagesdir/locked_moved.gif~,
'lockmail' => qq~$imagesdir/lockmail.png~,
'new_mess' => qq~$imagesdir/new.gif~,
'noimg' => qq~$imagesdir/noimg.gif~,
'paperclip' => qq~$imagesdir/paperclip.gif~,
'poll_mod' => qq~$imagesdir/poll_mod.gif~,
'question' => qq~$imagesdir/question.png~,
'rss' => qq~$imagesdir/rss.png~,
'sad' => qq~$imagesdir/sad.gif~,
'smiley' => qq~$imagesdir/smiley.gif~,
'standard' => qq~$imagesdir/standard.gif~,
'sticky' => qq~$imagesdir/sticky.gif~,
'stickylock' => qq~$imagesdir/stickylock.gif~,
'tabsave' => qq~$imagesdir/tabsave.gif~,
'thread' => qq~$imagesdir/thread.gif~,
'thumbdown' => qq~$imagesdir/thumbdown.gif~,
'thumbup' => qq~$imagesdir/thumbup.gif~,
'urgent' => qq~$imagesdir/exclamation.png~,
'veryhotthread' => qq~$imagesdir/veryhotthread.gif~,
'wink' => qq~$imagesdir/wink.gif~,
'www' => qq~$imagesdir/www.png~,
'xx' => qq~$imagesdir/xx.gif~,
);

%att_img = (
'7z' => q~7z.gif~,
'doc' => q~doc.gif~,
'docx' => q~docx.gif~,
'gif' => q~gif.gif~,
'img' => q~img.gif~,
'jpe' => q~jpe.gif~,
'jpeg' => q~jpeg.gif~,
'jpg' => q~jpg.gif~,
'pdf' => q~pdf.gif~,
'png' => q~png.gif~,
'ppt' => q~ppt.gif~,
'psd' => q~psd.gif~,
'rar' => q~rar.gif~,
'swf' => q~swf.gif~,
'tar' => q~tar.gif~,
'tar.gz' => q~tar.gz.gif~,
'txt' => q~txt.gif~,
'xls' => q~xls.gif~,
'zip' => q~zip.gif~,
);

%cal_icon = (
'eventbd' => qq~<img src="$imagesdir/eventbd.gif" alt="$var_cal_m{'calbirthday'}" />~,
'eventprivate' => qq~<img src="$imagesdir/eventprivate.gif" alt="$var_cal_m{'calprivate'}" />~,
'modify' => qq~<img src="$imagesdir/modify.png" alt="$var_cal_m{'caledit'}" title="$var_cal_m{'caledit'}" />~,
'delete' => qq~<img src="$imagesdir/delete.gif" alt="$var_cal_m{'caldel'}" title="$var_cal_m{'caldel'}" />~,
'eventmore' => qq~<img src="$imagesdir/eventmore.gif" alt="" />~,
'eventmorebd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'calbirthdays'}" />~,
'eventmoreadd' => qq~<img src="$imagesdir/eventmore.gif" alt="$var_cal_m{'getaddevent'}" />~,
'eventinfo' => qq~<img src="$imagesdir/eventinfo.gif" alt="$var_cal_m{'eventinfo'}" />~,
'eventinfobd' => qq~<img src="$imagesdir/eventinfobd.gif" alt="" />~,
'eventannounce' => qq~<img src="$yyhtml_root/EventIcons/eventannounce.gif" alt="$var_cal_m{'eventannounce'}" />~,
'eventholiday' => qq~<img src="$yyhtml_root/EventIcons/eventholiday.gif" alt="$var_cal_m{'eventholiday'}" />~,
'eventnote' => qq~<img src="$yyhtml_root/EventIcons/eventnote.gif" alt="$var_cal_m{'eventnote'}" />~,
'eventparty' => qq~<img src="$yyhtml_root/EventIcons/eventparty.gif" alt="$var_cal_m{'eventparty'}" />~,
'eventcelebration' => qq~<img src="$yyhtml_root/EventIcons/eventcelebration.gif" alt="$var_cal_m{'eventcelebration'}" />~,
'eventsport' => qq~<img src="$yyhtml_root/EventIcons/eventsport.gif" alt="$var_cal_m{'eventsport'}" />~,
'eventmedia' => qq~<img src="$yyhtml_root/EventIcons/eventmedia.gif" alt="$var_cal_m{'eventmedia'}" />~,
'eventmeeting' => qq~<img src="$yyhtml_root/EventIcons/eventmeeting.gif" alt="$var_cal_m{'eventmeeting'}" />~,
);

%cal_icon_bg = (
'eventbd' => qq~$imagesdir/eventbd.gif~,
'eventinfo' => qq~$imagesdir/eventinfo.gif~,
'eventprivate' => qq~$imagesdir/eventprivate.gif~,
'eventinfobd' => qq~$imagesdir/eventinfobd.gif~,
'eventmore' => qq~$imagesdir/eventmore.gif~,
'eventmorebd' => qq~$imagesdir/eventmore.gif~,
'eventmoreadd' => qq~$imagesdir/eventmore.gif~,
'eventannounce' => qq~$yyhtml_root/EventIcons/eventannounce.gif~,
'eventholiday' => qq~$yyhtml_root/EventIcons/eventholiday.gif~,
'eventnote' => qq~$yyhtml_root/EventIcons/eventnote.gif~,
'eventparty' => qq~$yyhtml_root/EventIcons/eventparty.gif~,
'eventcelebration' => qq~$yyhtml_root/EventIcons/eventcelebration.gif~,
'eventsport' => qq~$yyhtml_root/EventIcons/eventsport.gif~,
'eventmedia' => qq~$yyhtml_root/EventIcons/eventmedia.gif~,
'eventmeeting' => qq~$yyhtml_root/EventIcons/eventmeeting.gif~,
);

%load_con = (
'gender' => qq~<img src="$imagesdir/{yabb gender}.png" alt="{yabb genderTitle}" title="{yabb genderTitle}" />~,
'actionslock' => qq~<img src="$imagesdir/actionslock.png" alt="{yabb actionlock}" title="{yabb actionlock}" />~,
);

%admin_img = (
'infoimg' => qq~<img src="$admin_images/ad_info.png" alt="" />~,
'prefimg' => qq~<img src="$admin_images/preferences.png" alt="" />~,
'guardimg' => qq~<img src="$admin_images/guardian.png" alt="" />~,
'aarea' => qq~<img src="$admin_images/aarea.jpg" alt="" />~,
'banimg' => qq~<img src="$admin_images/ban.gif" alt="" />~,
'profile' => qq~<img src="$admin_images/profile.gif" alt="" />~,
'cat_img' => qq~<img src="$admin_images/cat.gif" alt="" />~,
'board' => qq~<img src="$admin_images/board.gif" alt="" />~,
'index_togl' => qq~<img src="$imagesdir/index_togl.png" alt="" />~,
'register' => qq~<img src="$imagesdir/register.gif" alt="" />~,
'xx' => qq~<img src="$imagesdir/xx.gif" alt="" />~,
'guest' => qq~<img src="$imagesdir/guest.gif" alt="" />~,
'off' => qq~<img src="$imagesdir/off.png" alt="" />~,
'admin_rem' => qq~$imagesdir/admin_rem.gif~,
'question' => qq~$imagesdir/question.png~,
'reorder' => qq~$admin_images/reorder.gif~,
);

%index_togl = (
'index_togl' => qq~$imagesdir/index_togl.png~,
'index_left' => qq~$imagesdir/index_left.png~,
'index_left0' => qq~$imagesdir/index_left0.png~,
'index_right' => qq~$imagesdir/index_right.png~,
'index_right0' => qq~$imagesdir/index_right0.png~,
);

%chrwarn = (
'g0' => qq~$imagesdir/green0.gif~,
'g1' => qq~$imagesdir/green1.gif~,
'r0' => qq~$imagesdir/red0.gif~,
'r1' => qq~$imagesdir/red1.gif~,
);

%newload = (
'new_mess' => qq~<span class='NewLinks'><span class='newlinks'><span class='newlinks_c' title='$messageindex_txt_m{'303'}'><b><i>$messageindex_txt_m{'302'}</i></b></span></span></span>~,
'brd_new' => 'on.png',
'brd_old' => 'off.png',
'sub_brd_new' => 'on_sub.png',
'sub_brd_old' => 'off_sub.png',
'brd_col' => 'cat_collapse.png',
'brd_exp' => 'cat_expand.png',
'imopen' => 'imopen.gif',
'imopen2' => 'imopen2.gif',
'imclose' => 'imclose.gif',
'imclose2' => 'imclose2.gif',
);

%iconlist = (
    'a' => "xx|$mess_icon_txt{'281'}",
    'b' => "thumbup|$mess_icon_txt{'282'}",
    'c' => "thumbdown|$mess_icon_txt{'283'}",
    'd' => "exclamation|$mess_icon_txt{'284'}",
    'e' => "question|$mess_icon_txt{'285'}",
    'f' => "lamp|$mess_icon_txt{'286'}",
    'g' => "smiley|$mess_icon_txt{'287'}",
    'h' => "angry|$mess_icon_txt{'288'}",
    'i' => "cheesy|$mess_icon_txt{'289'}",
    'j' => "grin|$mess_icon_txt{'290'}",
    'k' => "sad|$mess_icon_txt{'291'}",
    'l' => "wink|$mess_icon_txt{'292'}",
);

%pmiconlist = (
    'a' => "s|$im_message_status_m{'standard'}",
    'b' => "c|$im_message_status_m{'confidential'}",
    'c' => "u|$im_message_status_m{'urgent'}",
);

$newload = qq~
        <script type="text/javascript">//<![CDATA[
        var new_mess = "$newload{'new_mess'}";
        var brd_new = "$newload{'brd_new'}";
        var brd_old = "$newload{'brd_old'}";
        var sub_brd_new = "$newload{'sub_brd_new'}";
        var sub_brd_old = "$newload{'sub_brd_old'}";
        var brd_col = "$newload{'brd_col'}";
        var brd_exp = "$newload{'brd_exp'}";
        var imopen = "$newload{'imopen'}";
        var imopen2 = "$newload{'imopen2'}";
        var imclose = "$newload{'imclose'}";
        var imclose2 = "$newload{'imclose2'}";
        //]]></script>~;

#####################################################################
#                   JS Variables for IMPost, Post                   #
#####################################################################
@jsPostlist = qw( xx exclamation thumbup thumbdown question lamp smiley angry cheesy grin sad wink );
$jsPostlist = q{};
for (@jsPostlist) {
        $jsPostlist .= qq~'$_', '$micon_bg{$_}',\n~;
}
$jsPostlist =~ s/\,\n\Z//xsm;
$jsPost = qq~
var jsPost = new Hash($jsPostlist);
~;

@jsPstatlist = qw( thread hide locked sticky announcement stickylock hidesticky hidelock hidestickylock announcementlock veryhotthread hotthread);
for (@jsPstatlist) {
        $jsPstatlist .= qq~'$_', '$micon_bg{$_}',\n~;
}
$jsPstatlist =~ s/\,\n\Z//xsm;
$jsPstat = qq~
var jsPstat = new Hash($jsPstatlist);
~;

@jsIMlist = qw( standard confidential urgent );
$jsIMlist = q{};
for (@jsIMlist) {
        $jsIMlist .= qq~'$_', '$micon_bg{$_}',\n~;
}
$jsIMlist =~ s/\,\n\Z//xsm;
$jsIM = qq~
var jsIM = new Hash($jsIMlist);
~;

$my_sep = q{ };
if ( $MenuType == 1 || $UseMenuT == 1) {
    $my_sep = q{ | };
}
1;
