Merge remote-tracking branch 'github-cyberalien/feature/remove-imagesets' into develop
* github-cyberalien/feature/remove-imagesets: [feature/remove-imagesets] Script for converting imageset to css [feature/remove-imagesets] Changing subsilver [feature/remove-imagesets] Changing prosilver [feature/remove-imagesets] Adjustments to php files [feature/remove-imagesets] Changing admin control panel styles module [feature/remove-imagesets] Changing database structure [feature/remove-imagesets] Removing imageset files [feature/remove-imagesets] Moving images
|
@ -32,10 +32,6 @@
|
|||
<dt><label for="new_theme_id">{L_DELETE_THEME}:</label><br /><span>{L_REPLACE_THEME_EXPLAIN}</span></dt>
|
||||
<dd><select id="new_theme_id" name="new_theme_id">{S_REPLACE_THEME_OPTIONS}</select></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="new_imageset_id">{L_DELETE_IMAGESET}:</label><br /><span>{L_REPLACE_IMAGESET_EXPLAIN}</span></dt>
|
||||
<dd><select id="new_imageset_id" name="new_imageset_id">{S_REPLACE_IMAGESET_OPTIONS}</select></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<p class="quick">
|
||||
|
@ -45,127 +41,6 @@
|
|||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- ELSEIF S_EDIT_IMAGESET -->
|
||||
|
||||
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
||||
|
||||
<h1>{L_TITLE}</h1>
|
||||
|
||||
<p>{L_EXPLAIN}</p>
|
||||
|
||||
<!-- IF SUCCESS -->
|
||||
<div class="successbox">
|
||||
<p>{L_IMAGESET_UPDATED}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF ERROR -->
|
||||
<div class="errorbox">
|
||||
<p>{L_NO_IMAGE}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<script type="text/javascript" defer="defer">
|
||||
// <![CDATA[
|
||||
function update_image(newimage)
|
||||
{
|
||||
document.getElementById('newimg').src = (newimage) ? '../styles/{A_PATH}/imageset/' + encodeURI(newimage) : 'images/no_image.png';
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
/**
|
||||
* Handle displaying/hiding the dimension fields
|
||||
*/
|
||||
function display_options(value)
|
||||
{
|
||||
if (value == 0)
|
||||
{
|
||||
dE('img_dimensions', -1);
|
||||
}
|
||||
else
|
||||
{
|
||||
dE('img_dimensions', 1);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Init the wanted display functionality if javascript is enabled.
|
||||
* If javascript is not available, the user is still able to properly administer.
|
||||
*/
|
||||
onload = function()
|
||||
{
|
||||
<!-- IF not IMAGE_SIZE -->
|
||||
dE('img_dimensions', -1);
|
||||
<!-- ENDIF -->
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
<form method="post" action="{U_ACTION}">
|
||||
|
||||
<fieldset class="quick" style="text-align: left;">
|
||||
<legend>{L_SELECT_IMAGE}</legend>
|
||||
{L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit();">
|
||||
<!-- BEGIN category -->
|
||||
<option class="sep" value="" disabled="disabled">{category.NAME}</option>
|
||||
<!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->> {category.images.TEXT}</option>
|
||||
<!-- END images -->
|
||||
<!-- END category -->
|
||||
</select> <input class="button1" type="submit" value="{L_SELECT}" tabindex="100" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{L_EDIT_IMAGESET}</legend>
|
||||
<dl>
|
||||
<dt><label>{L_CURRENT_IMAGE}:</label></dt>
|
||||
<dd><img src="<!-- IF IMAGE_REQUEST -->{IMAGE_REQUEST}<!-- ELSE -->images/no_image.png<!-- ENDIF -->" alt="" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label>{L_SELECTED_IMAGE}:</label></dt>
|
||||
<dd><img src="{IMG_SRC}" id="newimg" alt="" /></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{L_IMAGE}</legend>
|
||||
<dl>
|
||||
<dt><label for="imgpath">{L_IMAGE}:</label></dt>
|
||||
<dd><select id="imgpath" name="imgpath" onchange="update_image(this.options[selectedIndex].value);"><option value=""<!-- IF not IMAGE_SELECT--> selected="selected"<!-- ENDIF -->>{L_NO_IMAGE}</option>
|
||||
<!-- BEGIN imagesetlist -->
|
||||
<option class="sep" value=""><!-- IF imagesetlist.TYPE -->{L_LOCALISED_IMAGES}<!-- ELSE -->{L_GLOBAL_IMAGES}<!-- ENDIF --></option>
|
||||
<!-- BEGIN images -->
|
||||
<option value="{imagesetlist.images.VALUE}"<!-- IF imagesetlist.images.SELECTED--> selected="selected"<!-- ENDIF -->>{imagesetlist.images.TEXT}</option>
|
||||
<!-- END images -->
|
||||
<!-- END imagesetlist -->
|
||||
</select>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="imgsize">{L_INCLUDE_DIMENSIONS}:</label><br /><span>{L_DIMENSIONS_EXPLAIN}</span></dt>
|
||||
<dd><label><input type="radio" class="radio" name="imgsize" id="imgsize" onclick="display_options(1);" value="1"<!-- IF IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||
<label><input type="radio" class="radio" name="imgsize" onclick="display_options(0);" value="0"<!-- IF not IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||
</dl>
|
||||
<div id="img_dimensions">
|
||||
<dl>
|
||||
<dt><label for="imgwidth">{L_IMAGE_WIDTH}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
||||
<dd><input id="imgwidth" type="text" name="imgwidth" value="{IMAGE_SIZE}" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="imgheight">{L_IMAGE_HEIGHT}:</label><br /><span>{L_AUTOMATIC_EXPLAIN}</span></dt>
|
||||
<dd><input id="imgheight" type="text" name="imgheight" value="{IMAGE_HEIGHT}" /></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="submit-buttons">
|
||||
<legend>{L_SUBMIT}</legend>
|
||||
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> <input class="button2" type="reset" value="{L_RESET}" />
|
||||
{S_FORM_TOKEN}
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
|
||||
|
||||
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
|
||||
|
@ -354,11 +229,6 @@
|
|||
<dd><label><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" /> {L_YES}</label>
|
||||
<label><input type="radio" class="radio" name="inc_theme" value="0" /> {L_NO}</label></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
|
||||
<dd><label><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" /> {L_YES}</label>
|
||||
<label><input type="radio" class="radio" name="inc_imageset" value="0" /> {L_NO}</label></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
|
||||
|
@ -491,10 +361,6 @@
|
|||
<dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
|
||||
<dd><!-- IF S_INSTALL --><strong id="theme_id">{THEME_NAME}</strong><!-- ELSE --><select id="theme_id" name="theme_id">{S_THEME_OPTIONS}</select><!-- ENDIF --></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
|
||||
<dd><!-- IF S_INSTALL --><strong id="imageset_id">{IMAGESET_NAME}</strong><!-- ELSE --><select id="imageset_id" name="imageset_id">{S_IMAGESET_OPTIONS}</select><!-- ENDIF --></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF (S_TEMPLATE or S_THEME) and (S_LOCATION or not S_INSTALL) -->
|
||||
<dl>
|
||||
|
|
274
phpBB/develop/imageset_to_css.php
Normal file
|
@ -0,0 +1,274 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Converts imageset to CSS code
|
||||
|
||||
Change style name and path below, open in browser.
|
||||
*/
|
||||
|
||||
$phpbb_root_path = '../';
|
||||
$style = 'subsilver2';
|
||||
|
||||
$imageset_path = $phpbb_root_path . 'styles/' . $style . '/imageset';
|
||||
$theme_path = $phpbb_root_path . 'styles/' . $style . '/theme2';
|
||||
|
||||
// Start output buffering
|
||||
ob_start();
|
||||
|
||||
// Get global and English images
|
||||
$images_global = get_imageset($imageset_path);
|
||||
if($images_global === false)
|
||||
{
|
||||
echo 'imageset.cfg was not found.';
|
||||
echo ob_get_clean();
|
||||
return;
|
||||
}
|
||||
$images_en = get_imageset($imageset_path, 'en');
|
||||
if($images_en === false)
|
||||
{
|
||||
echo 'English imageset.cfg was not found.';
|
||||
echo ob_get_clean();
|
||||
return;
|
||||
}
|
||||
|
||||
// Remove duplicate images
|
||||
foreach($images_en as $key => $row)
|
||||
{
|
||||
unset($images_global[$key]);
|
||||
}
|
||||
|
||||
// CSS replacements
|
||||
$not_compatible = array(
|
||||
'{T_TEMPLATE_PATH}',
|
||||
'{T_IMAGESET_PATH}',
|
||||
'{T_IMAGESET_LANG_PATH}',
|
||||
'{T_STYLESHEET_NAME}',
|
||||
'{S_USER_LANG}'
|
||||
);
|
||||
$replace = array(
|
||||
'{T_THEME_PATH}' => '.',
|
||||
);
|
||||
// Enable/disable one of lines below to enable/disable replacement of English buttons
|
||||
// $replace = array_merge($replace, get_replacements($images_global));
|
||||
$replace = array_merge($replace, get_replacements($images_global), get_replacements($images_en));
|
||||
|
||||
// Get all CSS files, parse them
|
||||
$files = list_files($theme_path, 'css');
|
||||
if($files === false || !count($files))
|
||||
{
|
||||
echo 'No CSS files found in theme directory.<br />';
|
||||
}
|
||||
else for($i=0; $i<count($files); $i++)
|
||||
{
|
||||
$file = $theme_path . '/' . $files[$i];
|
||||
$data = file_get_contents($file);
|
||||
$hash = md5($data);
|
||||
$data = strtr($data, $replace);
|
||||
$errors = false;
|
||||
for($j=0; $j<count($not_compatible); $j++)
|
||||
{
|
||||
if(strpos($data, $not_compatible[$j]) !== false)
|
||||
{
|
||||
echo 'Error: ', $file, ' contains ', $not_compatible[$j], '. That variable cannot be converted.<br />';
|
||||
}
|
||||
}
|
||||
if(md5($data) == $hash)
|
||||
{
|
||||
echo 'Nothing to replace in ', $file, '<br />';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Updated ', $file, ':', dump_code($data, $files[$i]);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if there are invalid images in imageset
|
||||
$list = array_merge($images_global, $images_en);
|
||||
foreach($list as $key => $row)
|
||||
{
|
||||
if($row['skip'])
|
||||
{
|
||||
echo 'Unable to generate code to add to CSS files because some images are missing or invalid. See errors above.';
|
||||
echo ob_get_clean();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Code to add to CSS files
|
||||
$code = '
|
||||
/* Former imageset */
|
||||
span.imageset {
|
||||
display: inline-block;
|
||||
background: transparent none 0 0 no-repeat;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Global imageset items */
|
||||
' . css($images_global, './images/') . '
|
||||
|
||||
/* English images for fallback */
|
||||
' . css($images_en, './en/');
|
||||
echo 'Code to add to CSS file:', dump_code($code, 'imageset.css');
|
||||
|
||||
$list = list_languages($imageset_path);
|
||||
for($i=0; $i<count($list); $i++)
|
||||
{
|
||||
$lang = $list[$i];
|
||||
$images = get_imageset($imageset_path . '/' . $lang);
|
||||
if(!count($images)) continue;
|
||||
$code = '/* ' . strtoupper($lang) . ' Language Pack */
|
||||
' . css($images, './');
|
||||
echo 'New CSS file: ', $theme_path, '/', $lang, '/stylesheet.css', dump_code($code, 'stylesheet_' . $lang . '.css');
|
||||
}
|
||||
|
||||
echo ob_get_clean();
|
||||
return;
|
||||
|
||||
|
||||
/*
|
||||
Functions
|
||||
*/
|
||||
function get_imageset($path, $lang = '')
|
||||
{
|
||||
$cfg = $path . ($lang ? '/' . $lang : '') . '/imageset.cfg';
|
||||
if(!@file_exists($cfg)) return false;
|
||||
$data = file($cfg);
|
||||
$result = array();
|
||||
for($i=0; $i<count($data); $i++)
|
||||
{
|
||||
$str = trim($data[$i]);
|
||||
if(substr($str, 0, 4) != 'img_') continue;
|
||||
$list = explode('=', $data[$i]);
|
||||
if(count($list) != 2) continue;
|
||||
$key = trim($list[0]);
|
||||
$row = explode('*', trim($list[1]));
|
||||
$file = trim($row[0]);
|
||||
$height = isset($row[1]) && intval($row[1]) ? intval($row[1]) : false;
|
||||
$width = isset($row[2]) && intval($row[2]) ? intval($row[2]) : false;
|
||||
$skip = false;
|
||||
if(strlen($file) && (!$width || !$height))
|
||||
{
|
||||
// Try to detect width/height
|
||||
$filename = $path . ($lang ? '/' . $lang : '') . '/' . $file;
|
||||
if(!@file_exists($filename))
|
||||
{
|
||||
echo 'Error: file ', $filename, ' does not exist and its dimensions are not available in imageset.cfg<br />';
|
||||
$skip = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$size = @getimagesize($filename);
|
||||
if($size === false)
|
||||
{
|
||||
echo 'Error: file ', $filename, ' is not a valid image<br />';
|
||||
$skip = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!$width) $width = intval($size[0]);
|
||||
if(!$height) $height = intval($size[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
$result[$key] = array(
|
||||
'lang' => $lang,
|
||||
'file' => $file,
|
||||
'height' => $height,
|
||||
'width' => $width,
|
||||
'skip' => $skip
|
||||
);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function get_replacements($list)
|
||||
{
|
||||
$result = array();
|
||||
foreach($list as $key => $row)
|
||||
{
|
||||
$key = '{' . strtoupper($key);
|
||||
$result[$key . '_SRC}'] = strlen($row['file']) ? ($row['lang'] ? './' . $row['lang'] : './images') . '/' . $row['file'] : '';
|
||||
$result[$key . '_WIDTH}'] = intval($row['width']);
|
||||
$result[$key . '_HEIGHT}'] = intval($row['height']);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function list_files($dir, $ext)
|
||||
{
|
||||
$res = @opendir($dir);
|
||||
if($res === false) return false;
|
||||
$files = array();
|
||||
while(($file = readdir($res)) !== false)
|
||||
{
|
||||
$list = explode('.', $file);
|
||||
if(count($list) > 1 && strtolower($list[count($list) - 1]) == $ext)
|
||||
{
|
||||
$files[] = $file;
|
||||
}
|
||||
}
|
||||
closedir($res);
|
||||
return $files;
|
||||
}
|
||||
|
||||
function list_languages($dir)
|
||||
{
|
||||
$res = @opendir($dir);
|
||||
if($res === false) return array();
|
||||
$files = array();
|
||||
while(($file = readdir($res)) !== false)
|
||||
{
|
||||
if(substr($file, 0, 1) == '.') continue;
|
||||
$filename = $dir . '/' . $file;
|
||||
if(is_dir($filename) && file_exists($filename . '/imageset.cfg'))
|
||||
{
|
||||
$files[] = $file;
|
||||
}
|
||||
}
|
||||
closedir($res);
|
||||
return $files;
|
||||
}
|
||||
|
||||
function dump_code($code, $filename = 'file.txt')
|
||||
{
|
||||
$hash = md5($code);
|
||||
if(isset($_GET['download']) && $_GET['download'] === $hash)
|
||||
{
|
||||
// Download file
|
||||
ob_end_clean();
|
||||
header('Pragma: public');
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Content-Type: application/force-download');
|
||||
header('Content-Disposition: attachment; filename="' . $filename . '";');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Content-Length: ' . strlen($code));
|
||||
echo $code;
|
||||
exit;
|
||||
}
|
||||
$list = explode("\n", $code);
|
||||
$height = 15 * count($list);
|
||||
echo ' [ <a href="?download=', $hash, '">download</a> <a href="javascript:void(0);" onclick="document.getElementById(\'code-', $hash, '\').style.height = \'', $height, 'px\'; this.style.display = \'none\'; return false;">expand</a> ]<br />';
|
||||
echo '<textarea id="code-', $hash, '" onfocus="this.select();" style="width: 98%; height: 200px;">', htmlspecialchars($code), '</textarea><br />';
|
||||
}
|
||||
|
||||
function css($list, $path = './')
|
||||
{
|
||||
$code = '';
|
||||
foreach($list as $key => $row)
|
||||
{
|
||||
if(!strlen($row['file'])) continue;
|
||||
$code .= '.imageset.' . substr($key, 4) . ' {
|
||||
background-image: url("' . $path . $row['file'] . '");
|
||||
padding-left: ' . $row['width'] . 'px;
|
||||
padding-top: ' . $row['height'] . 'px;
|
||||
}
|
||||
';
|
||||
}
|
||||
return $code;
|
||||
}
|
||||
|
|
@ -1094,14 +1094,12 @@ function get_schema_struct()
|
|||
'style_active' => array('BOOL', 1),
|
||||
'template_id' => array('UINT', 0),
|
||||
'theme_id' => array('UINT', 0),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
'PRIMARY_KEY' => 'style_id',
|
||||
'KEYS' => array(
|
||||
'style_name' => array('UNIQUE', 'style_name'),
|
||||
'template_id' => array('INDEX', 'template_id'),
|
||||
'theme_id' => array('INDEX', 'theme_id'),
|
||||
'imageset_id' => array('INDEX', 'imageset_id'),
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -1152,35 +1150,6 @@ function get_schema_struct()
|
|||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_styles_imageset'] = array(
|
||||
'COLUMNS' => array(
|
||||
'imageset_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'imageset_name' => array('VCHAR_UNI:255', ''),
|
||||
'imageset_copyright' => array('VCHAR_UNI', ''),
|
||||
'imageset_path' => array('VCHAR:100', ''),
|
||||
),
|
||||
'PRIMARY_KEY' => 'imageset_id',
|
||||
'KEYS' => array(
|
||||
'imgset_nm' => array('UNIQUE', 'imageset_name'),
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_styles_imageset_data'] = array(
|
||||
'COLUMNS' => array(
|
||||
'image_id' => array('UINT', NULL, 'auto_increment'),
|
||||
'image_name' => array('VCHAR:200', ''),
|
||||
'image_filename' => array('VCHAR:200', ''),
|
||||
'image_lang' => array('VCHAR:30', ''),
|
||||
'image_height' => array('USINT', 0),
|
||||
'image_width' => array('USINT', 0),
|
||||
'imageset_id' => array('UINT', 0),
|
||||
),
|
||||
'PRIMARY_KEY' => 'image_id',
|
||||
'KEYS' => array(
|
||||
'i_d' => array('INDEX', 'imageset_id'),
|
||||
),
|
||||
);
|
||||
|
||||
$schema_data['phpbb_topics'] = array(
|
||||
'COLUMNS' => array(
|
||||
'topic_id' => array('UINT', NULL, 'auto_increment'),
|
||||
|
|
|
@ -127,7 +127,7 @@ if (!$feed_updated_time)
|
|||
// Some default assignments
|
||||
// FEED_IMAGE is not used (atom)
|
||||
$global_vars = array_merge($global_vars, array(
|
||||
'FEED_IMAGE' => ($user->img('site_logo', '', false, '', 'src')) ? $board_url . '/' . substr($user->img('site_logo', '', false, '', 'src'), strlen($phpbb_root_path)) : '',
|
||||
'FEED_IMAGE' => '',
|
||||
'SELF_LINK' => feed_append_sid('/feed.' . $phpEx, $params),
|
||||
'FEED_LINK' => $board_url . '/index.' . $phpEx,
|
||||
'FEED_TITLE' => $config['sitename'],
|
||||
|
|
|
@ -797,11 +797,6 @@ class acp_language
|
|||
$sql = 'DELETE FROM ' . PROFILE_FIELDS_LANG_TABLE . ' WHERE lang_id = ' . $lang_id;
|
||||
$db->sql_query($sql);
|
||||
|
||||
$sql = 'DELETE FROM ' . STYLES_IMAGESET_DATA_TABLE . " WHERE image_lang = '" . $db->sql_escape($row['lang_iso']) . "'";
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$cache->destroy('sql', STYLES_IMAGESET_DATA_TABLE);
|
||||
|
||||
add_log('admin', 'LOG_LANGUAGE_PACK_DELETED', $row['lang_english_name']);
|
||||
|
||||
trigger_error(sprintf($user->lang['LANGUAGE_PACK_DELETED'], $row['lang_english_name']) . adm_back_link($this->u_action));
|
||||
|
@ -866,66 +861,6 @@ class acp_language
|
|||
$db->sql_query('INSERT INTO ' . LANG_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
|
||||
$lang_id = $db->sql_nextid();
|
||||
|
||||
$valid_localized = array(
|
||||
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',
|
||||
);
|
||||
|
||||
$sql_ary = array();
|
||||
|
||||
$sql = 'SELECT *
|
||||
FROM ' . STYLES_IMAGESET_TABLE;
|
||||
$result = $db->sql_query($sql);
|
||||
while ($imageset_row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if (@file_exists("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['iso']}/imageset.cfg"))
|
||||
{
|
||||
$cfg_data_imageset_data = parse_cfg_file("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['iso']}/imageset.cfg");
|
||||
foreach ($cfg_data_imageset_data as $image_name => $value)
|
||||
{
|
||||
if (strpos($value, '*') !== false)
|
||||
{
|
||||
if (substr($value, -1, 1) === '*')
|
||||
{
|
||||
list($image_filename, $image_height) = explode('*', $value);
|
||||
$image_width = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
list($image_filename, $image_height, $image_width) = explode('*', $value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$image_filename = $value;
|
||||
$image_height = $image_width = 0;
|
||||
}
|
||||
|
||||
if (strpos($image_name, 'img_') === 0 && $image_filename)
|
||||
{
|
||||
$image_name = substr($image_name, 4);
|
||||
if (in_array($image_name, $valid_localized))
|
||||
{
|
||||
$sql_ary[] = array(
|
||||
'image_name' => (string) $image_name,
|
||||
'image_filename' => (string) $image_filename,
|
||||
'image_height' => (int) $image_height,
|
||||
'image_width' => (int) $image_width,
|
||||
'imageset_id' => (int) $imageset_row['imageset_id'],
|
||||
'image_lang' => (string) $lang_pack['iso'],
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (sizeof($sql_ary))
|
||||
{
|
||||
$db->sql_multi_insert(STYLES_IMAGESET_DATA_TABLE, $sql_ary);
|
||||
$cache->destroy('sql', STYLES_IMAGESET_DATA_TABLE);
|
||||
}
|
||||
|
||||
// Now let's copy the default language entries for custom profile fields for this new language - makes admin's life easier.
|
||||
$sql = 'SELECT lang_id
|
||||
FROM ' . LANG_TABLE . "
|
||||
|
|
|
@ -23,7 +23,6 @@ class acp_styles_info
|
|||
'style' => array('title' => 'ACP_STYLES', 'auth' => 'acl_a_styles', 'cat' => array('ACP_STYLE_MANAGEMENT')),
|
||||
'template' => array('title' => 'ACP_TEMPLATES', 'auth' => 'acl_a_styles', 'cat' => array('ACP_STYLE_COMPONENTS')),
|
||||
'theme' => array('title' => 'ACP_THEMES', 'auth' => 'acl_a_styles', 'cat' => array('ACP_STYLE_COMPONENTS')),
|
||||
'imageset' => array('title' => 'ACP_IMAGESETS', 'auth' => 'acl_a_styles', 'cat' => array('ACP_STYLE_COMPONENTS')),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -4569,6 +4569,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
|||
'T_RANKS_PATH' => "{$web_path}{$config['ranks_path']}/",
|
||||
'T_UPLOAD_PATH' => "{$web_path}{$config['upload_path']}/",
|
||||
'T_STYLESHEET_LINK' => (!$user->theme['theme_storedb']) ? "{$web_path}styles/" . $user->theme['theme_path'] . '/theme/stylesheet.css' : append_sid("{$phpbb_root_path}style.$phpEx", 'id=' . $user->theme['style_id'] . '&lang=' . $user->lang_name),
|
||||
'T_STYLESHEET_LANG_LINK' => "{$web_path}styles/" . $user->theme['theme_path'] . '/theme/' . $user->lang_name . '/stylesheet.css',
|
||||
'T_STYLESHEET_NAME' => $user->theme['theme_name'],
|
||||
|
||||
'T_THEME_NAME' => $user->theme['theme_path'],
|
||||
|
|
|
@ -458,7 +458,6 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
|||
$l_post_click_count => $post_click_count,
|
||||
'FORUM_IMG_STYLE' => $folder_image,
|
||||
'FORUM_FOLDER_IMG' => $user->img($folder_image, $folder_alt),
|
||||
'FORUM_FOLDER_IMG_SRC' => $user->img($folder_image, $folder_alt, false, '', 'src'),
|
||||
'FORUM_FOLDER_IMG_ALT' => isset($user->lang[$folder_alt]) ? $user->lang[$folder_alt] : '',
|
||||
'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $user->lang[$folder_alt] . '" />' : '',
|
||||
'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '',
|
||||
|
|
|
@ -227,7 +227,6 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
|
|||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && $row['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||
'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '',
|
||||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
|
||||
'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '',
|
||||
|
|
|
@ -1655,12 +1655,11 @@ class user extends session
|
|||
$style = ($style) ? $style : ((!$config['override_user_style']) ? $this->data['user_style'] : $config['default_style']);
|
||||
}
|
||||
|
||||
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
|
||||
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . " c
|
||||
WHERE s.style_id = $style
|
||||
AND t.template_id = s.template_id
|
||||
AND c.theme_id = s.theme_id
|
||||
AND i.imageset_id = s.imageset_id";
|
||||
AND c.theme_id = s.theme_id";
|
||||
$result = $db->sql_query($sql, 3600);
|
||||
$this->theme = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
@ -1675,12 +1674,11 @@ class user extends session
|
|||
WHERE user_id = {$this->data['user_id']}";
|
||||
$db->sql_query($sql);
|
||||
|
||||
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
|
||||
$sql = 'SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . " c
|
||||
WHERE s.style_id = $style
|
||||
AND t.template_id = s.template_id
|
||||
AND c.theme_id = s.theme_id
|
||||
AND i.imageset_id = s.imageset_id";
|
||||
AND c.theme_id = s.theme_id";
|
||||
$result = $db->sql_query($sql, 3600);
|
||||
$this->theme = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
@ -1761,95 +1759,7 @@ class user extends session
|
|||
|
||||
$template->set_template();
|
||||
|
||||
$this->img_lang = (file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $config['default_lang'];
|
||||
|
||||
// Same query in style.php
|
||||
$sql = 'SELECT *
|
||||
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
|
||||
WHERE imageset_id = ' . $this->theme['imageset_id'] . "
|
||||
AND image_filename <> ''
|
||||
AND image_lang IN ('" . $db->sql_escape($this->img_lang) . "', '')";
|
||||
$result = $db->sql_query($sql, 3600);
|
||||
|
||||
$localised_images = false;
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if ($row['image_lang'])
|
||||
{
|
||||
$localised_images = true;
|
||||
}
|
||||
|
||||
$row['image_filename'] = rawurlencode($row['image_filename']);
|
||||
$this->img_array[$row['image_name']] = $row;
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// there were no localised images, try to refresh the localised imageset for the user's language
|
||||
if (!$localised_images)
|
||||
{
|
||||
// Attention: this code ignores the image definition list from acp_styles and just takes everything
|
||||
// that the config file contains
|
||||
$sql_ary = array();
|
||||
|
||||
$db->sql_transaction('begin');
|
||||
|
||||
$sql = 'DELETE FROM ' . STYLES_IMAGESET_DATA_TABLE . '
|
||||
WHERE imageset_id = ' . $this->theme['imageset_id'] . '
|
||||
AND image_lang = \'' . $db->sql_escape($this->img_lang) . '\'';
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
if (@file_exists("{$phpbb_root_path}styles/{$this->theme['imageset_path']}/imageset/{$this->img_lang}/imageset.cfg"))
|
||||
{
|
||||
$cfg_data_imageset_data = parse_cfg_file("{$phpbb_root_path}styles/{$this->theme['imageset_path']}/imageset/{$this->img_lang}/imageset.cfg");
|
||||
foreach ($cfg_data_imageset_data as $image_name => $value)
|
||||
{
|
||||
if (strpos($value, '*') !== false)
|
||||
{
|
||||
if (substr($value, -1, 1) === '*')
|
||||
{
|
||||
list($image_filename, $image_height) = explode('*', $value);
|
||||
$image_width = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
list($image_filename, $image_height, $image_width) = explode('*', $value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$image_filename = $value;
|
||||
$image_height = $image_width = 0;
|
||||
}
|
||||
|
||||
if (strpos($image_name, 'img_') === 0 && $image_filename)
|
||||
{
|
||||
$image_name = substr($image_name, 4);
|
||||
$sql_ary[] = array(
|
||||
'image_name' => (string) $image_name,
|
||||
'image_filename' => (string) $image_filename,
|
||||
'image_height' => (int) $image_height,
|
||||
'image_width' => (int) $image_width,
|
||||
'imageset_id' => (int) $this->theme['imageset_id'],
|
||||
'image_lang' => (string) $this->img_lang,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sizeof($sql_ary))
|
||||
{
|
||||
$db->sql_multi_insert(STYLES_IMAGESET_DATA_TABLE, $sql_ary);
|
||||
$db->sql_transaction('commit');
|
||||
$cache->destroy('sql', STYLES_IMAGESET_DATA_TABLE);
|
||||
|
||||
add_log('admin', 'LOG_IMAGESET_LANG_REFRESHED', $this->theme['imageset_name'], $this->img_lang);
|
||||
}
|
||||
else
|
||||
{
|
||||
$db->sql_transaction('commit');
|
||||
add_log('admin', 'LOG_IMAGESET_LANG_MISSING', $this->theme['imageset_name'], $this->img_lang);
|
||||
}
|
||||
}
|
||||
$this->img_lang = $this->lang_name;
|
||||
|
||||
// Call phpbb_user_session_handler() in case external application want to "bend" some variables or replace classes...
|
||||
// After calling it we continue script execution...
|
||||
|
@ -2284,89 +2194,11 @@ class user extends session
|
|||
|
||||
/**
|
||||
* Specify/Get image
|
||||
* $suffix is no longer used - we know it. ;) It is there for backward compatibility.
|
||||
*/
|
||||
function img($img, $alt = '', $width = false, $suffix = '', $type = 'full_tag')
|
||||
function img($img, $alt = '')
|
||||
{
|
||||
static $imgs;
|
||||
global $phpbb_root_path;
|
||||
|
||||
$img_data = &$imgs[$img];
|
||||
|
||||
if (empty($img_data))
|
||||
{
|
||||
if (!isset($this->img_array[$img]))
|
||||
{
|
||||
// Do not fill the image to let designers decide what to do if the image is empty
|
||||
$img_data = '';
|
||||
return $img_data;
|
||||
}
|
||||
|
||||
// Use URL if told so
|
||||
$root_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $phpbb_root_path;
|
||||
|
||||
$path = 'styles/' . rawurlencode($this->theme['imageset_path']) . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename'];
|
||||
|
||||
$img_data['src'] = $root_path . $path;
|
||||
$img_data['width'] = $this->img_array[$img]['image_width'];
|
||||
$img_data['height'] = $this->img_array[$img]['image_height'];
|
||||
|
||||
// We overwrite the width and height to the phpbb logo's width
|
||||
// and height here if the contents of the site_logo file are
|
||||
// really equal to the phpbb_logo
|
||||
// This allows us to change the dimensions of the phpbb_logo without
|
||||
// modifying the imageset.cfg and causing a conflict for everyone
|
||||
// who modified it for their custom logo on updating
|
||||
if ($img == 'site_logo' && file_exists($phpbb_root_path . $path))
|
||||
{
|
||||
global $cache;
|
||||
|
||||
$img_file_hashes = $cache->get('imageset_site_logo_md5');
|
||||
|
||||
if ($img_file_hashes === false)
|
||||
{
|
||||
$img_file_hashes = array();
|
||||
}
|
||||
|
||||
$key = $this->theme['imageset_path'] . '::' . $this->img_array[$img]['image_lang'];
|
||||
if (!isset($img_file_hashes[$key]))
|
||||
{
|
||||
$img_file_hashes[$key] = md5(file_get_contents($phpbb_root_path . $path));
|
||||
$cache->put('imageset_site_logo_md5', $img_file_hashes);
|
||||
}
|
||||
|
||||
$phpbb_logo_hash = '0c461a32cd3621643105f0d02a772c10';
|
||||
|
||||
if ($phpbb_logo_hash == $img_file_hashes[$key])
|
||||
{
|
||||
$img_data['width'] = '149';
|
||||
$img_data['height'] = '52';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : $alt;
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
case 'src':
|
||||
return $img_data['src'];
|
||||
break;
|
||||
|
||||
case 'width':
|
||||
return ($width === false) ? $img_data['width'] : $width;
|
||||
break;
|
||||
|
||||
case 'height':
|
||||
return $img_data['height'];
|
||||
break;
|
||||
|
||||
default:
|
||||
$use_width = ($width === false) ? $img_data['width'] : $width;
|
||||
|
||||
return '<img src="' . $img_data['src'] . '"' . (($use_width) ? ' width="' . $use_width . '"' : '') . (($img_data['height']) ? ' height="' . $img_data['height'] . '"' : '') . ' alt="' . $alt . '" title="' . $alt . '" />';
|
||||
break;
|
||||
}
|
||||
return '<span class="imageset ' . $img . '">' . $alt . '</span>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -161,7 +161,6 @@ class ucp_main
|
|||
|
||||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_topic_attach', '') : '',
|
||||
|
||||
'S_USER_POSTED' => (!empty($row['topic_posted']) && $row['topic_posted']) ? true : false,
|
||||
|
@ -348,7 +347,6 @@ class ucp_main
|
|||
'FORUM_ID' => $forum_id,
|
||||
'FORUM_IMG_STYLE' => $folder_image,
|
||||
'FORUM_FOLDER_IMG' => $user->img($folder_image, $folder_alt),
|
||||
'FORUM_FOLDER_IMG_SRC' => $user->img($folder_image, $folder_alt, false, '', 'src'),
|
||||
'FORUM_IMAGE' => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $user->lang[$folder_alt] . '" />' : '',
|
||||
'FORUM_IMAGE_SRC' => ($row['forum_image']) ? $phpbb_root_path . $row['forum_image'] : '',
|
||||
'FORUM_NAME' => $row['forum_name'],
|
||||
|
@ -825,7 +823,6 @@ class ucp_main
|
|||
|
||||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
|
||||
'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '',
|
||||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
|
||||
|
|
|
@ -166,7 +166,6 @@ function view_folder($id, $mode, $folder_id, $folder)
|
|||
'PM_ICON_URL' => (!empty($icons[$row['icon_id']])) ? $config['icons_path'] . '/' . $icons[$row['icon_id']]['img'] : '',
|
||||
'FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'FOLDER_IMG_STYLE' => $folder_img,
|
||||
'FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||
'PM_IMG' => ($row_indicator) ? $user->img('pm_' . $row_indicator, '') : '',
|
||||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_pm_download') && $row['message_attachment'] && $config['allow_pm_attach']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||
|
||||
|
|
|
@ -1060,6 +1060,15 @@ function database_update_info()
|
|||
GROUPS_TABLE => array(
|
||||
'group_legend' => array('UINT', 0),
|
||||
),
|
||||
),
|
||||
'drop_columns' => array(
|
||||
STYLES_TABLE => array(
|
||||
'imageset_id',
|
||||
),
|
||||
),
|
||||
'drop_tables' => array(
|
||||
STYLES_IMAGESET_TABLE,
|
||||
STYLES_IMAGESET_DATA_TABLE,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -2129,6 +2138,10 @@ function change_database_data(&$no_updates, $version)
|
|||
|
||||
_add_modules($modules_to_install);
|
||||
|
||||
$sql = 'DELETE FROM ' . MODULES_TABLE . "
|
||||
WHERE module_basename = 'styles' AND module_mode = 'imageset'";
|
||||
_sql($sql, $errored, $error_ary);
|
||||
|
||||
// Localise Global Announcements
|
||||
$sql = 'SELECT topic_id, topic_approved, (topic_replies + 1) AS topic_posts, topic_last_post_id, topic_last_post_subject, topic_last_post_time, topic_last_poster_id, topic_last_poster_name, topic_last_poster_colour
|
||||
FROM ' . TOPICS_TABLE . '
|
||||
|
|
|
@ -1742,72 +1742,6 @@ class install_install extends module
|
|||
$error = $db->sql_error($db->sql_error_sql);
|
||||
$this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__);
|
||||
}
|
||||
|
||||
$valid_localized = array(
|
||||
'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',
|
||||
);
|
||||
|
||||
$sql_ary = array();
|
||||
|
||||
$sql = 'SELECT *
|
||||
FROM ' . STYLES_IMAGESET_TABLE;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
while ($imageset_row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if (@file_exists("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['lang_iso']}/imageset.cfg"))
|
||||
{
|
||||
$cfg_data_imageset_data = parse_cfg_file("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['lang_iso']}/imageset.cfg");
|
||||
foreach ($cfg_data_imageset_data as $image_name => $value)
|
||||
{
|
||||
if (strpos($value, '*') !== false)
|
||||
{
|
||||
if (substr($value, -1, 1) === '*')
|
||||
{
|
||||
list($image_filename, $image_height) = explode('*', $value);
|
||||
$image_width = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
list($image_filename, $image_height, $image_width) = explode('*', $value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$image_filename = $value;
|
||||
$image_height = $image_width = 0;
|
||||
}
|
||||
|
||||
if (strpos($image_name, 'img_') === 0 && $image_filename)
|
||||
{
|
||||
$image_name = substr($image_name, 4);
|
||||
if (in_array($image_name, $valid_localized))
|
||||
{
|
||||
$sql_ary[] = array(
|
||||
'image_name' => (string) $image_name,
|
||||
'image_filename' => (string) $image_filename,
|
||||
'image_height' => (int) $image_height,
|
||||
'image_width' => (int) $image_width,
|
||||
'imageset_id' => (int) $imageset_row['imageset_id'],
|
||||
'image_lang' => (string) $lang_pack['lang_iso'],
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (sizeof($sql_ary))
|
||||
{
|
||||
$db->sql_multi_insert(STYLES_IMAGESET_DATA_TABLE, $sql_ary);
|
||||
|
||||
if ($db->sql_error_triggered)
|
||||
{
|
||||
$error = $db->sql_error($db->sql_error_sql);
|
||||
$this->p_master->db_error($error['message'], $db->sql_error_sql, __LINE__, __FILE__);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($dir);
|
||||
|
|
|
@ -1077,8 +1077,7 @@ CREATE TABLE phpbb_styles (
|
|||
style_copyright VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
||||
style_active INTEGER DEFAULT 1 NOT NULL,
|
||||
template_id INTEGER DEFAULT 0 NOT NULL,
|
||||
theme_id INTEGER DEFAULT 0 NOT NULL,
|
||||
imageset_id INTEGER DEFAULT 0 NOT NULL
|
||||
theme_id INTEGER DEFAULT 0 NOT NULL
|
||||
);;
|
||||
|
||||
ALTER TABLE phpbb_styles ADD PRIMARY KEY (style_id);;
|
||||
|
@ -1086,7 +1085,6 @@ ALTER TABLE phpbb_styles ADD PRIMARY KEY (style_id);;
|
|||
CREATE UNIQUE INDEX phpbb_styles_style_name ON phpbb_styles(style_name);;
|
||||
CREATE INDEX phpbb_styles_template_id ON phpbb_styles(template_id);;
|
||||
CREATE INDEX phpbb_styles_theme_id ON phpbb_styles(theme_id);;
|
||||
CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles(imageset_id);;
|
||||
|
||||
CREATE GENERATOR phpbb_styles_gen;;
|
||||
SET GENERATOR phpbb_styles_gen TO 0;;
|
||||
|
@ -1164,55 +1162,6 @@ BEGIN
|
|||
END;;
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id INTEGER NOT NULL,
|
||||
imageset_name VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
||||
imageset_copyright VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
||||
imageset_path VARCHAR(100) CHARACTER SET NONE DEFAULT '' NOT NULL
|
||||
);;
|
||||
|
||||
ALTER TABLE phpbb_styles_imageset ADD PRIMARY KEY (imageset_id);;
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_imageset_imgset_nm ON phpbb_styles_imageset(imageset_name);;
|
||||
|
||||
CREATE GENERATOR phpbb_styles_imageset_gen;;
|
||||
SET GENERATOR phpbb_styles_imageset_gen TO 0;;
|
||||
|
||||
CREATE TRIGGER t_phpbb_styles_imageset FOR phpbb_styles_imageset
|
||||
BEFORE INSERT
|
||||
AS
|
||||
BEGIN
|
||||
NEW.imageset_id = GEN_ID(phpbb_styles_imageset_gen, 1);
|
||||
END;;
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id INTEGER NOT NULL,
|
||||
image_name VARCHAR(200) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||
image_filename VARCHAR(200) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||
image_lang VARCHAR(30) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||
image_height INTEGER DEFAULT 0 NOT NULL,
|
||||
image_width INTEGER DEFAULT 0 NOT NULL,
|
||||
imageset_id INTEGER DEFAULT 0 NOT NULL
|
||||
);;
|
||||
|
||||
ALTER TABLE phpbb_styles_imageset_data ADD PRIMARY KEY (image_id);;
|
||||
|
||||
CREATE INDEX phpbb_styles_imageset_data_i_d ON phpbb_styles_imageset_data(imageset_id);;
|
||||
|
||||
CREATE GENERATOR phpbb_styles_imageset_data_gen;;
|
||||
SET GENERATOR phpbb_styles_imageset_data_gen TO 0;;
|
||||
|
||||
CREATE TRIGGER t_phpbb_styles_imageset_data FOR phpbb_styles_imageset_data
|
||||
BEFORE INSERT
|
||||
AS
|
||||
BEGIN
|
||||
NEW.image_id = GEN_ID(phpbb_styles_imageset_data_gen, 1);
|
||||
END;;
|
||||
|
||||
|
||||
# Table: 'phpbb_topics'
|
||||
CREATE TABLE phpbb_topics (
|
||||
topic_id INTEGER NOT NULL,
|
||||
|
|
|
@ -1307,8 +1307,7 @@ CREATE TABLE [phpbb_styles] (
|
|||
[style_copyright] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[style_active] [int] DEFAULT (1) NOT NULL ,
|
||||
[template_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[theme_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[imageset_id] [int] DEFAULT (0) NOT NULL
|
||||
[theme_id] [int] DEFAULT (0) NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
@ -1328,9 +1327,6 @@ GO
|
|||
CREATE INDEX [theme_id] ON [phpbb_styles]([theme_id]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE INDEX [imageset_id] ON [phpbb_styles]([imageset_id]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_template'
|
||||
|
@ -1402,53 +1398,6 @@ CREATE UNIQUE INDEX [theme_name] ON [phpbb_styles_theme]([theme_name]) ON [PRI
|
|||
GO
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset'
|
||||
*/
|
||||
CREATE TABLE [phpbb_styles_imageset] (
|
||||
[imageset_id] [int] IDENTITY (1, 1) NOT NULL ,
|
||||
[imageset_name] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[imageset_copyright] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[imageset_path] [varchar] (100) DEFAULT ('') NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_styles_imageset] WITH NOCHECK ADD
|
||||
CONSTRAINT [PK_phpbb_styles_imageset] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[imageset_id]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE UNIQUE INDEX [imgset_nm] ON [phpbb_styles_imageset]([imageset_name]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset_data'
|
||||
*/
|
||||
CREATE TABLE [phpbb_styles_imageset_data] (
|
||||
[image_id] [int] IDENTITY (1, 1) NOT NULL ,
|
||||
[image_name] [varchar] (200) DEFAULT ('') NOT NULL ,
|
||||
[image_filename] [varchar] (200) DEFAULT ('') NOT NULL ,
|
||||
[image_lang] [varchar] (30) DEFAULT ('') NOT NULL ,
|
||||
[image_height] [int] DEFAULT (0) NOT NULL ,
|
||||
[image_width] [int] DEFAULT (0) NOT NULL ,
|
||||
[imageset_id] [int] DEFAULT (0) NOT NULL
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_styles_imageset_data] WITH NOCHECK ADD
|
||||
CONSTRAINT [PK_phpbb_styles_imageset_data] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[image_id]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE INDEX [i_d] ON [phpbb_styles_imageset_data]([imageset_id]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_topics'
|
||||
*/
|
||||
|
|
|
@ -752,12 +752,10 @@ CREATE TABLE phpbb_styles (
|
|||
style_active tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (style_id),
|
||||
UNIQUE style_name (style_name(255)),
|
||||
KEY template_id (template_id),
|
||||
KEY theme_id (theme_id),
|
||||
KEY imageset_id (imageset_id)
|
||||
KEY theme_id (theme_id)
|
||||
);
|
||||
|
||||
|
||||
|
@ -802,31 +800,6 @@ CREATE TABLE phpbb_styles_theme (
|
|||
);
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_name blob NOT NULL,
|
||||
imageset_copyright blob NOT NULL,
|
||||
imageset_path varbinary(100) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (imageset_id),
|
||||
UNIQUE imgset_nm (imageset_name(255))
|
||||
);
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
image_name varbinary(200) DEFAULT '' NOT NULL,
|
||||
image_filename varbinary(200) DEFAULT '' NOT NULL,
|
||||
image_lang varbinary(30) DEFAULT '' NOT NULL,
|
||||
image_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
image_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (image_id),
|
||||
KEY i_d (imageset_id)
|
||||
);
|
||||
|
||||
|
||||
# Table: 'phpbb_topics'
|
||||
CREATE TABLE phpbb_topics (
|
||||
topic_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
|
|
|
@ -752,12 +752,10 @@ CREATE TABLE phpbb_styles (
|
|||
style_active tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
template_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
theme_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (style_id),
|
||||
UNIQUE style_name (style_name),
|
||||
KEY template_id (template_id),
|
||||
KEY theme_id (theme_id),
|
||||
KEY imageset_id (imageset_id)
|
||||
KEY theme_id (theme_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
|
@ -802,31 +800,6 @@ CREATE TABLE phpbb_styles_theme (
|
|||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
imageset_name varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_path varchar(100) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (imageset_id),
|
||||
UNIQUE imgset_nm (imageset_name)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
image_name varchar(200) DEFAULT '' NOT NULL,
|
||||
image_filename varchar(200) DEFAULT '' NOT NULL,
|
||||
image_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
image_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
image_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
imageset_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (image_id),
|
||||
KEY i_d (imageset_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
# Table: 'phpbb_topics'
|
||||
CREATE TABLE phpbb_topics (
|
||||
topic_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
|
|
|
@ -1432,7 +1432,6 @@ CREATE TABLE phpbb_styles (
|
|||
style_active number(1) DEFAULT '1' NOT NULL,
|
||||
template_id number(8) DEFAULT '0' NOT NULL,
|
||||
theme_id number(8) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(8) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_styles PRIMARY KEY (style_id),
|
||||
CONSTRAINT u_phpbb_style_name UNIQUE (style_name)
|
||||
)
|
||||
|
@ -1442,8 +1441,6 @@ CREATE INDEX phpbb_styles_template_id ON phpbb_styles (template_id)
|
|||
/
|
||||
CREATE INDEX phpbb_styles_theme_id ON phpbb_styles (theme_id)
|
||||
/
|
||||
CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles (imageset_id)
|
||||
/
|
||||
|
||||
CREATE SEQUENCE phpbb_styles_seq
|
||||
/
|
||||
|
@ -1545,70 +1542,6 @@ END;
|
|||
/
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id number(8) NOT NULL,
|
||||
imageset_name varchar2(765) DEFAULT '' ,
|
||||
imageset_copyright varchar2(765) DEFAULT '' ,
|
||||
imageset_path varchar2(100) DEFAULT '' ,
|
||||
CONSTRAINT pk_phpbb_styles_imageset PRIMARY KEY (imageset_id),
|
||||
CONSTRAINT u_phpbb_imgset_nm UNIQUE (imageset_name)
|
||||
)
|
||||
/
|
||||
|
||||
|
||||
CREATE SEQUENCE phpbb_styles_imageset_seq
|
||||
/
|
||||
|
||||
CREATE OR REPLACE TRIGGER t_phpbb_styles_imageset
|
||||
BEFORE INSERT ON phpbb_styles_imageset
|
||||
FOR EACH ROW WHEN (
|
||||
new.imageset_id IS NULL OR new.imageset_id = 0
|
||||
)
|
||||
BEGIN
|
||||
SELECT phpbb_styles_imageset_seq.nextval
|
||||
INTO :new.imageset_id
|
||||
FROM dual;
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset_data'
|
||||
*/
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id number(8) NOT NULL,
|
||||
image_name varchar2(200) DEFAULT '' ,
|
||||
image_filename varchar2(200) DEFAULT '' ,
|
||||
image_lang varchar2(30) DEFAULT '' ,
|
||||
image_height number(4) DEFAULT '0' NOT NULL,
|
||||
image_width number(4) DEFAULT '0' NOT NULL,
|
||||
imageset_id number(8) DEFAULT '0' NOT NULL,
|
||||
CONSTRAINT pk_phpbb_styles_imageset_data PRIMARY KEY (image_id)
|
||||
)
|
||||
/
|
||||
|
||||
CREATE INDEX phpbb_styles_imageset_data_i_d ON phpbb_styles_imageset_data (imageset_id)
|
||||
/
|
||||
|
||||
CREATE SEQUENCE phpbb_styles_imageset_data_seq
|
||||
/
|
||||
|
||||
CREATE OR REPLACE TRIGGER t_phpbb_styles_imageset_data
|
||||
BEFORE INSERT ON phpbb_styles_imageset_data
|
||||
FOR EACH ROW WHEN (
|
||||
new.image_id IS NULL OR new.image_id = 0
|
||||
)
|
||||
BEGIN
|
||||
SELECT phpbb_styles_imageset_data_seq.nextval
|
||||
INTO :new.image_id
|
||||
FROM dual;
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
/*
|
||||
Table: 'phpbb_topics'
|
||||
*/
|
||||
|
|
|
@ -983,14 +983,12 @@ CREATE TABLE phpbb_styles (
|
|||
style_active INT2 DEFAULT '1' NOT NULL CHECK (style_active >= 0),
|
||||
template_id INT4 DEFAULT '0' NOT NULL CHECK (template_id >= 0),
|
||||
theme_id INT4 DEFAULT '0' NOT NULL CHECK (theme_id >= 0),
|
||||
imageset_id INT4 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
PRIMARY KEY (style_id)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_style_name ON phpbb_styles (style_name);
|
||||
CREATE INDEX phpbb_styles_template_id ON phpbb_styles (template_id);
|
||||
CREATE INDEX phpbb_styles_theme_id ON phpbb_styles (theme_id);
|
||||
CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles (imageset_id);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_template'
|
||||
|
@ -1043,39 +1041,6 @@ CREATE TABLE phpbb_styles_theme (
|
|||
|
||||
CREATE UNIQUE INDEX phpbb_styles_theme_theme_name ON phpbb_styles_theme (theme_name);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset'
|
||||
*/
|
||||
CREATE SEQUENCE phpbb_styles_imageset_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id INT4 DEFAULT nextval('phpbb_styles_imageset_seq'),
|
||||
imageset_name varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_copyright varchar(255) DEFAULT '' NOT NULL,
|
||||
imageset_path varchar(100) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (imageset_id)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_imageset_imgset_nm ON phpbb_styles_imageset (imageset_name);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_styles_imageset_data'
|
||||
*/
|
||||
CREATE SEQUENCE phpbb_styles_imageset_data_seq;
|
||||
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id INT4 DEFAULT nextval('phpbb_styles_imageset_data_seq'),
|
||||
image_name varchar(200) DEFAULT '' NOT NULL,
|
||||
image_filename varchar(200) DEFAULT '' NOT NULL,
|
||||
image_lang varchar(30) DEFAULT '' NOT NULL,
|
||||
image_height INT2 DEFAULT '0' NOT NULL CHECK (image_height >= 0),
|
||||
image_width INT2 DEFAULT '0' NOT NULL CHECK (image_width >= 0),
|
||||
imageset_id INT4 DEFAULT '0' NOT NULL CHECK (imageset_id >= 0),
|
||||
PRIMARY KEY (image_id)
|
||||
);
|
||||
|
||||
CREATE INDEX phpbb_styles_imageset_data_i_d ON phpbb_styles_imageset_data (imageset_id);
|
||||
|
||||
/*
|
||||
Table: 'phpbb_topics'
|
||||
*/
|
||||
|
|
|
@ -434,80 +434,7 @@ INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order)
|
|||
INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_NEW_MEMBER', 'ROLE_DESCRIPTION_FORUM_NEW_MEMBER', 'f_', 10);
|
||||
|
||||
# -- phpbb_styles
|
||||
INSERT INTO phpbb_styles (style_name, style_copyright, style_active, template_id, theme_id, imageset_id) VALUES ('prosilver', '© phpBB Group', 1, 1, 1, 1);
|
||||
|
||||
# -- phpbb_styles_imageset
|
||||
INSERT INTO phpbb_styles_imageset (imageset_name, imageset_copyright, imageset_path) VALUES ('prosilver', '© phpBB Group', 'prosilver');
|
||||
|
||||
# -- phpbb_styles_imageset_data
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('site_logo', 'site_logo.gif', '', 52, 139, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_link', 'forum_link.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_read', 'forum_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_read_locked', 'forum_read_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_read_subforum', 'forum_read_subforum.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_unread', 'forum_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_unread_locked', 'forum_unread_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('forum_unread_subforum', 'forum_unread_subforum.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_moved', 'topic_moved.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read', 'topic_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read_mine', 'topic_read_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read_hot', 'topic_read_hot.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read_hot_mine', 'topic_read_hot_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read_locked', 'topic_read_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_read_locked_mine', 'topic_read_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread', 'topic_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread_mine', 'topic_unread_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread_hot', 'topic_unread_hot.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread_hot_mine', 'topic_unread_hot_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread_locked', 'topic_unread_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('topic_unread_locked_mine', 'topic_unread_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_read', 'sticky_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_read_mine', 'sticky_read_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_read_locked', 'sticky_read_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_read_locked_mine', 'sticky_read_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_unread', 'sticky_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_unread_mine', 'sticky_unread_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_unread_locked', 'sticky_unread_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('sticky_unread_locked_mine', 'sticky_unread_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_read', 'announce_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_read_mine', 'announce_read_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_read_locked', 'announce_read_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_read_locked_mine', 'announce_read_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_unread', 'announce_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_unread_mine', 'announce_unread_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_unread_locked', 'announce_unread_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('announce_unread_locked_mine', 'announce_unread_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_read', 'announce_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_read_mine', 'announce_read_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_read_locked', 'announce_read_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_read_locked_mine', 'announce_read_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_unread', 'announce_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_unread_mine', 'announce_unread_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_unread_locked', 'announce_unread_locked.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('global_unread_locked_mine', 'announce_unread_locked_mine.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_read', 'topic_read.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_unread', 'topic_unread.gif', '', 27, 27, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_back_top', 'icon_back_top.gif', '', 11, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_aim', 'icon_contact_aim.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_email', 'icon_contact_email.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_icq', 'icon_contact_icq.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_jabber', 'icon_contact_jabber.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_msnm', 'icon_contact_msnm.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_www', 'icon_contact_www.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_yahoo', 'icon_contact_yahoo.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_delete', 'icon_post_delete.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_info', 'icon_post_info.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_report', 'icon_post_report.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_target', 'icon_post_target.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_target_unread', 'icon_post_target_unread.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_attach', 'icon_topic_attach.gif', '', 10, 7, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_latest', 'icon_topic_latest.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_newest', 'icon_topic_newest.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_reported', 'icon_topic_reported.gif', '', 14, 16, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_unapproved', 'icon_topic_unapproved.gif', '', 14, 16, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_warn', 'icon_user_warn.gif', '', 20, 20, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_read', 'subforum_read.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_unread', 'subforum_unread.gif', '', 9, 11, 1);
|
||||
INSERT INTO phpbb_styles (style_name, style_copyright, style_active, template_id, theme_id) VALUES ('prosilver', '© phpBB Group', 1, 1, 1);
|
||||
|
||||
# -- phpbb_styles_template
|
||||
INSERT INTO phpbb_styles_template (template_name, template_copyright, template_path, bbcode_bitfield, template_storedb) VALUES ('prosilver', '© phpBB Group', 'prosilver', 'lNg=', 0);
|
||||
|
|
|
@ -727,14 +727,12 @@ CREATE TABLE phpbb_styles (
|
|||
style_copyright varchar(255) NOT NULL DEFAULT '',
|
||||
style_active INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||
template_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
theme_id INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
imageset_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
theme_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_style_name ON phpbb_styles (style_name);
|
||||
CREATE INDEX phpbb_styles_template_id ON phpbb_styles (template_id);
|
||||
CREATE INDEX phpbb_styles_theme_id ON phpbb_styles (theme_id);
|
||||
CREATE INDEX phpbb_styles_imageset_id ON phpbb_styles (imageset_id);
|
||||
|
||||
# Table: 'phpbb_styles_template'
|
||||
CREATE TABLE phpbb_styles_template (
|
||||
|
@ -775,29 +773,6 @@ CREATE TABLE phpbb_styles_theme (
|
|||
|
||||
CREATE UNIQUE INDEX phpbb_styles_theme_theme_name ON phpbb_styles_theme (theme_name);
|
||||
|
||||
# Table: 'phpbb_styles_imageset'
|
||||
CREATE TABLE phpbb_styles_imageset (
|
||||
imageset_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
imageset_name varchar(255) NOT NULL DEFAULT '',
|
||||
imageset_copyright varchar(255) NOT NULL DEFAULT '',
|
||||
imageset_path varchar(100) NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX phpbb_styles_imageset_imgset_nm ON phpbb_styles_imageset (imageset_name);
|
||||
|
||||
# Table: 'phpbb_styles_imageset_data'
|
||||
CREATE TABLE phpbb_styles_imageset_data (
|
||||
image_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
image_name varchar(200) NOT NULL DEFAULT '',
|
||||
image_filename varchar(200) NOT NULL DEFAULT '',
|
||||
image_lang varchar(30) NOT NULL DEFAULT '',
|
||||
image_height INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
image_width INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
imageset_id INTEGER UNSIGNED NOT NULL DEFAULT '0'
|
||||
);
|
||||
|
||||
CREATE INDEX phpbb_styles_imageset_data_i_d ON phpbb_styles_imageset_data (imageset_id);
|
||||
|
||||
# Table: 'phpbb_topics'
|
||||
CREATE TABLE phpbb_topics (
|
||||
topic_id INTEGER PRIMARY KEY NOT NULL ,
|
||||
|
|
|
@ -104,7 +104,6 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'ACP_ICONS' => 'Topic icons',
|
||||
'ACP_ICONS_SMILIES' => 'Topic icons/smilies',
|
||||
'ACP_IMAGESETS' => 'Imagesets',
|
||||
'ACP_INACTIVE_USERS' => 'Inactive users',
|
||||
'ACP_INDEX' => 'ACP index',
|
||||
|
||||
|
@ -593,16 +592,6 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'LOG_IMAGE_GENERATION_ERROR' => '<strong>Error while creating image</strong><br />» Error in %1$s on line %2$s: %3$s',
|
||||
|
||||
'LOG_IMAGESET_ADD_DB' => '<strong>Added new imageset to database</strong><br />» %s',
|
||||
'LOG_IMAGESET_ADD_FS' => '<strong>Add new imageset on filesystem</strong><br />» %s',
|
||||
'LOG_IMAGESET_DELETE' => '<strong>Deleted imageset</strong><br />» %s',
|
||||
'LOG_IMAGESET_EDIT_DETAILS' => '<strong>Edited imageset details</strong><br />» %s',
|
||||
'LOG_IMAGESET_EDIT' => '<strong>Edited imageset</strong><br />» %s',
|
||||
'LOG_IMAGESET_EXPORT' => '<strong>Exported imageset</strong><br />» %s',
|
||||
'LOG_IMAGESET_LANG_MISSING' => '<strong>Imageset misses “%2$s” localisation</strong><br />» %1$s',
|
||||
'LOG_IMAGESET_LANG_REFRESHED' => '<strong>Refreshed “%2$s” localisation of imageset</strong><br />» %1$s',
|
||||
'LOG_IMAGESET_REFRESHED' => '<strong>Refreshed imageset</strong><br />» %s',
|
||||
|
||||
'LOG_INACTIVE_ACTIVATE' => '<strong>Activated inactive users</strong><br />» %s',
|
||||
'LOG_INACTIVE_DELETE' => '<strong>Deleted inactive users</strong><br />» %s',
|
||||
'LOG_INACTIVE_REMIND' => '<strong>Sent reminder e-mails to inactive users</strong><br />» %s',
|
||||
|
|
|
@ -36,12 +36,9 @@ if (empty($lang) || !is_array($lang))
|
|||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
'ACP_IMAGESETS_EXPLAIN' => 'Imagesets comprise all the button, forum, folder, etc. and other non-style specific images used by the board. Here you can edit, export or delete existing imagesets and import or activate new sets.',
|
||||
'ACP_STYLES_EXPLAIN' => 'Here you can manage the available styles on your board. A style consists of a template, theme and imageset. You may alter existing styles, delete, deactivate, reactivate, create or import new ones. You can also see what a style will look like using the preview function. The current default style is noted by the presence of an asterisk (*). Also listed is the total user count for each style, note that overriding user styles will not be reflected here.',
|
||||
'ACP_STYLES_EXPLAIN' => 'Here you can manage the available styles on your board. A style consists of a template and theme. You may alter existing styles, delete, deactivate, reactivate, create or import new ones. You can also see what a style will look like using the preview function. The current default style is noted by the presence of an asterisk (*). Also listed is the total user count for each style, note that overriding user styles will not be reflected here.',
|
||||
'ACP_TEMPLATES_EXPLAIN' => 'A template set comprises all the markup used to generate the layout of your board. Here you can edit existing template sets, delete, export, import and preview sets. You can also modify the templating code used to generate BBCode.',
|
||||
'ACP_THEMES_EXPLAIN' => 'From here you can create, install, edit, delete and export themes. A theme is the combination of colours and images that are applied to your templates to define the basic look of your board. The range of options open to you depends on the configuration of your server and phpBB installation, see the manual for further details. Please note that when creating new themes the use of an existing theme as a basis is optional.',
|
||||
'ADD_IMAGESET' => 'Create imageset',
|
||||
'ADD_IMAGESET_EXPLAIN' => 'Here you can create a new imageset. Depending on your server configuration and file permissions you may have additional options here. For example you may be able to base this imageset on an existing one. You may also be able to upload or import (from the store directory) a imageset archive. If you upload or import an archive the imageset name can be optionally taken from the archive name (to do this leave the imageset name blank).',
|
||||
'ADD_STYLE' => 'Create style',
|
||||
'ADD_STYLE_EXPLAIN' => 'Here you can create a new style. Depending on your server configuration and file permissions you may have additional options. For example you may be able to base this style on an existing one. You may also be able to upload or import (from the store directory) a style archive. If you upload or import an archive the style name will be determined automatically.',
|
||||
'ADD_TEMPLATE' => 'Create template',
|
||||
|
@ -62,12 +59,10 @@ $lang = array_merge($lang, array(
|
|||
'CACHE_FILENAME' => 'Template file',
|
||||
'CACHE_FILESIZE' => 'File size',
|
||||
'CACHE_MODIFIED' => 'Modified',
|
||||
'CONFIRM_IMAGESET_REFRESH' => 'Are you sure you wish to refresh all imageset data? The settings from the imageset configuration file will overwrite all modifications to the imageset which have been carried out with the imageset editor.',
|
||||
'CONFIRM_TEMPLATE_CLEAR_CACHE' => 'Are you sure you wish to clear all cached versions of your template files?',
|
||||
'CONFIRM_TEMPLATE_REFRESH' => 'Are you sure you wish to refresh all template data in the database with the contents of the template files on the filesystem? This will overwrite all modifications which have been carried out with the template editor while the template was stored in the database.',
|
||||
'CONFIRM_THEME_REFRESH' => 'Are you sure you wish to refresh the theme data stored in the database with the contents of the theme on the filesystem? This will overwrite all modifications which have been carried out with the theme editor while the theme was stored in the database.',
|
||||
'COPYRIGHT' => 'Copyright',
|
||||
'CREATE_IMAGESET' => 'Create new imageset',
|
||||
'CREATE_STYLE' => 'Create new style',
|
||||
'CREATE_TEMPLATE' => 'Create new template set',
|
||||
'CREATE_THEME' => 'Create new theme',
|
||||
|
@ -75,8 +70,6 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'DEACTIVATE_DEFAULT' => 'You cannot deactivate the default style.',
|
||||
'DELETE_FROM_FS' => 'Delete from filesystem',
|
||||
'DELETE_IMAGESET' => 'Delete imageset',
|
||||
'DELETE_IMAGESET_EXPLAIN' => 'Here you can remove the selected imageset from the database. Please note that there is no undo capability. It is recommended that you first export your set for possible future use.',
|
||||
'DELETE_STYLE' => 'Delete style',
|
||||
'DELETE_STYLE_EXPLAIN' => 'Here you can remove the selected style. Take care in deleting styles, there is no undo capability.',
|
||||
'DELETE_TEMPLATE' => 'Delete template',
|
||||
|
@ -87,16 +80,12 @@ $lang = array_merge($lang, array(
|
|||
'DIMENSIONS_EXPLAIN' => 'Selecting yes here will include width/height parameters.',
|
||||
|
||||
|
||||
'EDIT_DETAILS_IMAGESET' => 'Edit imageset details',
|
||||
'EDIT_DETAILS_IMAGESET_EXPLAIN' => 'Here you can edit certain imageset details such as its name.',
|
||||
'EDIT_DETAILS_STYLE' => 'Edit style',
|
||||
'EDIT_DETAILS_STYLE_EXPLAIN' => 'Using the form below you can modify this existing style. You may alter the combination of template, theme and imageset which define the style itself. You may also make the style the default one.',
|
||||
'EDIT_DETAILS_STYLE_EXPLAIN' => 'Using the form below you can modify this existing style. You may alter the combination of template and theme which define the style itself. You may also make the style the default one.',
|
||||
'EDIT_DETAILS_TEMPLATE' => 'Edit template details',
|
||||
'EDIT_DETAILS_TEMPLATE_EXPLAIN' => 'Here you can edit certain template details such as its name. You may also have the option to switch storage of the stylesheet from the filesystem to the database and vice versa. This option depends on your PHP configuration and whether your template set can be written to by the web server.',
|
||||
'EDIT_DETAILS_THEME' => 'Edit theme details',
|
||||
'EDIT_DETAILS_THEME_EXPLAIN' => 'Here you can edit certain theme details such as its name. You may also have the option to switch storage of the stylesheet from the filesystem to the database and vice versa. This option depends on your PHP configuration and whether your stylesheet can be written to by the web server.',
|
||||
'EDIT_IMAGESET' => 'Edit imageset',
|
||||
'EDIT_IMAGESET_EXPLAIN' => 'Here you can edit the individual images which define the imageset. You can also specify dimensions for the image. Dimensions are optional, specifying them can overcome certain rendering issues with some browsers. By not specifying them you reduce the size of the database record a little.',
|
||||
'EDIT_TEMPLATE' => 'Edit template',
|
||||
'EDIT_TEMPLATE_EXPLAIN' => 'Here you can edit your template set directly. Please remember that these edits are permanent and cannot be undone once submitted. If PHP can write to the template files in your styles directory any changes here will be written directly to those files. If PHP cannot write to those files they will be copied into the database and all changes will only be reflected there. Please take care when editing your template set, remember to close all replacement variable terms {XXXX} and conditional statements.',
|
||||
'EDIT_TEMPLATE_STORED_DB' => 'The template file was unwritable so the template set is now stored in the database containing the modified file.',
|
||||
|
@ -123,24 +112,7 @@ $lang = array_merge($lang, array(
|
|||
'IMAGE_NAME' => 'Image name',
|
||||
'IMAGE_PARAMETER' => 'Parameter',
|
||||
'IMAGE_VALUE' => 'Value',
|
||||
'IMAGESET_ADDED' => 'New imageset added on filesystem.',
|
||||
'IMAGESET_ADDED_DB' => 'New imageset added to database.',
|
||||
'IMAGESET_DELETED' => 'Imageset deleted successfully.',
|
||||
'IMAGESET_DELETED_FS' => 'Imageset removed from database but some files may remain on the filesystem.',
|
||||
'IMAGESET_DETAILS_UPDATED' => 'Imageset details successfully updated.',
|
||||
'IMAGESET_ERR_ARCHIVE' => 'Please select an archive method.',
|
||||
'IMAGESET_ERR_COPY_LONG' => 'The copyright can be no longer than 60 characters.',
|
||||
'IMAGESET_ERR_NAME_CHARS' => 'The imageset name can only contain alphanumeric characters, -, +, _ and space.',
|
||||
'IMAGESET_ERR_NAME_EXIST' => 'A imageset with that name already exists.',
|
||||
'IMAGESET_ERR_NAME_LONG' => 'The imageset name can be no longer than 30 characters.',
|
||||
'IMAGESET_ERR_NOT_IMAGESET' => 'The archive you specified does not contain a valid imageset.',
|
||||
'IMAGESET_ERR_STYLE_NAME' => 'You must supply a name for this imageset.',
|
||||
'IMAGESET_EXPORT' => 'Export imageset',
|
||||
'IMAGESET_EXPORT_EXPLAIN' => 'Here you can export an imageset in the form of an archive. This archive will contain all the data necessary to install the set of images on another board. You may select whether to download the file directly or to place it in your store folder for download later or via FTP.',
|
||||
'IMAGESET_EXPORTED' => 'Imageset exported successfully and stored in %s.',
|
||||
'IMAGESET_NAME' => 'Imageset name',
|
||||
'IMAGESET_REFRESHED' => 'Imageset refreshed successfully.',
|
||||
'IMAGESET_UPDATED' => 'Imageset updated successfully.',
|
||||
|
||||
'ITALIC' => 'Italic',
|
||||
|
||||
'IMG_CAT_BUTTONS' => 'Localised buttons',
|
||||
|
@ -268,24 +240,19 @@ $lang = array_merge($lang, array(
|
|||
'IMG_USER_ICON10' => 'User defined image 10',
|
||||
|
||||
'INCLUDE_DIMENSIONS' => 'Include dimensions',
|
||||
'INCLUDE_IMAGESET' => 'Include imageset',
|
||||
'INCLUDE_TEMPLATE' => 'Include template',
|
||||
'INCLUDE_THEME' => 'Include theme',
|
||||
'INHERITING_FROM' => 'Inherits from',
|
||||
'INSTALL_IMAGESET' => 'Install imageset',
|
||||
'INSTALL_IMAGESET_EXPLAIN' => 'Here you can install your selected imageset. You can edit certain details if you wish or use the installation defaults.',
|
||||
'INSTALL_STYLE' => 'Install style',
|
||||
'INSTALL_STYLE_EXPLAIN' => 'Here you can install a new style and if appropriate the corresponding style elements. If you already have the relevant style elements installed they will not be overwritten. Some styles require existing style elements to already be installed. If you try installing such a style and do not have the required elements you will be notified.',
|
||||
'INSTALL_TEMPLATE' => 'Install Template',
|
||||
'INSTALL_TEMPLATE_EXPLAIN' => 'Here you can install a new template set. Depending on your server configuration you may have a number of options here.',
|
||||
'INSTALL_THEME' => 'Install theme',
|
||||
'INSTALL_THEME_EXPLAIN' => 'Here you can install your selected theme. You can edit certain details if you wish or use the installation defaults.',
|
||||
'INSTALLED_IMAGESET' => 'Installed imagesets',
|
||||
'INSTALLED_STYLE' => 'Installed styles',
|
||||
'INSTALLED_TEMPLATE' => 'Installed templates',
|
||||
'INSTALLED_THEME' => 'Installed themes',
|
||||
|
||||
'KEEP_IMAGESET' => 'Keep “%s” imageset',
|
||||
'KEEP_TEMPLATE' => 'Keep “%s” template',
|
||||
'KEEP_THEME' => 'Keep “%s” theme',
|
||||
|
||||
|
@ -294,19 +261,16 @@ $lang = array_merge($lang, array(
|
|||
'LOCATION_DISABLED_EXPLAIN' => 'This setting is inherited and cannot be changed.',
|
||||
|
||||
'NO_CLASS' => 'Cannot find class in stylesheet.',
|
||||
'NO_IMAGESET' => 'Cannot find imageset on filesystem.',
|
||||
'NO_IMAGE' => 'No image',
|
||||
'NO_IMAGE_ERROR' => 'Cannot find image on filesystem.',
|
||||
'NO_STYLE' => 'Cannot find style on filesystem.',
|
||||
'NO_TEMPLATE' => 'Cannot find template on filesystem.',
|
||||
'NO_THEME' => 'Cannot find theme on filesystem.',
|
||||
'NO_UNINSTALLED_IMAGESET' => 'No uninstalled imagesets detected.',
|
||||
'NO_UNINSTALLED_STYLE' => 'No uninstalled styles detected.',
|
||||
'NO_UNINSTALLED_TEMPLATE' => 'No uninstalled templates detected.',
|
||||
'NO_UNINSTALLED_THEME' => 'No uninstalled themes detected.',
|
||||
'NO_UNIT' => 'None',
|
||||
|
||||
'ONLY_IMAGESET' => 'This is the only remaining imageset, you cannot delete it.',
|
||||
'ONLY_STYLE' => 'This is the only remaining style, you cannot delete it.',
|
||||
'ONLY_TEMPLATE' => 'This is the only remaining template set, you cannot delete it.',
|
||||
'ONLY_THEME' => 'This is the only remaining theme, you cannot delete it.',
|
||||
|
@ -317,8 +281,6 @@ $lang = array_merge($lang, array(
|
|||
'REPEAT_X' => 'Only horizontally',
|
||||
'REPEAT_Y' => 'Only vertically',
|
||||
'REPEAT_ALL' => 'Both directions',
|
||||
'REPLACE_IMAGESET' => 'Replace imageset with',
|
||||
'REPLACE_IMAGESET_EXPLAIN' => 'This imageset will replace the one you are deleting in any styles that use it.',
|
||||
'REPLACE_STYLE' => 'Replace style with',
|
||||
'REPLACE_STYLE_EXPLAIN' => 'This style will replace the one being deleted for members that use it.',
|
||||
'REPLACE_TEMPLATE' => 'Replace template with',
|
||||
|
@ -326,7 +288,6 @@ $lang = array_merge($lang, array(
|
|||
'REPLACE_THEME' => 'Replace theme with',
|
||||
'REPLACE_THEME_EXPLAIN' => 'This theme will replace the one you are deleting in any styles that use it.',
|
||||
'REPLACE_WITH_OPTION' => 'Replace with “%s”',
|
||||
'REQUIRES_IMAGESET' => 'This style requires the %s imageset to be installed.',
|
||||
'REQUIRES_TEMPLATE' => 'This style requires the %s template set to be installed.',
|
||||
'REQUIRES_THEME' => 'This style requires the %s theme to be installed.',
|
||||
|
||||
|
@ -334,7 +295,6 @@ $lang = array_merge($lang, array(
|
|||
'SELECT_TEMPLATE' => 'Select template file',
|
||||
'SELECT_THEME' => 'Select theme file',
|
||||
'SELECTED_IMAGE' => 'Selected image',
|
||||
'SELECTED_IMAGESET' => 'Selected imageset',
|
||||
'SELECTED_TEMPLATE' => 'Selected template',
|
||||
'SELECTED_TEMPLATE_FILE' => 'Selected template file',
|
||||
'SELECTED_THEME' => 'Selected theme',
|
||||
|
@ -354,13 +314,12 @@ $lang = array_merge($lang, array(
|
|||
'STYLE_ERR_NAME_CHARS' => 'The style name can only contain alphanumeric characters, -, +, _ and space.',
|
||||
'STYLE_ERR_NAME_EXIST' => 'A style with that name already exists.',
|
||||
'STYLE_ERR_NAME_LONG' => 'The style name can be no longer than 30 characters.',
|
||||
'STYLE_ERR_NO_IDS' => 'You must select a template, theme and imageset for this style.',
|
||||
'STYLE_ERR_NO_IDS' => 'You must select a template and theme for this style.',
|
||||
'STYLE_ERR_NOT_STYLE' => 'The imported or uploaded file did not contain a valid style archive.',
|
||||
'STYLE_ERR_STYLE_NAME' => 'You must supply a name for this style.',
|
||||
'STYLE_EXPORT' => 'Export style',
|
||||
'STYLE_EXPORT_EXPLAIN' => 'Here you can export a style in the form of an archive. A style does not need to contain all elements but it must contain at least one. For example if you have created a new theme and imageset for a commonly used template you could simply export the theme and imageset and omit the template. You may select whether to download the file directly or to place it in your store folder for download later or via FTP.',
|
||||
'STYLE_EXPORT_EXPLAIN' => 'Here you can export a style in the form of an archive. A style does not need to contain all elements but it must contain at least one. For example if you have created a new theme for a commonly used template you could simply export the theme and omit the template. You may select whether to download the file directly or to place it in your store folder for download later or via FTP.',
|
||||
'STYLE_EXPORTED' => 'Style exported successfully and stored in %s.',
|
||||
'STYLE_IMAGESET' => 'Imageset',
|
||||
'STYLE_NAME' => 'Style name',
|
||||
'STYLE_TEMPLATE' => 'Template',
|
||||
'STYLE_THEME' => 'Theme',
|
||||
|
@ -427,7 +386,6 @@ $lang = array_merge($lang, array(
|
|||
'THEME_UPDATED' => 'Theme updated successfully.',
|
||||
|
||||
'UNDERLINE' => 'Underline',
|
||||
'UNINSTALLED_IMAGESET' => 'Uninstalled imagesets',
|
||||
'UNINSTALLED_STYLE' => 'Uninstalled styles',
|
||||
'UNINSTALLED_TEMPLATE' => 'Uninstalled templates',
|
||||
'UNINSTALLED_THEME' => 'Uninstalled themes',
|
||||
|
|
|
@ -344,7 +344,7 @@ $lang = array_merge($lang, array(
|
|||
'SUB_LICENSE' => 'License',
|
||||
'SUB_SUPPORT' => 'Support',
|
||||
'SUCCESSFUL_CONNECT' => 'Successful connection',
|
||||
'SUPPORT_BODY' => 'Full support will be provided for the current stable release of phpBB3, free of charge. This includes:</p><ul><li>installation</li><li>configuration</li><li>technical questions</li><li>problems relating to potential bugs in the software</li><li>updating from Release Candidate (RC) versions to the latest stable version</li><li>converting from phpBB 2.0.x to phpBB3</li><li>converting from other discussion board software to phpBB3 (please see the <a href="http://www.phpbb.com/community/viewforum.php?f=65">Convertors Forum</a>)</li></ul><p>We encourage users still running beta versions of phpBB3 to replace their installation with a fresh copy of the latest version.</p><h2>MODs / Styles</h2><p>For issues relating to MODs, please post in the appropriate <a href="http://www.phpbb.com/community/viewforum.php?f=81">Modifications Forum</a>.<br />For issues relating to styles, templates and imagesets, please post in the appropriate <a href="http://www.phpbb.com/community/viewforum.php?f=80">Styles Forum</a>.<br /><br />If your question relates to a specific package, please post directly in the topic dedicated to the package.</p><h2>Obtaining Support</h2><p><a href="http://www.phpbb.com/community/viewtopic.php?f=14&t=571070">The phpBB Welcome Package</a><br /><a href="http://www.phpbb.com/support/">Support Section</a><br /><a href="http://www.phpbb.com/support/documentation/3.0/quickstart/">Quick Start Guide</a><br /><br />To ensure you stay up to date with the latest news and releases, why not <a href="http://www.phpbb.com/support/">subscribe to our mailing list</a>?<br /><br />',
|
||||
'SUPPORT_BODY' => 'Full support will be provided for the current stable release of phpBB3, free of charge. This includes:</p><ul><li>installation</li><li>configuration</li><li>technical questions</li><li>problems relating to potential bugs in the software</li><li>updating from Release Candidate (RC) versions to the latest stable version</li><li>converting from phpBB 2.0.x to phpBB3</li><li>converting from other discussion board software to phpBB3 (please see the <a href="http://www.phpbb.com/community/viewforum.php?f=65">Convertors Forum</a>)</li></ul><p>We encourage users still running beta versions of phpBB3 to replace their installation with a fresh copy of the latest version.</p><h2>MODs / Styles</h2><p>For issues relating to MODs, please post in the appropriate <a href="http://www.phpbb.com/community/viewforum.php?f=81">Modifications Forum</a>.<br />For issues relating to styles, templates and themes, please post in the appropriate <a href="http://www.phpbb.com/community/viewforum.php?f=80">Styles Forum</a>.<br /><br />If your question relates to a specific package, please post directly in the topic dedicated to the package.</p><h2>Obtaining Support</h2><p><a href="http://www.phpbb.com/community/viewtopic.php?f=14&t=571070">The phpBB Welcome Package</a><br /><a href="http://www.phpbb.com/support/">Support Section</a><br /><a href="http://www.phpbb.com/support/documentation/3.0/quickstart/">Quick Start Guide</a><br /><br />To ensure you stay up to date with the latest news and releases, why not <a href="http://www.phpbb.com/support/">subscribe to our mailing list</a>?<br /><br />',
|
||||
'SYNC_FORUMS' => 'Starting to synchronise forums',
|
||||
'SYNC_POST_COUNT' => 'Synchronising post_counts',
|
||||
'SYNC_POST_COUNT_ID' => 'Synchronising post_counts from <var>entry</var> %1$s to %2$s.',
|
||||
|
|
|
@ -872,10 +872,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
|
||||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
|
||||
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
|
||||
'TOPIC_FOLDER_IMG_WIDTH'=> $user->img($folder_img, '', false, '', 'width'),
|
||||
'TOPIC_FOLDER_IMG_HEIGHT' => $user->img($folder_img, '', false, '', 'height'),
|
||||
|
||||
'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '',
|
||||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
|
||||
|
|
|
@ -112,12 +112,11 @@ if ($id)
|
|||
$user = array('user_id' => ANONYMOUS);
|
||||
}
|
||||
|
||||
$sql = 'SELECT s.style_id, c.theme_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, i.*, t.template_path
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . ' i
|
||||
$sql = 'SELECT s.style_id, c.theme_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, t.template_path
|
||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c
|
||||
WHERE s.style_id = ' . $id . '
|
||||
AND t.template_id = s.template_id
|
||||
AND c.theme_id = s.theme_id
|
||||
AND i.imageset_id = s.imageset_id';
|
||||
AND c.theme_id = s.theme_id';
|
||||
$result = $db->sql_query($sql, 300);
|
||||
$theme = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
@ -132,23 +131,6 @@ if ($id)
|
|||
$user['user_lang'] = $config['default_lang'];
|
||||
}
|
||||
|
||||
$user_image_lang = (file_exists($phpbb_root_path . 'styles/' . $theme['imageset_path'] . '/imageset/' . $user['user_lang'])) ? $user['user_lang'] : $config['default_lang'];
|
||||
|
||||
// Same query in session.php
|
||||
$sql = 'SELECT *
|
||||
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
|
||||
WHERE imageset_id = ' . $theme['imageset_id'] . "
|
||||
AND image_filename <> ''
|
||||
AND image_lang IN ('" . $db->sql_escape($user_image_lang) . "', '')";
|
||||
$result = $db->sql_query($sql, 3600);
|
||||
|
||||
$img_array = array();
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$img_array[$row['image_name']] = $row;
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// gzip_compression
|
||||
if ($config['gzip_compress'])
|
||||
{
|
||||
|
@ -229,71 +211,7 @@ if ($id)
|
|||
|
||||
header('Content-type: text/css; charset=UTF-8');
|
||||
|
||||
// Parse Theme Data
|
||||
$replace = array(
|
||||
'{T_THEME_PATH}' => "{$phpbb_root_path}styles/" . $theme['theme_path'] . '/theme',
|
||||
'{T_TEMPLATE_PATH}' => "{$phpbb_root_path}styles/" . $theme['template_path'] . '/template',
|
||||
'{T_IMAGESET_PATH}' => "{$phpbb_root_path}styles/" . $theme['imageset_path'] . '/imageset',
|
||||
'{T_IMAGESET_LANG_PATH}' => "{$phpbb_root_path}styles/" . $theme['imageset_path'] . '/imageset/' . $user_image_lang,
|
||||
'{T_STYLESHEET_NAME}' => $theme['theme_name'],
|
||||
'{S_USER_LANG}' => $user['user_lang']
|
||||
);
|
||||
|
||||
$theme['theme_data'] = str_replace(array_keys($replace), array_values($replace), $theme['theme_data']);
|
||||
|
||||
$matches = array();
|
||||
preg_match_all('#\{IMG_([A-Za-z0-9_]*?)_(WIDTH|HEIGHT|SRC)\}#', $theme['theme_data'], $matches);
|
||||
|
||||
$imgs = $find = $replace = array();
|
||||
if (isset($matches[0]) && sizeof($matches[0]))
|
||||
{
|
||||
foreach ($matches[1] as $i => $img)
|
||||
{
|
||||
$img = strtolower($img);
|
||||
$find[] = $matches[0][$i];
|
||||
|
||||
if (!isset($img_array[$img]))
|
||||
{
|
||||
$replace[] = '';
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!isset($imgs[$img]))
|
||||
{
|
||||
$img_data = &$img_array[$img];
|
||||
$imgsrc = ($img_data['image_lang'] ? $img_data['image_lang'] . '/' : '') . $img_data['image_filename'];
|
||||
$imgs[$img] = array(
|
||||
'src' => $phpbb_root_path . 'styles/' . $theme['imageset_path'] . '/imageset/' . $imgsrc,
|
||||
'width' => $img_data['image_width'],
|
||||
'height' => $img_data['image_height'],
|
||||
);
|
||||
}
|
||||
|
||||
switch ($matches[2][$i])
|
||||
{
|
||||
case 'SRC':
|
||||
$replace[] = $imgs[$img]['src'];
|
||||
break;
|
||||
|
||||
case 'WIDTH':
|
||||
$replace[] = $imgs[$img]['width'];
|
||||
break;
|
||||
|
||||
case 'HEIGHT':
|
||||
$replace[] = $imgs[$img]['height'];
|
||||
break;
|
||||
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (sizeof($find))
|
||||
{
|
||||
$theme['theme_data'] = str_replace($find, $replace, $theme['theme_data']);
|
||||
}
|
||||
}
|
||||
|
||||
// Echo Theme Data
|
||||
echo $theme['theme_data'];
|
||||
|
||||
if (!empty($cache))
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
#
|
||||
# phpBB Imageset Configuration File
|
||||
#
|
||||
# @package phpBB3
|
||||
# @copyright (c) 2006 phpBB Group
|
||||
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
#
|
||||
#
|
||||
# At the left is the name, please do not change this
|
||||
# At the right the value is entered
|
||||
# For on/off options the valid values are on, off, 1, 0, true and false
|
||||
#
|
||||
# Values get trimmed, if you want to add a space in front or at the end of
|
||||
# the value, then enclose the value with single or double quotes.
|
||||
# Single and double quotes do not need to be escaped.
|
||||
#
|
||||
#
|
||||
|
||||
# Images
|
||||
img_icon_contact_pm = icon_contact_pm.gif*20*28
|
||||
|
||||
img_icon_post_edit = icon_post_edit.gif*20*42
|
||||
img_icon_post_quote = icon_post_quote.gif*20*54
|
||||
|
||||
img_icon_user_online = icon_user_online.gif*58*58
|
||||
img_icon_user_offline =
|
||||
img_icon_user_search =
|
||||
|
||||
img_button_pm_forward = button_pm_forward.gif*25*96
|
||||
img_button_pm_new = button_pm_new.gif*25*84
|
||||
img_button_pm_reply = button_pm_reply.gif*25*96
|
||||
|
||||
img_button_topic_locked = button_topic_locked.gif*25*88
|
||||
img_button_topic_new = button_topic_new.gif*25*96
|
||||
img_button_topic_reply = button_topic_reply.gif*25*96
|
|
@ -1,116 +0,0 @@
|
|||
#
|
||||
# phpBB Imageset Configuration File
|
||||
#
|
||||
# @package phpBB3
|
||||
# @copyright (c) 2006 phpBB Group
|
||||
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
#
|
||||
#
|
||||
# At the left is the name, please do not change this
|
||||
# At the right the value is entered
|
||||
# For on/off options the valid values are on, off, 1, 0, true and false
|
||||
#
|
||||
# Values get trimmed, if you want to add a space in front or at the end of
|
||||
# the value, then enclose the value with single or double quotes.
|
||||
# Single and double quotes do not need to be escaped.
|
||||
#
|
||||
#
|
||||
|
||||
# General Information about this style
|
||||
name = prosilver
|
||||
copyright = © phpBB Group, 2007
|
||||
version = 3.1.0-dev
|
||||
|
||||
# Images
|
||||
img_site_logo = site_logo.gif*52*139
|
||||
img_poll_left =
|
||||
img_poll_center =
|
||||
img_poll_right =
|
||||
img_icon_friend =
|
||||
img_icon_foe =
|
||||
|
||||
img_forum_link = forum_link.gif*27*27
|
||||
img_forum_read = forum_read.gif*27*27
|
||||
img_forum_read_locked = forum_read_locked.gif*27*27
|
||||
img_forum_read_subforum = forum_read_subforum.gif*27*27
|
||||
img_forum_unread = forum_unread.gif*27*27
|
||||
img_forum_unread_locked = forum_unread_locked.gif*27*27
|
||||
img_forum_unread_subforum = forum_unread_subforum.gif*27*27
|
||||
|
||||
img_topic_moved = topic_moved.gif*27*27
|
||||
|
||||
img_topic_read = topic_read.gif*27*27
|
||||
img_topic_read_mine = topic_read_mine.gif*27*27
|
||||
img_topic_read_hot = topic_read_hot.gif*27*27
|
||||
img_topic_read_hot_mine = topic_read_hot_mine.gif*27*27
|
||||
img_topic_read_locked = topic_read_locked.gif*27*27
|
||||
img_topic_read_locked_mine = topic_read_locked_mine.gif*27*27
|
||||
|
||||
img_topic_unread = topic_unread.gif*27*27
|
||||
img_topic_unread_mine = topic_unread_mine.gif*27*27
|
||||
img_topic_unread_hot = topic_unread_hot.gif*27*27
|
||||
img_topic_unread_hot_mine = topic_unread_hot_mine.gif*27*27
|
||||
img_topic_unread_locked = topic_unread_locked.gif*27*27
|
||||
img_topic_unread_locked_mine = topic_unread_locked_mine.gif*27*27
|
||||
|
||||
img_sticky_read = sticky_read.gif*27*27
|
||||
img_sticky_read_mine = sticky_read_mine.gif*27*27
|
||||
img_sticky_read_locked = sticky_read_locked.gif*27*27
|
||||
img_sticky_read_locked_mine = sticky_read_locked_mine.gif*27*27
|
||||
img_sticky_unread = sticky_unread.gif*27*27
|
||||
img_sticky_unread_mine = sticky_unread_mine.gif*27*27
|
||||
img_sticky_unread_locked = sticky_unread_locked.gif*27*27
|
||||
img_sticky_unread_locked_mine = sticky_unread_locked_mine.gif*27*27
|
||||
|
||||
img_announce_read = announce_read.gif*27*27
|
||||
img_announce_read_mine = announce_read_mine.gif*27*27
|
||||
img_announce_read_locked = announce_read_locked.gif*27*27
|
||||
img_announce_read_locked_mine = announce_read_locked_mine.gif*27*27
|
||||
img_announce_unread = announce_unread.gif*27*27
|
||||
img_announce_unread_mine = announce_unread_mine.gif*27*27
|
||||
img_announce_unread_locked = announce_unread_locked.gif*27*27
|
||||
img_announce_unread_locked_mine = announce_unread_locked_mine.gif*27*27
|
||||
|
||||
img_global_read = announce_read.gif*27*27
|
||||
img_global_read_mine = announce_read_mine.gif*27*27
|
||||
img_global_read_locked = announce_read_locked.gif*27*27
|
||||
img_global_read_locked_mine = announce_read_locked_mine.gif*27*27
|
||||
img_global_unread = announce_unread.gif*27*27
|
||||
img_global_unread_mine = announce_unread_mine.gif*27*27
|
||||
img_global_unread_locked = announce_unread_locked.gif*27*27
|
||||
img_global_unread_locked_mine = announce_unread_locked_mine.gif*27*27
|
||||
|
||||
img_subforum_read = subforum_read.gif*9*11
|
||||
img_subforum_unread = subforum_unread.gif*9*11
|
||||
|
||||
img_pm_read = topic_read.gif*27*27
|
||||
img_pm_unread = topic_unread.gif*27*27
|
||||
|
||||
img_icon_back_top = icon_back_top.gif*11*11
|
||||
|
||||
img_icon_contact_aim = icon_contact_aim.gif*20*20
|
||||
img_icon_contact_email = icon_contact_email.gif*20*20
|
||||
img_icon_contact_icq = icon_contact_icq.gif*20*20
|
||||
img_icon_contact_jabber = icon_contact_jabber.gif*20*20
|
||||
img_icon_contact_msnm = icon_contact_msnm.gif*20*20
|
||||
|
||||
img_icon_contact_www = icon_contact_www.gif*20*20
|
||||
img_icon_contact_yahoo = icon_contact_yahoo.gif*20*20
|
||||
|
||||
img_icon_post_delete = icon_post_delete.gif*20*20
|
||||
|
||||
img_icon_post_info = icon_post_info.gif*20*20
|
||||
|
||||
img_icon_post_report = icon_post_report.gif*20*20
|
||||
img_icon_post_target = icon_post_target.gif*9*11
|
||||
img_icon_post_target_unread = icon_post_target_unread.gif*9*11
|
||||
|
||||
img_icon_topic_attach = icon_topic_attach.gif*10*7
|
||||
img_icon_topic_latest = icon_topic_latest.gif*9*11
|
||||
img_icon_topic_newest = icon_topic_newest.gif*9*11
|
||||
img_icon_topic_reported = icon_topic_reported.gif*14*16
|
||||
img_icon_topic_unapproved = icon_topic_unapproved.gif*14*16
|
||||
|
||||
img_icon_user_profile =
|
||||
|
||||
img_icon_user_warn = icon_user_warn.gif*20*20
|
|
@ -78,6 +78,7 @@
|
|||
|
||||
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
|
||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
|
||||
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
|
||||
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
|
||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
|
||||
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
|
|
|
@ -42,12 +42,12 @@
|
|||
.forwardpm-icon span { background: none 0 0 no-repeat; }
|
||||
|
||||
/* Set big button dimensions */
|
||||
.buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }
|
||||
.buttons div.post-icon { width: {IMG_BUTTON_TOPIC_NEW_WIDTH}px; height: {IMG_BUTTON_TOPIC_NEW_HEIGHT}px; }
|
||||
.buttons div.locked-icon { width: {IMG_BUTTON_TOPIC_LOCKED_WIDTH}px; height: {IMG_BUTTON_TOPIC_LOCKED_HEIGHT}px; }
|
||||
.buttons div.pmreply-icon { width: {IMG_BUTTON_PM_REPLY_WIDTH}px; height: {IMG_BUTTON_PM_REPLY_HEIGHT}px; }
|
||||
.buttons div.newpm-icon { width: {IMG_BUTTON_PM_NEW_WIDTH}px; height: {IMG_BUTTON_PM_NEW_HEIGHT}px; }
|
||||
.buttons div.forwardpm-icon { width: {IMG_BUTTON_PM_FORWARD_WIDTH}px; height: {IMG_BUTTON_PM_FORWARD_HEIGHT}px; }
|
||||
.buttons div.reply-icon { width: 96px; height: 25px; }
|
||||
.buttons div.post-icon { width: 96px; height: 25px; }
|
||||
.buttons div.locked-icon { width: 88px; height: 25px; }
|
||||
.buttons div.pmreply-icon { width: 96px; height: 25px; }
|
||||
.buttons div.newpm-icon { width: 84px; height: 25px; }
|
||||
.buttons div.forwardpm-icon { width: 96px; height: 25px; }
|
||||
|
||||
/* Sub-header (navigation bar)
|
||||
--------------------------------------------- */
|
||||
|
@ -136,20 +136,20 @@ ul.profile-icons li a:hover { background: none; }
|
|||
.info-icon, .info-icon a { background: none top left no-repeat; }
|
||||
|
||||
/* Set profile icon dimensions */
|
||||
ul.profile-icons li.email-icon { width: {IMG_ICON_CONTACT_EMAIL_WIDTH}px; height: {IMG_ICON_CONTACT_EMAIL_HEIGHT}px; }
|
||||
ul.profile-icons li.aim-icon { width: {IMG_ICON_CONTACT_AIM_WIDTH}px; height: {IMG_ICON_CONTACT_AIM_HEIGHT}px; }
|
||||
ul.profile-icons li.yahoo-icon { width: {IMG_ICON_CONTACT_YAHOO_WIDTH}px; height: {IMG_ICON_CONTACT_YAHOO_HEIGHT}px; }
|
||||
ul.profile-icons li.web-icon { width: {IMG_ICON_CONTACT_WWW_WIDTH}px; height: {IMG_ICON_CONTACT_WWW_HEIGHT}px; }
|
||||
ul.profile-icons li.msnm-icon { width: {IMG_ICON_CONTACT_MSNM_WIDTH}px; height: {IMG_ICON_CONTACT_MSNM_HEIGHT}px; }
|
||||
ul.profile-icons li.icq-icon { width: {IMG_ICON_CONTACT_ICQ_WIDTH}px; height: {IMG_ICON_CONTACT_ICQ_HEIGHT}px; }
|
||||
ul.profile-icons li.jabber-icon { width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; }
|
||||
ul.profile-icons li.pm-icon { width: {IMG_ICON_CONTACT_PM_WIDTH}px; height: {IMG_ICON_CONTACT_PM_HEIGHT}px; }
|
||||
ul.profile-icons li.quote-icon { width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; }
|
||||
ul.profile-icons li.report-icon { width: {IMG_ICON_POST_REPORT_WIDTH}px; height: {IMG_ICON_POST_REPORT_HEIGHT}px; }
|
||||
ul.profile-icons li.edit-icon { width: {IMG_ICON_POST_EDIT_WIDTH}px; height: {IMG_ICON_POST_EDIT_HEIGHT}px; }
|
||||
ul.profile-icons li.delete-icon { width: {IMG_ICON_POST_DELETE_WIDTH}px; height: {IMG_ICON_POST_DELETE_HEIGHT}px; }
|
||||
ul.profile-icons li.info-icon { width: {IMG_ICON_POST_INFO_WIDTH}px; height: {IMG_ICON_POST_INFO_HEIGHT}px; }
|
||||
ul.profile-icons li.warn-icon { width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; }
|
||||
ul.profile-icons li.email-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.aim-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.web-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.msnm-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.icq-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.jabber-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.pm-icon { width: 28px; height: 20px; }
|
||||
ul.profile-icons li.quote-icon { width: 54px; height: 20px; }
|
||||
ul.profile-icons li.report-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.edit-icon { width: 42px; height: 20px; }
|
||||
ul.profile-icons li.delete-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.info-icon { width: 20px; height: 20px; }
|
||||
ul.profile-icons li.warn-icon { width: 20px; height: 20px; }
|
||||
|
||||
/* Fix profile icon default margins */
|
||||
ul.profile-icons li.edit-icon { margin: 0 0 0 3px; }
|
||||
|
|
|
@ -49,7 +49,7 @@ hr.dashed {
|
|||
---------------------------------------- */
|
||||
.headerbar {
|
||||
background-color: #12A3EB;
|
||||
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
|
||||
background-image: url("./images/bg_header.gif");
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
@ -59,12 +59,12 @@ hr.dashed {
|
|||
|
||||
.forabg {
|
||||
background-color: #0076b1;
|
||||
background-image: url("{T_THEME_PATH}/images/bg_list.gif");
|
||||
background-image: url("./images/bg_list.gif");
|
||||
}
|
||||
|
||||
.forumbg {
|
||||
background-color: #12A3EB;
|
||||
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
|
||||
background-image: url("./images/bg_header.gif");
|
||||
}
|
||||
|
||||
.panel {
|
||||
|
@ -93,19 +93,19 @@ hr.dashed {
|
|||
}
|
||||
|
||||
span.corners-top {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left.png");
|
||||
background-image: url("./images/corners_left.png");
|
||||
}
|
||||
|
||||
span.corners-top span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right.png");
|
||||
background-image: url("./images/corners_right.png");
|
||||
}
|
||||
|
||||
span.corners-bottom {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left.png");
|
||||
background-image: url("./images/corners_left.png");
|
||||
}
|
||||
|
||||
span.corners-bottom span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right.png");
|
||||
background-image: url("./images/corners_right.png");
|
||||
}
|
||||
|
||||
/* Horizontal lists
|
||||
|
@ -191,7 +191,7 @@ dl.details dd {
|
|||
|
||||
/* Pagination in viewforum for multipage topics */
|
||||
.row .pagination {
|
||||
background-image: url("{T_THEME_PATH}/images/icon_pages.gif");
|
||||
background-image: url("./images/icon_pages.gif");
|
||||
}
|
||||
|
||||
.row .pagination span a, li.pagination span a {
|
||||
|
@ -338,18 +338,18 @@ a.topictitle:active {
|
|||
|
||||
/* Back to top of page */
|
||||
a.top {
|
||||
background-image: url("{IMG_ICON_BACK_TOP_SRC}");
|
||||
background-image: url("./images/icon_back_top.gif");
|
||||
}
|
||||
|
||||
a.top2 {
|
||||
background-image: url("{IMG_ICON_BACK_TOP_SRC}");
|
||||
background-image: url("./images/icon_back_top.gif");
|
||||
}
|
||||
|
||||
/* Arrow links */
|
||||
a.up { background-image: url("{T_THEME_PATH}/images/arrow_up.gif") }
|
||||
a.down { background-image: url("{T_THEME_PATH}/images/arrow_down.gif") }
|
||||
a.left { background-image: url("{T_THEME_PATH}/images/arrow_left.gif") }
|
||||
a.right { background-image: url("{T_THEME_PATH}/images/arrow_right.gif") }
|
||||
a.up { background-image: url("./images/arrow_up.gif") }
|
||||
a.down { background-image: url("./images/arrow_down.gif") }
|
||||
a.left { background-image: url("./images/arrow_left.gif") }
|
||||
a.right { background-image: url("./images/arrow_right.gif") }
|
||||
|
||||
a.up:hover {
|
||||
background-color: transparent;
|
||||
|
@ -371,7 +371,7 @@ Colours and backgrounds for content.css
|
|||
|
||||
ul.forums {
|
||||
background-color: #eef5f9;
|
||||
background-image: url("{T_THEME_PATH}/images/gradient.gif");
|
||||
background-image: url("./images/gradient.gif");
|
||||
}
|
||||
|
||||
ul.topiclist li {
|
||||
|
@ -388,11 +388,11 @@ ul.topiclist dd {
|
|||
}
|
||||
|
||||
ul.topiclist li.row dt a.subforum.read {
|
||||
background-image: url("{IMG_SUBFORUM_READ_SRC}");
|
||||
background-image: url("./images/subforum_read.gif");
|
||||
}
|
||||
|
||||
ul.topiclist li.row dt a.subforum.unread {
|
||||
background-image: url("{IMG_SUBFORUM_UNREAD_SRC}");
|
||||
background-image: url("./images/subforum_unread.gif");
|
||||
}
|
||||
|
||||
li.row {
|
||||
|
@ -467,12 +467,12 @@ dl.faq dt {
|
|||
/* Quote block */
|
||||
blockquote {
|
||||
background-color: #EBEADD;
|
||||
background-image: url("{T_THEME_PATH}/images/quote.gif");
|
||||
background-image: url("./images/quote.gif");
|
||||
border-color:#DBDBCE;
|
||||
}
|
||||
|
||||
.rtl blockquote {
|
||||
background-image: url("{T_THEME_PATH}/images/quote_rtl.gif");
|
||||
background-image: url("./images/quote_rtl.gif");
|
||||
}
|
||||
|
||||
blockquote blockquote {
|
||||
|
@ -652,7 +652,7 @@ fieldset.polls dd div {
|
|||
}
|
||||
|
||||
.online {
|
||||
background-image: url("{IMG_ICON_USER_ONLINE_SRC}");
|
||||
background-image: url("./en/icon_user_online.gif");
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -661,107 +661,107 @@ Colours and backgrounds for buttons.css
|
|||
-------------------------------------------------------------- */
|
||||
|
||||
/* Big button images */
|
||||
.reply-icon span { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); }
|
||||
.post-icon span { background-image: url("{IMG_BUTTON_TOPIC_NEW_SRC}"); }
|
||||
.locked-icon span { background-image: url("{IMG_BUTTON_TOPIC_LOCKED_SRC}"); }
|
||||
.pmreply-icon span { background-image: url("{IMG_BUTTON_PM_REPLY_SRC}") ;}
|
||||
.newpm-icon span { background-image: url("{IMG_BUTTON_PM_NEW_SRC}") ;}
|
||||
.forwardpm-icon span { background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}") ;}
|
||||
.reply-icon span { background-image: url("./en/button_topic_reply.gif"); }
|
||||
.post-icon span { background-image: url("./en/button_topic_new.gif"); }
|
||||
.locked-icon span { background-image: url("./en/button_topic_locked.gif"); }
|
||||
.pmreply-icon span { background-image: url("./en/button_pm_reply.gif") ;}
|
||||
.newpm-icon span { background-image: url("./en/button_pm_new.gif") ;}
|
||||
.forwardpm-icon span { background-image: url("./en/button_pm_forward.gif") ;}
|
||||
|
||||
a.print {
|
||||
background-image: url("{T_THEME_PATH}/images/icon_print.gif");
|
||||
background-image: url("./images/icon_print.gif");
|
||||
}
|
||||
|
||||
a.sendemail {
|
||||
background-image: url("{T_THEME_PATH}/images/icon_sendemail.gif");
|
||||
background-image: url("./images/icon_sendemail.gif");
|
||||
}
|
||||
|
||||
/* Icon images
|
||||
---------------------------------------- */
|
||||
.sitehome { background-image: url("{T_THEME_PATH}/images/icon_home.gif"); }
|
||||
.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
|
||||
.icon-members { background-image: url("{T_THEME_PATH}/images/icon_members.gif"); }
|
||||
.icon-home { background-image: url("{T_THEME_PATH}/images/icon_home.gif"); }
|
||||
.icon-ucp { background-image: url("{T_THEME_PATH}/images/icon_ucp.gif"); }
|
||||
.icon-register { background-image: url("{T_THEME_PATH}/images/icon_register.gif"); }
|
||||
.icon-logout { background-image: url("{T_THEME_PATH}/images/icon_logout.gif"); }
|
||||
.icon-bookmark { background-image: url("{T_THEME_PATH}/images/icon_bookmark.gif"); }
|
||||
.icon-bump { background-image: url("{T_THEME_PATH}/images/icon_bump.gif"); }
|
||||
.icon-subscribe { background-image: url("{T_THEME_PATH}/images/icon_subscribe.gif"); }
|
||||
.icon-unsubscribe { background-image: url("{T_THEME_PATH}/images/icon_unsubscribe.gif"); }
|
||||
.icon-pages { background-image: url("{T_THEME_PATH}/images/icon_pages.gif"); }
|
||||
.icon-search { background-image: url("{T_THEME_PATH}/images/icon_search.gif"); }
|
||||
.sitehome { background-image: url("./images/icon_home.gif"); }
|
||||
.icon-faq { background-image: url("./images/icon_faq.gif"); }
|
||||
.icon-members { background-image: url("./images/icon_members.gif"); }
|
||||
.icon-home { background-image: url("./images/icon_home.gif"); }
|
||||
.icon-ucp { background-image: url("./images/icon_ucp.gif"); }
|
||||
.icon-register { background-image: url("./images/icon_register.gif"); }
|
||||
.icon-logout { background-image: url("./images/icon_logout.gif"); }
|
||||
.icon-bookmark { background-image: url("./images/icon_bookmark.gif"); }
|
||||
.icon-bump { background-image: url("./images/icon_bump.gif"); }
|
||||
.icon-subscribe { background-image: url("./images/icon_subscribe.gif"); }
|
||||
.icon-unsubscribe { background-image: url("./images/icon_unsubscribe.gif"); }
|
||||
.icon-pages { background-image: url("./images/icon_pages.gif"); }
|
||||
.icon-search { background-image: url("./images/icon_search.gif"); }
|
||||
|
||||
/* Profile & navigation icons */
|
||||
.email-icon, .email-icon a { background-image: url("{IMG_ICON_CONTACT_EMAIL_SRC}"); }
|
||||
.aim-icon, .aim-icon a { background-image: url("{IMG_ICON_CONTACT_AIM_SRC}"); }
|
||||
.yahoo-icon, .yahoo-icon a { background-image: url("{IMG_ICON_CONTACT_YAHOO_SRC}"); }
|
||||
.web-icon, .web-icon a { background-image: url("{IMG_ICON_CONTACT_WWW_SRC}"); }
|
||||
.msnm-icon, .msnm-icon a { background-image: url("{IMG_ICON_CONTACT_MSNM_SRC}"); }
|
||||
.icq-icon, .icq-icon a { background-image: url("{IMG_ICON_CONTACT_ICQ_SRC}"); }
|
||||
.jabber-icon, .jabber-icon a { background-image: url("{IMG_ICON_CONTACT_JABBER_SRC}"); }
|
||||
.pm-icon, .pm-icon a { background-image: url("{IMG_ICON_CONTACT_PM_SRC}"); }
|
||||
.quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }
|
||||
.email-icon, .email-icon a { background-image: url("./images/icon_contact_email.gif"); }
|
||||
.aim-icon, .aim-icon a { background-image: url("./images/icon_contact_aim.gif"); }
|
||||
.yahoo-icon, .yahoo-icon a { background-image: url("./images/icon_contact_yahoo.gif"); }
|
||||
.web-icon, .web-icon a { background-image: url("./images/icon_contact_www.gif"); }
|
||||
.msnm-icon, .msnm-icon a { background-image: url("./images/icon_contact_msnm.gif"); }
|
||||
.icq-icon, .icq-icon a { background-image: url("./images/icon_contact_icq.gif"); }
|
||||
.jabber-icon, .jabber-icon a { background-image: url("./images/icon_contact_jabber.gif"); }
|
||||
.pm-icon, .pm-icon a { background-image: url("./en/icon_contact_pm.gif"); }
|
||||
.quote-icon, .quote-icon a { background-image: url("./en/icon_post_quote.gif"); }
|
||||
|
||||
/* Moderator icons */
|
||||
.report-icon, .report-icon a { background-image: url("{IMG_ICON_POST_REPORT_SRC}"); }
|
||||
.edit-icon, .edit-icon a { background-image: url("{IMG_ICON_POST_EDIT_SRC}"); }
|
||||
.delete-icon, .delete-icon a { background-image: url("{IMG_ICON_POST_DELETE_SRC}"); }
|
||||
.info-icon, .info-icon a { background-image: url("{IMG_ICON_POST_INFO_SRC}"); }
|
||||
.warn-icon, .warn-icon a { background-image: url("{IMG_ICON_USER_WARN_SRC}"); } /* Need updated warn icon */
|
||||
.report-icon, .report-icon a { background-image: url("./images/icon_post_report.gif"); }
|
||||
.edit-icon, .edit-icon a { background-image: url("./en/icon_post_edit.gif"); }
|
||||
.delete-icon, .delete-icon a { background-image: url("./images/icon_post_delete.gif"); }
|
||||
.info-icon, .info-icon a { background-image: url("./images/icon_post_info.gif"); }
|
||||
.warn-icon, .warn-icon a { background-image: url("./images/icon_user_warn.gif"); } /* Need updated warn icon */
|
||||
|
||||
/* Forum icons & Topic icons */
|
||||
.global_read { background-image: url("{IMG_GLOBAL_READ_SRC}"); }
|
||||
.global_read_mine { background-image: url("{IMG_GLOBAL_READ_MINE_SRC}"); }
|
||||
.global_read_locked { background-image: url("{IMG_GLOBAL_READ_LOCKED_SRC}"); }
|
||||
.global_read_locked_mine { background-image: url("{IMG_GLOBAL_READ_LOCKED_MINE_SRC}"); }
|
||||
.global_unread { background-image: url("{IMG_GLOBAL_UNREAD_SRC}"); }
|
||||
.global_unread_mine { background-image: url("{IMG_GLOBAL_UNREAD_MINE_SRC}"); }
|
||||
.global_unread_locked { background-image: url("{IMG_GLOBAL_UNREAD_LOCKED_SRC}"); }
|
||||
.global_unread_locked_mine { background-image: url("{IMG_GLOBAL_UNREAD_LOCKED_MINE_SRC}"); }
|
||||
.global_read { background-image: url("./images/announce_read.gif"); }
|
||||
.global_read_mine { background-image: url("./images/announce_read_mine.gif"); }
|
||||
.global_read_locked { background-image: url("./images/announce_read_locked.gif"); }
|
||||
.global_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
|
||||
.global_unread { background-image: url("./images/announce_unread.gif"); }
|
||||
.global_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
|
||||
.global_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
|
||||
.global_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
|
||||
|
||||
.announce_read { background-image: url("{IMG_ANNOUNCE_READ_SRC}"); }
|
||||
.announce_read_mine { background-image: url("{IMG_ANNOUNCE_READ_MINE_SRC}"); }
|
||||
.announce_read_locked { background-image: url("{IMG_ANNOUNCE_READ_LOCKED_SRC}"); }
|
||||
.announce_read_locked_mine { background-image: url("{IMG_ANNOUNCE_READ_LOCKED_MINE_SRC}"); }
|
||||
.announce_unread { background-image: url("{IMG_ANNOUNCE_UNREAD_SRC}"); }
|
||||
.announce_unread_mine { background-image: url("{IMG_ANNOUNCE_UNREAD_MINE_SRC}"); }
|
||||
.announce_unread_locked { background-image: url("{IMG_ANNOUNCE_UNREAD_LOCKED_SRC}"); }
|
||||
.announce_unread_locked_mine { background-image: url("{IMG_ANNOUNCE_UNREAD_LOCKED_MINE_SRC}"); }
|
||||
.announce_read { background-image: url("./images/announce_read.gif"); }
|
||||
.announce_read_mine { background-image: url("./images/announce_read_mine.gif"); }
|
||||
.announce_read_locked { background-image: url("./images/announce_read_locked.gif"); }
|
||||
.announce_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
|
||||
.announce_unread { background-image: url("./images/announce_unread.gif"); }
|
||||
.announce_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
|
||||
.announce_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
|
||||
.announce_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
|
||||
|
||||
.forum_link { background-image: url("{IMG_FORUM_LINK_SRC}"); }
|
||||
.forum_read { background-image: url("{IMG_FORUM_READ_SRC}"); }
|
||||
.forum_read_locked { background-image: url("{IMG_FORUM_READ_LOCKED_SRC}"); }
|
||||
.forum_read_subforum { background-image: url("{IMG_FORUM_READ_SUBFORUM_SRC}"); }
|
||||
.forum_unread { background-image: url("{IMG_FORUM_UNREAD_SRC}"); }
|
||||
.forum_unread_locked { background-image: url("{IMG_FORUM_UNREAD_LOCKED_SRC}"); }
|
||||
.forum_unread_subforum { background-image: url("{IMG_FORUM_UNREAD_SUBFORUM_SRC}"); }
|
||||
.forum_link { background-image: url("./images/forum_link.gif"); }
|
||||
.forum_read { background-image: url("./images/forum_read.gif"); }
|
||||
.forum_read_locked { background-image: url("./images/forum_read_locked.gif"); }
|
||||
.forum_read_subforum { background-image: url("./images/forum_read_subforum.gif"); }
|
||||
.forum_unread { background-image: url("./images/forum_unread.gif"); }
|
||||
.forum_unread_locked { background-image: url("./images/forum_unread_locked.gif"); }
|
||||
.forum_unread_subforum { background-image: url("./images/forum_unread_subforum.gif"); }
|
||||
|
||||
.sticky_read { background-image: url("{IMG_STICKY_READ_SRC}"); }
|
||||
.sticky_read_mine { background-image: url("{IMG_STICKY_READ_MINE_SRC}"); }
|
||||
.sticky_read_locked { background-image: url("{IMG_STICKY_READ_LOCKED_SRC}"); }
|
||||
.sticky_read_locked_mine { background-image: url("{IMG_STICKY_READ_LOCKED_MINE_SRC}"); }
|
||||
.sticky_unread { background-image: url("{IMG_STICKY_UNREAD_SRC}"); }
|
||||
.sticky_unread_mine { background-image: url("{IMG_STICKY_UNREAD_MINE_SRC}"); }
|
||||
.sticky_unread_locked { background-image: url("{IMG_STICKY_UNREAD_LOCKED_SRC}"); }
|
||||
.sticky_unread_locked_mine { background-image: url("{IMG_STICKY_UNREAD_LOCKED_MINE_SRC}"); }
|
||||
.sticky_read { background-image: url("./images/sticky_read.gif"); }
|
||||
.sticky_read_mine { background-image: url("./images/sticky_read_mine.gif"); }
|
||||
.sticky_read_locked { background-image: url("./images/sticky_read_locked.gif"); }
|
||||
.sticky_read_locked_mine { background-image: url("./images/sticky_read_locked_mine.gif"); }
|
||||
.sticky_unread { background-image: url("./images/sticky_unread.gif"); }
|
||||
.sticky_unread_mine { background-image: url("./images/sticky_unread_mine.gif"); }
|
||||
.sticky_unread_locked { background-image: url("./images/sticky_unread_locked.gif"); }
|
||||
.sticky_unread_locked_mine { background-image: url("./images/sticky_unread_locked_mine.gif"); }
|
||||
|
||||
.topic_moved { background-image: url("{IMG_TOPIC_MOVED_SRC}"); }
|
||||
.topic_read { background-image: url("{IMG_TOPIC_READ_SRC}"); }
|
||||
.topic_read_mine { background-image: url("{IMG_TOPIC_READ_MINE_SRC}"); }
|
||||
.topic_read_hot { background-image: url("{IMG_TOPIC_READ_HOT_SRC}"); }
|
||||
.topic_read_hot_mine { background-image: url("{IMG_TOPIC_READ_HOT_MINE_SRC}"); }
|
||||
.topic_read_locked { background-image: url("{IMG_TOPIC_READ_LOCKED_SRC}"); }
|
||||
.topic_read_locked_mine { background-image: url("{IMG_TOPIC_READ_LOCKED_MINE_SRC}"); }
|
||||
.topic_unread { background-image: url("{IMG_TOPIC_UNREAD_SRC}"); }
|
||||
.topic_unread_mine { background-image: url("{IMG_TOPIC_UNREAD_MINE_SRC}"); }
|
||||
.topic_unread_hot { background-image: url("{IMG_TOPIC_UNREAD_HOT_SRC}"); }
|
||||
.topic_unread_hot_mine { background-image: url("{IMG_TOPIC_UNREAD_HOT_MINE_SRC}"); }
|
||||
.topic_unread_locked { background-image: url("{IMG_TOPIC_UNREAD_LOCKED_SRC}"); }
|
||||
.topic_unread_locked_mine { background-image: url("{IMG_TOPIC_UNREAD_LOCKED_MINE_SRC}"); }
|
||||
.topic_moved { background-image: url("./images/topic_moved.gif"); }
|
||||
.topic_read { background-image: url("./images/topic_read.gif"); }
|
||||
.topic_read_mine { background-image: url("./images/topic_read_mine.gif"); }
|
||||
.topic_read_hot { background-image: url("./images/topic_read_hot.gif"); }
|
||||
.topic_read_hot_mine { background-image: url("./images/topic_read_hot_mine.gif"); }
|
||||
.topic_read_locked { background-image: url("./images/topic_read_locked.gif"); }
|
||||
.topic_read_locked_mine { background-image: url("./images/topic_read_locked_mine.gif"); }
|
||||
.topic_unread { background-image: url("./images/topic_unread.gif"); }
|
||||
.topic_unread_mine { background-image: url("./images/topic_unread_mine.gif"); }
|
||||
.topic_unread_hot { background-image: url("./images/topic_unread_hot.gif"); }
|
||||
.topic_unread_hot_mine { background-image: url("./images/topic_unread_hot_mine.gif"); }
|
||||
.topic_unread_locked { background-image: url("./images/topic_unread_locked.gif"); }
|
||||
.topic_unread_locked_mine { background-image: url("./images/topic_unread_locked_mine.gif"); }
|
||||
|
||||
.pm_read { background-image: url("{IMG_TOPIC_READ_SRC}"); }
|
||||
.pm_unread { background-image: url("{IMG_TOPIC_UNREAD_SRC}"); }
|
||||
.pm_read { background-image: url("./images/topic_read.gif"); }
|
||||
.pm_unread { background-image: url("./images/topic_unread.gif"); }
|
||||
|
||||
/*
|
||||
--------------------------------------------------------------
|
||||
|
@ -801,11 +801,11 @@ ul.cplist {
|
|||
/* CP tabbed menu
|
||||
----------------------------------------*/
|
||||
#tabs a {
|
||||
background-image: url("{T_THEME_PATH}/images/bg_tabs1.gif");
|
||||
background-image: url("./images/bg_tabs1.gif");
|
||||
}
|
||||
|
||||
#tabs a span {
|
||||
background-image: url("{T_THEME_PATH}/images/bg_tabs2.gif");
|
||||
background-image: url("./images/bg_tabs2.gif");
|
||||
color: #536482;
|
||||
}
|
||||
|
||||
|
@ -846,11 +846,11 @@ ul.cplist {
|
|||
#navigation a {
|
||||
color: #333;
|
||||
background-color: #B2C2CF;
|
||||
background-image: url("{T_THEME_PATH}/images/bg_menu.gif");
|
||||
background-image: url("./images/bg_menu.gif");
|
||||
}
|
||||
|
||||
.rtl #navigation a {
|
||||
background-image: url("{T_THEME_PATH}/images/bg_menu_rtl.gif");
|
||||
background-image: url("./images/bg_menu_rtl.gif");
|
||||
background-position: 0 100%;
|
||||
}
|
||||
|
||||
|
@ -885,36 +885,36 @@ ul.cplist {
|
|||
}
|
||||
|
||||
#cp-main span.corners-top, #cp-menu span.corners-top {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left2.gif");
|
||||
background-image: url("./images/corners_left2.gif");
|
||||
}
|
||||
|
||||
#cp-main span.corners-top span, #cp-menu span.corners-top span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right2.gif");
|
||||
background-image: url("./images/corners_right2.gif");
|
||||
}
|
||||
|
||||
#cp-main span.corners-bottom, #cp-menu span.corners-bottom {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left2.gif");
|
||||
background-image: url("./images/corners_left2.gif");
|
||||
}
|
||||
|
||||
#cp-main span.corners-bottom span, #cp-menu span.corners-bottom span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right2.gif");
|
||||
background-image: url("./images/corners_right2.gif");
|
||||
}
|
||||
|
||||
/* Topicreview */
|
||||
#cp-main .panel #topicreview span.corners-top, #cp-menu .panel #topicreview span.corners-top {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left.gif");
|
||||
background-image: url("./images/corners_left.gif");
|
||||
}
|
||||
|
||||
#cp-main .panel #topicreview span.corners-top span, #cp-menu .panel #topicreview span.corners-top span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right.gif");
|
||||
background-image: url("./images/corners_right.gif");
|
||||
}
|
||||
|
||||
#cp-main .panel #topicreview span.corners-bottom, #cp-menu .panel #topicreview span.corners-bottom {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_left.gif");
|
||||
background-image: url("./images/corners_left.gif");
|
||||
}
|
||||
|
||||
#cp-main .panel #topicreview span.corners-bottom span, #cp-menu .panel #topicreview span.corners-bottom span {
|
||||
background-image: url("{T_THEME_PATH}/images/corners_right.gif");
|
||||
background-image: url("./images/corners_right.gif");
|
||||
}
|
||||
|
||||
/* Friends list */
|
||||
|
@ -1042,7 +1042,7 @@ fieldset.quick-login input.inputbox {
|
|||
a.button1, input.button1, input.button3, a.button2, input.button2 {
|
||||
color: #000;
|
||||
background-color: #FAFAFA;
|
||||
background-image: url("{T_THEME_PATH}/images/bg_button.gif");
|
||||
background-image: url("./images/bg_button.gif");
|
||||
}
|
||||
|
||||
a.button1, input.button1 {
|
||||
|
@ -1070,7 +1070,7 @@ a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, inpu
|
|||
}
|
||||
|
||||
input.search {
|
||||
background-image: url("{T_THEME_PATH}/images/icon_textbox_search.gif");
|
||||
background-image: url("./images/icon_textbox_search.gif");
|
||||
}
|
||||
|
||||
input.disabled {
|
||||
|
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
64
phpBB/styles/prosilver/theme/en/stylesheet.css
Normal file
|
@ -0,0 +1,64 @@
|
|||
/* Set big button dimensions */
|
||||
.buttons div.reply-icon { width: 96px; height: 25px; }
|
||||
.buttons div.post-icon { width: 96px; height: 25px; }
|
||||
.buttons div.locked-icon { width: 88px; height: 25px; }
|
||||
.buttons div.pmreply-icon { width: 96px; height: 25px; }
|
||||
.buttons div.newpm-icon { width: 84px; height: 25px; }
|
||||
.buttons div.forwardpm-icon { width: 96px; height: 25px; }
|
||||
|
||||
/* Set profile icon dimensions */
|
||||
ul.profile-icons li.pm-icon { width: 28px; height: 20px; }
|
||||
ul.profile-icons li.quote-icon { width: 54px; height: 20px; }
|
||||
ul.profile-icons li.edit-icon { width: 42px; height: 20px; }
|
||||
|
||||
/* EN Language Pack */
|
||||
.imageset.icon_contact_pm {
|
||||
background-image: url("./icon_contact_pm.gif");
|
||||
padding-left: 28px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.imageset.icon_post_edit {
|
||||
background-image: url("./icon_post_edit.gif");
|
||||
padding-left: 42px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.imageset.icon_post_quote {
|
||||
background-image: url("./icon_post_quote.gif");
|
||||
padding-left: 54px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.imageset.icon_user_online {
|
||||
background-image: url("./icon_user_online.gif");
|
||||
padding-left: 58px;
|
||||
padding-top: 58px;
|
||||
}
|
||||
.imageset.button_pm_forward {
|
||||
background-image: url("./button_pm_forward.gif");
|
||||
padding-left: 96px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.imageset.button_pm_new {
|
||||
background-image: url("./button_pm_new.gif");
|
||||
padding-left: 84px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.imageset.button_pm_reply {
|
||||
background-image: url("./button_pm_reply.gif");
|
||||
padding-left: 96px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.imageset.button_topic_locked {
|
||||
background-image: url("./button_topic_locked.gif");
|
||||
padding-left: 88px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.imageset.button_topic_new {
|
||||
background-image: url("./button_topic_new.gif");
|
||||
padding-left: 96px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.imageset.button_topic_reply {
|
||||
background-image: url("./button_topic_reply.gif");
|
||||
padding-left: 96px;
|
||||
padding-top: 25px;
|
||||
}
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 754 B |
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 738 B |
Before Width: | Height: | Size: 753 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 755 B |
Before Width: | Height: | Size: 791 B After Width: | Height: | Size: 791 B |
Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 734 B |
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 562 B |
Before Width: | Height: | Size: 1,014 B After Width: | Height: | Size: 1,014 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 590 B After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 528 B After Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 144 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 626 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 679 B After Width: | Height: | Size: 679 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |