コード例 #1
0
ファイル: nav.php プロジェクト: Anon215/filebin
if (auth_driver_function_implemented("can_register_new_users")) {
    ?>
<li><a href="<?php 
    echo site_url("user/invite");
    ?>
"><span class="glyphicon glyphicon-plus"></span> Invite</a></li>
<?php 
}
?>

<li><a href="<?php 
echo site_url("user/profile");
?>
"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
<li><a href="<?php 
echo site_url("user/apikeys");
?>
"><span class="glyphicon glyphicon-tags"></span> API keys</a></li>

<?php 
if (auth_driver_function_implemented("can_reset_password")) {
    ?>
<li><a href="<?php 
    echo site_url("user/reset_password");
    ?>
"><span class="glyphicon glyphicon-lock"></span> Change password</a></li>
<?php 
}
?>

コード例 #2
0
ファイル: upload_form.php プロジェクト: Anon215/filebin
			<dt>/&lt;ID&gt;/info</dt><dd>display some information about the ID</dd>
			<dt>/file/thumbnail/&lt;ID&gt;</dt><dd>return a JPEG thumbnail for the ID (only work for some file types)</dd>
		</dl>
		<p>If your upload is not detected as text, only <b>/&lt;ID&gt;/qr</b>, <b>/&lt;ID&gt;/plain</b>, <b>/&lt;ID&gt;/info</b> and <b>/file/thumbnail/&lt;ID&gt;</b> will work as above and all others will simply return the file with the detected MIME type.</p>
		<h3>How to link your multipastes:</h3>
		<p>Multipaste IDs begin with <code>m-</code> and only support the following features.</p>
		<dl class="dl-horizontal">
			<dt>/&lt;ID&gt;/</dt><dd>automatically display everything in a sensible way</dd>
			<dt>/&lt;ID&gt;/qr</dt><dd>display a qr code containing a link to <span class="example">/&lt;ID&gt;/</span></dd>
			<dt>/&lt;ID&gt;/info</dt><dd>display some information about the multipaste</dd>
			<dt>/&lt;ID&gt;/tar</dt><dd>download a tarball of all files in the multipaste (files may be renamed to avoid conflicts)</dd>
			<dt>/&lt;ID&gt;/pls</dt><dd>download a PLS playlist of all audio/video files in the multipaste</dd>
		</dl>
	</div>
	<div class="col-lg-6">
		<div class="page-header"><h1>Information</h1></div>
		<p>This website's primary goal is aiding developers, power users, students and alike in solving problems, debugging software, sharing their configuration, etc. It is not intended to distribute confidential or harmful information, scripts or software.</p>
		<?php 
if (auth_driver_function_implemented("can_register_new_users")) {
    ?>
			<p>If you want an account, ask someone who is already using this service to <a href="<?php 
    echo site_url("user/invite");
    ?>
">invite</a> you.</p>
			<p>Invitations are used to control abuse and encourage users to "be nice". They are not intended as a means of exclusivity. In case of abuse reports, involved accounts may be banned and the user who invited them may also be banned. The invitation tree will be followed upwards if necessary.</p>
		<?php 
}
?>
	</div>
</div>
コード例 #3
0
ファイル: profile.php プロジェクト: Anon215/filebin
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 col-md-10">
		<label class="control-label col-lg-2 col-md-2" for="inputEmail">Email</label>
		<div class="col-lg-5 col-md-5">
			<input type="text" id="inputEmail" name="email" placeholder="Email" <?php 
    if (!auth_driver_function_implemented("can_change_email")) {
        ?>
disabled="disabled" <?php 
    }
    ?>
value="<?php 
    echo $profile_data["email"];
    ?>
" class="form-control">
		</div>
	</div>
</div>
<?php 
}
?>