conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Put target name in a <span> with correct class, so it can be targeted\nwith JS/CSS\n" }, { "from": "human", "value": " <?php\n/*\n * Doctrine Admin\n * Copyright (C) 2013 Bastiaan Welmers, bastiaan@welmers.net\n * \n * This library is free software; you can redistri...
html+php
chosen
[ { "from": "system", "value": "Resolve JavaScripts conflicts with remote sites.\n\nReddit.com comments were not collapsable and imdb.com \"watch trailer\" button did not work.\nThe use of jQuery.noConflict and anonymous function allows us to isolate our JS from theirs, thus avoiding conflicts.\n" }, { ...
html+php
chosen
[ { "from": "system", "value": "Add \"Edit\" button next to station name.\n" }, { "from": "human", "value": "<?php\n/**\n * @var \\App\\Entity\\Station $station\n * @var \\App\\Assets $assets\n */\n\n$assets->addInlineJs($this->fetch('stations/sidebar.js', ['station' => $station]), 95);\n?>\n\n<di...
html+php
chosen
[ { "from": "system", "value": "Allow options for admin parameters\n" }, { "from": "human", "value": "<form method=\"post\" enctype=\"multipart/form-data\">\r\n\t<h2>\r\n\t\tAdmin &gt;\r\n\t\t<a href=\"<?=$this->url('admin', array('action' => 'list', 'model' => $model))?>\"><?=\\ATP\\Inflector::pl...
html+php
chosen
[ { "from": "system", "value": "Change the id of the section_group_div for selected by js\n" }, { "from": "human", "value": "<?php\n\t\n\t# VISUALIZADOR HTML\t\n\t\n\tprint \"<!-- SECTION GROUP DIV [tipo:$tipo] $label -->\";\n\n\tprint \"<div id=\\\"$identificador_unico\\\" class=\\\"wrap_section_...
html+php
chosen
[ { "from": "system", "value": "Use absolute path in page images\n" }, { "from": "human", "value": "<?php $this->appendJs(\"/atp-comic/js/comic.js\")?>\r\n\r\n<img class=\"comic-img\" src=\"<?=$page->filePath('image_file')?>\" />\r\n\r\n<div class=\"current-arc-links arc-links\"><?=$this->partial(...
html+php
chosen
[ { "from": "system", "value": "Set values in hidden field\n" }, { "from": "human", "value": "<div class=\"well well-sm\">\nNew Filter\n<select id=\"filtertype\">\n<option value=\"sector\">Sector</option>\n<option value=\"geography\">Geography</option>\n<option value=\"keyevent\">Key Event</option...
html+php
chosen
[ { "from": "system", "value": "Update default view (show config file path).\n" }, { "from": "human", "value": "<?php /** @var $app \\H4D\\Leveret\\Application */;?>\n<h1>General information</h1>\n\n<h2>Application info</h2>\n<dl>\n <dt>Name</dt><dd><?php echo $app->getName();?></dd>\n <dt>E...
html+php
chosen
[ { "from": "system", "value": "Fix customer data on debit card success page\n" }, { "from": "human", "value": "<?php\n$customer = $this->getCustomer();\n$payment = $this->getPayment();\n?>\n\n<div class=\"ebanx-details\">\n <p><strong><?= trim($customer['firstname']) ?></strong>, su pago de\n ...
html+php
chosen
[ { "from": "system", "value": "Update admin dashboard with dummy data" }, { "from": "human", "value": "<p>This is the admin interface</p>" }, { "from": "gpt", "value": "<div class=\"hero-unit\">\n <h1>Welcome to <span class=\"zf-green\">SlmCmf</span></h1>\n <p>Congratulations! Y...
html+php
chosen
[ { "from": "system", "value": "Add \"Stations Only\" and \"Podcasts Only\" buttons for selection of bulk recipients.\n" }, { "from": "human", "value": "<?\n$title = 'Bulk Contact Form';\n?>\n\n<div class=\"buttons btn-group\">\n <button id=\"btn-selectall\" class=\"btn\" type=\"button\">Select...
html+php
chosen
[ { "from": "system", "value": "Remove redundant title attribute on footer links\n" }, { "from": "human", "value": "\n <footer role=\"contentinfo\">\n <div class=\"container\">\n <p>\n <small>\n (cc) 2016 BZ Coding Ltd. Some Rights Reserved.<b...
html+php
chosen
[ { "from": "system", "value": "Make metronome half width on larger displays\n" }, { "from": "human", "value": "<div class=\"content-block\">\n <div class=\"col-md-12\">\n <h1><?php echo $page->title() ?></h1>\n <p class=\"lead\">An online metronome, implemented using the WebAudio...
html+php
chosen
[ { "from": "system", "value": "Load image resource over secure connection" }, { "from": "human", "value": "<?php\n/**\n * Login with Amazon\n *\n * @category Amazon\n * @package Amazon_Login\n * @copyright Copyright (c) 2014 Amazon.com\n * @license http://opensource.org/licenses/Apac...
html+php
chosen
[ { "from": "system", "value": "Fix bad link in REFRESH\n\n" }, { "from": "human", "value": "<?php\n include(\"../../config/settings.inc.php\");\n$REFRESH = \"<meta http-equiv=\\\"refresh\\\" content=\\\"300; URL=http://mesonet.agron.iastate.edu/data/uscomp.phtml\\\">\";\n$TITLE = \"IEM | US NEXRA...
html+php
chosen
[ { "from": "system", "value": "Fix bad link in REFRESH\n\n" }, { "from": "human", "value": "<?php\ninclude(\"../../config/settings.inc.php\");\n\n$REFRESH = \"<meta http-equiv=\\\"refresh\\\" content=\\\"300; URL=http://mesonet.agron.iastate.edu/data/mwcomp.phtml\\\">\";\n$TITLE = \"IEM | Iowa NE...
html+php
chosen
[ { "from": "system", "value": "Update country availability text in checkout" }, { "from": "human", "value": "<?php\n/**\n * Created by PhpStorm.\n * User: carl\n * Date: 16/07/17\n * Time: 10:34\n */\n\n// can this fail?\n$total = Mage::getModel(\"checkout/session\")->getQuote()->getGrandTotal();...
html+php
chosen
[ { "from": "system", "value": "Switch application.css to use AssetService helper\n" }, { "from": "human", "value": "<html ng-app=\"app\">\n <head>\n <title>Lightdatasys</title>\n\n <link rel=\"stylesheet\" href=\"/app/asset/css/application\" />\n </head>\n <body ng-controll...
html+php
chosen
[ { "from": "system", "value": "Fix use of PHP short tag\n" }, { "from": "human", "value": "<?php\n$title = isset($this->title) ? $this->escapeHtml($this->title) : 'Contact';\n\n$addressTitle = isset($this->addressTitle) ? $this->escapeHtml($addressTitle) : 'Address';\n\n$contact = $this->contact;...
html+php
chosen
[ { "from": "system", "value": "Update default view (avoid use of date).\n" }, { "from": "human", "value": "<?php /** @var $app \\H4D\\Leveret\\Application */;?>\n<h1>General information</h1>\n\n<h2>Application info</h2>\n<dl>\n <dt>Name</dt><dd><?php echo $app->getName();?></dd>\n <dt>Envir...
html+php
chosen
[ { "from": "system", "value": "Update test for moved alert-dismissable" }, { "from": "human", "value": "<div class=\"alert alert-dismissable\"><strong>Warning!</strong> Best check yo self, you're not looking too good.<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"tru...
html+php
chosen
[ { "from": "system", "value": "GH81: Implement helper for custom messages.\n\nFixed comments after review.\n" }, { "from": "human", "value": "<h1 class=\"page-header\">Profile</h1>\n<p>\n\tUsername: \n\t<?=$this->view->getVar('escaper')->escapeHtml($this->view->getVar('user')->name)?>\n\t<a href=...
html+php
chosen
[ { "from": "system", "value": "Fix paths, no other bugs at least\n\n" }, { "from": "human", "value": "<?php\n$month = isset($_GET['month']) ? $_GET['month'] : date(\"m\");\n$day = isset($_GET['day']) ? $_GET['day'] : date(\"d\");\n$ts = strtotime(\"2003-$month-$day\");\n$pts = strftime(\"2003-%m-...
html+php
chosen
[ { "from": "system", "value": "[TASK] Set up header data in view" }, { "from": "human", "value": "<h1>Gästeliste</h1>\n<?php echo $this->HtmlTable($this->guests); ?>\n<?php // \\Zend\\Debug\\Debug::dump($this->guests); ?>\n<?php echo $this->paginationControl($this->guests, 'Sliding', array('parti...
html+php
chosen
[ { "from": "system", "value": "Add all magazine that we have issued." }, { "from": "human", "value": "<div class=\"jumbotron\">\n <h1><?php echo sprintf($this->translate('Welcome to %sMagazinePro%s'), '<span class=\"zf-green\">', '</span>') ?></h1>\n <p><?php echo sprintf($this->translate('...
html+php
chosen
[ { "from": "system", "value": "Add left arrow and right arrow\n" }, { "from": "human", "value": "<?php if ($this->pageCount): ?>\n<div class=\"pagination\">\n<ul>\n <!-- Previous page link -->\n <?php if (isset($this->previous)): ?>\n <li>\n <a href=\"<?php echo $this->url($this->route,...
html+php
chosen
[ { "from": "system", "value": "Remove TEST and name fields\n" }, { "from": "human", "value": "<?php /* @var $this Fooman_GoogleAnalyticsPlus_Block_TagManager */?>\n<?php if ($this->shouldInclude()): ?>\n \n <?php $dataLayerDetails = \"{'test_version':'2'}\";\n \tif($this->isSuccessPage()) {...
html+php
chosen
[ { "from": "system", "value": "Fix: Remove assignment and condition with effect, but no use\n" }, { "from": "human", "value": "<h1 style=\"text-align:center\">Sign in</h1>\n<div class=\"well\" style=\"text-align:center\">\n <p>\n There is no sign-up form anymore! Just log in with your G...
html+php
chosen
[ { "from": "system", "value": "Correct a minor bug in the flash messenger view template\n\nThere was no check for the existence of info or error in messages before\nattempting to reference them, which can lead to an error.\n" }, { "from": "human", "value": "<?php\n// set the format of the flash m...
html+php
chosen
[ { "from": "system", "value": "Update view pre product owner\n" }, { "from": "human", "value": "<div class=\"rcmMessageList\" title=\"RcmMessageList\">\n <?php\n if (!empty($this->instanceConfig['title'])) {\n ?>\n <div>\n <?=\n $this->rcmRichEdit(\n ...
html+php
chosen
[ { "from": "system", "value": "Indent issues and braces consistent\n" }, { "from": "human", "value": "<?php\n\t$ini = Zend_Registry::get('config');\n\tif (!$ini->google->tagmanager->id) {\n\t\tthrow new Exception(\"Please set\tgoogle.tagmanager.id in your ini config\");\n\t}\n\t\n\tif (APPLICATIO...
html+php
chosen
[ { "from": "system", "value": "Fix one missing spot for partials replacement." }, { "from": "human", "value": "<?php $this->layout('main', ['title' => __('Automated Playlist Assignment'), 'manual' => true]) ?>\n<div class=\"card\">\n <div class=\"card-header ch-alt\">\n <h2><?=__('Autom...
html+php
chosen
[ { "from": "system", "value": "FIX some typo in about text" }, { "from": "human", "value": "<h2><?php echo $this->translate('About'); ?></h2>\r\n<p><?php echo $this->translate(\r\n'This project started as a personal need. It is written in PHP and is\r\nan opportunity to explore <a href=\"http://f...
html+php
chosen
[ { "from": "system", "value": "Allow manual review for creditcard\n" }, { "from": "human", "value": "<?php\n$order = $this->getOrder();\n$payment = $this->getPayment();\n?>\n<div class=\"ebanx-details\">\n <p><strong><?= trim($order->getBillingAddress()->getFirstname()) ?></strong>, seu pagame...
html+php
chosen
[ { "from": "system", "value": "Fix layout on tablet - IOS warning now appears below metronome always\n" }, { "from": "human", "value": "<div class=\"content-block\">\n <div class=\"col-md-12\">\n <h1><?php echo $page->title() ?></h1>\n <p class=\"lead\">An online metronome, imple...
html+php
chosen
[ { "from": "system", "value": "CC-2748: Make Airtime look good in IE\n\n- fixed\n" }, { "from": "human", "value": "<form id=\"plupload_form\">\n\t<div id=\"plupload_files\"></div>\t\n</form>\n<div id=\"plupload_error\">\n\t<table></table>\n</div>\n" }, { "from": "gpt", "value": "<styl...
html+php
chosen
[ { "from": "system", "value": "Add tool name and suppress invite config to TogetherJS. Also change firing event according to standards.meanbee.com\n" }, { "from": "human", "value": "<script>\n var MeanbeeBaseUrl = \"<?php echo Mage::getBaseUrl() ?>\";\n\n TogetherJSConfig_siteName = \"<?php...
html+php
chosen
[ { "from": "human", "value": "Add missing test support file\n\n\ngit-svn-id: abaeb2b3ba5a94ed391a9405ad7d63d0414021c9@10772 44c647ce-9c0f-0410-b52a-842ac1e357ba\n" }, { "from": "gpt", "value": "Error occurred while performing action: <?php echo $this->info->getMessage() ?>\n\nOriginal request par...
html+php
chosen
[ { "from": "human", "value": "Add missing test support file\n\n" }, { "from": "gpt", "value": "Error occurred while performing action: <?php echo $this->info->getMessage() ?>\n\nOriginal request parameters:\n<?php echo var_export($this->request->getParams(), 1) ?>\n\nBackTrace:\n<?php echo $this-...
html+php
chosen
[ { "from": "human", "value": "Add security issue as notification\n" }, { "from": "gpt", "value": "<div class=\"notification-global\">\n <strong><?php echo $this->helper('lemike_devmode')->__('Developer Mode is still active.') ?></strong>\n <?php echo $this->helper('lemike_devmode')->__(\n ...
html+php
chosen
[ { "from": "human", "value": "Add MiCCA to the website\n\n" }, { "from": "gpt", "value": "<?php\ninclude(\"../../config/settings.inc.php\");\n$TITLE = \"IEM | MiCCA Proposal\";\ninclude(\"$rootpath/include/header.php\"); ?>\n\n<h3 class=\"heading\">MiCCA Proposal</h3>\n\n<p>Content to come....</p...
html+php
chosen
[ { "from": "system", "value": "Add rel links for RSS/Atom feeds\n" }, { "from": "human", "value": "<?php \n$paginatorUrl = $this->paginator_url;\n$this->headTitle()->prepend($this->title) ?>\n<div class=\"row\">\n<div class=\"eleven columns alpha blog\">\n <h2><?php echo $this->title ?></h2>\n...
html+php
chosen
[ { "from": "system", "value": "Allow admin option to override tovic JS\n" }, { "from": "human", "value": "<?php\nif (!$this->helper('leytech_colorattribute')->isEnabled()) {\n return;\n}\n?>\n\n<?php $colorPicker = $this->helper('leytech_colorattribute')->getColorPicker(); ?>\n\n<?php if ($col...
html+php
chosen
[ { "from": "human", "value": "Add template for debit card template\n" }, { "from": "gpt", "value": "<?php\n$customer = $this->getCustomer();\n$payment = $this->getPayment();\n?>\n\n<div class=\"ebanx-details\">\n <p><strong><?= trim($customer['firstname']) ?></strong>, su pago de\n <str...
html+php
chosen
[ { "from": "system", "value": "Include jQuery directly from the server\n" }, { "from": "human", "value": "<script src='http://code.jquery.com/jquery-1.4.2.min.js' type=\"text/javascript\"></script> \r\n<script src='third-party/jquery/jquery.tooltip.js' type=\"text/javascript\"></script>\r\n<sc...
html+php
chosen
[ { "from": "human", "value": "Add feedback page for when stuck in authentication loop\n" }, { "from": "gpt", "value": "<?php /* This file is generated. Please edit the files of the appropriate theme in the 'theme/' directory. */ ?>\n<?php\n\n/**\n * @var Zend_Layout $layout\n */\n$layout = $this-...
html+php
chosen