Beispiel #1
0
 public function remove($id = '')
 {
     return IC2_EditForm::remove($id);
 }
Beispiel #2
0
     } else {
         $qfe['jump']->updateAttributes(array('onclick' => "if(validate_go(this.form))pageJump(this.form.page.value)"));
     }
 }
 // 編集モード用フォームを生成
 if ($mode == 1 || $mode == 2) {
     $flexy->setData('editFormHeader', IC2_EditForm::header(isset($mf_hiddens) ? $mf_hiddens : array(), $mode));
     if ($mode == 1) {
         $flexy->setData('editFormCheckAllOn', IC2_EditForm::checkAllOn());
         $flexy->setData('editFormCheckAllOff', IC2_EditForm::checkAllOff());
         $flexy->setData('editFormCheckAllReverse', IC2_EditForm::checkAllReverse());
         $flexy->setData('editFormSelect', IC2_EditForm::selectRank($_threshold));
         $flexy->setData('editFormText', IC2_EditForm::textMemo());
         $flexy->setData('editFormSubmit', IC2_EditForm::submit());
         $flexy->setData('editFormReset', IC2_EditForm::reset());
         $flexy->setData('editFormRemove', IC2_EditForm::remove());
         $flexy->setData('editFormBlackList', IC2_EditForm::toblack());
     } elseif ($mode == 2) {
         $flexy->setData('editForm', new IC2_EditForm_Object());
     }
 }
 // DBから取得する範囲を設定して検索
 $from = ($page - 1) * $ipp;
 if ($order == 'pixels') {
     $orderBy = '(width * height) ' . $sort;
 } elseif ($order == 'date_uri' || $order == 'date_uri2') {
     if ($db_class == 'db_sqlite') {
         /*
         function iv2_sqlite_unix2date($ts)
         {
             return date('Ymd', (int)$ts);