summaryrefslogtreecommitdiffstats
path: root/application/views/user/profile.php
blob: a9ab9b9e9cc5b81151794c3a347cb87958683ca5 (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
<?php echo form_open("user/save_profile", array("class" => "form-horizontal")); ?>

	<div class="control-group">
		<label class="control-label" for="inputUsername">Username</label>
		<div class="controls">
			<input type="text" id="inputUsername" name="username" placeholder="Username" disabled="disabled" value="<?php echo $profile_data["username"]; ?>">
		</div>
	</div>

	<?php if(auth_driver_function_implemented("get_email")) { ?>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Email</label>
		<div class="controls">
			<input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>">
		</div>
	</div>
	<?php } ?>

	<div class="control-group">
		<label class="control-label" for="inputUploadIDLimits">Upload ID length limits</label>
		<div class="controls">
			<input type="text" id="inputUploadIDLimits" name="upload_id_limits" placeholder="number-number" value="<?php echo $profile_data["upload_id_limits"]; ?>">
			<span class="help-block">&lt;number&gt;-&lt;number&gt; (min: 3, max: 64; example: "5-9")</span>
		</div>
	</div>

	<div class="control-group">
		<div class="controls">
			<button type="submit" class="btn btn-primary" name="process">Update</button>
		</div>
	</div>

</form>