My Recent Pastes (66 and counting)
Pastes by Joon Park (66 and counting)
Below are the 15 most recent pasties by Joon Park.
May 20, 2007
8:01PM EDT
by Joon Park
View all 96 lines
<?php /** * Removed comment id anchor Moved to _phptemplate_variables(). Modified for * easy navigation of new comments. $comment->skip_links formatted for
May 17, 2007
1:27AM EDT
by Joon Park
View all 6 lines
foreach($vars['node']->taxonomy as $key => $keycontent) {
if ($keycontent->vid == 3) {
unset($vars['taxonomy']['taxonomy_term_'. $key]);
}
}
May 17, 2007
1:08AM EDT
by Joon Park
View all 49 lines
<?php
function _phptemplate_variables($hook, $vars = array()) {
switch ($hook) {
May 15, 2007
9:05PM EDT
by Joon Park
View all 204 lines
--- untitled +++ (clipboard) @@ -1,4 +1,4 @@ -// BEFORE UPDATE. +// AFTER UPDATE.
May 14, 2007
5:12PM EDT
by Joon Park
View all 65 lines
<?php // $Id: color.inc,v 1.2 2006/12/06 16:32:54 dries Exp $ $info = array(
May 12, 2007
2:27PM EDT
by Joon Park
View all 13 lines
// remove the $scripts variable. The code below takes it's place. <?php drupal_add_js($directory .'/jquery.corner.js', 'theme'); ?> <script type="text/javascript">
April 30, 2007
10:12PM EDT
by Joon Park
View all 42 lines
/**
* Dynamic style sheet loader.
*/
function alt_media_styles($conditions = array()) {
global $theme, $theme_key, $base_path;
April 23, 2007
10:44PM EDT
by Joon Park
View all 59 lines
/** * Format the forum body. * * @ingroup themeable */
April 22, 2007
9:17PM EDT
by Joon Park
View all 46 lines
dvessel:~ joon$ ssh -v -i ~/.ssh/id_dsa XXXXXX.net OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006 debug1: Reading configuration data /Users/joon/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: Connecting to XXXXXX.net [XX.XX.XXX.234] port 22.
April 12, 2007
10:59PM EDT
by Joon Park
View all 23 lines
function lumen_node_bits($key = NULL, $bits = array()) {
static $node_bits = array();
$output = array();
if (is_numeric($key)) {
April 09, 2007
7:26PM EDT
by Joon Park
View all 10 lines
function _phptemplate_variables($hook, $variables) {
switch ($hook) {
case 'page':
if (file_exists($my_script = path_to_theme() .'/MYNEWSCRIPT.js')) {
drupal_add_js($my_script, 'theme')
April 09, 2007
4:57PM EDT
by Joon Park
View all 9 lines
function _phptemplate_variables($hook, $variables) {
switch ($hook) {
case 'page':
if (isset($variables['node'])) {
$variables['template_file'] = 'page_'. $variables['node']->type;
April 01, 2007
6:49PM EDT
by Joon Park
View all 17 lines
/** * Fixes illegal duplicate html id's. id's of "edit-sumit" found in: * theme_comment_controls(), theme_search_theme_form(), and * theme_search_block_form(). To-do: remove when fixed in core. */
March 29, 2007
11:29PM EDT
by Joon Park
View all 45 lines
// default render function and extension.
$render_function = 'theme_render_template';
$extension = '.tpl.php';
$variables_cue = array();
March 29, 2007
10:56AM EDT
by Joon Park
View all 18 lines
--- untitled +++ (clipboard) @@ -25,7 +25,6 @@ <style type="text/css" media="all">@import "/sites/all/modules/quote/quote.css";</style> <style type="text/css" media="all">@import "/sites/all/modules/thickbox/thickbox.css";</style>
