本文整理汇总了PHP中cms_module_common_selector::get_form方法的典型用法代码示例。如果您正苦于以下问题:PHP cms_module_common_selector::get_form方法的具体用法?PHP cms_module_common_selector::get_form怎么用?PHP cms_module_common_selector::get_form使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cms_module_common_selector
的用法示例。
在下文中一共展示了cms_module_common_selector::get_form方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_form
public function get_form()
{
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_bannette_id_bannette'>" . $this->format_text($this->msg['cms_module_common_selector_bannette_id_bannette']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
$form .= $this->gen_select();
$form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例2: get_form
public function get_form()
{
$form = parent::get_form();
$form .= "\n\t\t\t<div class='row'>";
$form .= $this->gen_select();
$form .= "\n\t\t\t</div>";
return $form;
}
示例3: get_form
public function get_form()
{
$form = parent::get_form();
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='" . $this->get_form_value_name("opacitem") . "'>" . $this->format_text($this->msg['cms_module_opacitem_selector_opacitem_choose']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
$form .= $this->gen_select();
$form .= "</div>\n\t\t\t</div>";
$form .= "<div id='" . $this->get_form_value_name("globals") . "'></div>";
return $form;
}
示例4: get_form
public function get_form()
{
if (!$this->parameters) {
$this->parameters = array();
}
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_view_id_view']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
$form .= $this->gen_select();
$form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例5: get_form
public function get_form()
{
$form = parent::get_form();
$form .= "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_type_editorial_label']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
$form .= $this->gen_select();
$form .= "\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id='type_editorial_fields'>\n\t\t\t\t<div class='row'>\n\t\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_type_editorial_fields_label']) . "</label>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='colonne-suite'> \n\t\t\t\t\t\t<select name='" . $this->get_form_value_name("select_field") . "' >";
$fields = new cms_editorial_parametres_perso($this->parameters["type_editorial"]);
$form .= $fields->get_selector_options($this->parameters["type_editorial_field"]);
$form .= "\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>";
return $form;
}
示例6: get_form
public function get_form()
{
//si on est sur une page de type Page en création de cadre, on propose la condition pré-remplie...
if ($this->cms_build_env['lvl'] == "cmspage") {
if (!$this->id) {
$this->parameters[] = $this->cms_build_env['get']['pageid'];
}
}
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_page_id_page']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
$form .= $this->gen_select();
$form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例7: get_form
public function get_form()
{
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_env_var'>" . $this->format_text($this->msg['cms_module_common_selector_env_var']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>";
if (is_array($this->cms_build_env['page'])) {
$form .= "\n\t\t\t\t\t<select name='" . $this->get_form_value_name("env_var") . "'>";
foreach ($this->cms_build_env['page'] as $var) {
$form .= "\n\t\t\t\t\t\t<option value='" . $var['name'] . "' " . ($var['name'] == $this->parameters ? "selected='selected'" : "") . ">" . $this->format_text($var['comment'] != "" ? $var['comment'] : $var['name']) . "</option>";
}
$form .= "\n\t\t\t\t\t</select>";
} else {
$form .= $this->format_text($this->msg['cms_module_common_selector_env_var_no_vars']);
}
$form .= "\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例8: get_form
public function get_form()
{
//si on est sur une page de type Page en création de cadre, on propose la condition pré-remplie...
switch ($this->cms_build_env['input']) {
case "empr.php":
if (!$this->id) {
$this->parameters[] = "empr";
}
break;
case "askmdp.php":
if (!$this->id) {
$this->parameters[] = "askmdp";
}
break;
case "subscribe.php":
if (!$this->id) {
$this->parameters[] = "subscribe";
}
break;
default:
if ($this->cms_build_env['search_type_asked']) {
if (!$this->id) {
$this->parameters[] = $this->cms_build_env['search_type_asked'];
}
} else {
if ($this->cms_build_env['lvl']) {
if (!$this->id) {
$this->parameters[] = $this->cms_build_env['lvl'];
}
}
}
break;
}
if (!$this->parameters) {
$this->parameters = array();
}
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_lvl'>" . $this->format_text($this->msg['cms_module_common_selector_lvl']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<select name='" . $this->get_form_value_name("lvl") . "[]' multiple='yes'>";
foreach ($this->lvl as $lvl) {
$form .= "\n\t\t\t\t\t\t<option value='" . $lvl . "' " . (in_array($lvl, $this->parameters) ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_lvl_' . $lvl]) . "</option>";
}
$form .= "\t\t\t\t\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例9: get_form
public function get_form()
{
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='" . $this->get_form_value_name("val_choice") . "'>" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_val_choice']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<select name='" . $this->get_form_value_name("val_choice") . "' onchange='cms_" . $this->get_form_value_name("get_values") . "(this.value)'>\n\t\t\t\t\t\t<option value='0'>" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_val']) . "</option>\n\t\t\t\t\t\t<option value='statut' " . ($this->parameters['val_choice'] == "statut" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_statut']) . "</option>\n\t\t\t\t\t\t<option value='categ'" . ($this->parameters['val_choice'] == "categ" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_categ']) . "</option>\n\t\t\t\t\t\t<option value='codestat'" . ($this->parameters['val_choice'] == "codestat" ? "selected='selected'" : "") . ">" . $this->format_text($this->msg['cms_module_common_selector_empr_infos_codestat']) . "</option>\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例10: get_form
public function get_form()
{
$form = parent::get_form();
$form .= "\n\t\t\t<div class='row'>\n\t\t\t\t<label for='cms_module_common_selector_section_type_from'>" . $this->format_text($this->msg['cms_module_common_selector_section_type_from']) . "</label>\n\t\t\t</div>";
return $form;
}
示例11: get_form
public function get_form()
{
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for='cms_module_common_selector_authentificated_authentificated'>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_authentificated']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<span>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_yes']) . " <input type='radio' " . ($this->parameters ? "checked='checked'" : "") . " name='" . $this->get_form_value_name("authentificated") . "' value='1'/></span> \n\t\t\t\t\t<span>" . $this->format_text($this->msg['cms_module_common_selector_authentificated_no']) . " <input type='radio' " . ($this->parameters ? "" : "checked='checked'") . " name='" . $this->get_form_value_name("authentificated") . "' value='0'/></span>\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例12: get_form
public function get_form()
{
$form = "\n\t\t\t<div class='row'>\n\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_rss_url']) . "</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne-suite'>\n\t\t\t\t\t<input type='text' name='" . $this->get_form_value_name("url") . "' value='" . $this->addslashes($this->format_text($this->parameters)) . "'/>\n\t\t\t\t</div>\n\t\t\t</div>";
$form .= parent::get_form();
return $form;
}
示例13: get_form
public function get_form()
{
$form = parent::get_form();
$form .= "\t\t\t\n\t\t\t<div id='type_editorial_fields'>\n\t\t\t\t<div class='row'>\n\t\t\t\t\t<div class='colonne3'>\n\t\t\t\t\t\t<label for=''>" . $this->format_text($this->msg['cms_module_common_selector_section_generic_type_select']) . "</label>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='colonne-suite'> \n\t\t\t\t\t" . $this->gen_select() . "\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>";
return $form;
}
示例14: get_form
public function get_form()
{
$form = parent::get_form();
$form .= "\r\n\t\t<div class='row'>\r\n\t\t\t<div class='colonne3'>\r\n\t\t\t\t<label for='" . $this->get_form_value_name("server_url") . "'>" . $this->format_text($this->msg['cms_module_sparql_datasource_server_url']) . "</label>\r\n\t\t\t</div>\r\n\t\t\t<div class='colonne-suite'>\r\n\t\t\t\t<input type='text' name='" . $this->get_form_value_name("server_url") . "' value='" . $this->format_text($this->parameters['server_url']) . "' />\r\n\t\t\t</div>\r\n\t\t</div>";
return $form;
}