This commit is contained in:
Claude 2012-05-01 18:39:03 +02:00
parent d6bddf36a4
commit ef7724b32f
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ $this->carabiner->display('css');
<body> <body>
<div class="paste"> <div class="paste">
<p><a href="<?php echo site_url('view/' . $pid); ?>" target="_top">This paste</a> brought to you by <a href="<?php echo base_url(); ?>" target="_top"><?php echo $this->config->item('site_name'); ?></a>. <a class="right" href="<?php echo site_url('view/raw/' . $pid); ?>">View Raw</a></p> <p><a href="<?php echo site_url('view/' . $pid); ?>" target="_blank">This paste</a> brought to you by <a href="<?php echo base_url(); ?>" target="_blank"><?php echo $this->config->item('site_name'); ?></a>. <a class="right" href="<?php echo site_url('view/raw/' . $pid); ?>" target="_blank">View Raw</a></p>
<div class="text_formatted"> <div class="text_formatted">
<div class="container"> <div class="container">
<?php echo $paste; ?> <?php echo $paste; ?>

View File

@ -15,7 +15,7 @@
<?php if(!empty($snipurl)){?> <?php if(!empty($snipurl)){?>
<span class="detail"><span class="item">Shorturl </span><a href="<?php echo $snipurl; ?>"><?php echo htmlspecialchars($snipurl) ?></a></span> <span class="detail"><span class="item">Shorturl </span><a href="<?php echo $snipurl; ?>"><?php echo htmlspecialchars($snipurl) ?></a></span>
<?php }?> <?php }?>
<span class="detail"><span class="item">Embed </span><input id="embed_field" type="text" value="<?php echo htmlspecialchars('<iframe src="http://pastebin.com/embed_iframe.php?i=B8rZ4zEW" style="border:none;width:100%"></iframe>'); ?>" /></span> <span class="detail"><span class="item">Embed </span><input id="embed_field" type="text" value="<?php echo htmlspecialchars('<iframe src="' . site_url('view/embed/' . $pid) . '" style="border:none;width:100%"></iframe>'); ?>" /></span>
<div class="spacer"></div> <div class="spacer"></div>
<span class="detail"><a class="control" href="<?php echo site_url("view/download/".$pid); ?>">Download Paste</a> or <a class="control" href="<?php echo site_url("view/raw/".$pid); ?>">View Raw</a> &mdash; <a href="#" class="expand control">Expand paste</a> to full width of browser | <a href="<?php echo site_url('view/options'); ?>">Change Viewing Options</a></span> <span class="detail"><a class="control" href="<?php echo site_url("view/download/".$pid); ?>">Download Paste</a> or <a class="control" href="<?php echo site_url("view/raw/".$pid); ?>">View Raw</a> &mdash; <a href="#" class="expand control">Expand paste</a> to full width of browser | <a href="<?php echo site_url('view/options'); ?>">Change Viewing Options</a></span>