コード例 #1
0
ファイル: edit.php プロジェクト: Swift-Jr/thmdhc
<h2 class="heading">Edit Page Data</h2>
<h3 class="heading"><?php 
echo $key;
?>
</h3>
<form method="post">
    <?php 
$Input = new ifx_Input('textarea');
$Input->value($value)->name('value')->required()->editor()->display();
?>
    <button type="submit" class="btn btn-primary">Save</button>
</form>
コード例 #2
0
ファイル: view.php プロジェクト: Swift-Jr/thmdhc
    echo $Order->id();
    ?>
/<?php 
    echo $Order->status->next_step->id();
    ?>
/">[Mark <?php 
    echo $Order->status->next_step->name;
    ?>
]</a></span><?php 
}
?>
</p>
        <p>Target Date:</p>
        <div class="set-date"><?php 
$ID = new ifx_Input('input', 'hidden');
$ID->value($Order->id)->name('id')->display();
?>
            <p class="date"><span><?php 
echo empty($Order->estdate) ? 'Not Set' : $Order->estdate;
?>
</span> <i class="fa fa-calendar-o edit"></i><i class="fa fa-check-circle-o save"></i></p>
            <div class="picker"><?php 
$Date = new ifx_Input('input', 'date');
$Date->display();
?>
</div>
        </div>
        <p>Billing Method: Credit Card</p>
        <p>Card: **** **** **** <?php 
echo $Order->last_4;
?>
コード例 #3
0
ファイル: form.php プロジェクト: Swift-Jr/thmdhc
    </div>
    <div class="col-xs-3">
    <?php 
$Input = new ifx_Input('input', 'number');
$Input->bindTo('mStoreItem', 'available')->label('Quantity Available')->display();
?>
    </div>
    <div class="col-xs-3">
    <?php 
$Input = new ifx_Input('input', 'number');
$Input->bindTo('mStoreItem', 'weight')->label('Single Item Weight (kg)')->display();
?>
    </div>
    <div class="col-xs-3">
    <?php 
$Input = new ifx_Input('input', 'checkbox');
$Input->value(true)->bindTo('mStoreItem', 'active')->label('Active')->display();
?>
    </div>
    <div class="col-xs-12">
    <?php 
$Input = new ifx_Input('textarea');
$Input->bindTo('mStoreItem', 'description')->label('Description')->editor()->outerClass('droppable')->display();
if (isset($StoreItem)) {
    $ImagePicker = new store_ImageManager($StoreItem->id());
    $ImagePicker->display_picker();
}
?>
    </div>
</form>