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


PHP date::showInput方法代码示例

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


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

示例1: Help

    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get('hour') . '</option>
    <option value="1440"';
    if ($requeueinterval == 1440) {
        $scheduling_content .= ' selected="selected"';
    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get('day') . '</option>
    <option value="10080"';
    if ($requeueinterval == 10080) {
        $scheduling_content .= ' selected="selected"';
    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get('week') . '</option>
    </select>

      <label for="requeueuntil">' . $GLOBALS['I18N']->get('Requeue Until') . '</label>
      ' . $requeueuntil->showInput('requeueuntil', '', $messagedata['requeueuntil']);
    $scheduling_content .= '</div>';
    $scheduling_content .= '</div>';
    $formatting_content .= '<input type="hidden" name="htmlformatted" value="auto" />';
    $formatting_content .= '
    <div class="field">
    <label for="sendformat"> ' . $GLOBALS['I18N']->get('Send as') . Help('sendformat') . '</label>' . '
  ' . $GLOBALS['I18N']->get('html') . ' <input type="radio" name="sendformat" value="HTML" ';
    $formatting_content .= $messagedata['sendformat'] == 'HTML' ? 'checked="checked"' : '';
    $formatting_content .= '/>
  ' . $GLOBALS['I18N']->get('text') . ' <input type="radio" name="sendformat" value="text" ';
    $formatting_content .= $messagedata['sendformat'] == 'text' ? 'checked="checked"' : '';
    $formatting_content .= '/>
  ';
    //  0009687: Confusing use of the word "Both", indicating one email with both text and html and not two emails
    //  $formatting_content .= $GLOBALS['I18N']->get("text and html").' <input type="radio" name="sendformat" value="text and HTML" ';
开发者ID:hktang,项目名称:phplist3,代码行数:31,代码来源:send_core.php

示例2:

echo $GLOBALS['I18N']->get('To delete subscribers who signed up and have not confirmed their subscription');
?>
</legend>
        <div class="field"><label
                for="fromdate"><?php 
echo $GLOBALS['I18N']->get('Date they signed up after');
?>
</label>
            <div id="fromdate"><?php 
echo $from->showInput('', '', $fromval);
?>
</div>
        </div>
        <div class="field"><label for="todate"><?php 
echo $GLOBALS['I18N']->get('Date they signed up before');
?>
</label>
            <div id="todate"><?php 
echo $to->showInput('', '', $toval);
?>
</div>
        </div>
    </fieldset>
    <input type="hidden" name="page" value="reconcileusers"/>
    <input type="hidden" name="option" value="deleteunconfirmed"/>
    <input class="submit" type="submit" value="<?php 
echo $GLOBALS['I18N']->get('Click here');
?>
"></form>
</form>
开发者ID:gillima,项目名称:phplist3,代码行数:30,代码来源:reconcileusers.php

示例3:

        $scheduling_content .= '>' . $GLOBALS['I18N']->get("hour") . '</option>
      <option value="1440"';
        if ($repeatinterval == 1440) {
            $scheduling_content .= " SELECTED";
        }
        $scheduling_content .= '>' . $GLOBALS['I18N']->get("day") . '</option>
      <option value="10080"';
        if ($repeatinterval == 10080) {
            $scheduling_content .= " SELECTED";
        }
        $scheduling_content .= '>' . $GLOBALS['I18N']->get("week") . '</option>
      </select>

    </td></tr>
    </td></tr>
    <tr><td>  ' . $GLOBALS['I18N']->get("repeatuntil") . ':</td><td>' . $repeatuntil->showInput("repeatuntil", "", $_POST["repeatuntil"]) . '</td></tr>
    </td></tr>';
    }
    /*
      $formatting_content .= '
        <tr><td colspan=2>'.Help("format").' '.$GLOBALS['I18N']->get("format").': <b>'.$GLOBALS['I18N']->get("autodetect").'</b>
        <input type=radio name="htmlformatted" value="auto" ';
        $formatting_content .= !isset($htmlformatted) || $htmlformatted == "auto"?"checked":"";
        $formatting_content .= '>
      <b>'.$GLOBALS['I18N']->get("html").'</b> <input type=radio name="htmlformatted" value="1" ';
        $formatting_content .= $htmlformatted == "1" ?"checked":"";
        $formatting_content .= '>
      <b>'.$GLOBALS['I18N']->get("text").'</b> <input type=radio name="htmlformatted" value="0" ';
        $formatting_content .= $htmlformatted == "0" ?"checked":"";
        $formatting_content .= '></td></tr>';
    */
开发者ID:kvervo,项目名称:phplist-aiesec,代码行数:31,代码来源:send_core.php

示例4:

?>
<hr/>
<form method="get">
<fieldset>
<legend><?php 
echo $GLOBALS['I18N']->get('To delete subscribers who signed up and have not confirmed their subscription');
?>
</legend>
<div class="field"><label for="fromdate"><?php 
echo $GLOBALS['I18N']->get('Date they signed up after');
?>
</label><div id="fromdate"><?php 
echo $from->showInput("", "", $fromval);
?>
</div></div>
<div class="field"><label for="todate"><?php 
echo $GLOBALS['I18N']->get('Date they signed up before');
?>
</label><div id="todate"><?php 
echo $to->showInput("", "", $toval);
?>
</div></div>
</fieldset>
<input type="hidden" name="page" value="reconcileusers" />
<input type="hidden" name="option" value="deleteunconfirmed" />
<input class="submit" type="submit" value="<?php 
echo $GLOBALS['I18N']->get('Click here');
?>
"></form>
</form>
开发者ID:juvenal,项目名称:PHPlist,代码行数:30,代码来源:reconcileusers.php

示例5: Help

    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get("hour") . '</option>
    <option value="1440"';
    if ($requeueinterval == 1440) {
        $scheduling_content .= ' selected="selected"';
    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get("day") . '</option>
    <option value="10080"';
    if ($requeueinterval == 10080) {
        $scheduling_content .= ' selected="selected"';
    }
    $scheduling_content .= '>' . $GLOBALS['I18N']->get("week") . '</option>
    </select>

      <label for="requeueuntil">' . $GLOBALS['I18N']->get("Requeue Until") . '</label>
      ' . $requeueuntil->showInput("requeueuntil", "", $messagedata["requeueuntil"]);
    $scheduling_content .= '</div>';
    $scheduling_content .= '</div>';
    $formatting_content .= '<input type="hidden" name="htmlformatted" value="auto" />';
    $formatting_content .= '
    <div class="field">
    <label for="sendformat"> ' . $GLOBALS['I18N']->get("Send as") . Help("sendformat") . '</label>' . '
  ' . $GLOBALS['I18N']->get("html") . ' <input type="radio" name="sendformat" value="HTML" ';
    $formatting_content .= $messagedata["sendformat"] == "HTML" ? 'checked="checked"' : '';
    $formatting_content .= '/>
  ' . $GLOBALS['I18N']->get("text") . ' <input type="radio" name="sendformat" value="text" ';
    $formatting_content .= $messagedata["sendformat"] == "text" ? 'checked="checked"' : '';
    $formatting_content .= '/>
  ';
    //  0009687: Confusing use of the word "Both", indicating one email with both text and html and not two emails
    //  $formatting_content .= $GLOBALS['I18N']->get("text and html").' <input type="radio" name="sendformat" value="text and HTML" ';
开发者ID:bcantwell,项目名称:website,代码行数:31,代码来源:send_core.php

示例6: s

    print '</select>';
} else {
    printf('<input type="hidden" name="list" value="%d" />', $list);
    print '<strong>' . listName($list) . '</strong><br/><br/>';
}
?>
<div id="exportdates">
<?php 
echo $GLOBALS['I18N']->get('Date From:');
?>
 <?php 
echo $from->showInput("", "", $fromdate);
echo $GLOBALS['I18N']->get('Date To:');
?>
  <?php 
echo $to->showInput("", "", $todate);
?>
</div>


<?php 
echo s('Select the columns to include in the export');
?>
<div><input type="checkbox" name="selectallcheckbox" id="selectallcheckbox" checked="checked" /><label for="selectallcheckbox"><?php 
echo s('Select all');
?>
 </label></div>

<?php 
$cols = array();
while (list($key, $val) = each($DBstruct["user"])) {
开发者ID:narareddy,项目名称:phplist3,代码行数:31,代码来源:export.php

示例7: s

        printf('<option value="%d">%s</option>', $row['id'], $row['name']);
    }
    print '</select>';
} else {
    printf('<input type="hidden" name="list" value="%d" />', $list);
    print '<strong>' . listName($list) . '</strong><br/><br/>';
}
?>
    <div id="exportdates">
        <?php 
echo $GLOBALS['I18N']->get('Date From:');
echo $from->showInput('', '', $fromdate);
?>
        <?php 
echo $GLOBALS['I18N']->get('Date To:');
echo $to->showInput('', '', $todate);
?>
    </div>


<?php 
echo s('Select the columns to include in the export');
?>
    <div><input type="checkbox" name="selectallcheckbox" id="selectallcheckbox" checked="checked"/><label
            for="selectallcheckbox"><?php 
echo s('Select all');
?>
 </label></div>

<?php 
$cols = array();
开发者ID:gillima,项目名称:phplist3,代码行数:31,代码来源:export.php

示例8: Help

    echo " SELECTED";
}
?>
>Day</option>
<option value="10080"<?php 
if ($repeatinterval == 10080) {
    echo " SELECTED";
}
?>
>Week</option>
</select>

</td></tr>
</td></tr>
<tr><td>  Repeat until:</td><td><?php 
echo $repeatuntil->showInput("repeatuntil", "", $_POST["repeatuntil"]);
?>
</td></tr>
</td></tr>

<? } ?>

<tr><td colspan=2><?php 
echo Help("format");
?>
 Format: <b>Auto detect</b> <input type=radio name="htmlformatted" value="auto" <?php 
echo !isset($htmlformatted) || $htmlformatted == "auto" ? "checked" : "";
?>
>
<b>HTML</b> <input type=radio name="htmlformatted" value="1" <?php 
echo $htmlformatted == "1" ? "checked" : "";
开发者ID:radicaldesigns,项目名称:amp,代码行数:31,代码来源:send_core.php


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