Remove references to removed options
In commit cb7cc643bf
the other options
were removed, as discussed.
This commit now removes references to these options from the codebase.
SPR-754
This commit is contained in:
parent
1c24bf1989
commit
e302d67fb6
4 changed files with 12 additions and 12 deletions
|
@ -17,7 +17,7 @@ echo Template::getResizedImgTag(
|
|||
'link',
|
||||
array(
|
||||
'rel' => 'shortcut icon',
|
||||
'href' => array('wiki:favicon.ico', 'wiki:favicon.png', tpl_getConf('logo'))
|
||||
'href' => array('wiki:favicon.ico', 'wiki:favicon.png')
|
||||
),
|
||||
0, 0 // no scaling
|
||||
);
|
||||
|
@ -29,7 +29,7 @@ foreach(array(57, 60, 72, 76, 114, 120, 144, 152, 180) as $size) {
|
|||
array(
|
||||
'rel' => 'apple-touch-icon',
|
||||
'sizes' => $size . 'x' . $size,
|
||||
'href' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png', tpl_getConf('logo'))
|
||||
'href' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png')
|
||||
),
|
||||
$size, $size
|
||||
);
|
||||
|
@ -42,7 +42,7 @@ foreach(array(32, 96, 192) as $size) {
|
|||
array(
|
||||
'rel' => 'icon',
|
||||
'sizes' => $size . 'x' . $size,
|
||||
'href' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png', tpl_getConf('logo'))
|
||||
'href' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png')
|
||||
),
|
||||
$size, $size
|
||||
);
|
||||
|
@ -54,7 +54,7 @@ foreach(array(70, 310) as $size) {
|
|||
'meta',
|
||||
array(
|
||||
'name' => 'msapplication-square' . $size . 'x' . $size . 'logo',
|
||||
'content' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png', tpl_getConf('logo'))
|
||||
'content' => array('wiki:logo-' . $size . 'x' . $size . '.png', 'wiki:logo-square.png', 'wiki:logo.png')
|
||||
),
|
||||
$size, $size
|
||||
);
|
||||
|
@ -66,7 +66,7 @@ foreach(array(array(310, 150)) as $size) {
|
|||
'meta',
|
||||
array(
|
||||
'name' => 'msapplication-wide' . $size[0] . 'x' . $size[1] . 'logo',
|
||||
'content' => array('wiki:logo-' . $size[0] . 'x' . $size[1] . '.png', 'wiki:logo-wide.png', 'wiki:logo.png', tpl_getConf('logo'))
|
||||
'content' => array('wiki:logo-' . $size[0] . 'x' . $size[1] . '.png', 'wiki:logo-wide.png', 'wiki:logo.png')
|
||||
),
|
||||
$size[0], $size[1]
|
||||
);
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
$class = 'opentask opentasks';
|
||||
break;
|
||||
}
|
||||
$linktarget = tpl_getConf('tasks_page');
|
||||
|
||||
$doInner = "<span class=\"prefix\">".tpl_getLang('prefix_tasks_user')." </span><span class=\"num\">".count($tasks)."</span>";
|
||||
if($linktarget){
|
||||
if (substr($linktarget, 0, 1) !== ':') {
|
||||
$linktarget = tpl_getConf('user_ns'). $_SERVER['REMOTE_USER'] .':' . $linktarget;
|
||||
$linktarget = 'user:' . $_SERVER['REMOTE_USER'] .':' . 'dashboard';
|
||||
}
|
||||
if($num == 0){
|
||||
echo '<li class="user-task '.$class.'"><strong>'.$doInner.'</strong></li>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue