Пример #1
0
/**
 * Tag Buttons
 */
function display_tag_buttons()
{
    global $cfg, $cd;
    $smiley_list = smiley_button();
    include_once $cd . '/include/user_include/tag_buttons.inc.php';
    return $tag_buttons;
}
Пример #2
0
<?php

/**
 * Edit comment
 * 
 * $Id: comment_edit.tpl.php, 2004/11/17 22:56:42 Exp $
 */
// Load Comment Type Class List
$comment_type_list = comment_class();
// Load Smiley List
$smiley_list = smiley_button();
//////////////////////////////// PRESENTATION ////////////////////////////////////////////
$contents .= <<<EOD

<div class="section">
<form id="addform" action="{$action}" method="post" onsubmit="return ForumInputCheck()">
<fieldset>
<legend>{$lang['edit']} : No.{$row['id']}</legend>
<p>{$lang['last_modified']} : {$row['mod']}</p>
<p>
<input type="text" accesskey="n" tabindex="2" id="user_name" name="user_name" value="{$row['user_name']}" class="bordered" />
<label for="user_name">{$lang['name']} <span class="notice">*</span></label>
</p>
{$user_ip}
<p>
<input type="text" accesskey="u" tabindex="4" id="user_uri" name="user_uri" value="{$row['user_uri']}" size="30" class="bordered" />
<label for="user_uri">URI</label>
</p>
<p>
<input type="text" accesskey="t" tabindex="5" id="title" name="title" value="{$row['title']}" size="30" class="bordered" />
<label for="title">{$lang['title']}</label>