当前位置: 首页>>代码示例>>PHP>>正文


PHP dropbox::get_dropbox方法代码示例

本文整理汇总了PHP中dropbox::get_dropbox方法的典型用法代码示例。如果您正苦于以下问题:PHP dropbox::get_dropbox方法的具体用法?PHP dropbox::get_dropbox怎么用?PHP dropbox::get_dropbox使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在dropbox的用法示例。


在下文中一共展示了dropbox::get_dropbox方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: showrecords


//.........这里部分代码省略.........
            $tts_lang_subject_value = "<input name=t_subject value=\"" . Security::sqlsecure($t_subject) . "\" class=textbox max=80 size=80>";
        } else {
            $tts_lang_subject_value = "<input name=t_subject value=\"" . Security::sqlsecure($t_subject) . "\" class=textbox max=80 size=80 readonly>";
        }
        $tts_lang_description_value = "<textarea name=t_description cols=80 rows=12 class=textbox readonly>" . Security::sqlsecure($t_description) . "</textarea>";
        $tts_lang_change_date_VALUE = date("{$_SESSION['GO_SESSION']['date_format']} H:i", $change_date);
        $tts_lang_email = "Email {$tts_lang_issuer}: <input type=checkbox name=t_email_issuer value=1><br>Email {$tts_lang_assigned} <input type=checkbox name=t_email_agent value=1>";
        $post_changes = "<form name=\"change_status\" method=\"POST\" action=\"change_ticket.php?Ticket_Number={$Ticket_Number}&func=change_status\">";
        if (Security::is_action_allowed("change_project", 0, $acl_write)) {
            $project_name = select_option("{$project_id}", fill_select("project_id", "{$prefix}{$hlpdsk_prefix}_projects", "project_id", "project_name", " order by project_id"));
            $tts_lang_project_value = "{$project_name}";
        } else {
            $project_name = Security::htmlsecure(get_cross_value("{$prefix}{$hlpdsk_prefix}_projects", "project_name", " where project_id='{$project_id}'"));
            $tts_lang_project_value = "{$project_name}";
        }
        $fullname = opentts::get_fullname($t_assigned);
        if (Security::is_action_allowed("change_assigned", 0, $acl_write)) {
            $select = new select('user', 'change_status', 't_assigned', $t_assigned);
            $tts_lang_assign_to = $select->get_link("{$tts_lang_assign_to}");
            $tts_lang_assign_to_value = $select->get_field();
        } else {
            $tts_lang_assign_to_value = "{$fullname}";
        }
        if (Security::is_action_allowed("change_end_date", 0, $acl_write)) {
            $time = strtotime($end_date);
            #$end_date_d_m_y=date("Y/m/d",$time);
            $end_date_h = date("H", $time);
            $end_date_i = date("i", $time);
            $today = date($_SESSION['GO_SESSION']['date_format'], $time);
            $end_date = $datepicker->get_date_picker('end_date_d_m_y', $_SESSION['GO_SESSION']['date_format'], $today);
            $dropbox = new dropbox();
            $dropbox->add_arrays($hours, $hours);
            $end_date .= '<td>';
            $end_date_h_value = $dropbox->get_dropbox("end_date_h", $end_date_h);
            $dropbox = new dropbox();
            $dropbox->add_arrays($mins, $mins);
            $end_date_i_value = $dropbox->get_dropbox("end_date_i", $end_date_i);
            if ($htmldirection == 'rtl') {
                $end_date .= "{$end_date_i_value}:{$end_date_h_value}";
            } else {
                $end_date .= "{$end_date_h_value}:{$end_date_i_value}";
            }
            $tts_lang_end_date_value = "{$end_date}&nbsp;";
        } else {
            $tts_lang_end_date_value = "{$end_date}";
        }
        if (Security::is_action_allowed("change_complete", 0, $acl_write)) {
            $_PERCENTAGE_COMPLETE_VALUE = select_option("{$complete}", "{$select_complete}");
        } else {
            $_PERCENTAGE_COMPLETE_VALUE = "{$complete} %";
        }
        if (Security::is_action_allowed("change_due_date", 0, $acl_write)) {
            $time = strtotime($due_date);
            $due_date_d_m_y = date($_SESSION['GO_SESSION']['date_format'], $time);
            $due_date_h = date("H", $time);
            $due_date_i = date("i", $time);
            $today = date($_SESSION['GO_SESSION']['date_format'], $time);
            $due_date = $datepicker->get_date_picker('due_date_d_m_y', $_SESSION['GO_SESSION']['date_format'], $today, '', '', 'onchange="javascript:document.change_status.end_date_d_m_y.value=this.value;"');
            $dropbox = new dropbox();
            $dropbox->add_arrays($hours, $hours);
            $due_date .= '<td>';
            $due_date_h_value = $dropbox->get_dropbox("due_date_h", $due_date_h, 'onchange="javascript:update_end_hour(this.value);"');
            $dropbox = new dropbox();
            $dropbox->add_arrays($mins, $mins);
            $due_date_i_value = $dropbox->get_dropbox("due_date_i", $due_date_i, 'onchange="javascript:update_end_min(this.value);"');
            if ($htmldirection == 'rtl') {
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:67,代码来源:showline.php

示例2: date

         $tts_lang_end_date_value .= "{$tts_lang_end_date_i_value}:{$tts_lang_end_date_h_value}";
     } else {
         $tts_lang_end_date_value .= "{$tts_lang_end_date_h_value}:{$tts_lang_end_date_i_value}";
     }
 } else {
     $tts_lang_end_date_value = "";
 }
 if (Security::is_action_allowed("set_due_date")) {
     $time = date($_SESSION['GO_SESSION']['date_format'], time());
     $tts_lang_due_date_value = $datepicker->get_date_picker('due_date_d_m_y', $_SESSION['GO_SESSION']['date_format'], $time, '', '', 'onchange="javascript:document.new_ticket.end_date_d_m_y.value=this.value;"');
     $dropbox = new dropbox();
     $dropbox->add_arrays($hours, $hours);
     $tts_lang_due_date_h_value = $dropbox->get_dropbox("due_date_h", $due_date_h, 'onchange="javascript:update_end_hour(this.value);"');
     $dropbox = new dropbox();
     $dropbox->add_arrays($mins, $mins);
     $tts_lang_due_date_i_value = $dropbox->get_dropbox("due_date_i", $due_date_i, 'onchange="javascript:update_end_min(this.value);"');
     if ($htmldirection == 'rtl') {
         $tts_lang_due_date_value .= "{$tts_lang_due_date_i_value}:{$tts_lang_due_date_h_value}";
     } else {
         $tts_lang_due_date_value .= "{$tts_lang_due_date_h_value}:{$tts_lang_due_date_i_value}";
     }
 } else {
     $tts_lang_due_date_value = "";
 }
 $tts_lang_notify_by .= " email <input type=checkbox name=t_email>";
 $tts_lang_post_date_value = "{$post_date}";
 $_POST = "<form name=\"new_ticket\" method=\"POST\" action=\"entry_proc.php\">";
 $button = new button();
 $action_changes = $button->get_button($cmdOk, "javascript:document.new_ticket.submit()");
 $action_changes .= '&nbsp;' . $button->get_button($cmdReset, "javascript:document.new_ticket.reset()");
 $_ACTION = $javascript . $action_changes . "</form>";
开发者ID:BackupTheBerlios,项目名称:hpt-obm-svn,代码行数:31,代码来源:entry.php


注:本文中的dropbox::get_dropbox方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。