mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
41 lines
1.5 KiB
PHP
Executable File
41 lines
1.5 KiB
PHP
Executable File
<?php $this->load->view("defaults/header"); ?>
|
|
|
|
<div class="form_wrapper margin full">
|
|
<form action="<?php echo site_url("view/options"); ?>" method="post">
|
|
|
|
<h1>Change paste viewing options</h1>
|
|
<p class="explain border">Here you can change your preferences for viewing pastes. Requires cookies to be enabled.</p>
|
|
|
|
<div class="item">
|
|
<label for="full_width">Expand Pastes
|
|
<span class="instruction">This automatically expands the width of a paste to fill the whole page.</span>
|
|
</label>
|
|
<div class="text_beside">
|
|
<?php
|
|
$set = array('name' => 'full_width', 'id' => 'full_width', 'value' => '1', 'checked' => $full_width_set);
|
|
echo form_checkbox($set);
|
|
?>
|
|
<p>Expand Pastes by default</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- the 'new' raw mode is like the pastebin.com raw mode. makes no sense to enable that by default…
|
|
<div class="item">
|
|
<label for="view_raw">View Raw
|
|
<span class="instruction">This changes the default paste view to the raw view. Useful for dialup + low bandwith users.</span>
|
|
</label>
|
|
<div class="text_beside"><?php
|
|
$set = array('name' => 'view_raw', 'id' => 'view_raw', 'class' => 'checkbox', 'value' => '1', 'checked' => $view_raw_set);
|
|
echo form_checkbox($set);
|
|
?><p>Use the raw view by default</p>
|
|
</div>
|
|
</div>
|
|
-->
|
|
|
|
<div><button type="submit" value="submit" name="submit">Save</button></div>
|
|
<div class="spacer"></div>
|
|
</form>
|
|
</div>
|
|
|
|
<?php $this->load->view("defaults/footer.php"); ?>
|