• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP localised_date函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中localised_date函数的典型用法代码示例。如果您正苦于以下问题:PHP localised_date函数的具体用法?PHP localised_date怎么用?PHP localised_date使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了localised_date函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: display_log_list

function display_log_list()
{
    global $lang_viewlog_php, $folder_icon, $delete_all_icon, $delete_this_icon, $view_icon, $lang_date;
    $log_list = getloglist('logs/');
    if (count($log_list) > 0) {
        foreach ($log_list as $log) {
            $mtime = localised_date($log['mtime'], $lang_date['log']);
            $filesize = cpg_format_bytes($log['filesize']);
            echo <<<EOT
                            <tr>
                                    <td class="tableb">
                                            {$folder_icon}&nbsp;<a href= "viewlog.php?log={$log['logname']}">{$log['logname']}</a>
                                            &nbsp;&nbsp;&nbsp; ( <em>{$filesize}</em>, {$lang_viewlog_php['last_updated']}: <em>{$mtime}</em>)
                                    </td>
                            </tr>
EOT;
        }
        echo <<<EOT
                                <tr>
                                        <td class="tableb" align="center">
                                                <button type="button" class="button" name="dall" value="{$lang_viewlog_php['delete_all']}" id="dall" onclick="window.location='viewlog.php?action=dall';">{$delete_all_icon}{$lang_viewlog_php['delete_all']}</button>
                                        </td>
                                </tr>
EOT;
    } else {
        cpg_die(INFORMATION, $lang_viewlog_php['no_logs'], __FILE__, __LINE__);
    }
}
开发者ID:CatBerg-TestOrg,项目名称:coppermine,代码行数:28,代码来源:viewlog.php


示例2: dst_start

function dst_start()
{
    global $CONFIG, $CPG_PHP_SELF, $lang_admin_php, $lang_date, $lang_plugin_dst;
    require_once "./plugins/dst/lang/english.php";
    if ($CONFIG['lang'] != 'english' && file_exists("./plugins/dst/lang/{$CONFIG['lang']}.php")) {
        require_once "./plugins/dst/lang/{$CONFIG['lang']}.php";
    }
    if ($CONFIG['plugin_dst_on'] == '1') {
        if ($CPG_PHP_SELF != 'admin.php') {
            $CONFIG['time_offset']++;
        } else {
            $lang_admin_php['time_offset_detail'] = str_replace('%s', localised_date(time() + 3600, $lang_date['comment']), $lang_admin_php['time_offset_detail']);
        }
    }
    if ($CONFIG['plugin_dst_country'] != '') {
        $lang_admin_php['time_offset_detail'] .= '<br />' . sprintf($lang_plugin_dst['plugin_is_installed_and_interferes'], '<a href="pluginmgr.php">' . $lang_plugin_dst['dst'] . '</a>') . ' ';
        $lang_admin_php['time_offset_detail'] .= sprintf($lang_plugin_dst['you_have_selected_x_as_country'], '<em>' . $CONFIG['plugin_dst_country'] . '</em>') . ' ';
        $lang_admin_php['time_offset_detail'] .= sprintf($CONFIG['plugin_dst_on'] == '1' ? $lang_plugin_dst['dst_will_end_on'] : $lang_plugin_dst['dst_will_start_on'], $CONFIG['plugin_dst_datetime']) . ' ' . $lang_plugin_dst['time_will_auto_adjust'];
    }
    if ($CONFIG['plugin_dst_datetime'] != '' && date('Y-m-d H:i:s') > $CONFIG['plugin_dst_datetime']) {
        // We have reached the trigger date: DST plugin is on and the trigger date has passed, so let's toggle the DST and set the new trigger date
        include_once './plugins/dst/functions.inc.php';
        $dst_array = plugin_dst_xml_read();
        plugin_dst_datetime_update($dst_array);
    }
}
开发者ID:phill104,项目名称:branches,代码行数:26,代码来源:codebase.php


示例3: create_banlist

/**
 * create_banlist()
 *
 * @return
 **/
function create_banlist()
{
    global $CONFIG, $lang_banning_php, $album_date_fmt;
    //$PHP_SELF,
    $result = cpg_db_query("SELECT *, UNIX_TIMESTAMP(expiry) AS expiry FROM {$CONFIG['TABLE_BANNED']} WHERE brute_force=0");
    $count = mysql_num_rows($result);
    if ($count > 0) {
        echo <<<EOHEAD
                <tr>
                <th align="center" class="tableh2">{$lang_banning_php['user_name']}</th>
                <th align="center" class="tableh2">{$lang_banning_php['ip_address']}</th>
                <th align="center" class="tableh2">{$lang_banning_php['expiry']}</th>
                <th align="center" class="tableh2"></th>
                </tr>
EOHEAD;
        $row_counter = 0;
        while ($row = mysql_fetch_array($result)) {
            if ($row['user_id']) {
                $username = get_username($row['user_id']);
            } else {
                $username = '';
            }
            if ($row['expiry']) {
                $expiry = localised_date($row['expiry'], '%Y-%m-%d');
            } else {
                $expiry = '';
            }
            echo <<<EOROW
                                        <tr>
                                               <form action="{$_SERVER['PHP_SELF']}" method="post" name="banlist{$row_counter}">
                                                     <td width="20%" class="tableb" valign="middle">
                                                             <input type="hidden" name="ban_id" value="{$row['ban_id']}" />
                                                <input type="text" class="textinput" style="width: 100%" name="edit_ban_user_name" value="{$username}" />
                                        </td>
                                                <td class="tableb" valign="middle">
                                                <input type="text" class="textinput" size="15" name="edit_ban_ip_addr" value="{$row['ip_addr']}" />
                                        </td>
                                                <td class="tableb" valign="middle">
                                                <input type="text" class="listbox_lang" size="20" name="edit_ban_expires" value="{$expiry}" readonly="readonly" title="{$lang_banning_php['select_date']}" />
                                                <a href="javascript:;"  onclick="return getCalendar(document.banlist{$row_counter}.edit_ban_expires);" title="{$lang_banning_php['select_date']}"><img src="images/calendar.gif" width="16" height="16" border="0" alt="" /></a>
                                        </td>
                                        <td class="tableb" valign="middle">
                                                                <input type="submit" class="button" name="edit_ban" value="{$lang_banning_php['edit_ban']}" />
                                        &nbsp;&nbsp;
                                                                <input type="submit" class="button" name="delete_ban" value="{$lang_banning_php['delete_ban']}" />
                                        </td>
                                </form>
                                </tr>
EOROW;
            $row_counter++;
        }
    }
    mysql_free_result($result);
}
开发者ID:alencarmo,项目名称:OCF,代码行数:59,代码来源:banning.php


示例4: decode

 function decode($time, $code = null)
 {
     global $CONFIG;
     if ($CONFIG['lang'] == "german") {
         $last_msg_date_fmt = '%d.%m.%Y %H:%M';
     } else {
         $last_msg_date_fmt = '%b %d, %Y, %H:%M:%S %p';
     }
     $registed_date_fmt = "%b %d, %Y";
     if ($code !== null) {
         return localised_date($time, $code);
     } else {
         return localised_date($time, $last_msg_date_fmt);
     }
 }
开发者ID:phill104,项目名称:branches,代码行数:15,代码来源:time_helper.php


示例5: log_write

function log_write($text, $log = null)
{
    global $LINEBREAK, $lang_date;
    if (isset($CONFIG['log_mode']) && $CONFIG['log_mode'] == CPG_NO_LOGGING) {
        return false;
    }
    if (is_null($log)) {
        $log = CPG_GLOBAL_LOG;
    }
    $log = 'logs/' . $log . '.log.php';
    if (!file_exists($log)) {
        $log_header = implode('', file('include/log_header.inc.php'));
    } else {
        $log_header = '';
    }
    if (!isset($lang_date['log'])) {
        $lang_date['log'] = '%Y-%m-%d %H:%M:%S';
    }
    $fp = fopen($log, 'a');
    fwrite($fp, $log_header);
    fwrite($fp, localised_date(-1, $lang_date['log']) . ' - ' . $text . $LINEBREAK . '---' . $LINEBREAK);
    fclose($fp);
}
开发者ID:CatBerg-TestOrg,项目名称:coppermine,代码行数:23,代码来源:logger.inc.php


示例6: enlargeit_html_comments

function enlargeit_html_comments($pid)
{
    global $CONFIG, $USER, $CURRENT_ALBUM_DATA, $comment_date_fmt, $HTML_SUBST;
    global $enlargeit_image_comments, $enlargeit_add_your_comment, $lang_display_comments;
    $html = '';
    // report to moderator buttons
    $tmpl_comment_edit_box = template_extract_block($enlargeit_image_comments, 'edit_box_smilies', '{EDIT}');
    template_extract_block($enlargeit_image_comments, 'edit_box_no_smilies');
    template_extract_block($enlargeit_add_your_comment, 'input_box_no_smilies');
    $tmpl_comments_buttons = template_extract_block($enlargeit_image_comments, 'buttons', '{BUTTONS}');
    $tmpl_comments_ipinfo = template_extract_block($enlargeit_image_comments, 'ipinfo', '{IPINFO}');
    if ($CONFIG['comments_sort_descending'] == 1) {
        $comment_sort_order = 'DESC';
    } else {
        $comment_sort_order = 'ASC';
    }
    $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='{$pid}' ORDER BY msg_id {$comment_sort_order}");
    while ($row = mysql_fetch_array($result)) {
        $user_can_edit = GALLERY_ADMIN_MODE || USER_ID && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS || !USER_ID && USER_CAN_POST_COMMENTS && $USER['ID'] == $row['author_md5_id'];
        $comment_buttons = $user_can_edit ? $tmpl_comments_buttons : '';
        $comment_edit_box = '';
        $comment_ipinfo = $row['msg_raw_ip'] && GALLERY_ADMIN_MODE ? $tmpl_comments_ipinfo : '';
        $comment_body = make_clickable($row['msg_body']);
        $smilies = '';
        $ip = $row['msg_hdr_ip'];
        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
            $ip .= ' [' . $row['msg_raw_ip'] . ']';
        }
        $params = array('{EDIT}' => &$comment_edit_box, '{BUTTONS}' => &$comment_buttons, '{IPINFO}' => &$comment_ipinfo);
        $template = template_eval($enlargeit_image_comments, $params);
        $params = array('{MSG_AUTHOR}' => stripslashes($row['msg_author']), '{MSG_ID}' => $row['msg_id'], '{PID}' => $row['pid'], '{EDIT_TITLE}' => &$lang_display_comments['edit_title'], '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'], '{MSG_DATE}' => localised_date($row['msg_date'], $comment_date_fmt), '{MSG_BODY}' => bb_decode($comment_body), '{MSG_BODY_RAW}' => $row['msg_body'], '{OK}' => &$lang_display_comments['OK'], '{SMILIES}' => '', '{IP}' => $ip, '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'], '{WIDTH}' => $CONFIG['picture_table_width']);
        $html .= template_eval($template, $params);
    }
    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
        if (USER_ID) {
            $user_name_input = '<tr><td><input type="hidden" name="msg_author" value="" /></td>';
            template_extract_block($enlargeit_add_your_comment, 'user_name_input', $user_name_input);
            $user_name = '';
        } else {
            if (isset($USER['name'])) {
                $user_name = strtr($USER['name'], $HTML_SUBST);
            } else {
                $user_name = $lang_display_comments['your_name'];
            }
        }
        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'], '{NAME}' => $lang_display_comments['name'], '{COMMENT}' => $lang_display_comments['comment'], '{PIC_ID}' => $pid, '{USER_NAME}' => $user_name, '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'], '{OK}' => $lang_display_comments['OK'], '{SMILIES}' => '', '{WIDTH}' => $CONFIG['picture_table_width']);
        template_extract_block($enlargeit_add_your_comment, 'smilies');
        $html .= template_eval($enlargeit_add_your_comment, $params);
    }
    return $html;
}
开发者ID:phill104,项目名称:branches,代码行数:51,代码来源:enl_comment.php


示例7: cpg_die

        }
    }
}
global $db;
if (!USER_ID) {
    cpg_die(_ERROR, ACCESS_DENIED);
}
//, __FILE__, __LINE__
$sql = "SELECT username, user_email, user_regdate as user_regdate_cp, group_name, " . "user_from, user_interests, user_website, user_occ, " . "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_quota " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group_cp = group_id " . "LEFT JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON category = " . FIRST_USER_CAT . " + user_id " . "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid " . "WHERE user_id ='" . USER_ID . "' " . "GROUP BY user_id, username, user_email, user_regdate, group_name, user_from, user_interests, user_website, user_occ, group_quota";
$result = $db->sql_query($sql);
if (!$db->sql_numrows($result)) {
    cpg_die(_ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
}
$user_data = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$form_data = array('username' => $user_data['username'], 'reg_date' => localised_date($user_data['user_regdate_cp'], REGISTER_DATE_FMT), 'group' => $user_data['group_name'], 'email' => $user_data['user_email'], 'disk_usage' => $user_data['disk_usage'] ? $user_data['disk_usage'] : 0 . ($user_data['group_quota'] ? '/' . $user_data['group_quota'] : '') . ' ' . $lang_byte_units[1], 'location' => $user_data['user_from'], 'interests' => $user_data['user_interests'], 'website' => $user_data['user_website'], 'occupation' => $user_data['user_occ']);
$title = sprintf(X_S_PROFILE, CPG_USERNAME);
pageheader($title);
starttable(-1, $title, 2);
$chset = _CHARSET;
echo '<form method="post" action="' . URL::index("") . '" enctype="multipart/form-data" accept-charset="$chset">';
make_form($edit_profile_form_param, $form_data);
echo <<<EOT
        
        </form>

EOT;
endtable();
if (defined('CPG_NUKE')) {
    get_lang("Your_Account");
    require_once 'modules/Your_Account/functions.php';
开发者ID:cbsistem,项目名称:nexos,代码行数:31,代码来源:profile.php


示例8: cpgRedirectPage

    $CPG_REFERER = "index.php";
}
$login_failed = '';
$cookie_warning = '';
if ($superCage->post->keyExists('submitted')) {
    if ($USER_DATA = $cpg_udb->login($superCage->post->getEscaped('username'), $superCage->post->getEscaped('password'), $superCage->post->getInt('remember_me'))) {
        //$referer=preg_replace("'&amp;'","&",$referer);
        cpgRedirectPage($CPG_REFERER, $lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), 3);
        exit;
    } else {
        if ($superCage->server->testip('REMOTE_ADDR')) {
            $ip = $superCage->server->getRaw('REMOTE_ADDR');
        } else {
            $ip = 'Unknown';
        }
        log_write("Failed login attempt with Username: " . $superCage->post->getEscaped('username') . " from IP {$ip} on " . localised_date(-1, $log_date_fmt), CPG_SECURITY_LOG);
        $login_failed = <<<EOT
                  <tr>
                          <td colspan="2" align="center" class="tableh2">
                        <span style="color:red"><b>{$lang_login_php['err_login']}<b></span>
                        </td>
                  </tr>
EOT;
        // get IP address of the person who tried to log in, look it up on the banning table and increase the brute force counter. If the brute force counter has reached a critical limit, set a regular banning record
        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BANNED']} WHERE ip_addr='{$raw_ip}' OR ip_addr='{$hdr_ip}'");
        $failed_logon_counter = mysql_fetch_array($result);
        mysql_free_result($result);
        $expiry_date = date("Y-m-d H:i:s", mktime(date('H'), date('i') + $CONFIG['login_expiry'], date('s'), date('m'), date('d'), date('Y')));
        if ($failed_logon_counter['brute_force']) {
            $failed_logon_counter['brute_force'] = $failed_logon_counter['brute_force'] - 1;
            $query_string = "UPDATE {$CONFIG['TABLE_BANNED']} SET brute_force='" . $failed_logon_counter['brute_force'] . "',  expiry='" . $expiry_date . "' WHERE ban_id=" . $failed_logon_counter['ban_id'];
开发者ID:phill104,项目名称:branches,代码行数:31,代码来源:login.php


示例9: theme_html_comments


//.........这里部分代码省略.........
                            $hide_comment = 1;
                        } else {
                            $row['msg_author'] = $lang_display_comments['unapproved_comment'];
                            $row['msg_body'] = $lang_display_comments['pending_approval_message'];
                            $row['author_id'] = 0;
                        }
                    }
                }
                // the comment is not approved - end
            }
            // user or guest is logged in - end
            if ($CONFIG['enable_smilies']) {
                $comment_body = process_smilies(make_clickable($row['msg_body']));
                $smilies = generate_smilies("f{$row['msg_id']}", 'msg_body');
            } else {
                $comment_body = make_clickable($row['msg_body']);
                $smilies = '';
            }
            // wrap the comment into italics if it isn't approved
            if ($row['approval'] == 'NO') {
                $comment_body = '<em>' . $comment_body . '</em>';
                $row['msg_author'] = $row['msg_author'];
            }
            list($row['ip_detail']) = CPGPluginAPI::filter('ip_information', array('', $row['msg_hdr_ip']));
            $ip = $row['msg_hdr_ip'] . $row['ip_detail'];
            if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
                list($row['ip_detail']) = CPGPluginAPI::filter('ip_information', array('', $row['msg_raw_ip']));
                $ip .= ' [' . $row['msg_raw_ip'] . $row['ip_detail'] . ']';
            }
            list($timestamp, $form_token) = getFormToken();
            $params = array('{EDIT}' => &$comment_edit_box, '{BUTTONS}' => &$comment_buttons, '{IPINFO}' => &$comment_ipinfo, '{PENDING_APPROVAL}' => &$pending_approval, '{FORM_TOKEN}' => $form_token, '{TIMESTAMP}' => $timestamp);
            $template = template_eval($template_image_comments, $params);
            if ($row['author_id'] == 0) {
                $profile_lnk = stripslashes($row['msg_author']);
            } else {
                $profile_lnk = '<a href="profile.php?uid=' . $row['author_id'] . '">' . stripslashes($row['msg_author']) . '</a>';
            }
            $params = array('{MSG_AUTHOR_LNK}' => $profile_lnk, '{MSG_AUTHOR}' => $row['msg_author'], '{MSG_ID}' => $row['msg_id'], '{PID}' => $row['pid'], '{EDIT_TITLE}' => &$lang_display_comments['edit_title'], '{DELETE_TITLE}' => &$lang_display_comments['delete_title'], '{DELETE_ICON}' => '<img src="' . $location . 'images/icons/delete.png" border="0" alt="" width="16" height="16" class="icon" />', '{EDIT_ICON}' => '<img src="' . $location . 'images/icons/edit.png" border="0" alt="" width="16" height="16" class="icon" />', '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'], '{MSG_DATE}' => localised_date($row['msg_date'], $lang_date['comment']), '{MSG_BODY}' => bb_decode($comment_body), '{MSG_BODY_RAW}' => $row['msg_body'], '{OK}' => &$lang_common['ok'], '{SMILIES}' => $smilies, '{IP}' => $ip, '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'], '{REPORT_COMMENT_ICON}' => '<img src="' . $location . 'images/icons/report.png" border="0" alt="" width="16" height="16" class="icon" />', '{WIDTH}' => $CONFIG['picture_table_width'] == "100%" ? $CONFIG['main_table_width'] : $CONFIG['picture_table_width'], '{FORM_TOKEN}' => $form_token, '{TIMESTAMP}' => $timestamp);
            if ($hide_comment != 1) {
                $html .= template_eval($template, $params);
            }
        }
        // while-loop end
        $html .= $tabs;
    }
    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
        if (USER_ID) {
            $user_name_input = '<tr><td colspan="2"><input type="hidden" name="msg_author" value="' . stripslashes(USER_NAME) . '" /></td>';
            template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);
            $user_name = '';
        } else {
            if (isset($USER['name'])) {
                $user_name = strtr($USER['name'], $HTML_SUBST);
            } else {
                $user_name = $lang_display_comments['your_name'];
            }
        }
        if ($CONFIG['comment_captcha'] == 0 || $CONFIG['comment_captcha'] == 2 && USER_ID) {
            template_extract_block($template_add_your_comment, 'comment_captcha');
        } else {
            $template_add_your_comment = CPGPluginAPI::filter('captcha_comment_print', $template_add_your_comment);
        }
        if ($CONFIG['show_bbcode_help']) {
            $captionLabel = '&nbsp;' . cpg_display_help('f=empty.htm&amp;h=lang_bbcode_help_title&amp;t=lang_bbcode_help', 470, 245);
        }
        list($timestamp, $form_token) = getFormToken();
        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'], '{NAME}' => $lang_display_comments['name'], '{COMMENT}' => $lang_display_comments['comment'], '{CONFIRM}' => $lang_common['confirm'] . '&nbsp;' . cpg_display_help('f=empty.htm&amp;h=lang_common[captcha_help_title]&amp;t=lang_common[captcha_help]', 470, 245), '{PIC_ID}' => $pid, '{USER_NAME}' => $user_name, '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'], '{OK}' => $lang_common['ok'], '{OK_ICON}' => cpg_fetch_icon('ok', 1), '{DEFAULT_USERNAME}' => $lang_display_comments['your_name'], '{DEFAULT_USERNAME_MESSAGE}' => $lang_display_comments['default_username_message'], '{SMILIES}' => '', '{WIDTH}' => $CONFIG['picture_table_width'] == "100%" ? $CONFIG['main_table_width'] : $CONFIG['picture_table_width'], '{HELP_ICON}' => $captionLabel, '{FORM_TOKEN}' => $form_token, '{TIMESTAMP}' => $timestamp);
        if ($CONFIG['enable_smilies']) {
            $params['{SMILIES}'] = generate_smilies();
        } else {
            template_extract_block($template_add_your_comment, 'smilies');
        }
        template_extract_block($template_add_your_comment, 'login_to_comment');
        if ($CONFIG['comments_sort_descending'] == 1) {
            $html = '<br />' . template_eval($template_add_your_comment, $params) . $html;
        } else {
            $html .= template_eval($template_add_your_comment, $params);
        }
    } else {
        // user can not post comments
        if ($CONFIG['comment_promote_registration'] == 1 && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
            template_extract_block($template_add_your_comment, 'user_name_input');
            if ($CONFIG['enable_smilies'] == 1) {
                template_extract_block($template_add_your_comment, 'input_box_smilies');
            } else {
                template_extract_block($template_add_your_comment, 'input_box_no_smilies');
            }
            template_extract_block($template_add_your_comment, 'comment_captcha');
            template_extract_block($template_add_your_comment, 'smilies');
            template_extract_block($template_add_your_comment, 'submit');
            $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'], '{WIDTH}' => $CONFIG['picture_table_width'] == "100%" ? $CONFIG['main_table_width'] : $CONFIG['picture_table_width'], '{LOGIN_TO_COMMENT}' => sprintf($lang_display_comments['log_in_to_comment'], '<a href="login.php?referer=' . $REFERER . '">', '</a>'), '{HELP_ICON}' => '');
            if ($CONFIG['comments_sort_descending'] == 1) {
                $html = '<br />' . template_eval($template_add_your_comment, $params) . $html;
            } else {
                $html .= template_eval($template_add_your_comment, $params);
            }
        }
    }
    return $html;
}
开发者ID:CatBerg-TestOrg,项目名称:coppermine_1.6.x,代码行数:101,代码来源:theme.php


示例10: update_history

function update_history($html)
{
    $superCage = Inspekt::makeSuperCage();
    global $CONFIG, $matches, $cat, $USER_DATA, $FORBIDDEN_SET;
    global $lang_plugin_update_history, $lastup_date_fmt;
    require 'plugins/update_history/include/init.inc.php';
    $CONFIG['TABLE_UPDATE_HISTORY_CONFIG'] = $CONFIG['TABLE_PREFIX'] . 'update_history_config';
    $Group_Id = $USER_DATA['groups'][0];
    $result = cpg_db_query("select * FROM {$CONFIG['TABLE_UPDATE_HISTORY_CONFIG']} WHERE Group_Id={$Group_Id}");
    $param = mysql_fetch_array($result);
    //settings
    $GID = $param['Group_Id'];
    $bloc = $param['bloc'];
    $archive = $param['archive'];
    $uploader_name = $param['uploader_name'];
    $days = $param['days'];
    if ($superCage->get->keyExists('cat')) {
        $cat = $superCage->get->getInt('cat');
    } else {
        $cat = '';
    }
    $nb = intval($param['number']);
    $end = time();
    $counter = array();
    $info = array();
    $FORBIDDEN_SET_UPD = $FORBIDDEN_SET ? "AND {$FORBIDDEN_SET}" : '';
    $CAT_FILTER = $cat ? "AND a.category = {$cat}" : '';
    //if $bloc set to 1 display the block
    if ($matches[1] != 'updatehistory' || !$bloc == "1") {
        return $matches;
    }
    //if GALLERY_ADMIN_MODE, display button to plugin admin page
    if (GALLERY_ADMIN_MODE) {
        //if $archive set to 1, button displayed to acces to the plugin archive page
        if ($archive == "1") {
            $bloc_title = $lang_plugin_update_history['update'] . "&nbsp;&nbsp;&nbsp;<a class=\"admin_menu\" href=\"index.php?file=update_history/history_archive\">{$lang_plugin_update_history[archive]}</a>&nbsp;&nbsp;&nbsp;<a class=\"admin_menu\" href=\"index.php?file=update_history/history_admin\">{$lang_plugin_update_history[admin]}</a>";
        } else {
            $bloc_title = $lang_plugin_update_history['update'] . "&nbsp;&nbsp;&nbsp;<a class=\"admin_menu\" href=\"index.php?file=update_history/history_admin\">{$lang_plugin_update_history[admin]}</a>";
        }
    } else {
        if ($archive == "1") {
            $bloc_title = $lang_plugin_update_history['update'] . "&nbsp;&nbsp;&nbsp;<a class=\"admin_menu\" href=\"index.php?file=update_history/history_archive\">{$lang_plugin_update_history[archive]}</a>";
        } else {
            $bloc_title = $lang_plugin_update_history['update'];
        }
    }
    //display update history bloc
    starttable("100%", $bloc_title);
    //If $days set to 1 show the last uploads since the $nb last days (default setting)
    if ($days == "1") {
        echo '<tr><td class="tableh2"><b>' . $lang_plugin_update_history['history'] . $nb . $lang_plugin_update_history['last_days'] . '</b></td></tr>';
        for ($d = 0; $d < $nb; $d++) {
            $start = strtotime(date("Ymd")) - $d * 60 * 60 * 24;
            $result = cpg_db_query("SELECT *,a.title AS album_title,p.owner_id AS owner FROM {$CONFIG['TABLE_PICTURES']} AS p,{$CONFIG['TABLE_ALBUMS']} AS a WHERE (APPROVED ='YES') AND (p.aid = a.aid)  AND (ctime BETWEEN {$start} AND {$end}) {$FORBIDDEN_SET_UPD} {$CAT_FILTER} ORDER BY ctime DESC");
            while ($row = mysql_fetch_assoc($result)) {
                $day = localised_date($row['ctime'], $plugin_update_history_date_fmt);
                //$day = ($day, $lastup_date_fmt);
                $counter[$day][$row[album_title]] += 1;
                $info[$day][$row[album_title]] = $row;
                $users[$day][$row[album_title]][] = $row['owner'];
            }
            $end = $start;
        }
        $i = 0;
        $test = array_keys($counter);
        foreach ($counter as $day) {
            foreach ($day as $album => $number) {
                $date = $test[$i];
                $album_info = $info[$date][$album];
                if ($number == 1) {
                    echo '<tr><td class="tableb">' . $date . ": {$number}" . $lang_plugin_update_history['new'] . "<a href=\"thumbnails.php?album={$album_info['aid']}\">{$album}</a>";
                } else {
                    echo '<tr><td class="tableb">' . $date . ": {$number}" . $lang_plugin_update_history['news'] . "<a href=\"thumbnails.php?album={$album_info['aid']}\">{$album}</a>";
                }
                $links = array();
                foreach ($users[$date][$album] as $u) {
                    if ($uploader_name == 1) {
                        //show the uploader name if $uploader_name set to 1
                        if ($u > 0) {
                            $links[] = $lang_plugin_update_history['by'] . "<a href=\"profile.php?uid={$u}\">" . get_username($u) . "</a>";
                        }
                    }
                }
                $out = array_unique($links);
                echo implode(', ', $out);
                echo "</td></tr>";
            }
            $i++;
        }
    } else {
        //otheerway Show n last uploaded files according settings
        $limit = $nb;
        echo '<tr><td class="tableh2"><b>' . $lang_plugin_update_history['history'] . $nb . $lang_plugin_update_history_admin['uploaded_files'] . '</b></td></tr>';
        $result = cpg_db_query("SELECT *,a.title AS album_title,p.owner_id AS owner FROM {$CONFIG['TABLE_PICTURES']} AS p,{$CONFIG['TABLE_ALBUMS']} AS a WHERE (APPROVED ='YES') AND (p.aid = a.aid) {$FORBIDDEN_SET_UPD} {$CAT_FILTER}  ORDER BY ctime DESC LIMIT {$nb}");
        for ($d = 0; $d < $nb; $d++) {
            while ($row = mysql_fetch_assoc($result)) {
                $day = localised_date($row['ctime'], $plugin_update_history_date_fmt);
                $album = $row['album_title'];
                $thumb = $CONFIG['fullpath'] . "/" . $row['filepath'] . "/" . $CONFIG['thumb_pfx'] . $row['filename'];
                echo '<tr><td class="tableb">' . $day . ": <a href=\"displayimage.php?pos=-{$row['pid']}\"><img border=\"1\" width=\"{$CONFIG['alb_list_thumb_size']}\" src=\"{$thumb}\" alt=\"{$row['filename']}\" title=\"{$row['filename']}\"/></a>" . $lang_plugin_update_history['add'] . "<a href=\"thumbnails.php?album={$row['aid']}\">{$album}</a>";
//.........这里部分代码省略.........
开发者ID:phill104,项目名称:branches,代码行数:101,代码来源:codebase.php


示例11: array

if (defined('CALENDAR_PHP')) {
    $lang_calendar_php = array('title' => 'Kalendar', 'close' => 'Mbylle', 'clear_date' => 'Fshi datën');
}
// File catmgr.php
// ------------------------------------------------------------------------- //
if (defined('CATMGR_PHP')) {
    $lang_catmgr_php = array('miss_param' => 'Parameters required for \'%s\'operation not supplied !', 'unknown_cat' => 'Kategoria e zgjedhur nuk ekziston në bazën e të dhënave', 'usergal_cat_ro' => 'Kategoria e përdoruesve nuk mund të fshihet !', 'manage_cat' => 'Mirëmbaj kategoritë', 'confirm_delete' => 'Jeni i sigurtë që doni të fshini këtë kategori', 'category' => 'Kategori', 'operations' => 'Veprime', 'move_into' => 'Zhvendos tek', 'update_create' => 'Përditësim/Krijim kategorie', 'parent_cat' => 'Kategoria rrënjë', 'cat_title' => 'Titulli i kategorisë', 'cat_thumb' => 'Kategori e tablove', 'cat_desc' => 'Përshkrimi i kategorisë', 'categories_alpha_sort' => 'Renditje e albumeve sipas rendit alfabetik (në vend të renditjes sipas futjes)', 'save_cfg' => 'Ruaj konfigurimin');
}
// ------------------------------------------------------------------------- //
// File admin.php //cpg1.4
// ------------------------------------------------------------------------- //
if (defined('ADMIN_PHP')) {
    $lang_admin_php = array('title' => 'Konfigurimi i galerisë', 'manage_exif' => 'Rregullimi i afishimit të exifeve (informacionit të imazheve)', 'manage_plugins' => 'Rregullimi pluginet', 'manage_keyword' => 'Rregullimi i fjelë-kyçeve', 'restore_cfg' => 'Rikthe konfigurimin origjinal', 'save_cfg' => 'Ruaj një konfigurim të ri', 'notes' => 'Shënime', 'info' => 'Informacion', 'upd_success' => 'Konfigurimi Coppermine u përditësua', 'restore_success' => 'Konfigurimi Coppermine origjinal u rikthye', 'name_a' => 'Emra në ngjitje', 'name_d' => 'Emra në zbritje', 'title_a' => 'Titujt në ngjitje', 'title_d' => 'Titujt në zbritje', 'date_a' => 'Data në ngjitje', 'date_d' => 'Data në zbritje', 'pos_a' => 'Pozicioni në ngjitje', 'pos_d' => 'Pozicioni në zbritje', 'th_any' => 'Maksimumi i dukshëm', 'th_ht' => 'Lartësia', 'th_wd' => 'Gjerësia', 'label' => 'emërtim', 'item' => 'listë', 'debug_everyone' => 'të gjithë', 'debug_admin' => 'Vetëm Administratorët', 'no_logs' => 'Çaktivizuar', 'log_normal' => 'Normal', 'log_all' => 'Të gjithë', 'view_logs' => 'Shiko identifikimet', 'click_expand' => 'Kliko tek emri i një sektori për ta shfaqur', 'expand_all' => 'Shfaq të gjitha', 'notice1' => '(*) Këto parametra nuk duhet të ndryshohen nëse ju keni imazhe tek baza juaj e të dhënave.', 'notice2' => '(**) Kur ndryshoni parametra të tilla, vetëm skedarët e fotur pas këtij ndryshimi do të preken, pra është e këshillueshme  që ky parametër të mos ndryshohet nëse keni tashmë imazhe në bazën tuaj të të dhënave. Sidoqoftë ju mund të zbatoni ndryshimet tek skedarët ekzistues me anë të &quot;<a href="util.php">mjeteve të administrimit</a> (ridimensionim i fotografive)&quot; nga menuja e administratorit.', 'notice3' => '(***) Të gjithë regjistrimet e skedarëve janë bërë në anglisht.', 'bbs_disabled' => 'Funksion i çaktivizuar nëse përdorni kodet bb', 'auto_resize_everyone' => 'Gjithëkush', 'auto_resize_user' => 'Vetëm përdoruesit', 'ascending' => 'Duke u ngjitur', 'descending' => 'Duke zbritur');
}
if (defined('ADMIN_PHP')) {
    $lang_admin_data = array('Parametra të përgjithëshme', array('Emri i galerisë', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), array('Përshkrimi i galerisë', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), array('E-maili i administratorit të galerisë', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), array('Adresa URL e repertuarit të galerisë suaj coppermine (jo \'index.php\' ose e ngjashme me të në fund)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), array('Adresa URL e faqes suaj kryesore', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), array('Lejo ZIP-shkarkimin e favoriteve', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), array('Diferenca e orës lokale në raport me orën e Greenwich (Ora tani është: ' . localised_date(-1, $comment_date_fmt) . ')', 'time_offset', 0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), array('Aktivizo fjalë-kalimet e kriptuara (nuk mund të fshihen)', 'enable_encrypted_passwords', 1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), array('Aktivizo ikonat e rubrikës "ndihmë" (ndihma ofrohet veç në anglisht)', 'enable_help', 9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), array('Aktivizo fjalë-kyçe të klikueshme në kërkime', 'clickable_keyword_search', 14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), array('Aktivizo plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'), array('Lejo ndalimin e adresave IP private', 'ban_private_ip', 1, 'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), array('Faqje shkarkime me grupe', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), 'Gjuha, &amp; Parametrat e shkronjave', array('Gjuha', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), array('Të jepet shprehja në anglisht nëse nuk gjendet e përkthyer?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), array('Dekodimi i shkronjave', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), array('Shfaq listën e gjuhëve', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), array('shfaq flamujët e gjuhëve', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), array('Shfaq &quot;rivendos&quot; tek përzgjedhja e gjuhëve', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), 'Parametrat e temave', array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), array('Shfaq listën e temave', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), array('Shfaq &quot;rivendos&quot; tek përzgjedhja e temave', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), array('Shfaq FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), array('Emri i menusë së personalizuar', 'custom_lnk_name', 0, 'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), array('Adresa URL e menysë së personalizuar', 'custom_lnk_url', 0, 'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), array('Shfaq ndihmën bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), array('Shfaq butonat që tregojnë respektimin e normave XHTML dhe CSS për temat që e përmbushin një gjë të tillë', 'vanity_block', 1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), array('Rruga për tek një krye faqe e personalizuar', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), array('Rruga për tek një fund faqe e personalizuar', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), 'Afishimi i listës së albumeve', array('Madhësia e tablos kryesore (piksel ose %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), array('Numri i niveleve të kategorive që duhet të shfaqen', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), array('Numri i albume për tu shfaqur', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), array('Numri i kolonave për listën e albumeve', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), array('Madhësia e tablove në piksel', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), array('Përmbajtja e faqes kryesoree', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), array('Shfaqja e tablove të albumit të nivelit të parë me kategoritë', 'first_level', 1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), array('Rendit kategorit sipas rendit alfabetik (në vend të renditjes sipas datës së futjes)', 'categories_alpha_sort', 1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), array('Shfaq numrin e skedareve të lidhur', 'link_pic_count', 1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), 'Shfaqja e tablove', array('Numri i kolonave ne faqen e tablove', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), array('Numri rreshtave ne faqen e tablove', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), array('MMaksimumi i tablove për tu shfaqur', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), array('Shfaqni legjendën e fotografisë (përveç titullit) poshtë tablosë', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), array('Shfaqni numrin e shikimeve poshtë tablos', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), array('Shfaqni numrin e komenteve poshtë tablos', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), array('Shfaqni emrin e ngarkuesit poshtë tablos', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), array('Shfaqni emrin e skedarit poshtë tablos', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), array('Renditje paraprake për skedarët', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), array('Minimumi i numrit të votave për tu shfaqur tek lista \'më të vlerësuarat\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), 'Pamja e imazheve', array('Gjerësia e tabelës ku do të shfaqet fotografia (në piksel apo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), array('Informacioni i fotografisë është i dukshëm paraprakishtë', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), array('Maksimumi i gjatësisë së përshkrimit të fotografisë', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), array('Maksimumi i gërmave në një fjalë', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), array('Shfaqni negativin e filmit', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), array('Afisho emrin e skedarit poshtë negativit', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), array('Numri i tablive në një negativ', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), array('intervali i slideshow në milisekonda(1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), 'Parametrat e komenteve', array('Filtroni fjalët e këqia në komente', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), array('Lejoni buzëqeshjet në komente', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), array('Lejoni komente të njëpasnjëshme tek e njëjta fotografi nga i njëjti përdorues(çaktivizo mbrojtjen nga përmbytjet)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), array('Maksimumi i linjave në një koment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), array('Maksimumi i gjatësisë së një komenti', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), array('Njofto admin për komentet nëpërmjet e-mail', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), array('Vendosi komentet sipas renditjes', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), array('Prefiksi për komentet nga autorë anonimë', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), 'Parametrat e skedareve dhe tablove', array('Cilësia për skedarët JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), array('Përmasat maksimale të një tabloje <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), array('Përdor përmasat ( gjerësi ose lartësi ose përmasat  maksimale për tablotë ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), array('Krijoni fotografi ndërmjetëse', 'make_intermediate', 1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), array('Maksimumi i gjerësisë dhe lartësisë së një fotografie/video ndërmjetëse <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), array('Maksimumi i skedarëve për tu ngarkuar (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_pic 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP localize函数代码示例发布时间:2022-05-15
下一篇:
PHP localeconv函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap