Beispiel #1
0
?>
</td>
            <td><?php 
echo html::a($this->createLink('mail', 'sendmailcode'), $lang->user->getEmailCode, "id='mailSender' class='btn btn-xs'");
?>
</td>
          </tr>
          <tr>
            <th><?php 
echo $lang->user->captcha;
?>
</th>
            <td><?php 
echo html::input('captcha', '', "class='form-control'");
?>
</td>
          </tr>
          <tr>
            <th></th>
            <td><?php 
echo html::submitButton() . html::hidden('referer', $referer);
?>
</td>
          </tr>
        </table>
      </form>
    </div>
  </div>
</div>
<?php 
include TPL_ROOT . 'common/footer.html.php';
?>
<form method='post' action='<?php 
echo inlink('confirm');
?>
'>
<div class='container'>
  <div class='modal-dialog'>
    <div class='modal-header'>
      <h3><?php 
echo $lang->upgrade->selectVersion;
?>
</h3>
    </div>
    <div class='modal-body'>
      <div class='form-group'>
        <?php 
echo html::select('fromVersion', $lang->upgrade->fromVersions, $version, "class='form-control single-input'");
echo "&nbsp;&nbsp;<span class='text-danger help-inline'>{$lang->upgrade->versionNote}</span>";
?>
      </div>
    </div>
    <div class='modal-footer'>
      <?php 
echo html::submitButton($lang->upgrade->common);
?>
    </div>
  </div>
</div>
</form>
<?php 
include '../../install/view/footer.html.php';
Beispiel #3
0
    ?>
                <?php 
    echo html::a('javascript:;', "<i class='icon-remove'></i>", "class='btn btn-link pull-left btn-mini btn-remove'");
    ?>
              </div>
            </div>
            <?php 
    $key++;
}
?>
          </td>
        </tr>
        <tr>
          <th></th>
          <td colspan='2'><?php 
echo html::submitButton();
?>
</td>
        </tr>
      </table>
    </form>

    <div class='hide row-custom'>
      <div class='row form-group'>
        <div class="col-xs-3"> <?php 
echo html::input('label[key]', '', "class='form-control' placeholder='{$lang->product->placeholder->label}'");
?>
</div>
        <div class="col-xs-8"> <?php 
echo html::input('value[key]', '', "class='form-control' placeholder='{$lang->product->placeholder->value}'");
?>
Beispiel #4
0
    echo $block->title;
    ?>
</strong></div>
              <div class='panel-body text-center'><?php 
    echo $lang->block->textExample;
    ?>
</div>
            </div>
          </div>
        </div>
        <?php 
}
?>
      </div>
      <div class='form-footer'>
        <?php 
echo html::submitButton() . html::hidden('blockID', $block->id);
?>
        <?php 
echo html::a($this->createLink('guarder', 'validate', "url=&target=modal&account=&type=okFile"), $lang->save, "data-toggle='modal' class='hidden captchaModal'");
?>
</th>
        <?php 
echo html::a($this->session->blockList, $this->lang->goback, "class='btn btn-default btn-cancel'");
?>
      </div>
    </div>
  </div>
</form>
<?php 
include '../../common/view/footer.admin.html.php';
Beispiel #5
0
        $maxOrder = $sonModule->order;
    }
    $disabled = $sonModule->type == 'task' ? '' : 'disabled="true"';
    echo '<span>' . html::input("modules[id{$sonModule->id}]", $sonModule->name, 'class=form-control ' . $disabled) . '</span>';
}
for ($i = 0; $i < TREE::NEW_CHILD_COUNT; $i++) {
    echo '<span>' . html::input("modules[]", '', 'class=form-control') . '</span>';
}
?>
              </td>
            </tr>
            <tr>
              <td></td>
              <td colspan='2'>
                <?php 
echo html::submitButton() . html::backButton();
echo html::hidden('parentModuleID', $currentModuleID);
echo html::hidden('maxOrder', $maxOrder);
?>
      
                <input type='hidden' value='<?php 
echo $currentModuleID;
?>
' name='parentModuleID' />
              </td>
            </tr>
          </table>
        </div>
      </div>
    </form>
  </div>
Beispiel #6
0
/>
          <?php 
echo $this->lang->block->titleless;
?>
        <label>
      </td>
      <td class='w-100px'>
        <label>
        <input type='checkbox' name='borderless' value='1' <?php 
if (zget($block, 'borderless') == 1) {
    echo 'checked';
}
?>
/>
          <?php 
echo $this->lang->block->borderless;
?>
        <label>
      </td>
    </tr>
    <tr>
      <td></td>
      <td colspan='2'> <?php 
echo html::submitButton() . html::hidden('page', $layout->page) . html::hidden('region', $layout->region) . html::hidden('block', $block->id);
?>
 </td>
    </tr>
  </table>
</form>
<?php 
include "footer.html.php";
Beispiel #7
0
        <label class='col-md-2 control-label'>分类属性</label>

        <div class="col-md-4">
          <input type="hidden" name="attr_id[]"/>
          <input type="text" name="attr_name[]" class="form-control" placeholder="分类的属性" />
        </div>
        <div class="col-md-2">
          <a href="javascript:;">
            <i class="icon-plus" data-type='attr'></i>
          </a>
        </div>

      </div>

      <div class='form-group' id='edit_submit'>
        <label class='col-md-2'></label>
        <div class='col-md-4'><?php 
echo html::submitButton() . html::hidden('type', $category->type);
?>
</div>
      </div>
      
    </div>
  </div>
  <?php 
if (isset($pageJS)) {
    js::execute($pageJS);
}
?>
</form>
Beispiel #8
0
/**
 * The test view file of mail module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2012 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     mail
 * @version     $Id$
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
<form method='post' target='hiddenwin'>
<table class='table-4' align='center'>
  <caption><?php 
echo $lang->mail->test;
?>
</caption>
  <tr>
    <td class='a-center'>
      <?php 
echo html::select('to', $users, $app->user->account);
echo html::submitButton($lang->mail->test);
echo html::linkButton($lang->mail->edit, $this->inLink('edit'));
?>
    </td>
  </tr>
</table>
</form>
<?php 
include '../../common/view/footer.html.php';
Beispiel #9
0
 * @author      Chunsheng Wang <*****@*****.**>
 * @package     extension
 * @version     $Id$
 * @link        http://www.zentao.net
 */
include '../../common/view/header.lite.html.php';
?>
<div id='titlebar'>
  <div class='heading'>
    <span class='prefix'><?php 
echo html::icon('upload');
?>
</span>
    <strong><?php 
echo $lang->extension->upload;
?>
</strong>
  </div>
</div>
<form method='post' enctype='multipart/form-data' style='padding: 5% 20%'>
  <div class='input-group'>
    <input type='file' name='file' class='form-control' />
    <span class='input-group-btn'><?php 
echo html::submitButton($lang->extension->install);
?>
</span>
  </div>
</form>
</body>
</html>
Beispiel #10
0
</label>
        <div class='col-md-11 col-sm-10'><?php 
echo html::textarea('content', htmlspecialchars($reply->content), "rows='15' class='form-control'");
?>
</div>
      </div>
      <div class='form-group'>
        <label class='col-md-1 col-sm-2 control-label'><?php 
echo $lang->thread->file;
?>
</label>
        <div class='col-md-7 col-sm-8 col-xs-11'>
          <?php 
$this->reply->printFiles($reply, $canManage = true);
echo $this->fetch('file', 'buildForm');
?>
        </div>
      </div>
      <div class='form-group hiding' id='captchaBox'></div>
      <div class='form-group'>
        <label class='col-md-1 col-sm-2'></label>
        <div class='col-md-11 col-sm-10'><?php 
echo html::submitButton() . ' &nbsp; ' . html::backButton();
?>
</div>
      </div>
    </form>
  </div>
</div>
<?php 
include TPL_ROOT . 'common/footer.html.php';
Beispiel #11
0
        <th><?php 
echo $lang->release->desc;
?>
</th>
        <td colspan='2'><?php 
echo html::textarea('desc', htmlspecialchars($release->desc), "rows=10 class='form-control'");
?>
</td>
      </tr>  
      <tr>
        <th><?php 
echo $lang->files;
?>
</th>
        <td colspan='2'><?php 
echo $this->fetch('file', 'buildform', array('fileCount' => 1));
?>
</td>
      </tr>  
      <tr>
        <td></td>
        <td colspan='2'><?php 
echo html::submitButton() . html::backButton() . html::hidden('product', $release->product);
?>
</td>
      </tr>
    </table>
  </form>  
</div>
<?php 
include '../../common/view/footer.html.php';
Beispiel #12
0
  <?php 
    $times += $effort->consumed;
    ?>
  <?php 
}
?>
  </tbody>
  <tfoot>
    <tr>
      <td colspan='7'>
        <div class='table-actions clearfix'>
          <?php 
if ($efforts) {
    echo html::selectAll() . html::selectReverse();
    if (common::hasPriv('effort', 'batchEdit')) {
        echo html::submitButton($lang->effort->batchEdit);
    }
}
if ($times) {
    printf('<div class="text">' . $lang->company->effort->timeStat . '</div>', $times);
}
?>
        </div>
        <?php 
$pager->show();
?>
      </td>
    </tr>
  </tfoot>
</table>
</form>
Beispiel #13
0
      <div class='panel-heading'>
        <strong><?php 
echo $lang->task->report->select;
?>
</strong>
      </div>
      <div class='panel-body' style='padding-top:0'>
        <form method='post'>
          <?php 
echo html::checkBox('charts', $lang->task->report->charts, $checkedCharts, '', 'block');
?>
          <?php 
echo html::selectAll('', "button", false, 'btn-sm');
?>
          <?php 
echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary');
?>
        </form>
      </div>
    </div>
  </div>
  <div class='col-md-9 col-lg-10'>
    <div class='panel panel-sm'>
      <div class='panel-heading'>
        <strong><?php 
echo $lang->task->report->common;
?>
</strong>
      </div>
      <table class='table active-disabled'>
        <?php 
Beispiel #14
0
      </tr>
      <tr>
        <th><?php 
echo $lang->contact->qq;
?>
</th>
        <td><?php 
echo html::input('qq', '', "class='form-control'");
?>
</td>
      </tr>
    </tbody>
  </table>
  <div class='text-center'>
    <?php 
echo html::submitButton() . html::commonButton($lang->goback, 'reloadModal btn');
?>
    <div id='duplicateError' class='hide'></div>
  </div>
</form>
<div class='errorMessage hide'>
  <div class='alert alert-danger alert-dismissable'>
    <button aria-hidden='true' data-dismiss='alert' class='close' type='button'>×</button>
    <button type='submit' class='btn btn-default' id='continueSubmit'><?php 
echo $lang->continueSave;
?>
</button>
  </div>
</div>
<?php 
include '../../../sys/common/view/footer.modal.html.php';
Beispiel #15
0
?>
          </div>
        </div>
        <div class='form-group'>
          <div class='input-group'>
            <span class='input-group-addon'><?php 
echo $lang->company->endDate;
?>
</span>
            <?php 
echo html::input('end', $end, 'class="form-control form-date"');
?>
          </div>
        </div>
        <div class='form-group'><?php 
echo html::submitButton($lang->company->effort->view);
?>
</div>
      </div>
    </div>
  </form>
</div>
<div class="main">
  <div id='showdata' data-url='<?php 
echo $this->createLink('company', 'todo', "dept={$parent}&begin=" . strtotime($begin) . "&end=" . strtotime($end) . "&iframe=yes");
?>
'>
    <div style='background: #f1f1f1; padding: 40px;' class='text-center'><i class='icon-spinner icon-spin' style='font-size: 28px'></i></div>
  </div>
</div>
<?php 
      <tr>
        <th class='w-100px'><?php 
echo $lang->user->account;
?>
</th>
        <td><?php 
echo html::input('account', '', "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->user->password;
?>
</th>
        <td><?php 
echo html::password('password', '', "class='form-control'");
?>
</td>
      </tr>  
      <tr>
        <th></th><td class="text-center"><?php 
echo html::submitButton() . html::hidden('sn', $sn);
?>
</td>
      </tr>
    </table>
  </form>
</div>
<?php 
include '../../common/view/footer.html.php';
Beispiel #17
0
    </tbody>
    <tfoot>
      <tr>
        <td colspan='<?php 
    echo $canOrder ? 12 : 11;
    ?>
'>
          <div class='table-actions clearfix'>
            <?php 
    if ($canBatchEdit and !empty($productStats)) {
        ?>
            <?php 
        echo "<div class='btn-group'>" . html::selectButton() . '</div>';
        ?>
            <?php 
        echo html::submitButton($lang->product->batchEdit, '', '');
        ?>
            <?php 
    }
    ?>
            <?php 
    if (!$canOrder and common::hasPriv('product', 'updateOrder')) {
        echo html::a(inlink('index', "locate=no&productID={$productID}&status={$status}&order=order_desc&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"), $lang->product->updateOrder, '', "class='btn'");
    }
    ?>
          </div>
          <div class='text-right'><?php 
    $pager->show();
    ?>
</div>
        </td>
Beispiel #18
0
      <div class='panel-heading'>
        <strong><?php 
echo $lang->bug->report->select;
?>
</strong>
      </div>
      <div class='panel-body' style='padding-top:0'>
        <form method='post'>
          <?php 
echo html::checkBox('charts', $lang->bug->report->charts, $checkedCharts, '', 'block');
?>
          <?php 
echo html::selectAll('', "button", false, 'btn-sm');
?>
          <?php 
echo html::submitButton($lang->bug->report->create, '', "btn-primary btn-sm");
?>
        </form>
      </div>
    </div>
  </div>
  <div class='col-main'>
    <div class='panel panel-sm'>
      <div class='panel-heading'>
        <strong><?php 
echo $lang->bug->report->common;
?>
</strong>
      </div>
      <table class='table active-disabled'>
        <?php 
        <fieldset>
          <legend><?php 
echo $lang->comment;
?>
</legend>
          <form method='post' action='<?php 
echo inlink('edit', "caseID={$case->id}&comment=true");
?>
'>
            <table align='center' class='table-1'>
            <tr><td><?php 
echo html::textarea('comment', '', "rows='5' class='w-p100'");
?>
</td></tr>
            <tr><td><?php 
echo html::submitButton() . html::resetButton();
?>
</td></tr>
            </table>
          </form>
        </fieldset>
      </div>
    </td>
    <td class='divider'></td>
    <td class='side'>
      <fieldset>
        <legend><?php 
echo $lang->testcase->legendBasicInfo;
?>
</legend>
        <table class='table-1 a-left fixed'>
Beispiel #20
0
?>
</th>
    <td><?php 
echo html::password('password1', '', "class='text-3'") . '<span class="star">*</span>' . $lang->admin->register->lblPasswd;
?>
</td>
  </tr>  
  <tr>
    <th class='rowhead'><?php 
echo $lang->user->password2;
?>
</td>
    <td><?php 
echo html::password('password2', '', "class='text-3'") . '<span class="star">*</span>';
?>
</td>
  </tr> 
  <tr>
    <th>
	  <td colspan="2">
        <?php 
echo html::submitButton($lang->admin->register->submit) . html::hidden('sn', $sn);
echo "<span>" . sprintf($lang->admin->register->bind, html::a(inlink('bind'), $lang->admin->register->click)) . "</span>";
?>
	  </td>
    </th>
  </tr>
</table>
</form>
<?php 
include '../../common/view/footer.html.php';
Beispiel #21
0
    echo "<div class='col-xs-6 col-md-4 col-md-offset-2'>" . html::input("children[]", '', "class='form-control' placeholder='{$this->lang->category->name}'") . "</div>";
    if (!$isWechatMenu and $type != 'express' and $type != 'slide') {
        echo "<div class='col-xs-6 col-md-4'>" . html::input("alias[]", '', "class='form-control' placeholder='{$this->lang->category->alias}'") . '</div>';
        echo "<div class='col-xs-6 col-md-2'>";
        echo "<i class='icon-move sort-handle'> </i>";
        echo html::a('javascript:;', "<i class='icon-plus'></i>", "class='btn btn-link pull-left btn-mini btn-plus'");
        echo html::a('javascript:;', "<i class='icon-remove'></i>", "class='btn btn-link pull-left btn-mini btn-remove'");
        echo '</div>';
    }
    echo html::hidden('mode[]', 'new');
    echo "</div>";
}
if ($type == 'forum' and $boardChildrenCount == 0) {
    echo "<div class='form-group'><div class='col-xs-8 col-md-offset-2'><div class='alert alert-warning'>{$this->lang->board->placeholder->setChildren}</div></div></div>";
}
echo "<div class='form-group'><div class='col-xs-8 col-md-offset-2'>" . html::submitButton() . "</div></div>";
echo html::hidden('parent', $parent);
?>
      
    </div>
  </div>
</form>
<div class='child hide'>
  <div class='form-group category'>
    <div class='col-xs-6 col-md-4 col-md-offset-2'><?php 
echo html::input("children[]", '', "class='form-control' placeholder='{$this->lang->category->name}'");
?>
</div>
    <div class='col-xs-6 col-md-4'><?php 
echo html::input("alias[]", '', "class='form-control' placeholder='{$this->lang->category->alias}'");
?>
Beispiel #22
0
 /**
  * Get user for ajax
  *
  * @param  string $requestID
  * @param  string $assignedTo
  * @access public
  * @return void
  */
 public function ajaxGetUser($taskID = '', $assignedTo = '')
 {
     $users = $this->user->getPairs('noletter, noclosed');
     $html = "<form method='post' target='hiddenwin' action='" . $this->createLink('task', 'assignedTo', "taskID={$taskID}&assignedTo={$assignedTo}") . "'>";
     $html .= html::select('assignedTo', $users, $assignedTo);
     $html .= html::submitButton();
     $html .= '</form>';
     echo $html;
 }
Beispiel #23
0
    ?>
</h5>
      </div>
      <div class='modal-body'>
        <form method='post' enctype='multipart/form-data' id='replyForm' action='<?php 
    echo $this->createLink('reply', 'post', "thread={$thread->id}");
    ?>
'>
          <div class='form-group' id='reply'>
            <?php 
    echo html::textarea('content', '', "rows='6' class='form-control' placeholder='{$lang->reply->content}'");
    ?>
          </div>
          <div class='form-group clearfix captcha-box hide'></div>
          <div class='form-group'><?php 
    echo html::submitButton('', 'btn primary block');
    ?>
</div>
          <?php 
    echo html::hidden('recTotal', $pager->recTotal);
    echo html::hidden('recPerPage', $pager->recPerPage);
    echo html::hidden('pageID', $pager->pageTotal);
    ?>
        </form>
      </div>
    </div>
  </div>
</div>
<script>
$(function()
{
Beispiel #24
0
        <label class='col-sm-2 control-label' for='useraccount'><?php 
echo $lang->user->account;
?>
</label>
        <div class='col-sm-9'><?php 
echo html::input('account', '', "class='form-control'");
?>
</div>
      </div>
      <div class='form-group'>
        <label class='col-sm-2 control-label' for='password'><?php 
echo $lang->user->password;
?>
</label>
        <div class='col-sm-9'><?php 
echo html::password('password', '', "class='form-control'");
?>
</div>
      </div>
      <div class='form-group'>
        <label class='col-sm-2 control-label'></label>
        <div class='col-sm-9'><?php 
echo html::submitButton($lang->login, 'btn btn-success') . html::hidden('referer', $referer);
?>
</div>
      </div>
    </form>
  </div>
</div>
<?php 
include TPL_ROOT . 'common/footer.html.php';
Beispiel #25
0
?>
            <?php 
echo html::hidden('orderBy', 'pv_desc');
?>
            <table class='table table-borderless'>
              <tr>
                <td style='padding:4px'>
                  <?php 
echo html::input('begin', $this->get->begin, "placeholder='{$lang->stat->begin}' class='form-date w-120px'");
?>
 
                  <?php 
echo html::input('end', $this->get->end, "placeholder='{$lang->stat->end}' class='form-date w-120px'");
?>
                  <?php 
echo html::submitButton($lang->stat->view, "btn btn-xs btn-info");
?>
                </td>
              </tr>
            </table>
          </form>
        </li>
       </ul>
    </div>
  </div>
  <table class='table table-hover table-bordered table-striped tablesorter'>
    <thead>
      <tr class='text-center'>
        <?php 
$vars = "mode={$mode}&orderBy=%s&begin={$begin}&end={$end}";
?>
Beispiel #26
0
        </tr>
        <tr>
          <th><?php 
echo $lang->article->content;
?>
</th>
          <td colspan='2'><?php 
echo html::textarea('content', '', "rows='20' class='form-control'");
?>
</td>
        </tr>
        <tr>
          <th></th>
          <td colspan='2'>
            <?php 
echo html::submitButton() . html::hidden('type', $type);
?>
 
            <?php 
if ($type != 'blog') {
    echo html::commonButton($lang->article->createDraft, "btn btn-default draft");
}
?>
          </td>
        </tr>
      </table>
    </form>
  </div>
</div>
<?php 
include $app->getModuleRoot() . 'common/view/footer.html.php';
Beispiel #27
0
?>
        <?php 
echo html::hidden('recTotal', isset($this->get->recTotal) ? $this->get->recTotal : 0);
?>
        <?php 
echo html::hidden('recPerPage', isset($this->get->recPerPage) ? $this->get->recPerPage : 10);
?>
        <?php 
echo html::hidden('pageID', isset($this->get->pageID) ? $this->get->pageID : 1);
?>
        <div class="input-group">
          <?php 
echo html::input('searchWord', $this->get->searchWord, "class='form-control search-query'");
?>
          <span class="input-group-btn"><?php 
echo html::submitButton($lang->search->common, "btn btn-primary");
?>
</span>
        </div>
      </form>
    </div>
  </div>
  <table class='table table-hover table-striped tablesorter' id='threadList'>
    <?php 
if ($threads) {
    ?>
    <thead>
      <tr class='text-center'>
        <?php 
    $vars = "boardID={$boardID}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";
    ?>
Beispiel #28
0
    }
    ?>
                    </td>
                  </tr>
                  <?php 
}
?>
                </tbody>
                <tfoot>
                <tr>
                  <td colspan='7'>
                    <div class='table-actions clearfix'>
                      <?php 
if (count($planBugs) and $canBatchUnlink) {
    echo "<div class='btn-group'>" . html::selectButton() . '</div>';
    echo html::submitButton($lang->productplan->batchUnlink);
}
?>
                      <div class='text'><?php 
echo sprintf($lang->productplan->bugSummary, count($planBugs));
?>
 </div>
                    </div>
                  </td>
                </tr>
                </tfoot>
              </table>
            </form>
          </div>
        </div>
      </div>
Beispiel #29
0
        <?php 
}
?>
        </tbody>
        <tfoot>
        <tr>
          <td colspan='12'>
          <?php 
if ($canBatchEdit or $canManageContacts) {
    echo html::selectAll() . html::selectReverse();
}
if ($canBatchEdit) {
    echo html::submitButton($lang->edit, 'onclick=batchEdit()');
}
if ($canManageContacts) {
    echo html::submitButton($lang->user->contacts->manage, 'onclick=manageContacts()');
}
$pager->show();
?>
          </td>
        </tr>
        </tfoot>
      </table>
    </td>
  </tr>
</table>
<script lanugage='javascript'>$('#dept<?php 
echo $deptID;
?>
').addClass('active');</script>
<?php 
          </td>
        </tr>
        <?php 
    }
    ?>
      </table>
    </div>
    <div class='panel-footer text-right'>
      <?php 
    printf($lang->order->selectProducts, count($products));
    ?>
      <?php 
    printf($lang->order->totalToPay, $currencySymbol . $total);
    ?>
      <?php 
    echo html::submitButton($lang->order->submit, 'btn-order-submit');
    ?>
    </div>
  </form>
</div>
<?php 
} else {
    ?>
<div class='panel'>
  <div class='panel-heading'>
    <strong><?php 
    echo $lang->order->browse;
    ?>
</strong>
  </div>
  <div class='panel-body'>