當前位置: 首頁>>代碼示例>>PHP>>正文


PHP PMA_pluginGetChoice函數代碼示例

本文整理匯總了PHP中PMA_pluginGetChoice函數的典型用法代碼示例。如果您正苦於以下問題:PHP PMA_pluginGetChoice函數的具體用法?PHP PMA_pluginGetChoice怎麽用?PHP PMA_pluginGetChoice使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了PMA_pluginGetChoice函數的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: PMA_getHtmlForImportOptionsFormat

/**
 * Prints Html For Display Import options : Format
 *
 * @param ImportPlugin[] $import_list import list
 *
 * @return string
 */
function PMA_getHtmlForImportOptionsFormat($import_list)
{
    $html = '   <div class="importoptions">';
    $html .= '       <h3>' . __('Format:') . '</h3>';
    $html .= PMA_pluginGetChoice('Import', 'format', $import_list);
    $html .= '       <div id="import_notification"></div>';
    $html .= '   </div>';
    $html .= '    <div class="importoptions" id="format_specific_opts">';
    $html .= '        <h3>' . __('Format-specific options:') . '</h3>';
    $html .= '        <p class="no_js_msg" id="scroll_to_options_msg">' . 'Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.</p>';
    $html .= PMA_pluginGetOptions('Import', $import_list);
    $html .= '    </div>';
    $html .= '        <div class="clearfloat"></div>';
    // Encoding setting form appended by Y.Kawada
    if (function_exists('PMA_Kanji_encodingForm')) {
        $html .= '        <div class="importoptions" id="kanji_encoding">';
        $html .= '            <h3>' . __('Encoding Conversion:') . '</h3>';
        $html .= PMA_Kanji_encodingForm();
        $html .= '        </div>';
    }
    $html .= "\n";
    return $html;
}
開發者ID:kokigit,項目名稱:phpmyadmin,代碼行數:30,代碼來源:display_import.lib.php

示例2: PMA_pluginGetChoice

<legend><?php 
echo $strExport;
?>
</legend>

    <?php 
if (!empty($multi_values)) {
    ?>
    <div class="formelementrow">
        <?php 
    echo $multi_values;
    ?>
    </div>
    <?php 
}
echo PMA_pluginGetChoice('Export', 'what', $export_list, 'format');
?>
</fieldset>
</div>

</td><td>

<div id="div_container_sub_exportoptions">
<?php 
echo PMA_pluginGetOptions('Export', $export_list);
?>
</div>
</td></tr></table>

<script type="text/javascript">
//<![CDATA[
開發者ID:alexhava,項目名稱:elixirjuice,代碼行數:31,代碼來源:display_export.lib.php

示例3: PMA_getHtmlForExportOptionsFormatDropdown

/**
 * Prints Html For Export Options Format dropdown
 *
 * @param ExportPlugin[] $export_list Export List
 *
 * @return string
 */
function PMA_getHtmlForExportOptionsFormatDropdown($export_list)
{
    $html = '<div class="exportoptions" id="format">';
    $html .= '<h3>' . __('Format:') . '</h3>';
    $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format');
    $html .= '</div>';
    return $html;
}
開發者ID:szepeviktor,項目名稱:phpmyadmin,代碼行數:15,代碼來源:display_export.lib.php

示例4: PMA_getHtmlForSchemaExport

/**
 * Function to get html for displaying the schema export
 *
 * @param string $db   database name
 * @param int    $page the page to be exported
 *
 * @return string
 */
function PMA_getHtmlForSchemaExport($db, $page)
{
    /* Scan for schema plugins */
    $export_list = PMA_getPlugins("schema", 'libraries/plugins/schema/', null);
    /* Fail if we didn't find any schema plugin */
    if (empty($export_list)) {
        return PMA_Message::error(__('Could not load schema plugins, please check your installation!'))->getDisplay();
    }
    $htmlString = '<form method="post" action="schema_export.php"' . ' class="disableAjax" id="id_export_pages">';
    $htmlString .= '<fieldset>';
    $htmlString .= PMA_URL_getHiddenInputs($db);
    $htmlString .= '<label>' . __('Select Export Relational Type') . '</label><br />';
    $htmlString .= PMA_pluginGetChoice('Schema', 'export_type', $export_list, 'format');
    $htmlString .= '<input type="hidden" name="page_number"' . ' value="' . htmlspecialchars($page) . '" />';
    $htmlString .= PMA_pluginGetOptions('Schema', $export_list);
    $htmlString .= '</fieldset>';
    $htmlString .= '</form>';
    return $htmlString;
}
開發者ID:singhneeraj,項目名稱:fr-store,代碼行數:27,代碼來源:db_designer.lib.php

示例5: PMA_pluginGetDefault

        <input type="hidden" name="skip_queries" value="<?php 
    echo PMA_pluginGetDefault('Import', 'skip_queries');
    ?>
" id="text_skip_queries" />
            <?php 
}
?>
    </div>

    <div class="importoptions">
        <h3><?php 
echo __('Format:');
?>
</h3>
        <?php 
echo PMA_pluginGetChoice('Import', 'format', $import_list);
?>
        <div id="import_notification"></div>
    </div>

    <div class="importoptions" id="format_specific_opts">
        <h3><?php 
echo __('Format-Specific Options:');
?>
</h3>
        <p class="no_js_msg" id="scroll_to_options_msg">Scroll down to fill in the options for the selected format and ignore the options for other formats.</p>
        <?php 
echo PMA_pluginGetOptions('Import', $import_list);
?>
    </div>
        <div class="clearfloat"></div>
開發者ID:rajatsinghal,項目名稱:phpmyadmin,代碼行數:31,代碼來源:display_import.lib.php

示例6: PMA_getHtmlForExportOptionsFormat

/**
 * Prints Html For Export Options Format
 *
 * @param String $export_list Export List
 *
 * @return string
 */
function PMA_getHtmlForExportOptionsFormat($export_list)
{
    $html = '<div class="exportoptions" id="format">';
    $html .= '<h3>' . __('Format:') . '</h3>';
    $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format');
    $html .= '</div>';
    $html .= '<div class="exportoptions" id="format_specific_opts">';
    $html .= '<h3>' . __('Format-specific options:') . '</h3>';
    $html .= '<p class="no_js_msg" id="scroll_to_options_msg">';
    $html .= __('Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.');
    $html .= '</p>';
    $html .= PMA_pluginGetOptions('Export', $export_list);
    $html .= '</div>';
    if (function_exists('PMA_Kanji_encodingForm')) {
        // Encoding setting form appended by Y.Kawada
        // Japanese encoding setting
        $html .= '<div class="exportoptions" id="kanji_encoding">';
        $html .= '<h3>' . __('Encoding Conversion:') . '</h3>';
        $html .= PMA_Kanji_encodingForm();
        $html .= '</div>';
    }
    $html .= '<div class="exportoptions" id="submit">';
    $html .= PMA_Util::getExternalBug(__('SQL compatibility mode'), 'mysql', '50027', '14515');
    global $cfg;
    if ($cfg['ExecTimeLimit'] > 0) {
        $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" onclick="check_time_out(' . $cfg['ExecTimeLimit'] . ')"/>';
    } else {
        // if the time limit set is zero, then time out won't occur
        // So no need to check for time out.
        $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" />';
    }
    $html .= '</div>';
    return $html;
}
開發者ID:BIGGANI,項目名稱:zpanelx,代碼行數:41,代碼來源:display_export.lib.php

示例7: PMA_getHtmlForExportOptionsFormat

/**
 * Prints Html For Export Options Format
 *
 * @param String $export_list Export List
 *
 * @return string
 */
function PMA_getHtmlForExportOptionsFormat($export_list)
{
    $html = '<div class="exportoptions" id="format">';
    $html .= '<h3>' . __('Format:') . '</h3>';
    $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format');
    $html .= '</div>';
    $html .= '<div class="exportoptions" id="format_specific_opts">';
    $html .= '<h3>' . __('Format-specific options:') . '</h3>';
    $html .= '<p class="no_js_msg" id="scroll_to_options_msg">';
    $html .= __('Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.');
    $html .= '</p>';
    $html .= PMA_pluginGetOptions('Export', $export_list);
    $html .= '</div>';
    if (function_exists('PMA_Kanji_encodingForm')) {
        // Encoding setting form appended by Y.Kawada
        // Japanese encoding setting
        $html .= '<div class="exportoptions" id="kanji_encoding">';
        $html .= '<h3>' . __('Encoding Conversion:') . '</h3>';
        $html .= PMA_Kanji_encodingForm();
        $html .= '</div>';
    }
    $html .= '<div class="exportoptions" id="submit">';
    $html .= PMA_Util::getExternalBug(__('SQL compatibility mode'), 'mysql', '50027', '14515');
    $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" />';
    $html .= '</div>';
    return $html;
}
開發者ID:roccivic,項目名稱:phpmyadmin,代碼行數:34,代碼來源:display_export.lib.php


注:本文中的PMA_pluginGetChoice函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。