public function getAvailiableTextModes() { return $this->availiableTextModes; }
////////////////////////////////////////////////////////////////// case 'fileextension_textmode_form': if (!Common::checkAccess()) { die('You are not allowed to edit the file extensions.'); } ////////////////////////////////////////////////////////////////// //Reading the current extensions ////////////////////////////////////////////////////////////////// $ext = false; //ignore warnings $ext = @Common::getJSON(fileextension_textmode::storeFilename); if (!is_array($ext)) { //default extensions $ext = $fileExTM->getDefaultExtensions(); } $textModes = $fileExTM->getAvailiableTextModes(); if (!@ksort($ext)) { die(json_encode(array('status' => 'error', 'msg' => 'Internal PHP error.'))); } ?> <label><span class="icon-pencil big-icon"></span><?php i18n("Extensions"); ?> </label> <table id="FileExtModeHeader"> <thead> <tr> <th><?php i18n("Extension"); ?> </th>