<?php
/**
 * Filename:       media/style/$modx->config['manager_theme']/style.php
 * Function:       Manager style variables for images and icons.
 * Encoding:       UTF-8
 * Credit:         icons by Mark James of FamFamFam http://www.famfamfam.com/lab/icons/
 * Date:           18-Mar-2010
 * Version:        1.1
 * MODX version:   1.0.3
*/
$style_path = 'media/style/' . $modx->config['manager_theme'] . '/images/';
$modx->config['mgr_date_picker_path'] = 'media/style/common/moo-datepicker/datepicker.inc.php';
if(!$modx->config['lang_code']) {
    global $modx_lang_attribute;
    $modx->config['lang_code'] = !$modx_lang_attribute ? 'en' : $modx_lang_attribute;
}

if($_GET['a']==2) include_once('welcome.php');

// Tree Menu Toolbar
$_style['add_doc_tree']             = '<i class="fa fa-file fa-lg"></i>';
$_style['add_weblink_tree']         = '<i class="fa fa-link fa-lg"></i>';
$_style['collapse_tree']            = '<i class="fa fa-arrow-circle-up fa-lg"></i>';
$_style['empty_recycle_bin']        = '<i class="fa fa-trash-o fa-lg"></i>';
$_style['empty_recycle_bin_empty']  = '<i class="fa fa-trash-o fa-lg"></i>';
$_style['expand_tree']              = '<i class="fa fa-arrow-circle-down fa-lg"></i>';
$_style['hide_tree']                = '<i class="fa fa-caret-square-o-left fa-lg"></i>';
$_style['refresh_tree']             = '<i class="fa fa-refresh fa-lg"></i>';
$_style['show_tree']                = $style_path.'tree/expand.png';
$_style['sort_tree']                = '<i class="fa fa-sort fa-lg"></i>';
$_style['sort_menuindex']           = '<i class="fa fa-sort-numeric-asc fa-lg"></i>';
$_style['element_management']       = '<i class="fa fa-th fa-lg"></i>';
$_style['images_management']        = '<i class="fa fa-camera fa-lg"></i>';
$_style['files_management']         = '<i class="fa fa-files-o fa-lg"></i>';

//Tree Contextual Menu Popup
$_style['ctx_new_document']         = 'fa fa-file-o fa-fw fa-lg';
$_style['ctx_edit_document']        = 'fa fa-pencil-square-o fa-fw fa-lg';
$_style['ctx_move_document']        = 'fa fa-arrows fa-fw fa-lg';
$_style['ctx_resource_duplicate']   = 'fa fa-clone fa-fw fa-lg';
$_style['ctx_sort_menuindex']       = 'fa fa-sort-numeric-asc fa-fw fa-lg';
$_style['ctx_publish_document']     = 'fa fa-arrow-up fa-fw fa-lg';
$_style['ctx_unpublish_resource']   = 'fa fa-arrow-down fa-fw fa-lg';
$_style['ctx_delete']               = 'fa fa-trash fa-fw fa-lg';
$_style['ctx_undelete_resource']    = 'fa fa-arrow-circle-o-up fa-fw fa-lg';
$_style['ctx_weblink']              = 'fa fa-link fa-fw fa-lg';
$_style['ctx_resource_overview']    = 'fa fa-info fa-fw fa-lg';
$_style['ctx_preview_resource']     = 'fa fa-eye fa-fw fa-lg';

// Tree Icons
$_style['tree_deletedpage']         = $style_path.'tree/file-alt-deleted.png';
$_style['tree_folder']              = $style_path.'tree/folder-close-alt.png'; /* folder.png */
$_style['tree_folderopen']          = $style_path.'tree/folder-open-alt.png'; /* folder-open.png */
$_style['tree_folder_secure']       = $style_path.'tree/folder-close-alt-secure.png';
$_style['tree_folderopen_secure']   = $style_path.'tree/folder-open-alt-secure.png';
$_style['tree_globe']               = $style_path.'tree/globe.png';
$_style['tree_linkgo']              = $style_path.'tree/link.png';
$_style['tree_minusnode']           = $style_path.'tree/angle-down.png';
$_style['tree_page']                = $style_path.'tree/file-alt.png';
$_style['tree_page_home']           = $style_path.'tree/home.png';
$_style['tree_page_404']            = $style_path.'tree/warning-sign.png';
$_style['tree_page_hourglass']      = $style_path.'tree/time.png';
$_style['tree_page_info']           = $style_path.'tree/info.png';
$_style['tree_page_blank']          = $style_path.'tree/file-alt.png';
$_style['tree_page_css']            = $style_path.'tree/file-text.png';
$_style['tree_page_html']           = $style_path.'tree/file-alt.png';
$_style['tree_page_xml']            = $style_path.'tree/file-code.png';
$_style['tree_page_js']             = $style_path.'tree/file-code.png';
$_style['tree_page_rss']            = $style_path.'tree/file-rss.png';
$_style['tree_page_pdf']            = $style_path.'tree/file-pdf.png';
$_style['tree_page_word']           = $style_path.'tree/file-word.png';
$_style['tree_page_excel']          = $style_path.'tree/file-excel.png';
$_style['tree_plusnode']            = $style_path.'tree/angle-right.png';
$_style['tree_showtree']            = '<img src="'.$style_path.'tree/sitemap.png" width="16" height="16" align="absmiddle" />';
$_style['tree_weblink']             = $style_path.'tree/link.png';

$_style['tree_page_secure']         = $style_path.'tree/file-alt-secure.png';
$_style['tree_page_blank_secure']   = $style_path.'tree/file-alt-secure.png';
$_style['tree_page_css_secure']     = $style_path.'tree/file-code-secure.png';
$_style['tree_page_html_secure']    = $style_path.'tree/file-alt-secure.png';
$_style['tree_page_xml_secure']     = $style_path.'tree/file-code-secure.png';
$_style['tree_page_js_secure']      = $style_path.'tree/file-code-secure.png';
$_style['tree_page_rss_secure']     = $style_path.'tree/file-rss-secure.png';
$_style['tree_page_pdf_secure']     = $style_path.'tree/file-pdf-secure.png';
$_style['tree_page_word_secure']    = $style_path.'tree/file-word-secure.png';
$_style['tree_page_excel_secure']   = $style_path.'tree/file-excel-secure.png';

// resource overview and managment
$_style['icons_move_document']      = $style_path.'icons/move.png';
$_style['icons_publish_document']   = $style_path.'icons/arrow-up.png';
$_style['icons_unpublish_resource'] = $style_path.'icons/arrow-down.png';
$_style['icons_delete_document']    = $style_path.'icons/trash.png';
$_style['icons_resource_duplicate'] = $style_path.'icons/clone.png';
$_style['icons_resource_overview']  = $style_path.'icons/info-sign.png';
$_style['icons_edit_document']      = $style_path.'icons/save.png';
$_style['icons_preview_resource']   = $style_path.'icons/eye.png';

//file manager icons
$_style['files_save']               = 'fa fa-floppy-o fa-fw fa-lg';
$_style['files_folder']             = 'fa fa-folder-o fa-lg';
$_style['files_deleted_folder']     = 'fa fa-folder-o fa-lg';
$_style['files_folder-open']        = 'fa fa-folder-open-o fa-lg';
$_style['files_page_php']           = 'fa fa-file-o fa-lg';
$_style['files_page_html']          = 'fa fa-file-o fa-lg';
$_style['files_cancel']             = 'fa fa-times-circle fa-fw fa-lg';
$_style['files_top']                = 'fa fa-folder-open-o fa-lg';
$_style['files_add']                = 'fa fa-plus-circle fa-fw fa-lg';
$_style['files_upload']             = 'fa fa-upload fa-fw fa-lg';
$_style['files_delete']             = 'fa fa-trash fa-fw fa-lg';
$_style['files_duplicate']          = 'fa fa-clone fa-fw fa-lg';
$_style['files_rename']             = 'fa fa-i-cursor fa-fw fa-lg';
$_style['files_view']               = 'fa fa-eye fa-fw fa-lg';
$_style['files_download']           = 'fa fa-download fa-fw fa-lg';
$_style['files_unzip']              = 'fa fa-file-archive-o fa-fw fa-lg';
$_style['files_edit']               = 'fa fa-pencil-square-o fa-fw fa-lg';

//for back compatibility 

$_style['icons_save']               = $style_path.'icons/save.png';
$_style['icons_delete']             = $style_path.'icons/trash.png';
$_style['icons_deleted_folder']     = $style_path.'tree/deletedfolder.png';
$_style['icons_unzip']              = $style_path.'icons/download-alt.png';


// Indicators
$_style['icons_tooltip']            = $style_path.'icons/question-sign-trans.png';
$_style['icons_tooltip_over']       = $style_path.'icons/question-sign.png';
$_style['icons_cal']                = $style_path.'icons/calendar.png';
$_style['icons_cal_nodate']         = $style_path.'icons/calendar.png';
$_style['icons_set_parent']         = $style_path.'icons/folder-open.png';

//modules
$_style['icons_modules']            = $style_path.'icons/modules.png';
$_style['icons_run']                = $style_path.'icons/play.png';

//View Resource data 
$_style['icons_new_document']       = $style_path.'icons/save.png'; 
$_style['icons_new_weblink']        = $style_path.'icons/link.png';
$_style['icons_undelete_resource']  = $style_path.'icons/undelete.png';
$_style['icons_secured']            = $style_path.'icons/lock.png';


//users and webusers
$_style['icons_user']               = $style_path.'icons/user.png';

//Messages
$_style['icons_message_unread']     = $style_path.'icons/email.png';
$_style['icons_message_forward']    = $style_path.'icons/forward.png';
$_style['icons_message_reply']      = $style_path.'icons/reply.png';

// Icons
$_style['icons_add']                = $style_path.'icons/add.png';
$_style['icons_cancel']             = $style_path.'icons/cancel.png';
$_style['icons_close']              = $style_path.'icons/stop.png';
$_style['icons_refresh']            = $style_path.'icons/refresh.png'; 
$_style['icons_table']              = $style_path.'icons/table.png'; 

// top bar
$_style['icons_loading_doc_tree']   = $style_path.'icons/info-sign.png'; 
$_style['icons_mail']               = $style_path.'icons/email.png';
$_style['icons_working']            = $style_path.'icons/exclamation.png';

//event log
$_style['icons_event1']             = $style_path.'icons/event1.png'; 
$_style['icons_event2']             = $style_path.'icons/event2.png'; 
$_style['icons_event3']             = $style_path.'icons/event3.png'; 


//nowhere in the manager
$_style['icons_folder']             = $style_path.'icons/folder.png';
$_style['icons_email']              = $style_path.'icons/email.png';
$_style['icons_home']               = $style_path.'icons/home.png';
$_style['icons_sort_menuindex']     = $style_path.'icons/sort_index.png';
$_style['icons_weblink']            = $style_path.'icons/world_link.png';
$_style['icons_tab_preview']        = $style_path.'icons/preview.png'; // Tabs
$_style['icons_information']        = $style_path.'icons/info-sign.png';


// Miscellaneous
$_style['ajax_loader']              = '<p>'.$_lang['loading_page'].'</p><p><img src="'.$style_path.'misc/ajax-loader.gif" alt="Please wait" /></p>';
$_style['tx']                       = $style_path.'misc/_tx_.gif';
$_style['icons_right_arrow']        = $style_path.'icons/arrow-right.png';
$_style['fade']                     = $style_path.'misc/fade.gif';
$_style['ed_save']                  = $style_path.'misc/ed_save.gif';
