Ejemplo n.º 1
0
/**
 * The html template file of index method of upgrade 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     upgrade
 * @version     $Id: index.html.php 2605 2012-02-21 07:22:58Z wwccss $
 */
include '../../common/view/header.lite.html.php';
?>
<table align='center' class='table-5 f-14px'>
  <caption><?php 
echo $lang->upgrade->warnning;
?>
</caption>
  <tr>
    <td><?php 
echo $lang->upgrade->warnningContent;
?>
</td>
  </tr>
  <tr>
    <td colspan='2' class='a-center'><?php 
echo html::linkButton($lang->upgrade->common, inlink('selectVersion'));
?>
</td>
  </tr>
</table>
<?php 
include '../../common/view/footer.lite.html.php';
Ejemplo n.º 2
0
 <?php 
    echo html::icon($lang->icons['test']);
    ?>
</small>
    </div>
    <div class='actions'><div class='text text-info'><?php 
    echo $lang->mail->sendmailTips;
    ?>
</div></div>
  </div>
  <form class='form-condensed' method='post' target='resultWin'>
    <table class='table table-form'>
      <tr>
        <td><?php 
    echo html::select('to', $users, $app->user->account, "class='form-control chosen'");
    ?>
</td>
        <td class='text-left'>
          <?php 
    echo html::submitButton($lang->mail->test);
    echo html::linkButton($lang->mail->edit, inLink($config->mail->mta == 'sendcloud' ? 'sendcloud' : 'edit'));
    ?>
        </td>
      </tr>
    </table>
  </form>
  <table class='table table-form'><tr><td><iframe id='resultWin' name='resultWin'></iframe></td></tr></table>
</div>
<?php 
    include '../../common/view/footer.html.php';
}
Ejemplo n.º 3
0
include '../../common/view/header.admin.html.php';
js::set('setCounts', $lang->site->setCounts);
js::set('score', commonModel::isAvailable('score'));
?>
<div class='panel'>
  <div class='panel-heading'><strong><i class='icon-envelope'></i> <?php 
echo $lang->mail->common;
?>
 <i class='icon-arrow-right'></i> <?php 
echo $lang->mail->save;
?>
</strong></div>
  <div class='panel-body'>
    <div class='alert alert-success'>
      <i class='icon-ok-sign'></i>
      <div class='content'><?php 
echo $lang->mail->successSaved;
?>
</div>
    </div>
    <div><?php 
if ($this->post->turnon and commonModel::hasPriv('mail', 'test')) {
    echo html::linkButton($lang->mail->test, inlink('test'));
}
?>
</div>
  </div>
</div>
<?php 
include '../../common/view/footer.admin.html.php';
Ejemplo n.º 4
0
echo $lang->task->left;
?>
</td>
      <td><?php 
echo html::input('left', $task->left);
?>
</td>
    </tr>
    <tr>
      <td><?php 
echo $lang->comment;
?>
</td>
      <td><?php 
echo html::textarea('comment', '', "data-mini='true'");
?>
</td>
    </tr>
    <tr class='text-center'>
      <td colspan="2">
      <?php 
echo html::submitButton('', 'data-inline="true" data-theme="b"');
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID={$task->id}"), 'self', "data-inline='true'");
?>
      </td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/m.action.html.php';
include '../../common/view/m.footer.html.php';
</th>
      <td><?php 
echo html::input('reviewedBy', $app->user->account . ', ', 'class=text-1');
?>
</td>
    </tr>
    <tr>
      <th class='rowhead'><?php 
echo $lang->story->comment;
?>
</th>
      <td><?php 
echo html::textarea('comment', '', "rows='8' class='area-1'");
?>
</td>
    </tr>
    <tr>
      <td colspan='2' class='a-center'>
      <?php 
echo html::submitButton();
?>
      <?php 
echo html::linkButton($lang->goback, $app->session->storyList ? $app->session->storyList : inlink('view', "storyID={$story->id}"));
?>
      </td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/action.html.php';
include '../../common/view/footer.html.php';
Ejemplo n.º 6
0
 * @copyright   Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Congzhi Chen <*****@*****.**>
 * @package     todo
 * @version     $Id: create.html.php 2741 2012-04-07 07:24:21Z areyou123456 $
 * @link        http://www.zentao.net
 */
include '../../common/view/m.header.html.php';
?>
</div>
<form method='post' target='hiddenwin'>
  <?php 
echo html::hidden("date", date('Y-m-d'));
for ($i = 1; $i <= 5; $i++) {
    echo html::input("names[{$i}]", '', "placeholder='{$lang->todo->common}{$lang->todo->name}'");
    echo html::hidden("types[{$i}]", 'custom');
    echo html::hidden("pris[{$i}]", 3);
    echo html::hidden("descs[{$i}]", '');
    echo html::hidden("begins[{$i}]", '2400');
    echo html::hidden("ends[{$i}]", '2400');
}
?>
<p class='a-center'>
  <?php 
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::linkButton($lang->goback, $this->createLink('my', 'todo', "type={$this->session->todoType}"), 'self', "data-inline='true'");
?>
</p>
</form>
<?php 
include '../../common/view/m.footer.html.php';
Ejemplo n.º 7
0
?>
</div>
      </fieldset>
      <fieldset class='fieldset-pure'>
        <legend><?php 
echo $lang->files;
?>
</legend>
        <div class='form-group'><?php 
echo $this->fetch('file', 'buildform');
?>
</div>
      </fieldset>
      <div class='actions actions-form'>
        <?php 
echo html::submitButton($lang->save) . html::linkButton($lang->goback, $this->inlink('view', "taskID={$task->id}")) . html::hidden('consumed', $task->consumed);
?>
      </div>
      <?php 
include '../../common/view/action.html.php';
?>
    </div>
  </div>
  <div class='col-side'>
    <div class='main main-side'>
      <fieldset>
        <legend><?php 
echo $lang->task->legendBasic;
?>
</legend>
        <table class='table table-form'> 
Ejemplo n.º 8
0
    ?>
    </td>
  </tr>
  <?php 
}
?>
  </tbody>
  <tfoot>
  <tr>
    <td colspan='6'>
      <?php 
if ($trashes and $type == 'all') {
    ?>
      <div class='table-actions clearfix'>
        <?php 
    echo html::linkButton($lang->action->hideAll, inlink('hideAll'), 'hiddenwin');
    ?>
        <div class='text'><?php 
    echo $lang->action->trashTips;
    ?>
</div>
      </div>
      <?php 
}
?>
      <?php 
$pager->show();
?>
    </td>
  </tr>
  </tfoot>
Ejemplo n.º 9
0
?>
<div class='panel'>
  <div class='panel-heading'><strong><i class='icon-envelope'></i> <?php 
echo $lang->mail->common;
?>
 <i class='icon-arrow-right'></i> <?php 
echo $lang->mail->test;
?>
</strong></div>
  <div class='panel-body'>
    <form method='post' id='mailForm'>
      <div class='form-group'><label for='to' class='col-sm-12'><?php 
echo $lang->mail->inputFromEmail;
?>
</label></div>
      <div class='form-group'>
        <div class='col-xs-10 col-sm-6 col-md-3'><?php 
echo html::input('to', $app->user->email, 'class="form-control"');
?>
</div>
        <div class='col-xs-2 col-sm-6 col-md-3'><?php 
echo html::submitButton($lang->mail->test) . html::linkButton($lang->mail->edit, inLink('edit'));
?>
</div>
      </div>
    </form>
  </div>
  <div class='hidden panel-notice'><div id='result'></div></div>
</div>
<?php 
include '../../common/view/footer.admin.html.php';
Ejemplo n.º 10
0
    <td>
      <?php 
    common::printLink('group', 'managepriv', "type=byGroup&param={$group->id}", $lang->group->managePrivByGroup);
    ?>
      <?php 
    common::printLink('group', 'managemember', "groupID={$group->id}", $lang->group->manageMember);
    ?>
      <?php 
    common::printLink('group', 'edit', "groupID={$group->id}", $lang->edit);
    ?>
      <?php 
    common::printLink('group', 'copy', "groupID={$group->id}", $lang->copy);
    ?>
      <?php 
    common::printLink('group', 'delete', "groupID={$group->id}", $lang->delete, "hiddenwin");
    ?>
    </td>
  </tr>
  <?php 
}
?>
  </tbody>
  <tfoot>
  <tr><td colspan='5' class='a-center'><?php 
echo html::linkButton($lang->group->managePrivByModule, inlink('managePriv', 'type=byModule'));
?>
</td></tr>
  </tfoot>
</table>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 11
0
echo html::radio('debug', $lang->mail->debugList, $mailConfig->debug);
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->mail->charset;
?>
</th>
        <td><?php 
echo html::radio('charset', $config->charsets[$this->cookie->lang], $mailConfig->charset);
?>
</td>
      </tr>

      <tr>
         <td colspan='2' class='text-center'>
           <?php 
echo html::submitButton();
if ($this->config->mail->turnon and $mailExist) {
    echo html::linkButton($lang->mail->test, inlink('test'));
}
echo html::linkButton($lang->mail->reset, inlink('reset'));
?>
         </td>
       </tr>
    </table>
  </form>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 12
0
</th>
      <td colspan='2'><?php 
echo html::select('mailto[]', $users, str_replace(' ', '', $bug->mailto), 'class="form-control chosen" multiple');
?>
</td>
    </tr>
    <tr>
      <th><?php 
echo $lang->comment;
?>
</th>
      <td colspan='2'><?php 
echo html::textarea('comment', '', "rows='6' class='w-p94'");
?>
</td>
    </tr>
    <tr>
      <th></th><td colspan='2'><?php 
echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer);
?>
</td>
    </tr>
  </table>
</form>
<div class='main'>
  <?php 
include '../../common/view/action.html.php';
?>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 13
0
        <legend><?php 
echo $lang->files;
?>
</legend>
        <div class='form-group'><?php 
echo $this->fetch('file', 'buildform');
?>
</div>
      </fieldset>
      <div class='actions actions-form'>
        <!-- <?php 
echo html::submitButton($lang->save) . html::linkButton($lang->goback, $this->inlink('view', "taskID={$task->id}")) . html::hidden('consumed', $task->consumed);
?>
 -->
        <?php 
echo html::submitButton($lang->save) . html::linkButton($lang->goback, $this->createLink('sprint', 'task', "projectID={$projectID}")) . html::hidden('consumed', $task->consumed);
?>
      </div>
      <?php 
include '../../common/view/action.html.php';
?>
    </div>
  </div>
  <div class='col-side'>
    <div class='main main-side'>
      <fieldset>
        <legend><?php 
echo $lang->task->legendBasic;
?>
</legend>
        <table class='table table-form'> 
Ejemplo n.º 14
0
</th>
        <td>
          <div class='required required-wrapper'></div>
          <?php 
echo html::input('secretKey', isset($mailConfig->secretKey) ? $mailConfig->secretKey : '', "class='form-control'");
?>
        </td>
      </tr>
      <tr>
         <td colspan='2' class='text-center'>
           <?php 
echo html::submitButton();
if ($this->config->mail->turnon and $mailExist) {
    echo html::linkButton($lang->mail->test, inlink('test'));
}
echo html::linkButton($lang->mail->closeSendCloud, inlink('reset'));
if ($this->config->mail->turnon and common::hasPriv('mail', 'sendcloudUser')) {
    echo html::linkButton($lang->mail->sendcloudUser, inlink('sendcloudUser'));
}
?>
         </td>
       </tr>
    </table>
  </form>
  <div class='alert alert-info'><?php 
printf($lang->mail->sendCloudHelp, common::hasPriv('mail', 'sendcloudUser') ? inlink('sendcloudUser') : '#');
?>
</div>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 15
0
      </fieldset>
      <fieldset>
        <legend><?php 
echo $lang->bug->legendAttatch;
?>
</legend>
        <div class='form-group'><?php 
echo $this->fetch('file', 'buildform', 'filecount=2');
?>
</div>
      </fieldset>
      <div class='actions'>
        <?php 
echo html::submitButton();
$browseLink = $app->session->bugList != false ? $app->session->bugList : inlink('browse', "productID={$bug->product}");
echo html::linkButton($lang->goback, $browseLink);
?>
      </div>
      <?php 
include '../../common/view/action.html.php';
?>
    </div>
  </div>
  <div class='col-side'>
    <div class='main main-side'>
      <fieldset>
        <legend><?php 
echo $lang->bug->legendBasicInfo;
?>
</legend>
        <table class='table table-form'>
Ejemplo n.º 16
0
<form class='form-condensed' method='post' target='hiddenwin'>
  <table class='table table-form'>
    <tr>
      <th><?php 
echo $lang->comment;
?>
</th>
      <td><?php 
echo html::textarea('comment', '', "rows='6' class='w-p98'");
?>
</td>
    </tr>
    <tr>
      <th></th><td><?php 
echo '&nbsp&nbsp&nbsp' . html::submitButton('', "onclick='return checkData()'") . html::linkButton($lang->goback, $this->session->bugList);
?>
</td>
    </tr>
  </table>
</form>
<div class='main'>
  <?php 
include '../../common/view/action.html.php';
?>
</div>
<script>
function checkData()
{
	var comment=$("#comment").val();
	if(comment==""){
Ejemplo n.º 17
0
            <td><input class='form-control' type='password' name='password' /></td>
          </tr>
          <tr>
            <th></th>
            <td id="keeplogin"><?php 
echo html::checkBox('keepLogin', $lang->user->keepLogin, $keepLogin);
?>
</td>
          </tr>
          <tr>
            <th></th>
            <td>
            <?php 
echo html::submitButton($lang->login);
if ($app->company->guest) {
    echo html::linkButton($lang->user->asGuest, $this->createLink($config->default->module));
}
echo html::hidden('referer', $referer);
?>
            </td>
          </tr>
        </table>
      </form>
    </div>

    <?php 
if (isset($demoUsers)) {
    ?>
  
    <div id='demoUsers' class="panel-foot">
      <span><?php 
Ejemplo n.º 18
0
      <strong><?php 
echo $lang->mail->common;
?>
</strong>
      <small class='text-success'> <?php 
echo $lang->mail->save;
?>
 <?php 
echo html::icon('ok-sign');
?>
</small>
    </div>
  </div>
  <div class='alert alert-success'>
    <i class='icon-ok-sign'></i>
    <div class='content'>
      <?php 
echo $lang->mail->successSaved;
?>
      <div class='pdt-20'>
      <?php 
if ($this->post->turnon and $mailExist) {
    echo html::linkButton($lang->mail->test . ' <i class="icon-rocket"></i>', inlink('test'));
}
?>
      </div>
    </div>
  </div>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 19
0
      </fieldset>
      <fieldset class='fieldset-pure'>
        <legend><?php 
echo $lang->story->comment;
?>
</legend>
        <div class='form-group' style='margin:0'>
          <?php 
echo html::textarea('comment', '', "rows='5' class='form-control'");
?>
        </div>
      </fieldset>
      <div class='actions actions-form' style='text-align:center'>
        <?php 
echo html::submitButton('', '', 'btn-primary');
echo html::linkButton($lang->goback, helper::createLink('sprint', 'index', "projectID={$story->project}"));
?>
      </div>
      
    </div>
  </div>
  <div class='col-side'>
    <div class='main main-side'>
      <fieldset>
        <legend><?php 
echo $lang->story->legendBasicInfo;
?>
</legend>
        <table class='table table-form'>
          <tr>
            <th class='w-80px'><?php 
Ejemplo n.º 20
0
</strong>
      </div>
    </div>
    <form class='form-condensed' method='post' action='<?php 
echo inlink('save');
?>
' id='dataform'>
      <table class='table table-form'>

        <tr>
          <th>Webhook: </th>
          <td>
            <?php 
echo html::input('webhook', $pubuConfig->webhook, "class='form-control'");
?>
          </td>
        </tr>
        <tr>
          <td colspan='2' class='text-center'>
            <?php 
echo html::submitButton();
echo html::linkButton('测试', inlink('test'));
?>
          </td>
        </tr>
      </table>
    </form>
  </div>

  <?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 21
0
</td>
      <td><?php 
echo html::select('assignedTo', $users, $bug->assignedTo);
?>
</td>
    </tr>
    <tr>
      <td class='w-60px'><?php 
echo $lang->comment;
?>
</td>
      <td><?php 
echo html::textarea('comment', '');
?>
</td>
    </tr>
    <tr>
      <td class='a-center' colspan='2'>
      <?php 
echo html::submitButton($lang->bug->buttonConfirm, 'data-inline="true" data-theme="b"');
?>
      <?php 
echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID={$bug->id}"), 'self', "data-inline='true'");
?>
     </td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/m.action.html.php';
include '../../common/view/m.footer.html.php';
Ejemplo n.º 22
0
      <td><?php 
echo $lang->story->reviewedBy;
?>
</td>
      <td><?php 
echo html::input('reviewedBy', $app->user->account . ', ');
?>
</td>
    </tr>
    <tr>
      <td><?php 
echo $lang->story->comment;
?>
</td>
      <td><?php 
echo html::textarea('comment', '');
?>
</td>
    </tr>
    <tr>
      <td class='text-center' colspan='2'>
        <?php 
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::linkButton($lang->goback, $this->createLink('story', 'view', "storyID={$story->id}"), 'self', "data-inline='true'");
?>
      </td>
    <tr>
  </table>
</form>
<?php 
include '../../common/view/m.footer.html.php';
Ejemplo n.º 23
0
<div data-role="content" >
<form method='post' target='hiddenwin'>
  <table align='center'> 
    <tr><td><?php 
echo html::input('account');
?>
</td></tr>  
    <tr><td><?php 
echo html::password('password');
?>
</td></tr>
    <tr><td><?php 
echo html::select('lang', $config->langs, $this->app->getClientLang(), 'class=select-2 onchange=selectLang(this.value)');
?>
</td></tr>
    <tr>
      <td align='center'>
      <?php 
echo html::submitButton($lang->login, "data-inline='true' data-theme='b'");
if ($app->company->guest) {
    echo html::linkButton($lang->user->asGuest, $this->createLink($config->default->module), '', "data-inline='true'");
}
echo html::hidden('referer', $referer);
?>
      </td>
    </tr>  
  </table>
</form>
</div>
<?php 
include '../../common/view/m.footer.lite.html.php';
Ejemplo n.º 24
0
    <td>
      <?php 
echo html::textarea('content', htmlspecialchars($reply->content), "rows=20 class='area-1' tabindex=1");
?>
    </td>
  </tr>
  <tr>
    <th><?php 
echo $lang->thread->file;
?>
</th>
    <td>
    <?php 
if ($reply->files) {
    foreach ($reply->files as $file) {
        echo html::a($file->fullURL, $file->title . '.' . $file->extension, "target='_blank'") . ' ' . html::linkButton('X', inlink('deleteFile', "fileID={$file->id}&objectID={$reply->id}&objectType=reply"), 'btn btn-default', '', 'hiddenwin');
    }
}
echo $this->fetch('file', 'buildForm');
?>
    </td>
  </tr>
  <tr>
    <th></th>
    <td colspan='2' align='center'><?php 
echo html::submitButton('', 'btn btn-primary', 'onclick="return checkGarbage(\'content\')" tabindex=2') . html::backButton();
?>
</td></tr>
</table>
</form>
<?php 
Ejemplo n.º 25
0
include '../../common/view/datepicker.html.php';
?>
<form method='post' target='hiddenwin'>
  <table class='table-1'>
    <caption><?php 
echo $testtask->name;
?>
</caption>
    <tr>
      <td class='rowhead'><?php 
echo $lang->comment;
?>
</td>
      <td><?php 
echo html::textarea('comment', '', "rows='6' class='area-1'");
?>
</td>
    </tr>
    <tr>
      <td colspan='2' class='a-center'><?php 
echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList);
?>
</td>
    </tr>
  </table>
  <?php 
include '../../common/view/action.html.php';
?>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 26
0
        <tr>
          <th><?php 
echo $lang->story->comment;
?>
</th>
          <td colspan='2'><?php 
echo html::textarea('comment', '', "rows='8' class='form-control'");
?>
</td>
        </tr>
        <tr>
          <td></td>
          <td colspan='2'>
          <?php 
echo html::submitButton();
?>
          <?php 
echo html::linkButton($lang->goback, helper::createLink('pro', 'backlog', "planID={$planID}"));
?>
          </td>
        </tr>
      </table>
  </form>
  <hr class='small'>
  <div class='main'><?php 
include '../../common/view/action.html.php';
?>
</div>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 27
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';
Ejemplo n.º 28
0
for ($i = 1; $i <= 5; $i++) {
    ?>
        <tr>
          <td><?php 
    echo html::input('key[]', '', "class='form-control'");
    ?>
</td>
          <td><?php 
    echo html::input('value[]', '', "class='form-control'");
    ?>
</td>
        </tr>
        <?php 
}
?>
      </table>
    </td>
  </tr>
  <tr>
    <td colspan='3' align='center'>
    <?php 
echo html::submitButton() . html::linkButton($lang->sms->reset, inlink('reset'));
echo html::a(inlink('test'), $lang->sms->test, 'hiddenwin');
?>
    </td>
  </tr>
</table>
</form>
</div>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 29
0
    ?>
        <div class='w-p10 f-left'><?php 
    echo '<span>' . html::checkbox('members', array($account => $realname), '') . '</span>';
    ?>
</div>
        <?php 
    if ($i % 8 == 0) {
        echo "<div class='c-both'></div>";
    }
    $i++;
    ?>
        <?php 
}
?>
      </td>
    </tr>
    <tr>
      <th class='rowhead'></th>
      <td class='a-center'>
        <?php 
echo html::submitButton();
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a var, to make sure $_POST is not empty.
?>
      </td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 30
0
          <?php 
        }
        ?>
        </tr>
        <?php 
    }
    ?>
        <tr>
          <td colspan='<?php 
    $canAdd ? print 3 : (print 2);
    ?>
' class='text-center'>
          <?php 
    $appliedTo = array($currentLang => $lang->custom->currentLang, 'all' => $lang->custom->allLang);
    echo html::radio('lang', $appliedTo, 'all');
    echo html::submitButton();
    if (common::hasPriv('custom', 'restore')) {
        echo html::linkButton($lang->custom->restore, inlink('restore', "module={$module}&field={$field}"), 'hiddenwin');
    }
    ?>
          </td>
        </tr>
      </table>
      <?php 
}
?>
    </div>
  </form>
</div>
<?php 
include '../../common/view/footer.html.php';