- replaced icon for calendar

This commit is contained in:
steinm 2013-01-29 08:16:26 +00:00
parent c45147b39f
commit 2ad09ca31b
4 changed files with 18 additions and 6 deletions

View File

@ -72,7 +72,7 @@ function checkForm()
<td><?php //$this->printDateChooser(-1, "from");?>
<span class="input-append date" id="fromdate" data-date="<?php echo $expdate; ?>" data-date-format="dd-mm-yyyy">
<input class="span6" size="16" name="from" type="text" value="<?php echo $expdate; ?>">
<span class="add-on"><i class="icon-th"></i></span>
<span class="add-on"><i class="icon-calendar"></i></span>
</span>
</td>
</tr>
@ -81,7 +81,7 @@ function checkForm()
<td><?php //$this->printDateChooser(-1, "to");?>
<span class="input-append date" id="todate" data-date="<?php echo $expdate; ?>" data-date-format="dd-mm-yyyy">
<input class="span6" size="16" name="to" type="text" value="<?php echo $expdate; ?>">
<span class="add-on"><i class="icon-th"></i></span>
<span class="add-on"><i class="icon-calendar"></i></span>
</span>
</td>
</tr>

View File

@ -93,7 +93,19 @@ function checkForm()
</tr>
<tr>
<td><?php printMLText("categories")?>:</td>
<td><?php $this->printCategoryChooser("form1", $document->getCategories());?></td>
<td>
<select class="chzn-select" name="categories[]" multiple="multiple" data-placeholder="<?php printMLText('select_ind_reviewers'); ?>">
<?php
$categories = $dms->getDocumentCategories();
foreach($categories as $category) {
echo "<option value=\"".$category->getID()."\"";
if(in_array($category, $document->getCategories()))
echo " selected";
echo ">".$category->getName()."</option>";
}
?>
</select>
</td>
</tr>
<?php
if ($folder->getAccessMode($user) > M_READ) {

View File

@ -78,7 +78,7 @@ function checkForm()
<td><?php //$this->printDateChooser($event["start"], "from");?>
<span class="input-append date" id="fromdate" data-date="<?php echo date('d-m-Y', $event["start"]); ?>" data-date-format="dd-mm-yyyy">
<input class="span6" size="16" name="from" type="text" value="<?php echo date('d-m-Y', $event["start"]); ?>">
<span class="add-on"><i class="icon-th"></i></span>
<span class="add-on"><i class="icon-calendar"></i></span>
</span>
</td>
</tr>
@ -87,7 +87,7 @@ function checkForm()
<td><?php //$this->printDateChooser($event["stop"], "to");?>
<span class="input-append date" id="todate" data-date="<?php echo date('d-m-Y', $event["stop"]); ?>" data-date-format="dd-mm-yyyy">
<input class="span6" size="16" name="to" type="text" value="<?php echo date('d-m-Y', $event["stop"]); ?>">
<span class="add-on"><i class="icon-th"></i></span>
<span class="add-on"><i class="icon-calendar"></i></span>
</span>
</td>
</tr>

View File

@ -59,7 +59,7 @@ class LetoDMS_View_SetExpires extends LetoDMS_Bootstrap_Style {
<td>
<span class="input-append date" id="expirationdate" data-date="<?php echo $expdate; ?>" data-date-format="dd-mm-yyyy">
<input class="span4" size="16" name="expdate" type="text" value="<?php echo $expdate; ?>">
<span class="add-on"><i class="icon-th"></i></span>
<span class="add-on"><i class="icon-calendar"></i></span>
</span>&nbsp;
<label class="checkbox inline">
<input type="checkbox" name="expires" value="false"<?php if (!$document->expires()) print " checked";?>><?php printMLText("does_not_expire");?><br>