Commit cd57785b authored by lindonb's avatar lindonb

Notices - setting variables and checking if variables are set

parent e860678d
......@@ -2,9 +2,9 @@
{if !isset($notable) || $notable neq 'y'}
<tr>
<td>{tr}Categorize{/tr}</td>
<td{if $colsCategorize} colspan="{$colsCategorize}"{/if}>
<td{if isset($colsCategorize)} colspan="{$colsCategorize}"{/if}>
{/if}
{if $mandatory_category >= 0 or $prefs.javascript_enabled neq 'y' or $auto eq 'y'}
{if $mandatory_category >= 0 or $prefs.javascript_enabled neq 'y' or (isset($auto) and $auto eq 'y')}
<div id="categorizator">
{else}
{if !isset($notable) || $notable neq 'y'}{button href="#" _flip_id='categorizator' _class='link' _text="{tr}Select Categories{/tr}" _flip_default_open='n'}{/if}
......
......@@ -147,10 +147,13 @@ if ($_REQUEST['calendarId'] != 0) {
$info["show_participants"] = 'n';
$info["show_url"] = 'n';
$info['show_status'] = 'n';
$info['show_status_calview'] = '';
$info["user"] = "$user";
$info["personal"] = 'n';
$info["startday"] = '25200';
$info["endday"] = '72000';
$info["allday"] = '';
$info["nameoneachday"] = '';
$info["defaulteventstatus"] = 1;
$info['viedays'] = $prefs['calendar_view_days'];
if (!empty($_REQUEST['show']) && $_REQUEST['show'] == 'mod') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment