Fossil

Diff
Login

Diff

Differences From Artifact [b9d4644dd6]:

To Artifact [10b1ac22e9]:


138
139
140
141
142
143
144

145
146
147
148
149
150
151
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152







+







void modreq_page(void){
  Blob sql;
  Stmt q;

  login_check_credentials();
  if( !g.perm.RdWiki && !g.perm.RdTkt ){ login_needed(); return; }
  style_header("Pending Moderation Requests");
  @ <h2>All Pending Moderation Requests</h2>
  blob_init(&sql, timeline_query_for_www(), -1);
  blob_appendf(&sql,
      " AND event.objid IN (SELECT objid FROM modreq)"
      " ORDER BY event.mtime DESC"
  );
  db_prepare(&q, blob_str(&sql));
  www_print_timeline(&q, 0, 0, 0, 0);