mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
use form controls
This commit is contained in:
parent
9f0e5c4f3e
commit
fbb91c9c30
|
@ -70,17 +70,23 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Bootstrap_Style {
|
||||||
|
|
||||||
<?php $this->contentContainerStart(); ?>
|
<?php $this->contentContainerStart(); ?>
|
||||||
|
|
||||||
<form action="../op/op.SetRevisors.php" method="post" name="form1">
|
<form class="form-horizontal" action="../op/op.SetRevisors.php" method="post" name="form1">
|
||||||
|
|
||||||
<?php $this->contentSubHeading(getMLText("update_revisors"));?>
|
<?php $this->contentSubHeading(getMLText("update_revisors"));?>
|
||||||
|
|
||||||
<div class="cbSelectTitle"><?php printMLText("revision_date")?>:</div>
|
<div class="control-group">
|
||||||
|
<label class="control-label"><?php printMLText("revision_date")?>:</label>
|
||||||
|
<div class="controls">
|
||||||
<span class="input-append date" style="display: inline;" id="revisionstartdate" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
<span class="input-append date" style="display: inline;" id="revisionstartdate" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
||||||
<input class="span4" size="16" name="startdate" type="text" value="<?php if($startdate) echo $startdate; else echo date('Y-m-d'); ?>">
|
<input class="span4" size="16" name="startdate" type="text" value="<?php if($startdate) echo $startdate; else echo date('Y-m-d'); ?>">
|
||||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="cbSelectTitle"><?php printMLText("individuals")?>:</div>
|
<div class="control-group">
|
||||||
|
<label class="control-label"><?php printMLText("individuals")?>:</label>
|
||||||
|
<div class="controls">
|
||||||
<select class="chzn-select span9" name="indRevisors[]" multiple="multiple" data-placeholder="<?php printMLText('select_ind_revisors'); ?>" data-no_results_text="<?php printMLText('unknown_owner'); ?>">
|
<select class="chzn-select span9" name="indRevisors[]" multiple="multiple" data-placeholder="<?php printMLText('select_ind_revisors'); ?>" data-no_results_text="<?php printMLText('unknown_owner'); ?>">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
@ -108,8 +114,12 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="cbSelectTitle"><?php printMLText("groups")?>:</div>
|
<div class="control-group">
|
||||||
|
<label class="control-label"><?php printMLText("groups")?>:</label>
|
||||||
|
<div class="controls">
|
||||||
<select class="chzn-select span9" name="grpRevisors[]" multiple="multiple" data-placeholder="<?php printMLText('select_grp_revisors'); ?>" data-no_results_text="<?php printMLText('unknown_group'); ?>">
|
<select class="chzn-select span9" name="grpRevisors[]" multiple="multiple" data-placeholder="<?php printMLText('select_grp_revisors'); ?>" data-no_results_text="<?php printMLText('unknown_group'); ?>">
|
||||||
<?php
|
<?php
|
||||||
foreach ($docAccess["groups"] as $group) {
|
foreach ($docAccess["groups"] as $group) {
|
||||||
|
@ -132,12 +142,17 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>
|
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
|
||||||
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
|
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
|
||||||
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
|
<div class="control-group">
|
||||||
<input type="submit" class="btn" value="<?php printMLText("update");?>">
|
<label class="control-label"></label>
|
||||||
</p>
|
<div class="controls">
|
||||||
|
<input type="submit" class="btn" value="<?php printMLText("update");?>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user