mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13995] Remove deprecated projection media type
PHPBB3-13995
This commit is contained in:
parent
60b4d5132f
commit
498a516017
7 changed files with 11 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="phpBB 3.1.x Changelog" />
|
||||
<title>phpBB • Changelog</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="phpBB 3.1.x frequently asked questions" />
|
||||
<title>phpBB • FAQ</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="phpBB 3.1.x Installation, updating and conversion informations" />
|
||||
<title>phpBB • Install</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="phpBB 3.1.x Readme" />
|
||||
<title>phpBB • Readme</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="This is an explanation of how to use the phpBB auth/acl API" />
|
||||
<title>phpBB3 • Auth API</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
@ -110,7 +110,7 @@ $auth = new phpbb\auth\auth();</pre>
|
|||
<p>Following are the methods you are able to use.</p>
|
||||
|
||||
<a name="acl"></a><h3>2.i. acl</h3>
|
||||
|
||||
|
||||
<p>The <code>acl</code> method is the initialisation routine for all the acl functions. If you intend calling any acl method you must first call this. The method takes as its one and only required parameter an associative array containing user information as stored in the database. This array must contain at least the following information; user_id, user_permissions and user_type. It is called in the following way:</p>
|
||||
|
||||
<div class="codebox"><pre>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="description" content="Ascraeus coding guidelines document" />
|
||||
<title>phpBB3 • Coding Guidelines</title>
|
||||
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
|
||||
</head>
|
||||
|
||||
|
@ -300,9 +300,9 @@ PHPBB_QA (Set board to QA-Mode, which means the updater also c
|
|||
<div class="indent">
|
||||
<p><code>$current_user</code> is right, but <code>$currentuser</code> and <code> $currentUser</code> are not.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<p>In JavaScript, variable names should use camel case:</p>
|
||||
|
||||
|
||||
<div class="indent">
|
||||
<p><code>currentUser</code> is right, but <code>currentuser</code> and <code>current_user</code> are not.</p>
|
||||
</div>
|
||||
|
@ -431,7 +431,7 @@ function do_stuff()
|
|||
...
|
||||
}</pre>
|
||||
</div>
|
||||
|
||||
|
||||
<p>In JavaScript code, braces always go on the same line:</p>
|
||||
|
||||
<div class="codebox"><pre>
|
||||
|
|
|
@ -31,7 +31,7 @@ class includecss extends \phpbb\template\twig\node\includeasset
|
|||
$compiler
|
||||
->raw("<link href=\"' . ")
|
||||
->raw("\$asset_file . '\"")
|
||||
->raw(' rel="stylesheet" type="text/css" media="screen, projection" />')
|
||||
->raw(' rel="stylesheet" type="text/css" media="screen" />')
|
||||
;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue