summaryrefslogtreecommitdiffstats
path: root/application/views/user/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/user/profile.php')
-rw-r--r--application/views/user/profile.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
new file mode 100644
index 000000000..d382883d8
--- /dev/null
+++ b/application/views/user/profile.php
@@ -0,0 +1,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" name="process">Update</button>
+ </div>
+ </div>
+
+</form>