Skip to content

Commit

Permalink
Fixed Google hangouts admin form.
Browse files Browse the repository at this point in the history
Close #3028
  • Loading branch information
jamesallsup committed May 27, 2015
1 parent 455ee25 commit 19e8c66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upload/admin/view/template/module/google_hangouts.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-code"><span data-toggle="tooltip" data-html="true" data-trigger="click" title="<?php echo htmlspecialchars($help_code); ?>"><?php echo $entry_code; ?></span></label>
<div class="col-sm-10">
<textarea name="code" rows="5" id="input-code" class="form-control"><?php echo $code; ?></textarea>
<textarea name="google_hangouts_code" rows="5" id="input-code" class="form-control"><?php echo $google_hangouts_code; ?></textarea>
<?php if ($error_code) { ?>
<div class="text-danger"><?php echo $error_code; ?></div>
<?php } ?>
Expand All @@ -37,8 +37,8 @@
<div class="form-group">
<label class="col-sm-2 control-label" for="input-status"><?php echo $entry_status; ?></label>
<div class="col-sm-10">
<select name="status" id="input-status" class="form-control">
<?php if ($status) { ?>
<select name="google_hangouts_status" id="input-status" class="form-control">
<?php if ($google_hangouts_status) { ?>
<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
<option value="0"><?php echo $text_disabled; ?></option>
<?php } else { ?>
Expand All @@ -47,7 +47,7 @@
<?php } ?>
</select>
</div>
</div>
</div>
</form>
</div>
</div>
Expand Down

0 comments on commit 19e8c66

Please sign in to comment.