本文整理汇总了PHP中language::messageRemoveData方法的典型用法代码示例。如果您正苦于以下问题:PHP language::messageRemoveData方法的具体用法?PHP language::messageRemoveData怎么用?PHP language::messageRemoveData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类language
的用法示例。
在下文中一共展示了language::messageRemoveData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showClean
function showClean($content = "")
{
$returnStr = $this->showToolsHeader(Language::headerToolsCleaner());
$returnStr .= $content;
$surveys = new Surveys();
$surveys = $surveys->getSurveys();
if (sizeof($surveys) > 0) {
$returnStr .= '<form method="post">';
$returnStr .= setSessionParamsPost(array('page' => 'sysadmin.tools.cleanres'));
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanSurveys() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
foreach ($surveys as $survey) {
$returnStr .= '<tr><td><label><input name=clean[] value="' . $survey->getSuid() . '" type="checkbox">' . $survey->getName() . '</label></td></tr>';
}
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanDataType() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
$returnStr .= '<tr><td><label><input name=datatype[] value="' . SURVEY_EXECUTION_MODE_NORMAL . '" type="checkbox">' . Language::labelDataTypeNormal() . '</label></td></tr>';
$returnStr .= '<tr><td><label><input name=datatype[] value="' . SURVEY_EXECUTION_MODE_TEST . '" type="checkbox">' . Language::labelDataTypeTest() . '</label></td></tr>';
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanPeriod() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
$returnStr .= '<tr><td>' . Language::labelToolsCleanFrom() . ': </td><td>' . $this->displayDateTimePicker("from", "from", "", getSMSLanguagePostFix(getSMSLanguage()), "true", "true", "false") . '</td><td>' . Language::labelToolsCleanTo() . ': </td><td>' . $this->displayDateTimePicker("to", "to", "", getSMSLanguagePostFix(getSMSLanguage()), "true", "true", "false") . '</td></tr>';
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<input type="submit" class="btn btn-default" ' . confirmAction(language::messageRemoveData(), 'REMOVE') . ' value="' . Language::buttonClean() . '"/>';
$returnStr .= '</form>';
} else {
$returnStr .= $this->displayInfo(Language::messageNoSurveysAvailable());
}
//END CONTENT
$returnStr .= '</p></div> </div>';
//container and wrap
$returnStr .= $this->showBottomBar();
$returnStr .= $this->showFooter(false);
return $returnStr;
}