blob: c9f0a38f72270744b292c7cf041f192679505c45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php echo form_open("user/profile", array("class" => "form-horizontal")); ?>
<div class="row">
<div class="form-group col-lg-8">
<label class="control-label col-lg-2" for="inputUsername">Username</label>
<div class="col-lg-5">
<input type="text" id="inputUsername" name="username" placeholder="Username" disabled="disabled" value="<?php echo $profile_data["username"]; ?>" class="form-control">
</div>
</div>
</div>
<?php if($profile_data["email"] !== null) { ?>
<div class="row">
<div class="form-group col-lg-8">
<label class="control-label col-lg-2" for="inputEmail">Email</label>
<div class="col-lg-5">
<input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>" class="form-control">
</div>
</div>
</div>
<?php } ?>
<div class="row">
<div class="form-group col-lg-8">
<label class="control-label col-lg-2" for="inputUploadIDLimits">Upload ID length limits</label>
<div class="col-lg-5">
<input type="text" id="inputUploadIDLimits" name="upload_id_limits" placeholder="number-number" value="<?php echo $profile_data["upload_id_limits"]; ?>" class="form-control">
<span class="help-block">Values have to be between 3 and 64 inclusive. Please remember that longer IDs don't protect your pastes from being found if you post the link somewhere a search enginge can see it.</span>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-lg-8">
<div class="col-lg-offset-2 col-lg-5">
<button type="submit" class="btn btn-primary" name="process">Save changes</button>
</div>
</div>
</div>
</form>
|