当前位置: 首页>>代码示例>>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;未经允许,请勿转载。